Hi Peter,
thx for your answer!

I enable logging and get new details. 
But I don't understand, what addition scope I need or what I need enable.

Details from log:

Array
(
    [0] => Array
        (
            [0] => NOTICE
            [1] => Request
-------
Method Name: 
/google.ads.googleads.v6.services.CustomerManagerLinkService/MutateCustomerManagerLink
Host: googleads.googleapis.com
Headers: {
    "x-goog-api-client": "gl-php\/7.2.21 gapic\/ gax\/1.6.0 grpc\/1.31.0",
    "x-goog-request-params": "customer_id=9083557029",
    "developer-token": "REDACTED",
    "login-customer-id": "9083557029"
}
Request:
{"customerId":"9083557029","operations":[{"updateMask":"resourceName,status","update":{"resourceName":"customers\/9083557029\/customerManagerLinks\/5817238941~109349480","status":"ACTIVE"}}]}

Response
-------
Headers: {
    "request-id": "TDhjyyq2xgMI4KSjZnyQPA",
    "date": "Mon, 04 Jan 2021 07:52:55 GMT",
    "alt-svc": "h3-29=\":443\"; ma=2592000,h3-T051=\":443\"; 
ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; 
ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; 
v=\"46,43\""
}

Fault
-------
Status code: 7
Details: The caller does not have permission
Failure: 
{"errors":[{"errorCode":{"authorizationError":"CUSTOMER_NOT_ENABLED"},"message":"The
 
customer can't be used because it isn't enabled."}]}
            [2] => Array
                (
                )

        )

)



понедельник, 4 января 2021 г. в 08:25:58 UTC+2, adsapiforumadvisor: 

> Hi Artem,
>
> The PERMISSION_DENIED error may also indicate that your credentials may 
> not have permission to the customer specified in your request header, as 
> also described here 
> <https://developers.google.com/google-ads/api/docs/best-practices/common-errors#user_permission_denied>
> .
>
> That said, if you haven't yet, could you enable logging 
> <https://developers.google.com/google-ads/api/docs/client-libs/php/logging> 
> and provide to us the complete request and response 
> <https://developers.google.com/google-ads/api/docs/concepts/curl-example#response>
>  
> logs, along with the request ID? The logs would help our team better 
> identify the cause of the issue you are encountering.
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence Napa Oliquino 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2AFqaX: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/19ed0b55-e9df-4b56-80b5-986cdaf11098n%40googlegroups.com.

Reply via email to