Skip to content

Rule conditions

Build rule conditions with fixed values, other metrics, peer averages or rankings, combine them with AND/OR groups and set minimum evidence.

Last updated

On this page

Conditions decide which items a rule matches. They live in the Conditions section of the rule editor (Automate › Rules, /automate/rules).

Templates

The Template menu fills the conditions for you. Each preset can be edited afterwards; editing switches the template to Custom conditions.

TemplateConditions it creates
Spend without purchasesSpend greater than 90 and purchases exactly 0
High purchase costPurchase CPA greater than 45 and at least 3 purchases
Low return on ad spendPurchase ROAS less than 1.5 and at least 3 purchases
Creative fatigueFrequency greater than 3.5, link CTR less than 1% and at least 3,000 impressions

Comparison types

Each condition row starts with a metric or property, then a comparison:

  • Fixed value: for example, Spend Greater than 50. Operators are Greater than, At least, Less than, At most, Exactly and Not equal.
  • Dynamic · another metric: compare with another metric times a multiplier, for example Purchase CPA greater than 1.2 × Cost per link click. Under Compared with you choose the second metric.
  • Peer mean ± percent: compare with the average of every other eligible item in the rule's scope, for example Link CTR less than −30%. This needs at least two peers with complete metrics.
  • Highest / lowest rank: match the top or bottom N items. Ties are included. The % of objects option, with Include zero values, can only be saved in a multi-task rule; a simple rule shows "New windows and percentage ranks are only available in multi-task rules."

Below each numeric row, Measure lets that row use a different level (the task level, the parent ad set or the campaign) and a different time range from the rest of the rule.

Properties

The Properties group matches on Facebook Page ID, Name, Delivery status, Status or Objective, using Is, Is not, Contains, Does not contain or Begins with. Text matching is not case-sensitive. Age (hours) matches how long the item has existed.

Metrics

CategoryMetrics
DeliverySpend, Impressions, Reach, Frequency, Clicks (all), Link clicks, Outbound clicks, CPM
PurchasesPurchases, Purchase revenue, Purchase CPA, Purchase ROAS
ClicksLink CTR, Cost per link click
WebsiteLanding page views, content views, adds to cart, checkouts, leads, registrations, Cost per website lead
VideoVideo plays, 2-second plays, ThruPlays, plays at 25/50/75/95/100%, Cost per ThruPlay, completion rate, hook rate, hold rate

Reach and Frequency need Meta's own totals at campaign and ad-set level. Until those are loaded, they are greyed out.

AND / OR groups

Conditions sit in groups. Pick (AND) or (AND) (any group may match, every row inside a group must) or (OR) and (OR). You can also set Join groups with and each group's own ALL conditions (AND) or ANY condition (OR). A group holds up to six conditions; groups can be nested.

Missing metrics stay unknown, never zero. An unknown value can make the result Not enough data instead of a match.

Minimum evidence

These gates apply to every group:

  • Eligible delivery: Active only, Paused, including paused parents, or All supported delivery statuses. Start actions always use paused items.
  • Minimum spend in the account currency.
  • Minimum age (hours) of the item.

Data older than 90 minutes needs a refresh before previewing.

Was this article helpful?