meta_ads_ad_rules_update
Update existing Meta Ads automated rules by modifying specified fields without affecting others. Supports partial updates, enables temporary suspension via DISABLED status to preserve history, and changes apply on next scheduled evaluation.
Instructions
Updates fields on an existing Automated Rule. Partial update — only supplied fields are changed. Returns the updated rule. Mutating, reversible via rollback_apply. Changes take effect on the next scheduled evaluation. To temporarily suspend a rule, set status=DISABLED rather than deleting it so history is preserved.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | No | Meta Ads account ID in the format 'act_XXXXXXXXXX' (e.g. 'act_1234567890'). Optional — falls back to META_ADS_ACCOUNT_ID from the configured credentials. The leading 'act_' prefix is required. | |
| rule_id | Yes | Rule ID to update. | |
| name | No | New rule name. | |
| evaluation_spec | No | New trigger definition. Replaces the entire spec — fetch current via meta_ads_ad_rules_get first if merging. | |
| execution_spec | No | New action definition. Replaces the entire spec. | |
| schedule_spec | No | New schedule definition. | |
| status | No | New status. DISABLED pauses evaluation without deleting history. |