Mulai 8 September 2025, setiap item baris baru harus menyatakan apakah item baris tersebut akan menayangkan iklan politik Uni Eropa (EU) atau tidak. Upload SDF dan API Display & Video 360 yang tidak memberikan pernyataan akan gagal. Lihat halaman penghentian penggunaan kami untuk mengetahui detail selengkapnya tentang cara memperbarui integrasi Anda untuk membuat pernyataan ini.
Menghapus item baris. Menampilkan kode error NOT_FOUND jika item baris tidak ada. Item baris harus diarsipkan terlebih dahulu, yaitu tetapkan entityStatus ke ENTITY_STATUS_ARCHIVED, agar dapat menghapusnya.
[null,null,["Terakhir diperbarui pada 2025-07-25 UTC."],[[["\u003cp\u003eDisplay & Video 360 API v1 is sunset and this documentation details deleting a line item via the API.\u003c/p\u003e\n"],["\u003cp\u003eTo delete a line item, it must first be archived by setting its entityStatus to \u003ccode\u003eENTITY_STATUS_ARCHIVED\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe DELETE request requires specifying the advertiser ID and line item ID in the URL path.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful deletion results in an empty response body.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires the \u003ccode\u003ehttps://www.googleapis.com/auth/display-video\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],["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"],null,["# Method: advertisers.lineItems.delete\n\n| Display \\& Video 360 API v1 has been sunset.\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. Returns error code `NOT_FOUND` if the line item does not exist. The line item should be archived first, i.e. set [entityStatus](/display-video/api/reference/rest/v1/advertisers.lineItems#LineItem.FIELDS.entity_status) to `ENTITY_STATUS_ARCHIVED`, to be able to delete it.\n\n### HTTP request\n\n`DELETE https://displayvideo.googleapis.com/v1/advertisers/{advertiserId}/lineItems/{lineItemId}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path 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\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body is empty.\n\n### Authorization 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](https://developers.google.com/identity/protocols/OAuth2)."]]