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,
|
||||||