To discuss and provide feedback on our products, join the official Display & Video 360 API and Structured Data Files Discord channel in theGoogle Advertising and Measurement Communityserver.
The ID of the partner that owns the parent channel.
Request body
The request body contains data with the following structure:
JSON representation
{"newSites":[{object (Site)}],// Union fieldownercan be only one of the following:"advertiserId":string// End of list of possible types for union fieldowner.}
The sites that will replace the existing sites assigned to the channel, specified as a list ofSites.
Union fieldowner. Required. Identifies the DV360 entity that owns the parent channel. It can be either a partner or an advertiser.ownercan be only one of the following:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[],["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"]]