The log truned up. There is a login-customer-id that is the top of the tree.
```
GoogleAds.DetailedRequestLogs Information: 1 : [2024-10-24 07:18:48Z] - 
---------------BEGIN API CALL---------------

Request
-------

Method Name: 
/google.ads.googleads.v18.services.KeywordPlanIdeaService/GenerateKeywordHistoricalMetrics
Host: 
Headers: {
  "x-goog-api-client": "gl-dotnet/4.0.30319 gapic/21.1.0 gax/4.8.0 
grpc/2.60.0 gccl/4.0.2 pb/3.25.0",
  "developer-token": "REDACTED",
  "login-customer-id": "REDACTED",
  "x-goog-request-params": "customer_id=8109270380"
}

{ "customerId": "8109270380", "keywords": [ "#ERROR!" ], 
"historicalMetricsOptions": { "includeAverageCpc": true }, "language": 
"English", "geoTargetConstants": [ "20035" ], "keywordPlanNetwork": 
"GOOGLE_SEARCH" }

Response
--------
Headers: {
  "request-id": "2m6cU1V0dHFyRTw5pTTNjA",
  "date": "Thu, 24 Oct 2024 07:18:45 GMT",
  "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000",
  "google.ads.googleads.v18.errors.googleadsfailure-bin": 
"Cv8BCgJIAhL4AVVzZXIgZG9lc24ndCBoYXZlIHBlcm1pc3Npb24gdG8gYWNjZXNzIGN1c3RvbWVyLiBOb3RlOiBJZiB5b3UncmUgYWNjZXNzaW5nIGEgY2xpZW50IGN1c3RvbWVyLCB0aGUgbWFuYWdlcidzIGN1c3RvbWVyIGlkIG11c3QgYmUgc2V0IGluIHRoZSAnbG9naW4tY3VzdG9tZXItaWQnIGhlYWRlci4gU2VlIGh0dHBzOi8vZGV2ZWxvcGVycy5nb29nbGUuY29tL2dvb2dsZS1hZHMvYXBpL2RvY3MvY29uY2VwdHMvY2FsbC1zdHJ1Y3R1cmUjY2lkEhYybTZjVTFWMGRIRnlSVHc1cFRUTmpB",
  "grpc-status-details-bin": 
"CAcSI1RoZSBjYWxsZXIgZG9lcyBub3QgaGF2ZSBwZXJtaXNzaW9uGuMCCkR0eXBlLmdvb2dsZWFwaXMuY29tL2dvb2dsZS5hZHMuZ29vZ2xlYWRzLnYxOC5lcnJvcnMuR29vZ2xlQWRzRmFpbHVyZRKaAgr/AQoCSAIS+AFVc2VyIGRvZXNuJ3QgaGF2ZSBwZXJtaXNzaW9uIHRvIGFjY2VzcyBjdXN0b21lci4gTm90ZTogSWYgeW91J3JlIGFjY2Vzc2luZyBhIGNsaWVudCBjdXN0b21lciwgdGhlIG1hbmFnZXIncyBjdXN0b21lciBpZCBtdXN0IGJlIHNldCBpbiB0aGUgJ2xvZ2luLWN1c3RvbWVyLWlkJyBoZWFkZXIuIFNlZSBodHRwczovL2RldmVsb3BlcnMuZ29vZ2xlLmNvbS9nb29nbGUtYWRzL2FwaS9kb2NzL2NvbmNlcHRzL2NhbGwtc3RydWN0dXJlI2NpZBIWMm02Y1UxVjBkSEZ5UlR3NXBUVE5qQQ=="
}

Fault: {
  "StatusCode": 7,
  "Details": "The caller does not have permission",
  "RequestId": "2m6cU1V0dHFyRTw5pTTNjA",
  "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": "2m6cU1V0dHFyRTw5pTTNjA"
  }
}
----------------END API CALL----------------

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 visit 
https://groups.google.com/d/msgid/adwords-api/2fa87adc-e984-4084-a2f5-0cc216bc7c04n%40googlegroups.com.

Reply via email to