|
本人使用Python去获取account_performance_report,使用有些segment时会出错,我想问一下Account Performance Report
文档中的Segment,是不能够随意组合去获取数据的吗 ? 如果不能,API中哪里有介绍?
第一次成功的查询如下:
report_query = ('SELECT CustomerDescriptiveName, AccountCurrencyCode ,Device,Date,HourOfDay,'
' Impressions, Clicks, Cost '
'FROM ACCOUNT_PERFORMANCE_REPORT '
'WHERE Impressions > 0 '
'DURING LAST_7_DAYS')
当我添加了另一个segment (ClickType)后就报错了
report_query = ('SELECT CustomerDescriptiveName, AccountCurrencyCode ,Device,Date,HourOfDay,ClickType,'
' Impressions, Clicks, Cost '
'FROM ACCOUNT_PERFORMANCE_REPORT '
'WHERE Impressions > 0 '
'DURING LAST_7_DAYS')
错误信息如下: googleads.errors.AdWordsReportBadRequestError: Type: ReportDownloadError.ZERO_IMPRESSIONS_REQUEST_NOT_SUPPORTED
|
|