מוחק פריט. הפונקציה מחזירה את קוד השגיאה NOT_FOUND אם הפריט לא קיים. כדי שאפשר יהיה למחוק את הפריט, קודם צריך להעביר אותו לארכיון, כלומר להגדיר את entityStatus לערך ENTITY_STATUS_ARCHIVED.
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2023-12-02 (שעון 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"]]