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 [email protected] Reference links: USER_PERMISSION_DENIED: https://developers.google.com/google-ads/api/docs/best-practices/common-errors?hl=en#authorizationerror OAuth2 credentials: https://developers.google.com/google-ads/api/docs/oauth/cloud-project?hl=en#create_a_client_id_and_client_secret access: https://support.google.com/google-ads/answer/9978556?visit_id=637628826037447236-382779227&rd=1 login-customer-id: https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid request: https://developers.google.com/google-ads/api/docs/concepts/field-service?hl=en#request response: https://developers.google.com/google-ads/api/docs/concepts/field-service?hl=en#response request-id: https://developers.google.com/google-ads/api/docs/concepts/call-structure?hl=en#request-id This message is in relation to case "ref:_00D1U1174p._5004Q2n6Dym:ref" Thanks, Google Ads API Team -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "Google Ads API and AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/fAuEO000000000000000000000000000000000000000000000RXMUFE00VZZifwcbRue7Jt5_y0R2MA%40sfdc.net.
