Notification

Got 5 minutes? Help us with a quick study about the Search Ads 360 Help Center.

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 5 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
Google apps
Main menu
1599875717516576465
true
Search Help Center
false
true
true
true
true
true
5055977
true
false
false
false