Anuncios gráficos y La API de Video 360 v2 dejará de estar disponible. Utiliza Display & API de Video 360 v3 en su lugar. Para obtener instrucciones de migración de v2 a v3, consulta nuestra guía de migración.
Crea una nueva línea de pedido con la configuración (incluida la segmentación) heredada del pedido de inserción y una ENTITY_STATUS_DRAFTentityStatus. Si se ejecuta correctamente, muestra la línea de pedido recién creada. Existen valores predeterminados según los tres campos:
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Falta la información que necesito","missingTheInformationINeed","thumb-down"],["Muy complicado o demasiados pasos","tooComplicatedTooManySteps","thumb-down"],["Desactualizado","outOfDate","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Problema con las muestras o los códigos","samplesCodeIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2024-08-21 (UTC)"],[[["Display & Video 360 API v1 is sunset and this documentation details the process to generate a new line item with inherited settings from the insertion order."],["The new line item is created with an `ENTITY_STATUS_DRAFT` status and default values based on insertion order type, automation type, and the given line item type."],["A successful request returns the newly created line item and requires authorization with the `https://www.googleapis.com/auth/display-video` scope."],["The request body must include the insertion order ID, display name, line item type, and optionally, details about a promoted mobile app."]]],["This content outlines how to generate a default line item via the Display & Video API. It utilizes a `POST` request to `https://displayvideo.googleapis.com/v1/advertisers/{advertiserId}/lineItems:generateDefault`, requiring an `advertiserId`. The request body needs `insertionOrderId`, `displayName`, and `lineItemType`; `mobileApp` is needed if the `lineItemType` is for mobile app installs. This will generate the line item inherited from the insertion order and return a new line item with `ENTITY_STATUS_DRAFT` if successful. The operation needs the `https://www.googleapis.com/auth/display-video` authorization scope.\n"]]