type DeleteOrders (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
The action used for deleting Order objects. All line items within
that order are also deleted. Orders can only be deleted if none of its line
items have been eligible to serve. This action can be used to delete
proposed orders and line items if they are no longer valid.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
Field
|
OrderAction (inherited)
|
DeleteOrders
|
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\u003eThis documentation focuses on the \u003ccode\u003eDeleteOrders\u003c/code\u003e action within the \u003ccode\u003eOrderService\u003c/code\u003e, which is part of the Google Ad Manager API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDeleteOrders\u003c/code\u003e is used to remove orders and their associated line items, provided none of the line items have been eligible to serve.\u003c/p\u003e\n"],["\u003cp\u003eThis action is applicable for deleting proposed or invalid orders and line items, and it permanently removes them from the system.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDeleteOrders\u003c/code\u003e inherits from the \u003ccode\u003eOrderAction\u003c/code\u003e class and operates within the namespace \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202408\u003c/code\u003e.\u003c/p\u003e\n"]]],["The `OrderService` allows management of orders through various actions, including `ApproveOrders`, `ArchiveOrders`, `DisapproveOrders`, `PauseOrders`, `ResumeOrders`, `RetractOrders`, `SubmitOrdersForApproval`, and `UnarchiveOrders`. `DeleteOrders` is a specific action used to remove `Order` objects, also deleting all associated line items, but only if none of those items have been eligible to serve. The namespace for this service is `https://www.google.com/apis/ads/publisher/v202408`.\n"],null,["# type DeleteOrders (v202408)\n\n**Service** \n**OrderService** **Inheritance** \n[OrderAction](/ad-manager/api/reference/v202408/OrderService.OrderAction) \n▼\n[ApproveOrders](/ad-manager/api/reference/v202408/OrderService.ApproveOrders) [ApproveOrdersWithoutReserva...](/ad-manager/api/reference/v202408/OrderService.ApproveOrdersWithoutReservationChanges \"ApproveOrdersWithoutReservationChanges\") [ArchiveOrders](/ad-manager/api/reference/v202408/OrderService.ArchiveOrders) **DeleteOrders** [DisapproveOrders](/ad-manager/api/reference/v202408/OrderService.DisapproveOrders) [DisapproveOrdersWithoutRese...](/ad-manager/api/reference/v202408/OrderService.DisapproveOrdersWithoutReservationChanges \"DisapproveOrdersWithoutReservationChanges\") [PauseOrders](/ad-manager/api/reference/v202408/OrderService.PauseOrders) [ResumeOrders](/ad-manager/api/reference/v202408/OrderService.ResumeOrders) [RetractOrders](/ad-manager/api/reference/v202408/OrderService.RetractOrders) [RetractOrdersWithoutReserva...](/ad-manager/api/reference/v202408/OrderService.RetractOrdersWithoutReservationChanges \"RetractOrdersWithoutReservationChanges\") [SubmitOrdersForApproval](/ad-manager/api/reference/v202408/OrderService.SubmitOrdersForApproval) [SubmitOrdersForApprovalWith...](/ad-manager/api/reference/v202408/OrderService.SubmitOrdersForApprovalWithoutReservationChanges \"SubmitOrdersForApprovalWithoutReservationChanges\") [UnarchiveOrders](/ad-manager/api/reference/v202408/OrderService.UnarchiveOrders)\n\nThe action used for deleting [Order](/ad-manager/api/reference/v202408/OrderService.Order) objects. All line items within\nthat order are also deleted. Orders can only be deleted if none of its line\nitems have been eligible to serve. This action can be used to delete\nproposed orders and line items if they are no longer valid.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Field ----- ||\n|---|---|\n| **`OrderAction` (inherited)** ||\n| **`DeleteOrders`** ||"]]