Notification

Please be advised that the Customer Support team does not provide troubleshooting services in your current display language. To contact Support team staff, please first switch to English or other supported languages (Spanish, Portuguese or Japanese). 

count

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

Note: This function is only available in Templates and can't be used in reporting.

Syntax

count()

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")

Related links

Was this helpful?

How can we improve it?

Need more help?

Try these next steps:

true
Search
Clear search
Close search
Main menu
11592098043123206647
true
Search Help Centre
true
true
true
true
true
5055977
false
false