Hi Paul,
Thanks 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. If the link between the manager and client account was removed or you don’t have access to the client customer ID specified or any of its manager accounts, you may encounter this error. To resolve this issue, you will need to use the OAuth2 Credentials that were generated using an email address which has access to the account indicated in your request header. If you are using Google Ads API you need to include the login-customer-id in the header as mentioned in this blog post.
Please let us know if you have any further questions.
Thanks and regards,
Xiaoming, Google Ads API Team
Hi Paul,
When we make an API request it is very important that we make sure there is a link between the manager account authenticated in the request and the client account specified in the headers. Also you have to make sure the OAuth2 credentials that are being used belong to the manager account you are authenticating. Could you please provide your main MCC customer Id and specify the ones that are working and the ones that you encounter issues with? Please reply to us with the above information via the Reply privately to author option.
Thanks and regards,
Xiaoming, Google Ads API Team
|
||||||