Cada novo item de linha precisa declarar se vai veicular anúncios políticos da União Europeia (UE). As APIs do Display & Video 360 e os uploads de SDF que não fornecem declarações vão falhar. Consulte nossa página de descontinuações para mais detalhes.
[null,null,["Última atualização 2025-09-09 UTC."],[[["\u003cp\u003eDeletes a specific line item within a given advertiser, requiring the line item to be archived beforehand.\u003c/p\u003e\n"],["\u003cp\u003eIdentifies the target line item and advertiser using their respective IDs in the request URL.\u003c/p\u003e\n"],["\u003cp\u003eReturns an error if the line item is not found or is a YouTube & Partners line item, as those cannot be managed via the API.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/display-video\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes a DELETE request with an empty body and returns an empty body upon successful deletion.\u003c/p\u003e\n"]]],[],null,["| Display \\& Video 360 API v3 is deprecated and will sunset on **October 7, 2025** . Migrate to [Display \\& Video 360 API v4](/display-video/api/reference/rest/v4) before sunset to avoid an interruption in service.\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nDeletes a line item.\n\nReturns error code `NOT_FOUND` if the line item does not exist.\n\nThe line item should be archived first, i.e. set [entityStatus](/display-video/api/reference/rest/v3/advertisers.lineItems#LineItem.FIELDS.entity_status) to `ENTITY_STATUS_ARCHIVED`, to be able to delete it.\n\nYouTube \\& Partners line items cannot be created or updated using the API.\n\nHTTP request\n\n`DELETE https://displayvideo.googleapis.com/v3/advertisers/{advertiserId}/lineItems/{lineItemId}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\nPath parameters\n\n| Parameters ||\n|----------------|-----------------------------------------------------------------------------------------------------------------------------------------|\n| `advertiserId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The ID of the advertiser this line item belongs to. |\n| `lineItemId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The ID of the line item to delete. |\n\nRequest body\n\nThe request body must be empty.\n\nResponse body\n\nIf successful, the response body is an empty JSON object.\n\nAuthorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/display-video`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]