type DeleteOrders (v202411)
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/v202411
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 page 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 delete 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's namespaced under \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202411\u003c/code\u003e.\u003c/p\u003e\n"]]],["The `OrderService` utilizes `OrderAction` for various operations on orders. Key actions include `ApproveOrders`, `ArchiveOrders`, `DisapproveOrders`, `PauseOrders`, `ResumeOrders`, `RetractOrders`, `SubmitOrdersForApproval`, and `UnarchiveOrders`. `DeleteOrders` is a specific action to remove order objects, which also deletes all associated line items if they have not been eligible to serve. Orders can be deleted if the proposed items are not valid anymore.\n"],null,["# type DeleteOrders (v202411)\n\n**Service** \n**OrderService** **Inheritance** \n[OrderAction](/ad-manager/api/reference/v202411/OrderService.OrderAction) \n▼\n[ApproveOrders](/ad-manager/api/reference/v202411/OrderService.ApproveOrders) [ApproveOrdersWithoutReserva...](/ad-manager/api/reference/v202411/OrderService.ApproveOrdersWithoutReservationChanges \"ApproveOrdersWithoutReservationChanges\") [ArchiveOrders](/ad-manager/api/reference/v202411/OrderService.ArchiveOrders) **DeleteOrders** [DisapproveOrders](/ad-manager/api/reference/v202411/OrderService.DisapproveOrders) [DisapproveOrdersWithoutRese...](/ad-manager/api/reference/v202411/OrderService.DisapproveOrdersWithoutReservationChanges \"DisapproveOrdersWithoutReservationChanges\") [PauseOrders](/ad-manager/api/reference/v202411/OrderService.PauseOrders) [ResumeOrders](/ad-manager/api/reference/v202411/OrderService.ResumeOrders) [RetractOrders](/ad-manager/api/reference/v202411/OrderService.RetractOrders) [RetractOrdersWithoutReserva...](/ad-manager/api/reference/v202411/OrderService.RetractOrdersWithoutReservationChanges \"RetractOrdersWithoutReservationChanges\") [SubmitOrdersForApproval](/ad-manager/api/reference/v202411/OrderService.SubmitOrdersForApproval) [SubmitOrdersForApprovalWith...](/ad-manager/api/reference/v202411/OrderService.SubmitOrdersForApprovalWithoutReservationChanges \"SubmitOrdersForApprovalWithoutReservationChanges\") [UnarchiveOrders](/ad-manager/api/reference/v202411/OrderService.UnarchiveOrders)\n\nThe action used for deleting [Order](/ad-manager/api/reference/v202411/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/v202411`\n\n| Field ----- ||\n|---|---|\n| **`OrderAction` (inherited)** ||\n| **`DeleteOrders`** ||"]]