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/09/12 (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/09/12 (UTC)."],[[["Display & Video 360 API v2 is sunset and this documentation details how to duplicate a line item using the API."],["This method duplicates an existing line item within a specified advertiser, returning the new line item's ID."],["YouTube & Partners line items are excluded and cannot be duplicated using this API."],["Due to potential latency, increasing your default timeout is recommended to avoid errors."],["Proper authorization with the `https://www.googleapis.com/auth/display-video` scope is required."]]],["The Display & Video 360 API v2 has ended. To duplicate a line item, use a POST request to the specified URL, providing the `advertiserId` and `lineItemId` as path parameters. The request body requires a `targetDisplayName` for the new line item. A successful response returns a `duplicateLineItemId`. Note that YouTube & Partners line items can't be managed via the API, and high latency is expected. An increased default timeout is advised. The necessary authorization scope is `https://www.googleapis.com/auth/display-video`.\n"]]