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.
Borra un pedido de inserción. Muestra el código de error NOT_FOUND si el pedido de inserción no existe. El pedido de inserción debe archivarse primero, es decir, establecer entityStatus en ENTITY_STATUS_ARCHIVED, para poder borrarlo.
[null,null,["Última actualización: 2024-06-11 (UTC)"],[[["Display & Video 360 API v2 has been sunset and this documentation details how to delete an insertion order using the API."],["To delete an insertion order, it must first be archived by setting its entityStatus to `ENTITY_STATUS_ARCHIVED`."],["The API request requires the advertiser ID and insertion order ID as path parameters and an empty request body."],["A successful deletion will result in an empty response body, while an attempt to delete a non-existent insertion order returns a `NOT_FOUND` error."],["Authorization for this API request requires the `https://www.googleapis.com/auth/display-video` OAuth scope."]]],["The Display & Video 360 API v2 is no longer available. To delete an insertion order, first archive it by setting its `entityStatus` to `ENTITY_STATUS_ARCHIVED`. Then, use a DELETE request to `https://displayvideo.googleapis.com/v2/advertisers/{advertiserId}/insertionOrders/{insertionOrderId}`, providing the advertiser and insertion order IDs. The request body must be empty, and a successful deletion returns an empty response body. The OAuth scope `https://www.googleapis.com/auth/display-video` is required for authorization.\n"]]