googleads-python-lib
googleads-python-lib copied to clipboard
Decode error in ReportDownloader
I'm trying to download a report using the ReportDownloader and get the following trace:
File "/usr/local/lib/python2.7/dist-packages/googleads/adwords.py", line 348, in DownloadReport
output, return_money_in_micros)
File "/usr/local/lib/python2.7/dist-packages/googleads/adwords.py", line 411, in _DownloadReport
output.write(chunk.decode())
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 147: ordinal not in range(128)
Looks like the ReportDownloader is trying to decode some non-ascii chars.
You're right. Looking into this now...
I'm release version 1.0.1 to fix the problem. Thank for reporting it.