I have followed the steps here to setup a test 
account: 
https://developers.google.com/google-ads/api/docs/first-call/test-accounts 

I then followed the steps here to generate an OAuth2 client secret, client 
ID and refresh 
token: 
https://github.com/googleads/google-ads-dotnet/wiki/API-access-using-own-credentials-(desktop-application-flow)
 

I used all of those credentials (in addition to a developer token generated 
on our main production manager account) to try to make a call using the 
Google API (C# client library) to retrieve a list of campaigns in the test 
using the customer ID of the test client account created in the first step.

Unfortunately, I keep getting a Permission Denied error and I've exhausted 
all my options for troubleshooting. Full error stacktrace:

Grpc.Core.RpcException: 
<http://www.google.com/url?sa=D&q=http%3A%2F%2FGrpc.Core.RpcException%3A> 
Status(StatusCode="PermissionDenied", 
Detail="The caller does not have permission")
at Grpc.Net.Client.Internal.HttpContentClientStreamReader`2.MoveNextCore 
<http://www.google.com/url?sa=D&q=http%3A%2F%2FGrpc.Net.Client.Internal.HttpContentClientStreamReader%602.MoveNextCore>(CancellationToken
 
cancellationToken)
at Google.Ads.Gax.Interceptors.StreamingRpcInterceptor`1.MoveNext 
<http://www.google.com/url?sa=D&q=http%3A%2F%2FGoogle.Ads.Gax.Interceptors.StreamingRpcInterceptor%601.MoveNext>(CancellationToken
 
cancellationToken)
at Google.Api.Gax.Grpc.AsyncResponseStream`1.MoveNextAsync 
<http://www.google.com/url?sa=D&q=http%3A%2F%2FGoogle.Api.Gax.Grpc.AsyncResponseStream%601.MoveNextAsync>(CancellationToken
 
cancellationToken)
at 
Google.Ads.GoogleAds.V11.Services.GoogleAdsServiceClient.<>c__DisplayClass32_0.<<SearchStreamAsync>b__0>d.MoveNext
 
<http://www.google.com/url?sa=D&q=http%3A%2F%2FGoogle.Ads.GoogleAds.V11.Services.GoogleAdsServiceClient.%3C%3Ec__DisplayClass32_0.%3C%3CSearchStreamAsync%3Eb__0%3Ed.MoveNext>
()

Any suggestions on what I should do?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/170944a7-b064-42cb-99f2-6c3baab538f2n%40googlegroups.com.

Reply via email to