After some time the .log file filled. Here it is. Notice that there is a 
login-customer-id. I am reliably informed that it is the one at the top of 
the tree.
```
GoogleAds.DetailedRequestLogs Information: 1 : [2024-10-24 06:37:55Z] - 
---------------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": "7212153394",
  "x-goog-request-params": "customer_id=8109270380"
}

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

Response
--------
Headers: {
  "request-id": "68JBwMQLQyqG8xvv30FWjw",
  "date": "Thu, 24 Oct 2024 06:37:52 GMT",
  "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000",
  "google.ads.googleads.v18.errors.googleadsfailure-bin": 
"Cv8BCgJIAhL4AVVzZXIgZG9lc24ndCBoYXZlIHBlcm1pc3Npb24gdG8gYWNjZXNzIGN1c3RvbWVyLiBOb3RlOiBJZiB5b3UncmUgYWNjZXNzaW5nIGEgY2xpZW50IGN1c3RvbWVyLCB0aGUgbWFuYWdlcidzIGN1c3RvbWVyIGlkIG11c3QgYmUgc2V0IGluIHRoZSAnbG9naW4tY3VzdG9tZXItaWQnIGhlYWRlci4gU2VlIGh0dHBzOi8vZGV2ZWxvcGVycy5nb29nbGUuY29tL2dvb2dsZS1hZHMvYXBpL2RvY3MvY29uY2VwdHMvY2FsbC1zdHJ1Y3R1cmUjY2lkEhY2OEpCd01RTFF5cUc4eHZ2MzBGV2p3",
  "grpc-status-details-bin": 
"CAcSI1RoZSBjYWxsZXIgZG9lcyBub3QgaGF2ZSBwZXJtaXNzaW9uGuMCCkR0eXBlLmdvb2dsZWFwaXMuY29tL2dvb2dsZS5hZHMuZ29vZ2xlYWRzLnYxOC5lcnJvcnMuR29vZ2xlQWRzRmFpbHVyZRKaAgr/AQoCSAIS+AFVc2VyIGRvZXNuJ3QgaGF2ZSBwZXJtaXNzaW9uIHRvIGFjY2VzcyBjdXN0b21lci4gTm90ZTogSWYgeW91J3JlIGFjY2Vzc2luZyBhIGNsaWVudCBjdXN0b21lciwgdGhlIG1hbmFnZXIncyBjdXN0b21lciBpZCBtdXN0IGJlIHNldCBpbiB0aGUgJ2xvZ2luLWN1c3RvbWVyLWlkJyBoZWFkZXIuIFNlZSBodHRwczovL2RldmVsb3BlcnMuZ29vZ2xlLmNvbS9nb29nbGUtYWRzL2FwaS9kb2NzL2NvbmNlcHRzL2NhbGwtc3RydWN0dXJlI2NpZBIWNjhKQndNUUxReXFHOHh2djMwRldqdw=="
}

Fault: {
  "StatusCode": 7,
  "Details": "The caller does not have permission",
  "RequestId": "68JBwMQLQyqG8xvv30FWjw",
  "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": "68JBwMQLQyqG8xvv30FWjw"
  }
}
----------------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/f3f3cdf9-550b-4c8a-8073-7bebe986c788n%40googlegroups.com.

Reply via email to