# Hermoso: backtest_google_ads_rule · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/ads/backtest_google_ads_rule/. 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/) / backtest_google_ads_rule

# `backtest_google_ads_rule`

Backtest a Google Ads automated rule over past days read-only

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

Backtest a Google Ads automated rule: what it WOULD have done on each of the last N days (1-30, default 7), replayed on Google's daily metrics with the same plan a live run makes. Pass ruleId (a saved rule) or rule (the body create_google_ads_rule takes, e.g. from list_ad_rule_templates) to try one before saving it. Nothing is changed. Budgets, bids and statuses are today's values, and caps are not carried from day to day. Read-only, free.

## Parameters

Parameter Type Description

`ruleId` `string` a saved rule (gr_...) from list_google_ads_rules

`rule` `object` an unsaved rule: the body create_google_ads_rule takes

`days` `number` how many past days, 1-30 (default 7)

`customerId` `string` Google Ads account id, for an unsaved rule

`loginCustomerId` `string` manager (MCC) account id, when the account is managed through one

## 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/backtest_google_ads_rule`.

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

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

`hermoso call backtest_google_ads_rule --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

- [create_google_ads_rule](https://hermoso.ai/docs/reference/ads/create_google_ads_rule/) Create a Google Ads automated rule (created switched OFF)
- [list_ad_rule_templates](https://hermoso.ai/docs/reference/ads/list_ad_rule_templates/) Ready-made ad rules (Meta and Google Ads)
- [run_google_ads_rule](https://hermoso.ai/docs/reference/ads/run_google_ads_rule/) Dry-run (or run now) a Google Ads automated rule
- [google_ads_rule_approvals](https://hermoso.ai/docs/reference/ads/google_ads_rule_approvals/) Approve or reject what a Google Ads rule proposed
- [delete_google_ads_rule](https://hermoso.ai/docs/reference/ads/delete_google_ads_rule/) Delete a Google Ads automated rule
- [google_ads_rule_history](https://hermoso.ai/docs/reference/ads/google_ads_rule_history/) What Google Ads automated rules did
- [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
- [undo_google_ads_rule_action](https://hermoso.ai/docs/reference/ads/undo_google_ads_rule_action/) Undo a Google Ads rule run
- [update_google_ads_rule](https://hermoso.ai/docs/reference/ads/update_google_ads_rule/) Change a Google Ads automated rule
- [set_google_ads_rule_limits](https://hermoso.ai/docs/reference/ads/set_google_ads_rule_limits/) Caps on what Google Ads rules may raise

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