.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_builder

GoogleAdsConfig:

*DeveloperToken: ...UQ*


*OAuth2ClientId: ...uefl.apps.googleusercontent.com 
<http://374r.apps.googleusercontent.com/>OAuth2ClientSecret: 
...ZcOAuth2RefreshYoken: ...HLM*
*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" }}*

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/39d84430-afeb-4213-b0f9-b8c2a8718feen%40googlegroups.com.
  • Re... Chandiraprathieepan Rudhraharan,
    • ... Chandiraprathieepan Rudhraharan,
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
    • ... MJ Steenberg
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
    • ... arief surya
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
    • ... Meri Sahakyan
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
        • ... Meri Sahakyan
        • ... Meri Sahakyan
          • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
            • ... Meri Sahakyan
              • ... Meri Sahakyan
                • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
    • ... Priti Getkewar

Reply via email to