Stymied on creating a keyword plan

37 views
Skip to first unread message

Bruce Axtens

unread,
May 24, 2022, 1:09:01 AM5/24/22
to Google Ads API and AdWords API Forum
1. I have correctly authorised myself to the controlling account

2. I can demonstrate this by calling ListAccessibleCustomers and have it return a suitably long list of clients

3. I have copied and slightly adapted the  CreateKeywordPlan code from https://developers.google.com/google-ads/api/docs/keyword-planning/generate-historical-metrics?hl=en

4. When I execute the code I invariably get: 
Unhandled Exception: Google.Ads.GoogleAds.V10.Errors.GoogleAdsException: Status(StatusCode="PermissionDenied", Detail="The caller does not have permission", DebugException="Grpc.Core.Internal.CoreErrorDetailException: {"created":
"@1653366827.845000000","description":"Error received from peer ipv4:142.250.70.202:443","file":"..\..\..\src\core\lib\surface\call.cc","file_line":1070,"grpc_message":"The caller does not have permission","grpc_status":7}")

5. I have tried to generate a trace using TraceUtilities.Configure(TraceUtilities.DETAILED_REQUEST_LOGS_SOURCE, path, System.Diagnostics.SourceLevels.All); but that seems only to be created when the operation is successful and in this case it is not.

--Bruce

Google Ads API Forum Advisor

unread,
May 24, 2022, 3:55:27 PM5/24/22
to bru...@searchsmart.com.au, adwor...@googlegroups.com
Hi Bruce,

Thank you for reaching out to the Google Ads API support team.

Could you provide us with the complete request and response logs with the request-id, so our team can better check?If you haven't yet, logging can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this link. You may then send the requested information via the Reply privately to author option.

Thanks,
Google Logo
Nirmita
Google Ads API Team
 


ref:_00D1U1174p._5004Q2bCsPG:ref
Reply all
Reply to author
Forward
0 new messages