Ads Ads Insights API: (# 3) The application is not able to make this API call

I am trying to derive Facebook Ads metrics through the Facebook marketing API. The flow basically consists in the fact that I want to pull out all the identifiers of my company account, and then go through them, receiving information for them separately.

However, I have a mistake that I cannot solve / understand.

When I try to make an API call (both in the graphical explorer and in the Alteryx workflow):

GET-> /v2.8/act_<Account_ID>/insights

I get the following error:

 "error": {
"message": "(#3) Application does not have the capability to make this API call.",
"type": "OAuthException",
"code": 3,
"fbtrace_id": "BNevVWUExDg"
}

I have to admit that I totally don’t understand what causes this error ... and in fact also exactly what the problem is ... Am I missing the correct scope / permissions for my token?

With the same phenomenon, I can correctly call the API to get a list of all declarations ( GET-> /v2.8/me/adaccounts).

- , ?

+4
4

, ads_management ads_read.

Marketing API. https://developers.facebook.com/docs/marketing-apis

API, , .

+6

POST GET , , .

, , ( ), Business Manager. , , , GET.

+2

. OAuth. " API".

, .

API a > . " ". OAuth.

+2
source

My Facebook creator doesn't open why

0
source

Source: https://habr.com/ru/post/1658268/


All Articles