Notification

Welcome to the help center for Search Ads 360, a platform for managing search marketing campaigns.  While the help center is available to the public, access to the Search Ads 360 product is available only to subscribing customers who are signed in. To subscribe or find out more, contact our sales team.

lenb

Returns the number of bytes in an inventory attribute or string. 

Intended mainly for languages that do not use a Latin character set, such as Japanese and Chinese. If the string or inventory attribute is in a language that uses a Latin, single-byte character set, such as English, lenb returns the same value as len

Syntax

lenb(string)
Learn more about syntax for functions.

Parameter

string: can be any of the following:

Examples

  • lenb(ITEM_BRAND) returns:

    • 5 if ITEM_BRAND is 慰めa

    • 8 if ITEM_BRAND is 快適な靴

  • lenb("") returns 0.

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
14115114162137882862
true
Search Help Center
true
true
true
true
true
263
false
false