type DeleteLineItems (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
The action used for deleting LineItem objects. A line item can be
deleted if it has never been eligible to serve. Note: deleted line items
will still count against your network limits. For more information, see the
Help Center.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Field
|
LineItemAction (inherited)
|
DeleteLineItems
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eDeleteLineItems\u003c/code\u003e action is used for deleting line item objects.\u003c/p\u003e\n"],["\u003cp\u003eLine items can only be deleted if they have never been eligible to serve.\u003c/p\u003e\n"],["\u003cp\u003eDeleted line items still contribute to network limits.\u003c/p\u003e\n"],["\u003cp\u003eThe Help Center provides more details on network limits and deleted line items.\u003c/p\u003e\n"]]],["The `LineItemService` allows actions on line items, including `ActivateLineItems`, `ArchiveLineItems`, `DeleteLineItems`, `PauseLineItems`, `ReleaseLineItems`, `ReserveLineItems`, `ResumeLineItems`, and `UnarchiveLineItems`. `DeleteLineItems`, specifically, removes line items that have never been eligible to serve, though they still count against network limits. This action is a subclass of the inherited `LineItemAction`. The namespace for this service is `https://www.google.com/apis/ads/publisher/v202411`.\n"],null,["# type DeleteLineItems (v202411)\n\n**Service** \n**LineItemService** **Inheritance** \n[LineItemAction](/ad-manager/api/reference/v202411/LineItemService.LineItemAction) \n▼\n[ActivateLineItems](/ad-manager/api/reference/v202411/LineItemService.ActivateLineItems) [ArchiveLineItems](/ad-manager/api/reference/v202411/LineItemService.ArchiveLineItems) **DeleteLineItems** [PauseLineItems](/ad-manager/api/reference/v202411/LineItemService.PauseLineItems) [ReleaseLineItems](/ad-manager/api/reference/v202411/LineItemService.ReleaseLineItems) [ReserveLineItems](/ad-manager/api/reference/v202411/LineItemService.ReserveLineItems) [ResumeLineItems](/ad-manager/api/reference/v202411/LineItemService.ResumeLineItems) [UnarchiveLineItems](/ad-manager/api/reference/v202411/LineItemService.UnarchiveLineItems)\n\nThe action used for deleting [LineItem](/ad-manager/api/reference/v202411/LineItemService.LineItem) objects. A line item can be\ndeleted if it has never been eligible to serve. Note: deleted line items\nwill still count against your network limits. For more information, see the\n[Help Center](https://support.google.com/admanager/answer/1628457).\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Field ----- ||\n|---|---|\n| **`LineItemAction` (inherited)** ||\n| **`DeleteLineItems`** ||"]]