Starting
September 8, 2025, every new line item will need to declare whether or not they will serve Eurpoean Union (EU) political ads. Display & Video 360 API and SDF uploads that don't provide declarations will fail. See our
deprecations page for more details on how to update your integration to make this declaration.
ReplaceSitesResponse
Stay organized with collections
Save and categorize content based on your preferences.
Response message for SiteService.ReplaceSites.
JSON representation |
{
"sites": [
{
object (Site )
}
]
} |
Fields |
sites[] |
object (Site )
The list of sites in the channel after replacing.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-27 UTC.
[null,null,["Last updated 2025-03-27 UTC."],[],["The Display & Video 360 API v4 beta includes a `SiteService.ReplaceSites` function. This function's response is formatted in JSON and contains a single field, `sites[]`. This field holds an array of `Site` objects, representing the complete list of sites within a channel after the replacement operation. Each site within the list is represented by a Site object, which can be found in the specified API reference.\n"],null,["# ReplaceSitesResponse\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nResponse message for SiteService.ReplaceSites.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------|\n| ``` { \"sites\": [ { object (/display-video/api/reference/rest/v4/advertisers.channels.sites#Site) } ] } ``` |\n\n| Fields ||\n|-----------|---------------------------------------------------------------------------------------------------------------------------------------------|\n| `sites[]` | `object (`[Site](/display-video/api/reference/rest/v4/advertisers.channels.sites#Site)`)` The list of sites in the channel after replacing. |"]]