meta_ads_ad_rules_get
Retrieve the complete configuration of an automated ad rule, including triggers, filters, action, and schedule. Use before updating to merge incremental changes without overwriting the full rule.
Instructions
Fetches the full detail record for a single Automated Rule including the full evaluation_spec and execution_spec. Returns id, name, status, evaluation_spec (triggers and filters), execution_spec (action + parameters), schedule_spec (when rule runs), created_by, created_time, and last_evaluated_time. Read-only. Call this before meta_ads_ad_rules_update so you can merge incremental changes rather than overwrite the whole spec.
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 as returned by meta_ads_ad_rules_list. |