The caller does not have permission

187 views
Skip to first unread message

Tomáš Kunickij

unread,
Jun 12, 2019, 5:24:20 PM6/12/19
to AdWords API and Google Ads API Forum
Hello, i have just started using ads api by this lib https://github.com/googleads/google-ads-python

When trying to work with one of my clients connected to MCC i get 

status = StatusCode.PERMISSION_DENIED
details = "The caller does not have permission"
message: "User doesn\'t have permission to access customer.

What is the problem? 
I use credential which i created from account i normally use. This account normally works with all the clients connected to this MCC.

PS.. What is the difference between these 2 libs?

Google Ads API Forum Advisor Prod

unread,
Jun 13, 2019, 3:17:52 PM6/13/19
to adwor...@googlegroups.com
Hello Tomas,

While working with Google Ads API, the login-customer-id you are defining in the API call should be the manager account of the clientCustomerID from which you are pulling the data. Also, the user making the API call should have access to the log-in-customer-id. Please double check, if you are still facing the issue, you could share login-customer-id, client-customer-id and email address of the user with me using reply privately to the author option.

Regards,
Sai Teja, Google Ads API Team
 

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