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.

clean_keyword

Scans in-string and replaces any of the following characters with replacement-string:

  • ! @ % ^ * () = {} ; ~ ` <> ? \ |
    AdWords does not support these characters in keywords.
  • + " [ ] -
    These characters are match-type modifiers.

Syntax

clean_keyword(in-string, replacement-string)
Learn more about syntax for functions.

Parameters

  • in-string: An inventory attribute such as ITEM_BRAND, or a static string surrounded by quotes such as "Shoes".
  • replacement-string: A static string surrounded by quotes such as " " (you could also specify an inventory attribute).

Learn more about referring to inventory attributes.

Example

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

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