Re: AdWords API AuthTokenException: Login failed

2010-04-09 Thread Joshua J. Kugler
On Friday 09 April 2010, SW elucidated thus:
> Reusing authentication seemed to have helped.  Surprisingly,
> documentation doesn't state this.

From: http://code.google.com/apis/adwords/v2009/docs/headers.html

"An authentication token is valid for about a week after you acquire it; 
when it expires, use ClientLogin to retrieve a new one."

Which implies you can cache it and reuse it.

j

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe, reply using "remove me" as the subject.


Re: AdWords API AuthTokenException: Login failed

2010-04-09 Thread SW
Reusing authentication seemed to have helped.  Surprisingly,
documentation doesn't state this.

Thank you Eric

On Apr 9, 1:20 pm, AdWords API Advisor 
wrote:
> Hi,
>
> This likely indicates that you are making too many requests to the
> ClientLogin API in a short period of time.  Are you reusing services
> and/or authTokens in your application?
>
> Best,
> - Eric Koleda, AdWords API Team
>
> On Apr 8, 5:19 pm, SW  wrote:
>
>
>
> > Hi,
>
> > We have a process where we replicate google adwords account to
> > multiple client accounts(could be 20+) to copy over ads.  We started
> > getting the login failed error recently.
>
> > We are using v200909 version with version 7 client library.  Please
> > shed some light in resolving this or suggest a work around.
>
> > here is the error log:
>
> > Error occured in Run: com.google.api.adwords.lib.AuthTokenException:
> > Login failed ---> System.Net.WebException: The remote server returned
> > an error: (403) Forbidden.
> >     at System.Net.HttpWebRequest.GetResponse()
> >     at com.google.api.adwords.lib.AuthToken.GetToken()
>
> > --
> > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> > Have you migrated to v200909 yet?
> > The v13 sunset is on April 22, 2010.
>
> > Also find us on our blog and discussion 
> > group:http://adwordsapi.blogspot.comhttp://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 
> > athttp://groups.google.com/group/adwords-api?hl=en

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe, reply using "remove me" as the subject.


Re: AdWords API AuthTokenException: Login failed

2010-04-09 Thread AdWords API Advisor
Hi,

This likely indicates that you are making too many requests to the
ClientLogin API in a short period of time.  Are you reusing services
and/or authTokens in your application?

Best,
- Eric Koleda, AdWords API Team

On Apr 8, 5:19 pm, SW  wrote:
> Hi,
>
> We have a process where we replicate google adwords account to
> multiple client accounts(could be 20+) to copy over ads.  We started
> getting the login failed error recently.
>
> We are using v200909 version with version 7 client library.  Please
> shed some light in resolving this or suggest a work around.
>
> here is the error log:
>
> Error occured in Run: com.google.api.adwords.lib.AuthTokenException:
> Login failed ---> System.Net.WebException: The remote server returned
> an error: (403) Forbidden.
>     at System.Net.HttpWebRequest.GetResponse()
>     at com.google.api.adwords.lib.AuthToken.GetToken()
>
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Have you migrated to v200909 yet?
> The v13 sunset is on April 22, 2010.
>
> Also find us on our blog and discussion 
> group:http://adwordsapi.blogspot.comhttp://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 
> athttp://groups.google.com/group/adwords-api?hl=en

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe, reply using "remove me" as the subject.


AdWords API AuthTokenException: Login failed

2010-04-08 Thread SW
Hi,

We have a process where we replicate google adwords account to
multiple client accounts(could be 20+) to copy over ads.  We started
getting the login failed error recently.

We are using v200909 version with version 7 client library.  Please
shed some light in resolving this or suggest a work around.

here is the error log:

Error occured in Run: com.google.api.adwords.lib.AuthTokenException:
Login failed ---> System.Net.WebException: The remote server returned
an error: (403) Forbidden.
at System.Net.HttpWebRequest.GetResponse()
at com.google.api.adwords.lib.AuthToken.GetToken()

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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