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 <GA...@structuredweb.com> 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
Thank you Eric
On Apr 9, 1:20 pm, AdWords API Advisor <adwordsapiadvi...@google.com>
wrote:
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