> ## Documentation Index
> Fetch the complete documentation index at: https://docs.markifact.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Automated Rule

> Edit a Meta automated rule, including its target entities, conditions, action, schedule or name

Edit a Meta automated rule, including its target entities, conditions, action, schedule or name. Also enable, disable or permanently delete a rule.

| | |
| - | - |
| **App** | Meta Ads |
| **Operation ID** | `meta_ads_update_automated_rule` |
| **Type** | Action |
| **Connection** | `meta_ads` (required) |
| **Credits per run** | 1 |
| **Agent / MCP tool** | Yes |
| **Requires approval** | Yes (write operation) |

## Inputs

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `rule_id` | string | Yes | - | Automated rule ID to update or delete. |
| `name` | string | No | - | Replacement rule name; omitted means unchanged. |
| `evaluation_spec` | object or string | No | - | Native Meta evaluation\_spec object or JSON string: evaluation\_type (SCHEDULE or TRIGGER), filters (each has field, operator, value), and optional trigger. Defines target entities and conditions. To retarget an existing rule, read it first and preserve its other filters. On update supply the complete replacement evaluation\_spec, not just the changed filter. |
| `execution_spec` | object or string | No | - | Native Meta execution\_spec object or JSON string. Example: \{"execution\_type":"PAUSE"}; UNPAUSE resumes delivery. Other actions and their execution\_options pass through unchanged for Meta to validate. On update supply the complete replacement execution\_spec. |
| `schedule_spec` | object or string | No | - | Native Meta schedule\_spec object or JSON string: schedule\_type and, when applicable, schedule entries with days, start\_minute, and end\_minute. Preserve Meta's native schedule values when copying an existing rule. On update supply the complete replacement schedule\_spec. |
| `status` | enum (`ENABLED`, `DISABLED`, `DELETED`) | No | - | Enable, disable, or permanently delete the rule. Omitted means unchanged. DELETED uses Meta's DELETE endpoint and cannot be combined with other edits. |

## Output

**Type**: `Dict`

Rule ID, updated fields or deleted status, and Meta response.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.