Facebook's ads api exception 294 - Managing advertisements requires the extended permission ads_management, and a participating API key

久未见 提交于 2019-11-30 01:57:04

问题


My campaign is running on FB and I want to extract daily data with the help of Ads 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
   }
}

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

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


回答1:


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.




回答2:


You must have to extended permission for accessing facebook ads using api. In your facebook application which one you created in facebook account .Add itme in status and review for ads_managemnt, insight.

Setting -> Status & Review -> Items in Review.




回答3:


There are few way how to generate app access tokens in FB. If you want to access marketing api you should do this in page https://developers.facebook.com/apps/{YOUR_APP_ID}/marketing-api/tools/ using required options.



来源:https://stackoverflow.com/questions/11431746/facebooks-ads-api-exception-294-managing-advertisements-requires-the-extended

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!