Hi Sam,

The USER_PERMISSION_DENIED 
<https://developers.google.com/adwords/api/docs/common-errors#AuthorizationError.USER_PERMISSION_DENIED>
 that 
you are getting in the API is because there is no link between the manager 
account authenticated in the request and the client account specified in 
the headers. To check if manager account is linked with the client account, 
could you please follow the two steps given below?

   1. Perform a CustomerService.getCustomers() 
   
<https://developers.google.com/adwords/api/docs/reference/v201806/CustomerService#getcustomers>
 and 
   check for the results. If you are using the credentials of a manager 
   account, it will list the MCC accounts and any other accounts that user has 
   direct access to.
   2. You can then perform a ManagerCustomerService.get() 
   
<https://developers.google.com/adwords/api/docs/reference/v201806/ManagedCustomerService#get>
 for 
   the Manager account from results of step 1. The target account should be 
   listed in this call. If not, the credentials cannot access that account.

If you are still facing any issues, could you please share the SOAP request 
and response logs along with CID and the email Id of the user 
authenticating the API call? You could choose '*Reply privately to author*' 
option while responding. 

Thanks,
Milind, AdWords 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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/61cd375b-d83f-4246-8dac-e44b2504101c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... API_DCH
    • ... 'Milind Sankeshware (AdWords API Team)' via AdWords API and Google Ads API Forum
    • ... 'Milind Sankeshware (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to