Get list of all clients

2013-09-03 Thread Rivka
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; ManagedCusto

Re: Get list of all clients

2013-09-03 Thread Brett Baggott
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-" I just tried th

Re: Get list of all clients

2013-09-04 Thread Rivka
The problem was all related to my first issue: https://groups.google.com/forum/#!topic/adwords-api/uIJBhNxkVs0 I was using the wrong account. Once I used a "Client manager" account I was able to get the list of customers. Thank you. On Wednesday, September 4, 2013 12:25:27 AM UTC-4, Brett Bagg