Hi Bruce,

Thank you for reaching out to Google Ads API Forum.

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 
updated complete API logs (request and response with request-id and request 
header) generated when you encountered the said error along with the email 
address used to generate the OAuth2 credentials from your end so we can 
investigate further. 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 [email protected].

Reference links included in this email:

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
request header - 
https://developers.google.com/google-ads/api/docs/concepts/call-structure#request_headers


This message is in relation to case "ref:_00D1U1174p._5004Q2mxRvV: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/r591e000000000000000000000000000000000000000000000RYNJPO00kybD9r1cQEOxsiZbmmcCoA%40sfdc.net.
  • C#... Bruce Axtens
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Bruce Axtens
        • ... Bruce Axtens

Reply via email to