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

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 on the web visit 
https://groups.google.com/d/msgid/adwords-api/fce5e017-1151-49e6-aea7-446fdbb04602n%40googlegroups.com.
  • St... Bruce Axtens
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to