影片廣告活動
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
影片廣告活動可讓您在 YouTube 和其他網站上放送影片廣告。
API 限制
Google Ads API 僅支援擷取現有影片廣告活動及其條件,並產生相關報表。您無法使用 Google Ads API 建立新的影片廣告活動,也無法更新現有的影片廣告活動。
廣告活動管理替代方案
如需以程式輔助方式建立或管理影片廣告活動,請考慮下列選項:
- Google Ads 指令碼:您可以使用 Google Ads 指令碼管理影片廣告活動。這樣一來,您就能在 Google Ads 介面中自動管理。
- 需求開發廣告活動:如果您的目標是在 YouTube 等 Google 資源中放送影片廣告,Google Ads API 完全支援需求開發廣告活動的建立和管理作業。
報表
您可以透過 GoogleAdsService.SearchStream
擷取影片廣告活動及其廣告和條件的成效資料,方法是篩選 campaign.advertising_channel_type = 'VIDEO'
,例如:
SELECT
campaign.name,
campaign.advertising_channel_type,
ad_group.name,
ad_group.id,
metrics.impressions,
metrics.clicks,
metrics.ctr
FROM video
WHERE campaign.advertising_channel_type = 'VIDEO'
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-27 (世界標準時間)。
[null,null,["上次更新時間:2025-08-27 (世界標準時間)。"],[],[],null,["# Video campaigns\n\n[Video campaigns](//support.google.com/google-ads/answer/2375497) let you show\nvideo ads on YouTube and other websites.\n\nAPI limitations\n---------------\n\nThe Google Ads API only supports fetching and reporting on existing Video campaigns\nand their criteria. You cannot create new Video campaigns or update existing\nVideo campaigns using the Google Ads API.\n\n### Alternatives for campaign management\n\nIf you need to create or manage Video campaigns programmatically, consider\nthe following options:\n\n- **Google Ads scripts** : You can manage Video campaigns using [Google Ads scripts](/google-ads/scripts/docs/features/video-campaigns). This allows for automated management within the Google Ads interface.\n- **Demand Gen campaigns** : If your goal is to serve video ads across Google properties including YouTube, [Demand Gen campaigns](/google-ads/api/docs/demand-gen/overview) are fully supported in the Google Ads API for both creation and management.\n\nReporting\n---------\n\nYou can retrieve performance data for your Video campaigns and their ads and\ncriteria using [`GoogleAdsService.SearchStream`](/google-ads/api/reference/rpc/v21/GoogleAdsService.SearchStream)\nby filtering for `campaign.advertising_channel_type = 'VIDEO'` such as in this\nexample: \n\n SELECT\n campaign.name,\n campaign.advertising_channel_type,\n ad_group.name,\n ad_group.id,\n metrics.impressions,\n metrics.clicks,\n metrics.ctr\n FROM video\n WHERE campaign.advertising_channel_type = 'VIDEO'"]]