Anash,

Thanks. That was what I needed.  I for some reason couldn't find how
to do it in the sample code.

In some of the documentation I have read an authorization it looks
like the token has a time out.  I am using the
ReportDefinitionService.  Do you know what the time limit is on this
service?  If I store this token in my config file or somewhere else
could I use it for a day and then get another token the next day?  Or
is there a better way of using the token?

Steven



On Mar 24, 1:19 am, "Anash P. Oommen" <anash.p.oom...@google.com>
wrote:
> Hi Steven,
>
> You could do something like:
>
> string authToken = new AuthToken(new AdWordsAppConfig(), "adwords", email,
> password).GetToken();
>
> You could then set this authToken in your app.config and AdWordsUser would
> pick it up from there.
>
> Hope this helps. Let me know if you have more questions.
>
> 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