Skip to content

Decode error in ReportDownloader #1

Closed
@lociii

Description

@lociii

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions