length

length function returns the number of characters in text. Counting starts from 1 (not 0).

Syntax

length(text)

Parameters

text can be any of the following:

  • Static text, such as "GDN".
  • A Search Ads 360 variable that is a String, such as Keyword, Campaign, and so on.
  • An expression or formula column that returns a String.

Examples

  • length("Hello World!") returns 12.
  • length("") returns 0.

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
13014364606029106740
true
Search Help Center
true
true
true
true
true
5055977
false
false