Each rule branch comprises of an “IF” block + “Actions” block. Each IF block can contain as many conditions and/or condition groups as desired. When the combined conditions and condition groups evaluate to “true”, then the Actions configured will be executed.
Conditions are the individual IF statements which are checked when the rule is evaluated. They typically follow the format of: <Trigger><Operator><Value> e.g., "CPA <= $5"
Condition Groups contain one or more conditions which are combined together using AND or OR operators (e.g., 1 AND 2). Conditions must live within a condition group.
Conditions can be combined within a condition group by specifying the AND|OR operator at the top of the condition group as shown above. This allows you create logic like "IF CPA < $5 OR CTR > 3%, THEN increase budget by 20%".
AND vs. OR
- AND means that all conditions within that group must individually evaluate to "true" before the entire group is considered "true".
- OR means that at least one condition within that group must evaluate to "true" (even if all others evaluate to "false") before the entire group is considered "true".
If all of your conditions can be combined using the same operator (AND or OR), then you should use a single condition group to house all your conditions.
Combining Condition Groups
Conditions groups can also be combined, which allows you to mix and match your AND/OR operators. This means you have the flexibility to create the exact logic you want. This allows you create logic like "IF (CPA < $5 OR CTR > 3%) AND Spend > $1,000, THEN increase budget by 20%".
If you need to combine your conditions using different operators (ANDs & ORs) in the same IF block, then you should use condition groups.