clean_keyword

Scans the string and replaces characters that Search Ads 360 doesn't support for keyword text with the replacement string

  • ! @ % ^ * () = {} ; ~ ` <> ? \ |
    Search Ads 360 does not support these characters in keywords.
  • + " [ ] -
    These characters are match-type modifiers.
Note: This function is only available in Templates and can’t be used in Reporting.

Syntax

clean_keyword(in-string, replacement-string)

Parameters

  • in-string: A feed attribute such as ITEM_BRAND, or static text surrounded by quotes such as "Shoes".
  • replacement-string: Static text surrounded by quotes such as "example", or a feed attribute or formula column that returns a text value.

Example

  • [trim(clean_keyword(PRODUCT_ID, " "))] applies the function to the product ID returned from the feed. For example, if the product ID is "Bolt (10x)", the function returns Bolt 10x.

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