Hi,

Thanks for reaching out to us. The PERMISSION_DENIED error 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 make sure you use the correct login-customer-id that you 
used to generate the OAuth2 credentials.

To elaborate more on customer ID, if your access to the customer account is 
through a manager account (OAuth2 credentials created using a user that has 
access to your manager account), this header is required and must be set to the 
customer ID of the manager account. Since you’re using the PHP client library, 
then you will then need to specify this in your google_ads_php.ini file, where 
your other credentials are placed. Let us know if you have any further 
questions.

Regards,

Yasar
Google Ads API Team
ref:_00D1U1174p._5004Q2HLh4U: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 
"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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/n3eJe000000000000000000000000000000000000000000000QXCJTR0044kKSLVURsO2oB_lJJez0Q%40sfdc.net.
  • Goo... 'Гордей Строкин' via AdWords API and Google Ads API Forum
    • ... Google Ads API Forum Advisor
      • ... 'Гордей Строкин' via AdWords API and Google Ads API Forum
        • ... Google Ads API Forum Advisor

Reply via email to