Deletes a line item. Returns error code NOT_FOUND if the line item does not exist. The line item should be archived first, i.e. set entityStatus to ENTITY_STATUS_ARCHIVED, to be able to delete it.
[null,null,["Last updated 2024-09-18 UTC."],[[["Display & Video 360 API v1 is sunset and this documentation details deleting a line item via the API."],["To delete a line item, it must first be archived by setting its entityStatus to `ENTITY_STATUS_ARCHIVED`."],["The DELETE request requires specifying the advertiser ID and line item ID in the URL path."],["Successful deletion results in an empty response body."],["Authorization requires the `https://www.googleapis.com/auth/display-video` OAuth scope."]]],["The core content describes how to delete a line item using the Display & Video 360 API. It specifies a `DELETE` HTTP request to a URL containing the `advertiserId` and `lineItemId`. The line item must be archived beforehand by setting its `entityStatus` to `ENTITY_STATUS_ARCHIVED`. The request body should be empty, and a successful response also has an empty body. It uses gRPC Transcoding syntax. This action requires the `https://www.googleapis.com/auth/display-video` authorization scope.\n"]]