account | DynamicAccount | Yes | - | Meta Ads account where the automated rule will be created. |
name | string | Yes | - | Name of the automated rule. |
evaluation_spec | object or string | Yes | - | 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 | Yes | - | 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) | No | DISABLED | Defaults to DISABLED. ENABLED allows Meta to execute this rule automatically against matching entities. |