Hi all,
Thank you for reaching out to our API support team.
Regarding your concern about the USER_PERMISSION_DENIED error. The authorized customer does not have access to the operating customer. The common cause of this is when authenticating as a user with access to a manager account but not specifying login-customer-id in the request. To prevent this kind of error, I would suggest specifying the login-customer-id as the manager account ID without hyphens (-).
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 the issue still persists, please provide us the complete and recent request and response logs with request ID and request header generated on your end along with the email address used to generate the OAuth2 credentials, so that our team will investigate this problem.
You can provide it via the Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.
Best,
|
||||||