Hi Aaron,

You get captcha token errors when you hit the authtoken endpoint very
frequently. You should reuse the authtokens to avoid getting these
errors.

See 
http://adwordsapi.blogspot.com/2010/07/discover-v2009-working-with-authtokens.html
for a detailed blog on authtokens, errors and workarounds.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Oct 18, 3:56 pm, Aaron <aaron.t.che...@gmail.com> wrote:
> Hi,
>
> While running some testing in the sandbox using the
> EstimateKeywordsList function, I ran into the following captcha error:
>
>   File "process_keyword_searches.py", line 68, in <module>
>     k.do_task()
>   File "process_keyword_searches.py", line 23, in do_task
>     self.task_result = search(self.keyword)
>   File "/home/aaron/adwords/worker/search.py", line 154, in search
>     result = query(keyword, match_type = match_type, exact_ideas =
> exact_ideas)
>   File "/home/aaron/adwords/worker/search.py", line 139, in query
>     page = service.Get(selector)
>   File "/home/aaron/adwords/worker/adspygoogle/adwords/
> TargetingIdeaService.py", line 74, in Get
>     (selector))
>   File "/home/aaron/adwords/worker/adspygoogle/adwords/
> AdWordsWebService.py", line 177, in CallMethod
>     LIB_SIG, config['proxy'])
>   File "/home/aaron/adwords/worker/adspygoogle/common/Utils.py", line
> 287, in GetAuthToken
>     return AuthToken(email, password, service, lib_sig,
> proxy).GetAuthToken()
>   File "/home/aaron/adwords/worker/adspygoogle/common/AuthToken.py",
> line 56, in __init__
>     self.__Login()
>   File "/home/aaron/adwords/worker/adspygoogle/common/AuthToken.py",
> line 78, in __Login
>     raise AuthTokenError('Captcha token is %s' % msg.strip())
> adspygoogle.common.Errors.AuthTokenError: Captcha token is
> DpMfcqLWY6jsV-iGKPlzYseY-DDlri-
> ZTllUaNjAhjNxd2G2Ptqv-7XEHcdq946S3KmChX43LcbEJONwWSH1YPTVRikD9FlLeKS4AWnpOL Y-
> hZ_GeBPx_z_3yKslV3d4:7tW7vQvU7eKsSuxwEYgSTg
>
> Although the error message itself is puzzling since I"m using an API,
> I believe it may be because I was hitting a rate limit in the
> sandbox.  Can somebody on the Adwords Team confirm whether or not this
> is the case, and if so, will we have to handle this error in our
> production environment?
>
> Thanks,
> Aaron

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