Anuncios gráficos y La API de Video 360 v2 dejará de estar disponible. Utiliza Display & API de Video 360 v3 en su lugar. Para obtener instrucciones de migración de v2 a v3, consulta nuestra guía de migración.
El cuerpo de la solicitud contiene datos con la siguiente estructura:
Representación 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.}
Los sitios que reemplazarán los sitios existentes asignados al canal, especificados como una lista de Sites.
Campo de unión owner. Obligatorio. Identifica la entidad de DV360 que es propietaria del canal principal. Puede ser un socio o un anunciante. Las direcciones (owner) solo pueden ser una de las siguientes opciones:
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Falta la información que necesito","missingTheInformationINeed","thumb-down"],["Muy complicado o demasiados pasos","tooComplicatedTooManySteps","thumb-down"],["Desactualizado","outOfDate","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Problema con las muestras o los códigos","samplesCodeIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2024-09-12 (UTC)"],[[["Display & Video 360 API v1 is sunset and this document outlines the specifications for replacing sites under a single channel."],["This operation replaces existing sites under a channel with new sites provided in the request."],["The request requires specifying the channel ID, partner ID, and a list of new sites."],["Authorization is needed with the `https://www.googleapis.com/auth/display-video` scope."]]],["This document details the process for replacing sites within a channel using the Display & Video 360 API. A POST request is sent to `https://displayvideo.googleapis.com/v1/partners/{partnerId}/channels/{channelId}/sites:replace`. The request body must include `newSites`, an array of site objects that will replace existing channel sites. The request requires both a `partnerId` and `channelId` as path parameters. It also specifies an owner, either `partnerId` or `advertiserId`. The successful response will be of the type `ReplaceSitesResponse`. The process requires the `https://www.googleapis.com/auth/display-video` OAuth scope.\n"]]