Obligatoire. Identifiant du canal parent dans lequel le site sera créé.
Paramètre d'union owner. Obligatoire. Identifie l'entité DV360 qui possède la chaîne parente. Il peut s'agir d'un partenaire ou d'un annonceur. owner ne peut être qu'un des éléments suivants :
ID de l'annonceur propriétaire de la chaîne parente.
Paramètres de requête
Paramètres
Paramètre d'union owner. Obligatoire. Identifie l'entité DV360 qui possède la chaîne parente. Il peut s'agir d'un partenaire ou d'un annonceur. owner ne peut être qu'un des éléments suivants :
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 2024/06/11 (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 2024/06/11 (UTC)."],[[["Display & Video 360 API v2 is sunset and this documentation details creating a new site within a channel using the API."],["The API request utilizes an HTTP POST method with specific path and query parameters to define the location and ownership of the new site."],["Successful API calls will return a response containing the details of the newly created site, formatted according to the Site object definition."],["Users need to be authorized with the `https://www.googleapis.com/auth/display-video` OAuth scope to utilize this API functionality."]]],["The provided content outlines the process for creating a site within a channel using the Display & Video 360 API. A `POST` request is sent to the specified URL, including the `advertiserId` and `channelId` as path parameters. The request requires one of the parameters to indicate the owner and a `site` object in the request body. Upon success, the response will include the newly created `site` object. Authorization via OAuth is mandatory using `display-video` scope.\n"]]