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 sunsetted, and this documentation details updating existing campaigns using the v1 API."],["The API request utilizes an HTTP PATCH method to `https://displayvideo.googleapis.com/v1/advertisers/{campaign.advertiserId}/campaigns/{campaign.campaignId}` and requires specifying the advertiser and campaign IDs."],["To update a campaign, provide a request body containing the updated Campaign object and utilize the `updateMask` query parameter to specify the fields to be modified."],["Successful requests will return the updated Campaign object in the response body."],["Authorization requires specific OAuth scopes like `https://www.googleapis.com/auth/display-video` or `https://www.googleapis.com/auth/display-video-mediaplanning`."]]],["This outlines the process for updating a campaign using the Display & Video 360 API, noting that v1 is sunset. A `PATCH` request is sent to a specific URL, including the advertiser and campaign IDs in the path. The `updateMask` query parameter specifies which fields to modify. The request body contains the updated campaign data. Upon success, the API returns the modified campaign data in the response. Access requires specific OAuth scopes.\n"]]