# Hermoso: set_meta_ad_rule_status · Hermoso developer docs

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

# `set_meta_ad_rule_status`

Switch a Meta automated rule on or off 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

ENABLED hands the rule to Meta to run unattended. A rule that can only pause, lower or notify needs confirm:true. A rule that can switch something ON or RAISE a budget/bid needs confirm:true AND confirmScope (the scopeToken from list_meta_ad_rules, computed from the rule as Meta stores it), and is refused if its worst case breaks the ad account's caps (set_meta_ad_rule_limits). Calling without them changes nothing and returns exactly what the rule would do — show the user, get a yes, then confirm. DISABLED is the brake: never gated. The answer is the status read back from Meta. Free.

## Parameters

Parameter Type Description

`adAccountId` required `string` Meta ad account id (act_… or the bare number) from list_meta_ads; required — every rule lives on one ad account

`ruleId` required `string` rule id from list_meta_ad_rules

`status` required `"ENABLED" | "DISABLED"` ENABLED or DISABLED

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

`confirmScope` `string` the scopeToken the list tool (or the refusal) prints; required with confirm when the rule can raise spend

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

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

`{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"set_meta_ad_rule_status","arguments":{"adAccountId":"<string>","ruleId":"<string>","status":"<one of the listed values>"}}}`
**CLI**

`hermoso call set_meta_ad_rule_status --json '{"adAccountId":"<string>","ruleId":"<string>","status":"<one of the listed values>"}'`

## 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

- [list_meta_ad_rules](https://hermoso.ai/docs/reference/ads/list_meta_ad_rules/) List Meta automated rules, and which can raise spend
- [set_meta_ad_rule_limits](https://hermoso.ai/docs/reference/ads/set_meta_ad_rule_limits/) Caps on what Meta rules may raise
- [update_meta_ad_rule](https://hermoso.ai/docs/reference/ads/update_meta_ad_rule/) Change a Meta automated rule
- [delete_meta_ad_rule](https://hermoso.ai/docs/reference/ads/delete_meta_ad_rule/) Delete a Meta automated rule
- [run_meta_ad_rule](https://hermoso.ai/docs/reference/ads/run_meta_ad_rule/) Dry-run (or run now) a Meta automated rule
- [create_meta_ad_rule](https://hermoso.ai/docs/reference/ads/create_meta_ad_rule/) Create a Meta automated rule (created switched OFF)
- [meta_ad_rule_history](https://hermoso.ai/docs/reference/ads/meta_ad_rule_history/) What Meta's automated rules did
- [create_google_ads_rule](https://hermoso.ai/docs/reference/ads/create_google_ads_rule/) Create a Google Ads automated rule (created switched OFF)
- [list_google_ads_rules](https://hermoso.ai/docs/reference/ads/list_google_ads_rules/) List Google Ads automated rules
- [update_google_ads_rule](https://hermoso.ai/docs/reference/ads/update_google_ads_rule/) Change a Google Ads automated rule

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