Sory, i cant resolve this problem, i dont use *google_ads_php.ini 
<https://github.com/googleads/google-ads-php/blob/master/examples/Authentication/google_ads_php.ini>
 because 
i get info from db, but in my first question i attached code and response 
and there are request id. May be you can check what is the problem with it 
?*

четверг, 5 августа 2021 г. в 06:18:11 UTC+3, adsapi: 

> Hi,
>
> Thanks for reaching out to us. The PERMISSION_DENIED 
> <https://developers.google.com/google-ads/api/docs/best-practices/common-errors?hl=zh-tw#user_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 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid>
>  in 
> the header as mentioned in this blog post 
> <https://ads-developers.googleblog.com/2019/01/new-required-header-for-google-ads-api.html>.
>  
> 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* 
> <https://github.com/googleads/google-ads-php/blob/master/examples/Authentication/google_ads_php.ini>
>  file, 
> where your other credentials are placed. Let us know if you have any 
> further questions.
>
> Regards, 
> [image: Google Logo] 
> 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/fd41b0b1-472c-4c46-90fc-16433f89e346n%40googlegroups.com.
  • 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