Hi Stephen,
Thanks for reaching out to the Google Ads API team. I hope you are doing well today.
The USER_PERMISSION_DENIED means that a user doesn't have permission to access a customer and you’re accessing a client customer using 'login-customer-id’ in the request.
To address the above error, 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 said MCC / manager account ID as the value of the login-customer-id field.
If the issue persists, please provide us the complete request and response logs with request ID and request header generated on your end? You can provide it via Reply privately to the author option. If this option is not available, then send it instead on this email address googleadsa...@google.com. If you haven't enabled the logging yet, logging can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this link.
Regards,
|
||||||