The ID of the advertiser that owns the parent channel.
Request body
The request body contains data with the following structure:
JSON representation
{"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.}
The sites that will replace the existing sites assigned to the channel, specified as a list of Sites.
Union field owner. Required. Identifies the DV360 entity that owns the parent channel. It can be either a partner or an advertiser. owner can 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 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"]]