Permission Denied for Customer

48 views
Skip to first unread message

Rukesh Prajapati

unread,
Apr 4, 2022, 12:05:38 AM4/4/22
to Google Ads API and AdWords API Forum
Hello all,

I am working on shifting an API from Adwords API to Google Ads API.

I have followed the process as in below documents

However, when I use the Customer ID (https://prnt.sc/rwbfXMfHoat0) that I have been using in the Adwords API, it gave me an permission issue below:

Request with ID 'XXXXXXXXXXX' has failed. Google Ads failure details: authorization_error: User doesn't have permission to access customer. Note: If you're accessing a client customer, the manager's customer id must be set in the 'login-customer-id' header. See https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid

I also tried to use the Manager ID (https://prnt.sc/IbYFdyuIAzVe). It too gave me an empty result.

Which Customer ID should I use?

Please Help.

Regards,
Rukesh

Google Ads API Forum Advisor

unread,
Apr 4, 2022, 10:17:45 AM4/4/22
to ruke...@gmail.com, adwor...@googlegroups.com
Hello,

Thanks for reaching out. Can you confirm if the user email used to create the OAuth credentials in your GC project also has access in the target Ads account? 

If you continue to have issues, can you please provide us with the complete request and response logs along with the email that created the GC project?

Thanks,
Matt
Google Ads API Team

Google Logo
Matt
Google Ads API Team
 


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