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.