Rede de Display e A API Video 360 v2 foi descontinuada. Use o Display & Video 360 API v3. Para ver as instruções de migração da v2 para a v3, consulte nosso guia de migração.
O ID do parceiro que é proprietário do canal principal.
Corpo da solicitação
O corpo da solicitação contém dados com a seguinte estrutura:
Representação 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.}
Os sites que substituirão os sites existentes atribuídos ao canal, especificados como uma lista de Sites.
Campo de união owner. Obrigatório. Identifica a entidade do DV360 proprietária do canal principal. Pode ser um parceiro ou um anunciante. owner pode ser apenas de um dos tipos a seguir:
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Não contém as informações de que eu preciso","missingTheInformationINeed","thumb-down"],["Muito complicado / etapas demais","tooComplicatedTooManySteps","thumb-down"],["Desatualizado","outOfDate","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Problema com as amostras / o código","samplesCodeIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 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"]]