Google Ads API Accessible Customers

77 views
Skip to first unread message

Kevin

unread,
Feb 12, 2019, 7:49:15 PM2/12/19
to AdWords API and Google Ads API Forum
Hi,

I saw this post: https://ads-developers.googleblog.com/2019/01/new-required-header-for-google-ads-api.html and added the requested manager customer id.

However, I can't seem to access accounts that are directly managed by that customer anymore.
I get a "PermissionDenied" status code when I try to query with a managed customer id.
In addition, when I make the CustomerService.ListAccessibleCustomers request, I only get the manager account back.

Is there another step I need to explicitly give permission for the manager to access the managed account's data?

Best,
Kevin
Message has been deleted

googleadsapi...@google.com

unread,
Feb 13, 2019, 2:25:45 AM2/13/19
to AdWords API and Google Ads API Forum
Hi Kevin,

Could you confirm if you have set the login-customer-id in your request to match the manager you're logging in as? If this header is not set, you may begin seeing the error: USER_PERMISSION_DENIED.

Regarding the result of the CustomerService.ListAccessibleCustomers request, could you provide the code segment you used and the logs returned so I could further check this on my end? You may use the reply privately to author option.

Regards,
Dannison
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/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/a41c2d41-984c-435d-96cc-3e22de4406c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages