-
Notifications
You must be signed in to change notification settings - Fork 977
Closed
Description
I have the code:
report_downloader = client.GetReportDownloader(version='v201409')
report_query = ('SELECT Impressions,QualityScore,KeywordText ' +
'FROM KEYWORDS_PERFORMANCE_REPORT ' +
'WHERE Impressions > 0 ' +
'DURING YESTERDAY ')
r = report_downloader.DownloadReportAsStringWithAwql(report_query, 'CSV').splitlines()
And I get the exception:
Traceback (most recent call last):
File "qs_tracking.py", line 100, in <module>
qs_report(list_of_customer_ids, tracking_config)
File "qs_tracking.py", line 68, in qs_report
r = qs_report_one_acc(client)
File "qs_tracking.py", line 34, in qs_report_one_acc
r = report_downloader.DownloadReportAsStringWithAwql(report_query, 'CSV').splitlines()
File "/usr/local/lib/python2.7/dist-packages/googleads/adwords.py", line 635, in DownloadReportAsStringWithAwql
return response.read().decode()
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 55408: ordinal not in range(128)
This only happens in one of my accounts. In the others this code runs fine.
Metadata
Metadata
Assignees
Labels
No labels