Требуется только при редактировании существующих объявлений.
целое число
Нет
Числовое значение идентификатора объявления группы объявлений. Если оставить это поле пустым, будет создано новое объявление и ему будет присвоен уникальный идентификатор.
Идентификатор группы объявлений
Да
целое число
Нет
Числовое значение идентификатора родительской группы объявлений. Вы можете указать собственный идентификатор (например, «ext[идентификатор пользовательской группы объявлений]») для группы объявлений, которую вы создаете одновременно с этим объявлением.
Имя
Да
нить
Да
Имя записи.
Статус
Да
нить
Да
Настройка статуса записи.
Активный
Приостановлено
Удалено
Идентификатор видео
Да
нить
Да
Идентификатор видео YouTube
Отображаемый URL In-Stream
Да для In-Stream
нить
Да
URL-адрес отображения объявления
URL целевой страницы In-Stream
Да для In-Stream
нить
Да
URL целевой страницы объявления
URL-адрес отслеживания кликов In-Stream
Нет
нить
Да
URL-адрес отслеживания кликов по объявлению
Специальные параметры In-Stream
Нет
строка, список списков
Да
Специальные параметры URL-адреса отслеживания кликов. Формат = (имя1; значение1;); (имя2; значение2;); и т. д.
Миниатюра видео Video Discovery
Да для Video Discovery
нить
Да
Миниатюра видео, которая будет использоваться в рекламе Video Discovery.
0
1
2
3
Заголовок Video Discovery
Да для Video Discovery
нить
Да
Текст заголовка объявления Discovery
Видеообнаружение Описание 1
Да для Video Discovery
нить
Да
Описание объявления Discovery 1 текст
Видеообнаружение Описание 2
Да для Video Discovery
нить
Да
Текст описания 2 объявления Discovery
Целевая страница Video Discovery
Да для Video Discovery
нить
Да
Целевая страница объявления Discovery
Идентификатор мобильного приложения
Да для подтипа установки мобильного приложения
нить
Да
Мобильное приложение, используемое для рекламы, ориентированной на установку мобильного приложения. Формат: com.google.android.gm или 422689480.
[null,null,["Последнее обновление: 2025-07-25 UTC."],[[["\u003cp\u003eThis SDF version is outdated and users should transition to SDF v7 for continued use of structured data files.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation is solely for referencing previously generated files and not for creating new ones.\u003c/p\u003e\n"],["\u003cp\u003eThe structured data file format includes fields for managing video and discovery ads, requiring specific details for each ad type.\u003c/p\u003e\n"],["\u003cp\u003eFields like 'Ad Id' and 'Ad Group Id' help manage ad relationships while 'Name' and 'Status' control ad identification and state.\u003c/p\u003e\n"],["\u003cp\u003eFor video ads, essential fields include 'Video Id', display and landing page URLs, and optional click trackers and custom parameters.\u003c/p\u003e\n"]]],[],null,["# Structured Data - v3.1 - YouTube Ad\n\n| This SDF version has been sunset. Users should migrate to SDF [v7.1](/display-video/api/structured-data-file/v7-1/Campaign) in order to continue using structured data files. Only use this documentation when referring to previously-generated files.\n\nSee the [overview](/display-video/api/structured-data-file/format) for an explanation of format.\n\n| Field | Required | Type | Writable | Description |\n|---------------------------------|-----------------------------------------|-----------------------|----------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Ad Id | Required only when editing existing Ads | integer | No | Numeric ID value of the ad group ad. If left blank a new Ad will be created and a unique ID will be assigned. |\n| Ad Group Id | Yes | integer | No | Numeric ID value of the parent ad group. You can specify a custom identifier (for example, \"ext\\[custom ad group ID\\]\") for an Ad Group that you are creating at the same time as this Ad. |\n| Name | Yes | string | Yes | The name of the entry. |\n| Status | Yes | string | Yes | The status setting for the entry. - Active - Paused - Deleted |\n| Video Id | Yes | string | Yes | The YouTube video ID |\n| In-stream Display URL | Yes for In-stream | string | Yes | The ad display URL |\n| In-stream Landing Page URL | Yes for In-stream | string | Yes | The ad landing page URL |\n| In-stream Click Tracker URL | No | string | Yes | The ad click tracker URL |\n| In-stream Custom Parameters | No | string, list of lists | Yes | The click tracker URL custom parameters. Format = (name1; value1;); (name2; value2;); etc. |\n| Video Discovery Video Thumbnail | Yes for Video Discovery | string | Yes | The video thumbnail to use for video discovery ads - 0 - 1 - 2 - 3 |\n| Video Discovery Headline | Yes for Video Discovery | string | Yes | The discovery ad headline text |\n| Video Discovery Description 1 | Yes for Video Discovery | string | Yes | The discovery ad description 1 text |\n| Video Discovery Description 2 | Yes for Video Discovery | string | Yes | The discovery ad description 2 text |\n| Video Discovery Landing Page | Yes for Video Discovery | string | Yes | The discovery ad landing page |\n| Mobile App Id | Yes for Mobile App Install subtype | string | Yes | The mobile app used for mobile app install ads. Format:com.google.android.gm or 422689480 |"]]