0
我想查找所有已刪除的廣告組和廣告系列。我的查詢如下:搜索查詢效果報告where子句錯誤
var report = AdWordsApp.report(
'SELECT Query, Clicks, Cost, Ctr, ConversionRate,' +
' CampaignStatus, AdGroupStatus, CostPerConversion, Conversions, CampaignId, CampaignName, AdGroupId, AdGroupName' +
' FROM SEARCH_QUERY_PERFORMANCE_REPORT' +
' WHERE ' +
'Impressions > 2' +
'AND AdGroupStatus = "removed"' +
' DURING LAST_7_DAYS', REPORTING_OPTIONS);
註釋掉這一行'AND AdGroupStatus = "removed"' +
時再查詢工作。我試過'AND AdGroupStatus CONTAINS "removed"' +
沒有成功。
有人可以幫助我嗎?
我應該能夠像文件中提到的過濾。 https://developers.google.com/adwords/api/docs/appendix/reports/search-query-performance-report
這和空行在我的where子句的行首。 – Christoph