レポート出力時の「ENABLED」設定について

72 views
Skip to first unread message

Ryusei

unread,
Oct 26, 2021, 11:14:43 PM10/26/21
to Google Ads Scripts Forum
こんにちは!
現在、Google Ads Scriptで自動レポートを作成しています。
レポートスクリプトは毎日実行されます。

「CAMPAIGN_PERFORMANCE_REPORT」を取得していて、
「WHERE」の設定を「ENABLED」にしています。

例えば、10/25に1つの「キャンペーンステータス」を「停止」にした際に、10/26にレポートが更新された場合、10/25に停止したキャンペーンのレポートは取得するのでしょうか。

取得しない場合は「PAUSED」も含めれば、取得するようになりますでしょうか。
その際は、停止してレポート数値が全て0になった以降はレポートに更新されなくなりますでしょうか。

ぜひともご教示いただけますと幸いです。
何卒よろしくお願い致します。

Ryusei

Google Ads Scripts Forum Advisor

unread,
Oct 27, 2021, 4:09:22 AM10/27/21
to adwords...@googlegroups.com
Hi Ryusei,

Thanks for reaching out. Harry here, from the Google Ads Scripts Team.

Kindly take note that our team can only assist you in English so I have interpreted your email through Google Translate but please feel free to correct me on anything I may have misunderstood. Now, if you filter the campaign performance report to only retrieve enabled campaigns, then the campaigns that have paused prior to the scripts execution will not be included in the report. If you want to filter your report with both enabled and pause campaigns, you can use the IN operator to do so (Eg. "WHERE CampaignStatus IN [ENABLED, PAUSE]"). You may also add in the REMOVED value although not filtering the report by the status should let you to retrieve campaigns with the three mentioned field enums.

On the other hand, if you would like to retrieve change history or historical data, you may opt to retrieve the change_event using GAQL in which should return changes made through UI, API and new versions of Editor in the past 30 days.

Hope this helps. Let me know how I can assist you further.

Thanks,
Google Logo
Harry Cliford Rivera
Google Ads Scripts Team
 


ref:_00D1U1174p._5004Q2QFYMw:ref
Reply all
Reply to author
Forward
0 new messages