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.

Type: money-moving write. 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

ParameterTypeRequiredDescription
actionIdstringYesThe gads_agent_actions row id (from gads_list_pending_actions or gads_list_action_history).
confirmbooleanYesSet true only after the human explicitly asked to undo this exact action.
projectIdstringNoTarget account (project id) — required on account-scoped tools. Call gads_list_ad_accounts to enumerate accounts.

On this page