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:

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

This function can be used only in inventory templates in manual campaigns. Templates in upgraded inventory management use a different set of functions.

Syntax

CLEAN_KEYWORD(in-string, replacement-string)
Specify the function name in upper case: CLEAN_KEYWORD

Parameters

  • in-string: An inventory attribute such as BRAND, or a static string surrounded by quotes such as "Shoes".
    Specify standard attributes in upper case; use the Search Ads 360 UI for guidance on specifying custom attributes.
  • replacement-string: A static string surrounded by quotes such as " " (you could also specify an inventory attribute).

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?
Search
Clear search
Close search
Google apps
Main menu
Search Help Center
true
263
false