Необходимый. Идентификатор родительского канала, сайты которого будут заменены.
owner параметра объединения. Необходимый. Идентифицирует объект DV360, которому принадлежит родительский канал. Это может быть как партнер, так и рекламодатель. owner может быть только один из следующих:
Идентификатор партнера, которому принадлежит родительский канал.
Тело запроса
Тело запроса содержит данные следующей структуры:
JSON-представление
{"newSites": [{object (Site)}],// Union field owner can be only one of the following:"advertiserId": string// End of list of possible types for union field owner.}
Сайты, которые заменят существующие сайты, назначенные каналу, в виде списка Sites .
owner поля Союза. Необходимый. Идентифицирует объект DV360, которому принадлежит родительский канал. Это может быть как партнер, так и рекламодатель. owner может быть только один из следующих:
[[["Прост для понимания","easyToUnderstand","thumb-up"],["Помог мне решить мою проблему","solvedMyProblem","thumb-up"],["Другое","otherUp","thumb-up"]],[["Отсутствует нужная мне информация","missingTheInformationINeed","thumb-down"],["Слишком сложен/слишком много шагов","tooComplicatedTooManySteps","thumb-down"],["Устарел","outOfDate","thumb-down"],["Проблема с переводом текста","translationIssue","thumb-down"],["Проблемы образцов/кода","samplesCodeIssue","thumb-down"],["Другое","otherDown","thumb-down"]],["Последнее обновление: 2025-01-06 UTC."],[[["This document outlines the process for replacing all sites under a Display & Video 360 channel using the `replaceSites` API endpoint."],["The request body requires specifying the new sites and the owner (partner or advertiser) of the parent channel."],["This operation may experience high latency, so increasing the default timeout is recommended."],["The API utilizes gRPC Transcoding and requires the `https://www.googleapis.com/auth/display-video` OAuth scope for authorization."]]],["This document outlines the process of replacing sites within a channel using the Display & Video 360 API. It uses a POST request to `partners/{partnerId}/channels/{channelId}/sites:replace`. The request body, which uses JSON formatting, requires a list of `newSites` to replace existing ones. `channelId`, `partnerId` and `owner` (either partner or advertiser) are required path parameters. The API call experiences high latency, recommending timeout increases. Successful responses return a `ReplaceSitesResponse` object. Authorization requires the `display-video` OAuth scope.\n"]]