ERROR: USER_PERMISSION_DENIED

34 views
Skip to first unread message

HVNN

unread,
Jul 12, 2022, 6:32:26 AM7/12/22
to Google Ads API and AdWords API Forum
Hi,  

I facing this error after sending requests
Please check for me!
Thanks.

PS: I have  provide info on this email

Google Ads API Forum Advisor

unread,
Jul 12, 2022, 9:25:30 AM7/12/22
to yeut...@gmail.com, adwor...@googlegroups.com

Hi,

Thanks for reaching out to the Google Ads API Forum.

Since we didn't receive your provided info in your email, I’m assuming that you’re encountering an AuthorizationError.USER_PERMISSION_DENIED error. Kindly note that you may receive the error ‘USER_PERMISSION_DENIED’ when a user doesn't have permission to access a customer and you’re accessing a client customer using 'login-customer-id’ in the request. A common cause is when Authenticating as a user with access to a manager account but not specifying login-customer-id in the request.

That being said, you will need to ensure that the user / email address you used to generate the credentials indeed has access to the account in your request. If the user / email address has access or is associated with the MCC / manager account, you will need to specify the MCC / manager account's ID without hyphens (-) as the value of the login-customer-id field. 

If you still persist with the error, you may provide us with the complete request and response logs, with the request-id along with the email address used to generate the OAuth2 credentials via sending on our direct email support alias googleadsa...@google.com, so that I can continue to investigate further.

 

Best,

Google Logo
Anthony Cyril
Google Ads API Team
 


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