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:
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-09-05 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'"]]