Hi,

You will be able to set the client customer id via the 
AdWordsSessionBuilder.php 
<https://github.com/googleads/googleads-php-lib/blob/master/src/Google/AdsApi/AdWords/AdWordsSessionBuilder.php>
 as 
per the New ads PHP client library upgrade guide 
<https://github.com/googleads/googleads-php-lib/blob/master/UPGRADING.md#configuration>.
 
Please note that you will be able to set to only 1 client customer id. 
However, if your requirement is to get all the accounts under a MCC, you 
can set the clientcustomerid to a MCC id, and then use 
ManagedCustomerService->get 
<https://developers.google.com/adwords/api/docs/reference/v201802/ManagedCustomerService#get>
 to 
pull up all accounts under it. Else, if your requirement is to get details 
of all the customers directly accessible by the user authenticating the 
call you can use CustomerService->getcustomers 
<https://developers.google.com/adwords/api/docs/reference/v201802/CustomerService#getcustomers>.
 
Please let me know if you have further questions.

Regards,
Dhanya, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/4dfb4680-cf0a-40ce-b42f-e8ef1260e21a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • API AdWords ... myrabotakostya
    • Re: API... 'Dhanya Sundararaju (AdWords API Team)' via AdWords API Forum
      • Re:... myrabotakostya
        • ... 'Dhanya Sundararaju (AdWords API Team)' via AdWords API Forum

Reply via email to