# Hermoso: undo_google_ads_rule_action · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/ads/undo_google_ads_rule_action/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Ad campaign management](https://hermoso.ai/docs/reference/ads/) / undo_google_ads_rule_action

# `undo_google_ads_rule_action`

Undo a Google Ads rule run destructive

Area: AUTOMATED AD RULES · [Ad campaign management](https://hermoso.ai/docs/reference/ads/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/reference/).

## Description

Put back what one live run changed (the latest by default, or runId). A change is reverted only if the object still holds the value the run gave it; anything changed since is left alone and named. If putting things back would RAISE spend (re-enabling, restoring a higher budget) it needs confirm:true. Does not switch the rule off. Free.

## Parameters

Parameter Type Description

`runId` `string` from google_ads_rule_history; default the latest live run with changes

`ruleId` `string` rule id from list_google_ads_rules (gr_…)

`confirm` `boolean` true once the user has said yes to exactly what the refusal described

## Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and `POST https://app.hermoso.ai/v1/tools/undo_google_ads_rule_action`.

**MCP** (`tools/call`)

`{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"undo_google_ads_rule_action","arguments":{}}}`
**CLI**

`hermoso call undo_google_ads_rule_action --json '{}'`

## Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See [Credits & costs](https://hermoso.ai/docs/credits/).

## Related tools

- [google_ads_rule_history](https://hermoso.ai/docs/reference/ads/google_ads_rule_history/) What Google Ads automated rules did
- [set_google_ads_rule_limits](https://hermoso.ai/docs/reference/ads/set_google_ads_rule_limits/) Caps on what Google Ads rules may raise
- [google_ads_rule_approvals](https://hermoso.ai/docs/reference/ads/google_ads_rule_approvals/) Approve or reject what a Google Ads rule proposed
- [backtest_google_ads_rule](https://hermoso.ai/docs/reference/ads/backtest_google_ads_rule/) Backtest a Google Ads automated rule over past days
- [run_google_ads_rule](https://hermoso.ai/docs/reference/ads/run_google_ads_rule/) Dry-run (or run now) a Google Ads automated rule
- [delete_google_ads_rule](https://hermoso.ai/docs/reference/ads/delete_google_ads_rule/) Delete a Google Ads automated rule
- [set_google_ads_rule_status](https://hermoso.ai/docs/reference/ads/set_google_ads_rule_status/) Switch a Google Ads automated rule on or off
- [update_google_ads_rule](https://hermoso.ai/docs/reference/ads/update_google_ads_rule/) Change a Google Ads automated rule
- [list_google_ads_rules](https://hermoso.ai/docs/reference/ads/list_google_ads_rules/) List Google Ads automated rules
- [create_google_ads_rule](https://hermoso.ai/docs/reference/ads/create_google_ads_rule/) Create a Google Ads automated rule (created switched OFF)

[All 759 Ad campaign management tools](https://hermoso.ai/docs/reference/ads/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
