Re: Python client AuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALID

2011-07-18 Thread Kevin Winter
Hi, There is a bug in the python client library where it doesn't correctly handle the Captcha responses. I.E. if you make too many auth tokens, it will start captcha-challenging you and the python client library currently doesn't handle this case correctly. As a best practice, I would recomm

Re: Python client AuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALID

2011-07-14 Thread Pete Lavetsky (AdWords API Guru)
http://stackoverflow.com/questions/1479776/too-many-values-to-unpack-exception/1479796#1479796 Pete On Jul 14, 10:34 am, Marcky wrote: > Ok seems to be ok now, but there's another different problem. > In adspygoogle/common/AuthToken.py, line 101 generate a ValueError > exception "too many values

Re: Python client AuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALID

2011-07-14 Thread Marcky
Ok seems to be ok now, but there's another different problem. In adspygoogle/common/AuthToken.py, line 101 generate a ValueError exception "too many values to unpack" (already seen many times) i use python 2.5 is it possible the cause? thanks Pete for your patience :) On Jul 14, 4:15 pm, "Pete La

Re: Python client AuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALID

2011-07-14 Thread Pete Lavetsky (AdWords API Guru)
What you're specifying as your authToken in the header is actually your applicationToken Set 'applicationToken' header with 'my_approved_auth_token' http://adwordsapi.blogspot.com/2010/07/discover-v2009-working-with-authtokens.html Pete On Jul 14, 10:10 am, Marcky wrote: > Hi Pete, > thanks fo

Re: Python client AuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALID

2011-07-14 Thread Marcky
Hi Pete, thanks for your answer :-) i've not understood what do you mean.. i know they're different, this is my headers: headers={ 'email': email, 'password': password, 'authToken': 'my_approved_auth_token', 'clientEmail': 'client_1+%s' % email, 'u

Re: Python client AuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALID

2011-07-14 Thread Pete Lavetsky (AdWords API Guru)
Marcky, The authToken isn't the same as your developer token / application token. http://code.google.com/p/google-api-adwords-python-lib/wiki/Readme Pete On Jul 14, 2:54 am, Marcky wrote: > I use the latest API version v201101, initialize a client instance: > > client = AdWordsClient( >