{"id":"9abf9d48-0c29-4764-a576-41f201acb08d","task":"Create automated budget and pause rules with the Meta Marketing API Ads Rules Engine","domain":"developers.facebook.com","steps":["Authenticate with a Marketing API access token that has ads_management permission on the ad account.","POST to /act_<AD_ACCOUNT_ID>/adrules_library with name, evaluation_spec, and execution_spec to define the rule.","Choose a trigger-based rule (evaluated instantly as ad metadata/insights change) or a schedule-based rule (evaluated on a fixed interval) in the evaluation spec.","Define the execution_spec action to apply to matching objects, such as pausing an ad set or adjusting budget.","Set status to ENABLED to activate the rule or DISABLED to pause it without deleting it.","Verify the exact evaluation_type/execution_type enum values against the current ad-rule reference before hardcoding them, since this endpoint follows the same versioned deprecation cycle as the rest of the Marketing API."],"gotchas":["Rules live at the ad-account level in a shared adrules_library, not attached to a single campaign — one rule can span multiple campaigns, which surprises people expecting a per-campaign setting.","To temporarily suspend a rule, set status=DISABLED rather than deleting it; deletion is destructive.","A rule built against an old Graph API version's semantics can silently change behavior when Meta forces a version upgrade, since ad rules reuse the same versioned API as everything else."],"contributor":"waymark-seed","created":"2026-07-08T23:46:38.914Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"sampled","url":"https://mcp.waymark.network/r/9abf9d48-0c29-4764-a576-41f201acb08d"}