# Hermoso: backtest_automation · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/workspace/backtest_automation/. 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/) / [Workspace & account](https://hermoso.ai/docs/reference/workspace/) / backtest_automation

# `backtest_automation`

Backtest an ad automation read-only

Area: WHITE-LABEL CONNECT · [Workspace & account](https://hermoso.ai/docs/reference/workspace/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/reference/).

## Description

What a Google Ads rule WOULD have done on each of the last days (1 to 30, default 7), from the account's real history: a saved one by id, or an unsaved one as rule (the body create_google_ads_rule takes). Meta and TikTok run their rules inside their platforms and publish no replay, so their rules cannot be backtested. Nothing is changed. Free.

## Parameters

Parameter Type Description

`id` `string` a saved google_rule:… id from list_automations

`rule` `object` an unsaved create_google_ads_rule body

`days` `number` 1 to 30, default 7

`customerId` `string` Google Ads account for an unsaved rule, when several are shared

## 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_automation`.

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

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

`hermoso call backtest_automation --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)
- [test_automation](https://hermoso.ai/docs/reference/workspace/test_automation/) Test an automation on a sample
- [automation_controls](https://hermoso.ai/docs/reference/workspace/automation_controls/) Ad automation kill switch and per-account controls
- [automation_runs](https://hermoso.ai/docs/reference/workspace/automation_runs/) Read an automation's runs
- [manage_automation_templates](https://hermoso.ai/docs/reference/workspace/manage_automation_templates/) Automation templates
- [delete_automation](https://hermoso.ai/docs/reference/workspace/delete_automation/) Delete an automation
- [create_boost_automation](https://hermoso.ai/docs/reference/workspace/create_boost_automation/) Boost your strongest organic posts automatically
- [update_automation](https://hermoso.ai/docs/reference/workspace/update_automation/) Edit an automation
- [create_google_ads_performance_max_campaign](https://hermoso.ai/docs/reference/workspace/create_google_ads_performance_max_campaign/) Create a Google Ads Performance Max campaign
- [set_automation_status](https://hermoso.ai/docs/reference/workspace/set_automation_status/) Switch an automation on or off

[All 143 Workspace & account tools](https://hermoso.ai/docs/reference/workspace/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
