I'm using OAuth2 authorization so I'm not 100% sure this will work for you 
but I think you need to drop the line about the 
customerService.RequestHeader and set the Client ID for the account you 
want to get the account list for by using:

config.ClientCustomerId = "111-222-3333"

I just tried the ManagedCustomerService example code that I think you are 
working from and did the above and it listed all my accounts attached to my 
MCC which was the ClientCustomerId I used as above.

Hope this helps,
~Brett

On Tuesday, September 3, 2013 11:25:00 AM UTC-5, Rivka wrote:
>
> How can I get a list of all clients of an adwords account? Right now I 
> have:
>
>         ManagedCustomerService customerService = 
> (ManagedCustomerService)user.GetService(AdWordsService.v201302.ManagedCustomerService);
>         customerService.RequestHeader.clientCustomerId = null;
>         ManagedCustomerPage customerPage = customerService.get(new 
> Selector { fields = new string[] { "Name", "CustomerId" } });
>
> but it's only returning the one client that I'm using for the ClientLogin:
>
>         <add key="AuthorizationMethod" value="ClientLogin" />
>         <add key="Email" value="clientloginemail" />
>         <add key="Password" value="clientloginpassword" />
>
>
> How do I display *all* clients?
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to