AuthorizationError.USER_PERMISSION_DENIED

24 views
Skip to first unread message

Samir Sabri

unread,
Feb 15, 2021, 6:23:38 AM2/15/21
to AdWords API and Google Ads API Forum
Hello

We had a request that resulted into:

HTTP code: 400, error type: 'AuthorizationError.USER_PERMISSION_DENIED', trigger: '<null>', field path: ''

However, we have retired it the day after, and it worked fine, any idea why?

Google Ads API Forum Advisor Prod

unread,
Feb 15, 2021, 3:21:13 PM2/15/21
to as3...@gmail.com, adwor...@googlegroups.com

Hi Samir,

Thank you for reaching out. The error USER_PERMISSION_DENIED usually occurs when there is no link between the manager account authenticated in the request and the client account specified in the headers. As you are using the Google Ads API you need to include the login-customer-id in the header as mentioned in this blog post. Please use the email that has Standard or Admin Access to the manager account to generate the OAuth2 credentials and make the API call again. If the issue persists, please share the complete request and response logs along with the configuration file and the account and email you used to generate the OAuth2 credentials for us to further investigate.

Thanks and regards,
Xiaoming, Google Ads API Team


Google Logo
Xiaoming
Google Ads API Team
 


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