Hi Miquel,

Thank you for reaching out to the Google Ads API support team.

With regards to your concern, you’ve encountered ‘USER_PERMISSION_DENIED' 
error. The ‘USER_PERMISSION_DENIED’ usually occurs due to incorrectly setting 
the 'login-customer-id’ in the request or not specifying login-customer-id in 
the request. Note that when a user doesn't have permission to access a customer 
and you’re accessing a client customer then the manager's customer ID must be 
set in the 'login-customer-id’ in the header request.

To resolve this, you will need to ensure that your OAuth2 credentials were 
generated while logged in as the user / email address that has access to the 
customer ID in your request. Also, if the said user / email address is one that 
has access to the MCC / manager of the customer account, then you may specify 
the MCC / manager account's ID as the login-customer-id.


To investigate the issue further, could you please provide us with the complete 
logs (request and response with request-id) ? Please reply privately author 
option.

Thanks,

Nirmita
Google Ads API Team
ref:_00D1U1174p._5004Q2Xkk4Q: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 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/sw8xv000000000000000000000000000000000000000000000R86ATA00cUMcS5R6T1akGGl4HiwDBw%40sfdc.net.
  • Er... Grupo Esneca Formación
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to