Hi Erika,

Looks like the library couldn't refresh access tokens. Could you try 
generating a fresh refresh token and set that up in your application's 
configuration file?

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Thursday, August 7, 2014 2:41:23 AM UTC-4, 0c1er1ka wrote:
>
> Hi, members
>
> I would like to ask you about Authentication Error.
> The report from google adwords api could generated yesterday, but I can't 
> retrieve it today.
> The error is the below:
>
> WARNING:root:OAuth 2.0 credentials failed to refresh! Failure was: HTTP 
>> Error 401: Unauthorized
>> Traceback (most recent call last):
>>   File "/home/xxxx/workspace/sem/scripts/py/test_report.py", line 27, in 
>> <module>
>>     main(adwords_client, PATH)
>>   File "/home/xxxx/workspace/sem/scripts/py/test_report.py", line 18, in 
>> main
>>     report_downloader.DownloadReportWithAwql(report_query, 'CSV', 
>> output_file)
>>   File "/usr/local/lib/python2.7/dist-packages/googleads/adwords.py", 
>> line 473, in DownloadReportWithAwql
>>     return_money_in_micros)
>>   File "/usr/local/lib/python2.7/dist-packages/googleads/adwords.py", 
>> line 505, in _DownloadReport
>>     raise self._ExtractError(e)
>> googleads.errors.AdWordsReportBadRequestError: Type: 
>> AuthenticationError.AUTHENTICATION_FAILED
>> Trigger: None
>> Field Path: selector
>>
>
> If you can, could you please further information,
>
> Best regards,
> Erika
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to