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 ID del anunciante propietario del canal principal.
Cuerpo de la solicitud
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:"partnerId": 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-10-14 (UTC)"],[[["This documentation details the `replaceSites` method, which replaces all existing sites under a specific channel with new ones provided in the request."],["The request requires the `channelId` and either the `partnerId` or `advertiserId` to identify the channel being modified."],["A list of new sites must be included in the request body, adhering to the `Site` object structure."],["Successful execution results in a `ReplaceSitesResponse` object in the response body."],["The operation requires authorization with the `https://www.googleapis.com/auth/display-video` scope."]]],["This outlines how to replace all sites within a channel using the Display & Video 360 API. A POST request is sent to a specified URL, including the `advertiserId` and `channelId` as path parameters. The request body contains a list of `newSites` and a field `owner` that identifies the channel owner, either a `partnerId` or `advertiserId`. Successful requests return a `ReplaceSitesResponse`, and OAuth scope `https://www.googleapis.com/auth/display-video` is required for authorization.\n"]]