Rede de Display e A API Video 360 v2 foi descontinuada. Use o Display & Video 360 API v3. Para ver as instruções de migração da v2 para a v3, consulte nosso guia de migração.
Cria um novo item de linha com configurações (incluindo segmentação) herdadas do pedido de inserção e um entityStatusENTITY_STATUS_DRAFT. Retorna o item de linha recém-criado, se for bem-sucedido. Existem valores padrão com base nos três campos:
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Não contém as informações de que eu preciso","missingTheInformationINeed","thumb-down"],["Muito complicado / etapas demais","tooComplicatedTooManySteps","thumb-down"],["Desatualizado","outOfDate","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Problema com as amostras / o código","samplesCodeIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 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"]]