Hi Luca,
Thank you for reaching out to the Google Ads API support team. I hope that all of you are doing well today.
I can see that you have encountered the
USER_PERMISSION_DENIED error. This error usually indicates that the authorized customer does not have access to the operating customer.
That being said, you will need to ensure that the user / email address you used to generate the
OAuth2 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.
Let us know how it goes on your end if this resolves your issue. If the error persists after trying the suggested solution, then you may provide to us the complete API logs (
request and
response with the
request-id) generated along with the
email address used to generate the OAuth2 credentials from your end so we can investigate further.
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
Reference links:
This message is in relation to case "ref:_00D1U1174p._5004Q2n6Dym:ref"
Thanks,
 |
Google Ads API Team |
