Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2023/12/02 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2023/12/02 (UTC)."],[[["Display & Video 360 API v1 is retired, and this documentation details the process for creating a new site within a specific channel using the updated API."],["The API endpoint for site creation is `POST https://displayvideo.googleapis.com/v1/partners/{partnerId}/channels/{channelId}/sites` and requires specifying the parent channel and partner IDs."],["You will need to provide details about the site in the request body, formatted according to the [Site](/display-video/api/reference/rest/v1/advertisers.channels.sites#Site) object specification."],["Authorization for this API requires the `https://www.googleapis.com/auth/display-video` OAuth scope to be granted."]]],["This document details the process for creating a site within a channel using the Display & Video 360 API. It outlines the use of a `POST` request to a specific URL, including mandatory `channelId` and `partnerId` path parameters, and an optional `advertiserId` query parameter. The request body requires a `Site` instance, and a successful response returns a newly created `Site` instance. Access requires the `https://www.googleapis.com/auth/display-video` OAuth scope. The Display & Video 360 API v1 has been sunset.\n"]]