AND, so you can predict who qualifies before you save.
Two neighbouring topics are covered elsewhere: for what each operator does to each data type, see Work with operators, and for how a NOT block differs from the Does Not Exist condition, see NOT logic vs. Does Not Exist.
What this is
A block is self-contained. It is evaluated on its own, and only then is its result combined with the blocks around it. So an operator means something slightly different depending on where it sits.Where a definition mixes
AND and OR, make the grouping explicit rather than relying on the order the blocks sit in. Keep the conditions that belong together inside one block — you can add up to five nested blocks — so that “the customer’s city is Bangalore, and they are either over 21 or male” is one block holding a nested pair rather than three blocks in a row. See Create an audience.Before you begin
- You are creating or editing an audience in the audience builder. For the end-to-end flow, see Create an audience.
- The attributes you want to filter on —
Gender,pageViewandcheckoutin the example below — are mapped in your catalogue. For what each attribute type holds, see Apply attributes to your audience. - You have decided which operator connects each pair of blocks. For the full operator reference, see Work with operators.
Build the blocks
Suppose you want to reach male customers who performed both thepageView and the checkout event in the last 10 days. Build it as three blocks joined by AND — one for the gender filter and one for each event:
Block A — gender is Male
In block A, set Customers who to have profile attributes, then add the conditionGender Equal Male.

Block B — pageView in the last 10 days
In block B, set Customers who to have performed an event, set Event Name to EqualpageView, then set the time window to Within the last 10 Days.

Block C — checkout in the last 10 days
In block C, set Customers who to have performed an event again, set Event Name to Equalcheckout, then set the same Within the last 10 Days window.

AND, and the operator joining that pair to C to AND. The definition now reads ((A AND B) AND C): a customer qualifies only when all three blocks match.
Work out who qualifies
Walk a small sample through the definition before you save it. Take four users with the following data:
Only
User 1 and User 3 qualify: they match block A, block B and block C. User 2 fails both block A and block C. User 4 fails block A alone, and one failed block is enough to disqualify a customer when the blocks are joined by AND.

OR and the definition becomes ((A OR B) AND C), which qualifies User 1, User 3 and User 4 — User 4 now only has to match one of the first two blocks, and the pageView event in block B is enough.
Verify the count in the builder
Once the blocks are in place, click Refresh to recalculate the estimated audience size, then click Check Estimates to see the unique customer count your definition reaches against your total customer base. Both options are available for batch audiences only: a real-time audience applies its criteria to future events rather than to past ones, so there is no historical set to size. For the estimate panel and what the identifier breakdown means, see Create an audience. The estimate covers the whole definition rather than one block at a time, so to see what a single block contributes, remove it, run Check Estimates again, and compare the two counts. The block whose removal moves the count the most is the one driving the result.Troubleshoot unexpected counts
Match what you see to a row below before you rebuild the definition.
If the estimate does not return or fails outright, contact Zeotap Support with the audience name, the blocks you have configured and the operators between them.