report = {
'reportName': report_name,
'dateRangeType': duration if duration else 'ALL_TIME',
'reportType': report_name,
'downloadFormat': 'TSV',
'selector': {
'fields': columns if type(columns) is list else columns.split(',')
},
}
stream = report_downloader.DownloadReportAsStream(report, skip_report_header=True, skip_column_header=False,skip_report_summary=True,include_zero_impressions=True)
I think it is a awql report bug in the Python library .
I guess at the meantime I will use the old way of report definition.
Thanks,
Alex