Approvals
gads_revert_action
Undo an APPLIED action by proposing and immediately applying the compensating change (computed server-side from the original row's snapshot, linked via reverts_action_id).
Undo an APPLIED action by proposing and immediately applying the compensating change (computed server-side from the original row's snapshot, linked via reverts_action_id). Operator decision — ONLY call when the human explicitly asked to undo this specific action. Not every kind is revertible.
Scope: write token required · money-moving. Every write is dry-run validated, then classified by the safe-apply policy — auto-applied when bounded and low-risk, otherwise queued for approval.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
actionId | string | Yes | The gads_agent_actions row id (from gads_list_pending_actions or gads_list_action_history). |
confirm | boolean | Yes | Set true only after the human explicitly asked to undo this exact action. |
projectId | string | No | Target account (project id). Required with an org-scoped token for account-scoped tools — call gads_list_ad_accounts to enumerate accounts. Omit with a project-scoped token. |