order_lifecycle
Change order status in Google Ad Manager: approve to allow delivery, disapprove to block delivery, or archive to permanently deactivate with confirmation. Returns previous and new status.
Instructions
Perform lifecycle status transitions on a GAM Order (approve, archive, disapprove).
MODE: write AUTH: OAuth 2.0 required CREDITS: 0.5 credits. Confirmation token required for archive. OUTPUT: Returns {order_id, previous_status, new_status} WHEN TO USE: Use this for order status transitions. For data updates, use the orders update action. DESTRUCTIVE: archive stops all line item delivery under the order.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"order_id": "<order_id>",
"lifecycle_action": "<lifecycle_action>",
"network_code": "<network_code>"
},
"name": "order_lifecycle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | GAM Order ID. | |
| network_code | Yes | GAM network code. | |
| lifecycle_action | Yes | approve: allow delivery. disapprove: block delivery. archive: permanently deactivate (destructive). | |
| confirmation_token | No | Required for lifecycle_action=archive. |