Re: the caller does not have permission error

2023-07-03 Thread Henrik Ravnskjær
Replied to all, so others can see my solution Enabling logging showed me the problem. Code: // Detailed logs. TraceUtilities.Configure(TraceUtilities.DETAILED_REQUEST_LOGS_SOURCE, "D:\\temp\\Google\\detail.log", System.Diagnostics.SourceLevels.All); // Summary logs.

RE: the caller does not have permission error

2023-06-30 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Henrik, Thank you for reaching out to Google Ads API Forum. With regards to your concern, could you provide us with the complete logs generated on your end showing the error in this format (request and response logs with request id and request header)? This is so we could provide more

Re: The caller does not have permission error.

2022-11-10 Thread bruce teng
Here is one of these errors(customer-id is hidden): google.ads.googleads.client: Request --- Method: /google.ads.googleads.v11.services.AssetService/MutateAssets Host: googleads.googleapis.com Headers: { "developer-token": "REDACTED", "login-customer-id": "", "x-goog-api-client":

RE: The caller does not have permission error.

2022-11-10 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Bruce, Thank you for reaching out to the Google Ads API support team. It seems that you've encountered the USER_PERMISSION_DENIED error. The authorized customer does not have access to the operating customer. The common cause of this is when authenticating as a user with access to a manager

The caller does not have permission error.

2022-11-10 Thread bruce teng
Hi, we encountered a problem recently when uploading youtube video and calling Google Ads API method: /google.ads.googleads.v11.services.AssetService/MutateAssets. The youtube video is normal and accessible. How can I fix this problem? Thanks! The full trace is: 2022-11-09 17:04:36,785

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.

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

2022-09-27 Thread CK
Hi, I followed the instructions here: https://developers.google.com/google-ads/api/docs/first-call/overview Got the oauth clientid and clientsecret, got the refresh token, but when I tried to run the GetCampaigns example. I got the error: