[英]get Google AdWords API all campaign stats for total impressions and clicks
[英]Api Google Adwords How we can get report for a one campaign during the current month but per day?
我需要在當月但每天每天使用api google adwords生成報告,僅針對一個廣告系列,這是我的查詢:
$reportQuery = 'SELECT CampaignId,CampaignName, Impressions, Clicks, Cost '
. ' FROM CAMPAIGN_PERFORMANCE_REPORT '
. ' WHERE CampaignId = '.$campaignId.' DURING this_month';
我想以這種格式得到結果:
date | impressions | clicks | ...
01/11| 12356785 | 23561 | ...
02/11| 23567985 | 3561 | ...
03/11| 82356785 | 56892 | ...
04/11| 62356785 | 562234 | ...
可能嗎 ? 如果不是,我們如何在不下載文件的情況下獲得報告? 謝謝
將Date
字段添加到您的查詢應該可以解決問題。 如前所述這里 , Date
有“段”的行為,所以它會給你與所有其他指標自身價值觀的每一一個新行。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.