Started getting AuthorizationError.USER_PERMISSION_DENIED while trying to get reports for customers

36 views
Skip to first unread message

Edward Bells

unread,
Aug 21, 2016, 11:44:54 AM8/21/16
to AdWords API Forum, hamed....@sizmek.com
Hi

We have an API that is used to get reporting data for our customers (more than 800 accounts). The API runs on a daily basis, loops through a list of all our clients, and tries to get reporting data from Google.
starting from July 28th, we stopped getting report data from Google AdWords. 
digging in the code, the API service that we use to retrieve data from Google is getting an error while trying to download the report :

    {"AdWordsReportsException: One or more AdWords Report download errors have occurred. \r\n\r\nAuthorizationError.USER_PERMISSION_DENIED. (Error: AuthorizationError.USER_PERMISSION_DENIED, FieldPath: , Trigger: <null>)\r\n\r\n"}

Can you please help point me to what is causing this? how can I solve this issue? 
This is affecting all our customers (more than 800!)

Thanks,
Hamed

Peter Oliquino

unread,
Aug 21, 2016, 11:33:01 PM8/21/16
to AdWords API Forum, hamed....@sizmek.com
Hi Edward,

This error occurs when you are making calls to AdWords API services using a client account not linked to your MCC account or it could be that your OAuth2 credentials do not match the customerClientId specified. To ensure you are using the correct client customer accounts, I would suggest that you use the ManagedCustomerService.get to determine the client accounts linked to your MCC. 

Best regards,
Peter
AdWords API Team
Reply all
Reply to author
Forward
0 new messages