AuthorizationError.USER_PERMISSION_DENIED error which trying to setup Google Ads API

30 views
Skip to first unread message

Maruti Borker

unread,
Aug 8, 2019, 1:31:07 AM8/8/19
to AdWords API and Google Ads API Forum
Hi All,

Trying to setup google apis but unable to get past the AuthorizationError.USER_PERMISSION_DENIED error. 

Here is what I have done :- 

1) I have an MCC account 966-016-0039
2) I have an ads account 361-706-3872 
3) And this MCC account and ads account are linked.

My account ( mar...@cuemath.com ) has access to the MCC account. 

So using the python library I have used my login to get a refresh token and tried calling the get campaigns api.

But I am getting the following error :- 

 AuthorizationError.USER_PERMISSION_DENIED

Any help will be appreciated. 

Google Ads API Forum Advisor Prod

unread,
Aug 8, 2019, 2:37:34 AM8/8/19
to adwor...@googlegroups.com
Hi Maruti,

Thanks for posting your concern.

The USER_PERMISSION_DENIED error in the AdWords API indicates that you might be using OAuth2 credentials that does not have access to the (clientCustomerId) account you are authenticating with. To resolve this error, you will need to use the OAuth2 credentials that were generated using an email address which has access to the account indicated in your request header.

If the error persists after trying the provided suggestion, let me know. You may send to me the email address you used to generate the OAuth2 credentials and the complete SOAP request and response logs so I can further investigate via Reply privately to author option.

Regards,
Ejay
Google Ads API Team

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