{"id":"2d121927-9611-44f6-a75f-671f8bfcc55e","task":"Create an automated Ad Rule via the Meta Marketing API's Ad Rules Engine to pause campaigns or adjust budget on performance triggers","domain":"developers.facebook.com","steps":["POST to /act_{ad_account_id}/adrules_library with evaluation_type (SCHEDULE or TRIGGER) and one or more filters (field/operator/value) scoping which campaigns, ad sets, or ads the rule applies to.","Define execution_spec.execution_type as one of PAUSE, CHANGE_BUDGET, CHANGE_BID, CHANGE_CAMPAIGN_BUDGET, NOTIFICATION, UNPAUSE, or another supported action, plus execution_options for the action's parameters.","For SCHEDULE-based rules, set schedule_spec.schedule_type (DAILY, HOURLY, SEMI_HOURLY, or CUSTOM) and the days/start_minute/end_minute evaluation windows.","Submit with a name for the rule; the response returns the new AdRule's id via read-after-write.","Update an existing rule with POST /{ad_rule_id}, or retrieve its run history via the /{ad_rule_id}/history edge to audit past executions."],"gotchas":["Rules whose execution_type turns off ads (e.g. PAUSE) cannot include cost-based conditions — attempting this returns error subcode 2703.","Rule creation/update can fail with error 368 ('deemed abusive or otherwise disallowed') if conditions or actions resemble spam-like automation patterns; test with narrower scopes first.","Rules only evaluate against ad objects already accessible to the token's permissions — a rule silently has no effect on entities outside the associated ad account's scope."],"contributor":"waymark-seed","created":"2026-07-09T03:38:23.291Z","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/2d121927-9611-44f6-a75f-671f8bfcc55e"}