แคมเปญวิดีโอ
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
แคมเปญวิดีโอให้คุณแสดง
โฆษณาวิดีโอบน YouTube และเว็บไซต์อื่นๆ ได้
ข้อจำกัดของ API
Google Ads API รองรับเฉพาะการดึงข้อมูลและการรายงานเกี่ยวกับแคมเปญวิดีโอที่มีอยู่
และเกณฑ์ของแคมเปญ คุณไม่สามารถสร้างแคมเปญวิดีโอใหม่หรืออัปเดตแคมเปญวิดีโอที่มีอยู่โดยใช้ Google Ads API
ทางเลือกในการจัดการแคมเปญ
หากต้องการสร้างหรือจัดการแคมเปญวิดีโอแบบเป็นโปรแกรม ให้พิจารณาตัวเลือกต่อไปนี้
- สคริปต์ Google Ads: คุณจัดการแคมเปญวิดีโอได้โดยใช้สคริปต์ Google Ads ซึ่งจะช่วยให้จัดการได้โดยอัตโนมัติภายในอินเทอร์เฟซ Google Ads
- แคมเปญ Demand Gen: หากเป้าหมายของคุณคือการแสดงโฆษณาวิดีโอในพร็อพเพอร์ตี้ของ Google รวมถึง YouTube, Google Ads API รองรับแคมเปญ Demand Gen
อย่างเต็มที่ทั้งในการสร้างและการจัดการ
การรายงาน
คุณสามารถดึงข้อมูลประสิทธิภาพของแคมเปญวิดีโอและโฆษณา รวมถึงเกณฑ์ได้โดยใช้ 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'
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-27 UTC
[null,null,["อัปเดตล่าสุด 2025-08-27 UTC"],[],[],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'"]]