count

Returns the number of unique inventory items selected by an inventory template's multipliers and filters.

Syntax

count()
Learn more about syntax for functions.

Example

The following function in an ad template outputs the number of items that an ad group contains unless the ad group contains fewer than five items:
if(count() > 5, count() " choices", "The highest quality")

Was this helpful?
How can we improve it?