.Net nuget version:
Google.Ads.Common: 9.5.1
using Google.Ads.GoogleAds.Lib
using Google.Ads.GoogleAds.V11.Services;
I have problem with this error, with this case:
I
had a manager account 7234012969
Then I query to get customer 1426102797, using manager account
https://developers.google.com/google-ads/api/fields/v11/customer_query_builderGoogleAdsConfig:
DeveloperToken: ...UQ
LoginCustomerId: 1426102797
And I get this result error:
Message:
"Status(StatusCode=\"PermissionDenied\", Detail=\"The caller does not have permission\",
DebugException=\"Grpc.Core.Internal.CoreErrorDetailException: {\"created\":\"@1657701812.719000000\",
\"description\":\"Error received from peer ipv4:74.125.24.95:443\",\"file\":\"..\\..\\..\\src\\core\\lib\\surface\\call.cc\",
\"file_line\":1070,\"grpc_message\":\"The caller does not have permission\",\"grpc_status\":7}\")"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": "Exhkg7VeY9Ojyiaf_fm-xA" }}