AuthorizationError.USER_PERMISSION_DENIED

67 views
Skip to first unread message

Paul Kosinski

unread,
Nov 17, 2021, 11:19:40 AM11/17/21
to AdWords API and Google Ads API Forum
Hello, we've been using a .php script to call the AdWords API for over 5 years in a production environment. It just started returning the USER_PERMISSION_DENIED error. I checkout out the Common causes listed below but it must be something else.

Common causes

The link between the manager and client account was removed. I tried the api with 3 different accounts managed under our master account but they failed.  So I know the link was not removed.

Your OAuth credentials are for a user who does not have access to the client customer ID specified or any of its manager accounts. I confirmed the developer token used for OAuth matches the master account in the API Center . So it should have access to all the client customer IDs that are sourced from downloading the active accounts associated with the Audacy MCC.

I found out the master account login changed recently. Not sure if that is causing the authentication errors. What else should I try? 

Thanks and regards,

-Paul

Google Ads API Forum Advisor

unread,
Nov 17, 2021, 8:15:25 PM11/17/21
to adwor...@googlegroups.com
Hi Paul,

Thank you for raising your concern to my team.

So that I can investigate the issue, would you be able to provide the complete SOAP request and response logs where we can see the error? Please also provide the login user account that you've used in generating OAuth2 credentials.

You can provide it via Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.

Regards,

Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 2021 Google Ads API and AdWords API Annual Survey
 
Google Logo
Ernie John Blanca Tacata
Google Ads API Team
 


ref:_00D1U1174p._5004Q2R9reY:ref
Reply all
Reply to author
Forward
0 new messages