Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 360
manish nautiyal Avatar asked Jul 11 '12 11:07

manish nautiyal


1 Answers

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.

like image 184
Erick Brown Avatar answered Oct 23 '22 09:10

Erick Brown