Conditions and Rules

Updated
February 26, 2024

Conditions

A Condition is a fundamental unit of comparison in the Composer. It's a statement that combines a Metric, an Operator, and a Value. Here are examples of Conditions:

  • sales > $10
  • acos < 20%
  • clicks = 100

The Metrics represent different data points you might want to examine (e.g., sales, acos, clicks). The Operators represent different types of comparisons you might want to make (e.g., greater than, less than, equal to), and the Values represent the standards you're comparing your Metrics to.

Rules

A Rule in the Composer is a statement that combines one or more Conditions within a specified timeframe. The available timeframes can be over the lifetime, which includes all available data, or over the last X days, where X represents any number greater than 0.

You can use the Boolean logic operators AND and OR to combine multiple conditions into a single Rule. This allows you to establish more complex criteria that need to be met.

Here are examples of Rules:

  • over the lifetime sales = $0
  • over the last 45 days acos > 50% AND spend > $50

In these rules, the individual conditions (sales = $0 and spend > $50 for the first rule, acos > 50% and spend > $50 for the second rule) are being linked together using the AND operator, creating a more complex criteria that needs to be met within the defined timeframe.

Remember, each Rule require a timeframe and one or more conditions. Rules are more powerful when they are designed thoughtfully, taking into account your business goals and the insights you're seeking from your data.

Need more help?