Re: (Status(StatusCode="PermissionDenied", Detail="The caller does not have permission")) error when running C# examples

2022-09-27 Thread Ng Cheng Kiang
Hi Heidi, I added the email for the OAuth2 Client Id/Secret to the Ads Manager Test account, and now I have an exception error. I generated a new refresh token using the Ads Manager account and ran it again, but the exception is the same. λ dotnet run --framework net5.0 V11.GetCampaigns

RE: (Status(StatusCode="PermissionDenied", Detail="The caller does not have permission")) error when running C# examples

2022-09-27 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi CK, Thank you for reaching out to us. With regards to encountered error PERMISSION_DENIED, note that you may receive the error ‘USER_PERMISSION_DENIED’ when a user doesn't have permission to access a customer and you’re accessing a client customer using 'login-customer-id’ in the request.