Hi Alexander,

You could do this the following way:

1. Set your MCC email and password in your Web.config.
2. AdWordsUser user = new AdWordsUser(); // this picks up the credentials 
from the Web.config.
3. (user.Config as AdWordsAppConfig).ClientCustomerId = 
your_client_customerid; // now the object is customized to run for given 
customerId
4. Call whatever service or report download utilities here.

With this setup, AuthToken is generated only once, so you won't run into 
captcha errors.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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

Reply via email to