Kampanie wideo
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Kampanie wideo umożliwiają wyświetlanie reklam wideo w YouTube i innych witrynach.
Ograniczenia interfejsu API
Interfejs Google Ads API obsługuje tylko pobieranie danych o istniejących kampaniach wideo i ich kryteriach oraz generowanie raportów na ich temat. Za pomocą interfejsu Google Ads API nie możesz tworzyć nowych kampanii wideo ani aktualizować istniejących kampanii wideo.
Alternatywne sposoby zarządzania kampaniami
Jeśli chcesz tworzyć kampanie wideo i nimi zarządzać w sposób automatyczny, rozważ te opcje:
- Skrypty Google Ads: kampaniami wideo możesz zarządzać za pomocą skryptów Google Ads. Umożliwia to automatyczne zarządzanie w interfejsie Google Ads.
- Kampanie generujące popyt: jeśli chcesz wyświetlać reklamy wideo w usługach Google, w tym w YouTube, kampanie generujące popyt są w pełni obsługiwane w interfejsie Google Ads API zarówno pod względem tworzenia, jak i zarządzania.
Raportowanie
Dane o skuteczności kampanii wideo, ich reklam i kryteriów możesz pobierać za pomocą GoogleAdsService.SearchStream
, filtrując je według campaign.advertising_channel_type = 'VIDEO'
, np. w ten sposób:
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'
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-08-27 UTC.
[null,null,["Ostatnia aktualizacja: 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'"]]