RE: 自动回复: AuthorizationError.USER_PERMISSION_DENIED

13 views
Skip to first unread message

Google Ads API Forum Advisor

unread,
Nov 18, 2021, 3:31:44 AM11/18/21
to 24278...@qq.com, adwor...@googlegroups.com
Hello,

Thank you for reaching out to us. Please note we can only respond to you in the English language, so feel free to correct us if we misunderstood anything.

As per Google translate, you're getting a USER_PERMISSION_DENIED error on your API request. Is this correct? If so, please do note that the ‘USER_PERMISSION_DENIED’ usually occurs when the user / email address you used to generate the OAuth2 credentials does not have access to the customer ID specified in your request.

To resolve this, you will need to ensure that your OAuth2 credentials were generated while logged in as the user / email address that has access to the customer ID in your request. Also, if the said user / email address is one that has access to the MCC / manager of the customer account, then you may specify the MCC / manager account's ID as the login-customer-id.

Should the issue persist, you may provide the user / email address you used to generate the credentials, and the complete request and response logs with request ID, so that our team may investigate further.

Regards,

Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 2021 Google Ads API and AdWords API Annual Survey
 
Google Logo
Teejay Wennie Pimentel
Google Ads API Team
 

 

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