PermissionDenied denied while using grpc

2,228 views
Skip to first unread message

Empower Solutions

unread,
Mar 10, 2022, 7:19:01 AM3/10/22
to Google Ads API and AdWords API Forum
Hi,
Has anyone had this issue? Please help.

We are using .NET client library for Google ads API but we are facing an issue And we are using MCCCustomerID = "444-523-7672".

i am using DownloadReportAsync function of ParallelReportDownload example.

Below is the exception that we are getting
GoogleAdsException: Status(StatusCode="PermissionDenied", Detail="The caller does not have permission", DebugException="Grpc.Core.Internal.CoreErrorDetailException: {"created":"@1646913486.443000000","description":"Error received from peer ipv6:[2404:6800:4007:81e::200a]:443","file":"..\..\..\src\core\lib\surface\call.cc","file_line":1070,"grpc_message":"The caller does not have permission","grpc_status":7}")






Google Ads API Forum Advisor

unread,
Mar 10, 2022, 3:25:26 PM3/10/22
to adsindia...@gmail.com, adwor...@googlegroups.com
Hello,

Thanks for reaching out. Can you please ensure the following:
  1. If you are authenticating as a manager, please set the login customer ID header
  2. Please make sure the user email that created the OAuth credentials in the Cloud Console project also has access in the target account
If you continue to have issues with this, please privately provide us with the request and response logs. 

Regards,
Matt
Google Ads API Team

Google Logo
Matt
Google Ads API Team
 


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