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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With