USER_PERMISSION_DENIED error when accessing a customer.

28 views
Skip to first unread message

mktt.s...@gmail.com

unread,
Mar 21, 2019, 6:41:14 AM3/21/19
to AdWords API and Google Ads API Forum

Hello, I'm starting to use Ads API, but stuck in the first place. 

My company has a main MCC where dozens of campaigns registered in.

For the API use, i created a google ads id as a dev account, link it to the main MCC, create developers token  in the MCC, and created OAuth credentials in the developers console of the dev account.


The first API call worked when inserting MCC id as the customerID field. No exception was returned. 

But, when i call the API with accounts managed by the MCC, the API returns  "USER_PERMISSION_DENIED". 


please help. Tell me what was wrong. 

googleadsapi...@google.com

unread,
Mar 21, 2019, 2:31:02 PM3/21/19
to AdWords API and Google Ads API Forum
Hello,

Could you please confirm whether you are using the Google Ads API and facing the USER_PERMISSION_DENIED error? If yes, could you please confirm whether you are passing the login-customer-id as mentioned in this blog post? You need to pass the login-customer-id as your manager account without any dashes and the clientCustomerId as the client account managed by the MCC. Please give it a try.

If you are still facing the issue, could you please share the entire error log without redacting any information along with the email address of the user making the API call to investigate further? You could use reply privately to the author option while sharing the information requested.

Regards,
Sai Teja, Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey

Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/

Reply all
Reply to author
Forward
0 new messages