New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Permission error accessing reports as analyst #22
Comments
Also, I just tried this with my account added as Advertiser and that doesn't work. It seems I can only get reports as admin while there is a role specifically dedicated to reading reports. I know this isn't an issue with the PHP SDK but with the API in general. |
hi @siegerhansma, unfortunately what's wrong here is the error message:
|
Weird, I don't really get what the issue is. Let me just walk you through my set up: I made an app which is in development mode (because it's private, not sure if that matters) called test. My useraccount is connected to that app with an access token. My user account is also an analyst on an advertising account. I'm connecting to /act_xxxxxxxxxxxxxxxxxx/reportstats where xxxxxxxxxxxx is the advertising account id and getting that exception. My access token has the ads_management permission. Could you tell me where this could go wrong? |
Did you configured the ad account in the app settings? |
Yes, I have added the advertising Account ID under Authorized Ad Account IDs and my own email under Authorized Advertiser Emails and System User IDs. |
This sounds odd. Can you please file a bug at http://developers.facebook.com/bugs and let us know the URL of the bug report. Please include in the report an access token and the adaccounts you are testing which can be submitted confidentially. |
as this looks like a bug, closing this out. Please feel free to comment with the bug id if you submitted one on the FB developer site. |
Is this solved? I have the same problem |
The same here. Receive the same error message |
I'm trying to get reports for a Facebook Ads account. I have successfully made a connection and added my account as an Analyst to the business account.
This is the code I'm using to connect:
However I'm getting the following error when making the call:
(#273) This Ads API call requires the user to be admin of the ad account. User xxxxxxxx not admin on ad account xxxxxxxxxxxxxxxxxxxxxxx.
Why would I need to be an admin when I can access the reports from the webinterface with an analyst account?
The text was updated successfully, but these errors were encountered: