line_item_lifecycle
Manage Google Ad Manager line item status: activate, pause, archive, or resume delivery. Archive requires confirmation token and cannot be undone.
Instructions
Perform lifecycle status transitions on a GAM Line Item (activate, pause, archive, resume).
MODE: write AUTH: OAuth 2.0 required CREDITS: 0.5 credits. Confirmation token required for archive. OUTPUT: Returns {line_item_id, previous_status, new_status} WHEN TO USE: Use this for status transitions only. For data updates (targeting, budget, dates), use the line_items update action. DESTRUCTIVE: archive cannot be undone from the API.
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": {
"line_item_id": "<line_item_id>",
"lifecycle_action": "<lifecycle_action>",
"network_code": "<network_code>"
},
"name": "line_item_lifecycle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line_item_id | Yes | GAM Line Item ID. | |
| network_code | Yes | GAM network code. | |
| lifecycle_action | Yes | activate: start delivery. pause: stop delivery temporarily. resume: restart a paused line item. archive: permanently remove from serving (destructive). | |
| confirmation_token | No | Required for lifecycle_action=archive. Obtain from a prior estimate_cost call. |