Combining Multiple Rules

Updated
November 2, 2024

The Composer allows you to combine multiple rules using Boolean logic. By doing so, you can create more specific conditions within the desired timeframes that suit your needs. When using multiple timeframes, you’ll need to use parenthesis to group each timeframe.

For instance, you may want to combine two rules as follows:

(over the last 30 days (acos < 20% AND sales > $1000))
OR
(over the last 7 days (clicks > 5000 AND spend < $2000))

This will satisfy either of the to conditions:

  1. When within the last 30 days, the Advertising Cost of Sales is less than 20% and the sales are more than $1000.
  2. When within the last 7 days, the number of clicks is more than 5000 and the spend is less than $2000.

By effectively using parentheses and Boolean logic, you can combine rules to form comprehensive conditions that can cater to complex scenarios.

Complex Rule with Boolean Logic:

  • (over the lifetime (sales = $0 AND spend > $50)) OR (sales < $10 AND spend > $200)
  • over the last 15 days (sales = $0 OR acos > $50) AND (spend > $20)
Need more help?