Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
This page focuses on the DeleteOrders action within the OrderService, which is part of the Google Ad Manager API.
DeleteOrders is used to delete orders and their associated line items, provided none of the line items have been eligible to serve.
This action is applicable for deleting proposed or invalid orders and line items, and it's namespaced under https://www.google.com/apis/ads/publisher/v202411.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-06 UTC."],[],["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"]]