Hi Milind,

Actually, I am facing a problem with another scenario. Suppose I have 2 
accounts of AdWords a...@gmail.com and x...@gmail.com. 

In a...@gmail.com I have one l1 manager account and I provide the access of 
l1 account to x...@gmail.com as admin.

In x...@gmail.com account I have l2 manager account and also have access 
to the l1 account.

So, when I access the x...@gmail.com through CustomerService.getCustomers 
<https://developers.google.com/adwords/api/docs/reference/v201802/CustomerService#getcustomers>
 service 
I get the only l2 account(I am not getting the l1 account.). And through 
ManagedCustomerService.get() 
<https://developers.google.com/adwords/api/docs/reference/v201806/ManagedCustomerService#get>
  
I get the hierarchy of l2. 

So, how I get the l1 account in x...@gmail.com as I have access to same?


On Friday, June 8, 2018 at 1:14:18 AM UTC+5:30, Milind Sankeshware (AdWords 
API Team) wrote:
>
> Hi Tarun,
>
> I am Dhanya's colleague and will be following up on this thread as she is 
> unavailable today. The CustomerService.getCustomers 
> <https://developers.google.com/adwords/api/docs/reference/v201802/CustomerService#getcustomers>
>  will 
> return the customerIds of the accounts which are directly accessible by the 
> authenticating user. You can check for the canManageClients 
> <https://developers.google.com/adwords/api/docs/reference/v201802/CustomerService.Customer#canmanageclients>
>  attribute 
> to confirm if the returned account is manager or a client account. If you 
> are trying to get the client accounts a manager hierarchy that you have 
> access to, you will need to make a separate call to 
> ManagedCustomerService.get() 
> <https://developers.google.com/adwords/api/docs/reference/v201806/ManagedCustomerService#get>.
>  
> For more information please check this blog post 
> <http://www.google.com/url?q=http%3A%2F%2Fgoogleadsdeveloper.blogspot.com%2F2016%2F10%2Faccess-multiple-adwords-accounts-with.html&sa=D&sntz=1&usg=AFQjCNEH3SX6FPsDXB-yFWRQ5BkOGKUxLg>.
>  
> Let me know if you have further questions.
>
> Thanks,
> Milind, AdWords API Team.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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+unsubscr...@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/bae15c10-8277-462f-9ff8-2a05f73d9357%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... tarun . jain
    • ... 'Dhanya Sundararaju (AdWords API Team)' via AdWords API and Google Ads API Forum
      • ... tarun . jain
        • ... 'Dhanya Sundararaju (AdWords API Team)' via AdWords API and Google Ads API Forum
          • ... tarun . jain
    • ... tarun . jain
      • ... 'Milind Sankeshware (AdWords API Team)' via AdWords API and Google Ads API Forum
        • ... tarun . jain
      • ... 'Milind Sankeshware (AdWords API Team)' via AdWords API and Google Ads API Forum
        • ... tarun . jain
      • ... 'Milind Sankeshware (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to