snap_undo
Revert previously applied ad changes such as budget, bid, status, targeting, schedule, or rename using the change log, with a preview and approval step before applying.
Instructions
Revert one of the changes this server applied (budget, bid, status, targeting, schedule, rename) using the change log. An undo is checked like any other change: raising a budget or bid back up stays within the configured limits, and re-enabling shows and limits what would start delivering. Refuses if the field was changed again since, unless force=true. Not for creates, claims or copies. Previews unless confirm=true. Two steps: confirm=false returns a preview and an approval_token; to apply, repeat the same arguments with confirm=true and that approval_token.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "snap_undo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| confirm | No | false = preview only (nothing sent). true = apply; needs approval_token from the preview. | |
| n_from_last | No | 1 = the most recent undoable change | |
| approval_token | No | The approval_token returned by the preview of this exact request. Required with confirm=true. |