Facebook的广告api例外294 - 管理广告需要扩展权限ads_management和参与API密钥 [英] Facebook's ads api exception 294 - Managing advertisements requires the extended permission ads_management, and a participating API key

查看:204
本文介绍了Facebook的广告api例外294 - 管理广告需要扩展权限ads_management和参与API密钥的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的广告系列正在FB上运行,我想在Ads API的帮助下提取每日数据。

My campaign is running on FB and I want to extract daily data with the help of Ads API.

我正在使用Facebook广告api,而我正在面对这个问题每次

I'm using facebook ads api and I'm facing this problem every time

{
   "error": {
      "message": "(#294) Managing advertisements requires the extended permission ads_management, and a participating API key",
      "type": "OAuthException",
      "code": 294
   }
}

我已经创建了一个应用程序 XYZ 并使用这个创建的创建了一个广告系列。

I have created one app XYZ and using this created I created an ad campaign.

使用图形API资源管理器,我生成了访问令牌,我也授予权限。 / p>

With Graph API Explorer I generated Access Token. and I give permissions also.

推荐答案

您必须确保您的应用程序白名单才能使用Ads API。此外,您需要确保您获得该白名单应用程序的访问令牌。如果您的应用程序是白名单,您可以使用图形浏览器,将下拉列表更改为应用程序,点击获取访问令牌,并确保勾选ads_management权限。希望有帮助。

You have to make sure you have an application white listed to use the Ads API. Also, you need to make sure you get an access token for that white listed application. If your app is white listed, you can use the graph explorer, change the drop down to your app, click get access token and make sure you tick the ads_management permissions. Hope that helps.

这篇关于Facebook的广告api例外294 - 管理广告需要扩展权限ads_management和参与API密钥的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆