I am trying to request the Facebook Ads API using Graph Api Explorer. I have two accounts associated with me (if I go to /me/adaccounts/ , I see both), one of them is mine, and the other I am only an administrator, but not the owner.
The problem is that I am not the owner. If I request my Adaccount using /act_<ACT_ID/stats , I get the usual answer with statistics, if I ask for another account that I get:
(# 273) This ad API call requires the user to be an account administrator. User <MY_USER_ID> not an administrator of AdWords account <ACT_ID> . ",
I see that both Adaccounts are normal in Facebook Adsmanager.
What I did to get the answer:
- Create a Facebook app.
- Added by Adaccount under developer.facebook.com → myApp → settings → advanced → ad accounts → Ad API. Account
- open GraphExplorer ( https://developers.facebook.com/tools/explorer/ )
- select my created application
- get AccessToken (ads_management, ads_read)
- go to url
me/adaccounts/ - If I click on my advertising account, it works, if I click on another, I get error # 273.
I do not see what I am doing wrong, if someone can point me in the right direction, I will be grateful.
source share