Hello, I get a USER_PERMISSION_DENIED exception and this message : "User doesn't have permission to access customer. Note: If you're accessing a client customer, the manager's customer id must be set in the 'login-customer-id' header. See https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid"
But I already put the login-customer-id in header, please help me out Request log: [2021-07-23T15:58:32.849567+08:00] google-ads.NOTICE: Request ------- Method Name: /google.ads.googleads.v8.services.CustomerClientLinkService/MutateCustomerClientLink Host: googleads.googleapis.com Headers: { "x-goog-api-client": "gl-php\/7.3.23 gapic\/ gax\/1.7.1 grpc\/1.37.0", "x-goog-request-params": "customer_id=6827480607", "developer-token": "REDACTED", "login-customer-id": "6827480607" } Request: {"customerId":"6827480607","operation":{"create":{"clientCustomer":"customers/5238437919","status":"PENDING"}}} ==================================================================== Response log: ------- Headers: { "request-id": "NcBH2xznlbxjHMxqxlzHag", "date": "Fri, 23 Jul 2021 07:58:32 GMT", "alt-svc": "h3=\":443\"; ma=2592000,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":"USER_PERMISSION_DENIED"},"message":"User doesn't have permission to access customer. Note: If you're accessing a client customer, the manager's customer id must be set in the 'login-customer-id' header. See https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid"}],"requestId":"NcBH2xznlbxjHMxqxlzHag"} Request with ID 'NcBH2xznlbxjHMxqxlzHag' has failed. Google Ads failure details: authorization_error: User doesn't have permission to access customer. Note: If you're accessing a client customer, the manager's customer id must be set in the 'login-customer-id' header. See https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid ==================================================================== request id:NcBH2xznlbxjHMxqxlzHag Thanks -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/081ad16f-6b7c-4fcd-8127-4ffc23abde8an%40googlegroups.com.