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.
[null,null,["Última actualización: 2023-12-02 (UTC)"],[[["Display & Video 360 API v1 is deprecated and users should refer to the documentation for the latest version."],["This documentation details how to create a new line item using the API, including the request and response format."],["The API requires specific authorization with the `https://www.googleapis.com/auth/display-video` scope."],["Successful requests will return the newly created line item object with all its associated properties."]]],["The content describes the process of creating a new line item via an API. It details that the Display & Video 360 API v1 is no longer available and outlines the necessary steps for line item creation. A `POST` request is sent to `https://displayvideo.googleapis.com/v1/advertisers/{lineItem.advertiserId}/lineItems`, with the `lineItem.advertiserId` as a path parameter. The request body includes a `LineItem` instance, and a successful response returns a new `LineItem` instance. This action requires the OAuth scope `https://www.googleapis.com/auth/display-video`.\n"]]