Hi Omri,
Thank you 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. As you are using the Google Ads API you need to include the login-customer_id in the header as mentioned in this blog post. Please use the email that has Standard or Admin Access to the manager account to generate the OAuth2 credentials and make the API call again.
Thanks and regards,
Xiaoming, Google Ads API Team
|
||||||
This message was sent to the following 2 people: omr...@singular.net, adwor...@googlegroups.com. Replying to this email will notify them.
omr...@singular.net was added to the conversation by Google Ads API Forum Advisor Prod adwor...@googlegroups.com was added to the conversation by Google Ads API Forum Advisor Prod
Hi Omri,
Thank you 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. As you are using the Google Ads API you need to include the login-customer_id in the header as mentioned in this blog post. Please use the email that has Standard or Admin Access to the manager account to generate the OAuth2 credentials and make the API call again.
Thanks and regards,
Xiaoming, Google Ads API Team
https://www.gstatic.com/images/branding/product/1x/googleg_64dp.png Xiaoming Google Ads API Team https://google-dev-relations.my.salesforce.com/servlet/servlet.ImageServer?oid=00D1U000001174p&esid=0184Q00001Ayyb1
ref:_00D1U1174p._5004Q277LIZ:ref --
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api...@googlegroups.com
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 "AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/0DVSX000000000000000000000000000000000000000000000QJC9KS00iEbI63-LR2O2CvmwH2XPpw%40sfdc.net.
![]()
![]()
Hi Omri,
Thank you for reaching out. I noticed that the email you mentioned is not a user for account 363-574-7978. Please use an email that is associated with the account 363-574-7978 to generate the OAuth2 credentials and make the API calls again.
Thanks and regards,
Xiaoming, Google Ads API Team
|
| |||||