Hi, 

You need to set the target account's Id as the clientCustomerId in the 
request header when you execute the getCustomers() 
<https://developers.google.com/adwords/api/docs/reference/v201702/CustomerService#getcustomers>
 method 
so that the details of that particular AdWords account are returned. If the 
clientCustomerId is not set, then the details of all AdWords accounts 
directly accessible by the authenticated user will be returned. You can use 
the code snippet provided below to set the required clientCustomerId at 
runtime.

AdWordsUser user = new AdWordsUser(); 
// Override a specific setting at runtime. 
AdWordsAppConfig config = (AdWordsAppConfig) user.Config; 
user.Config.clientCustomerId = "123-456-7890";

If this doesn't solve the issue, please enable logging and provide the SOAP 
request and response logs so I can take a look. Please use *Reply privately 
to author* when responding.

Regards,
Shwetha, 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/bd603e76-b16d-45c3-8a51-5cf1ab6924ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to