hermosodocs

run_meta_ad_rule

Dry-run (or run now) a Meta automated rule destructive

Area: AUTOMATED AD RULES · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

Description

DRY RUN BY DEFAULT: Meta's own preview of which campaigns / ad sets / ads pass the rule right now, with names and budgets — nothing changes. Use it before switching a rule on, and to sanity-check money units. dryRun:false asks Meta to RUN it now (Meta runs a switched-off rule by hand too), so it takes the same gate as switching on; the run is asynchronous, read it with meta_ad_rule_history. Schedule rules only. Free.

Parameters

ParameterTypeDescription
adAccountIdrequiredstringMeta ad account id (act_… or the bare number) from list_meta_ads; required — every rule lives on one ad account
ruleIdrequiredstringrule id from list_meta_ad_rules
dryRunbooleandefault true; false runs it for real
confirmbooleantrue once the user has said yes to exactly what the refusal described
confirmScopestringthe 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/run_meta_ad_rule.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"run_meta_ad_rule","arguments":{"adAccountId":"<string>","ruleId":"<string>"}}}

CLI

hermoso call run_meta_ad_rule --json '{"adAccountId":"<string>","ruleId":"<string>"}'

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.

All 759 Ad campaign management tools · tools.json