Hi Eugene, 

You can use the CustomerService.getcustomers() 
<https://developers.google.com/adwords/api/docs/reference/v201705/CustomerService#getcustomers>
 method 
to get all the customers directly accessible by the user authenticating the 
call. For that, you will have to make the API call without specifying the 
client customer id in the request header. In the API response, the 
customerId 
<https://developers.google.com/adwords/api/docs/reference/v201705/CustomerService.Customer#customerid>
 will 
have the account Id and the descriptiveName 
<https://developers.google.com/adwords/api/docs/reference/v201705/CustomerService.Customer#descriptivename>
 will 
have the name of the account. If you specify the client customer Id in your 
request, the API repose will contain the details of that specific account 
alone. 

We do not have code samples for this specific case. But you can refer to 
the highlighted 
<https://github.com/googleads/googleads-dotnet-lib/blob/master/examples/AdWords/CSharp/v201705/Extensions/AddSitelinks.cs#L69-L77>
 code 
snippet in AddSitelinks.cs sample to get an idea. Let me know if you have 
any additional questions.

Thanks,
Sreelakshmi, 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
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/67f5abcb-c67a-4217-9e3d-23db72268702%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • How to r... eugene
    • Re:... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
    • Re:... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum

Reply via email to