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.

substitute_all

Replaces multiple values of an inventory attribute with a single value.

Syntax

substitute_all(ATTRIBUTE, "to text", "from text", "from text 2", "from text 3")
Learn more about syntax for functions.

Parameters

  • ATTRIBUTE: An inventory attribute such as ITEM_TITLE, ITEM_COLOR, or ITEM_BRAND.
    Learn more about referring to inventory attributes.
  • to text: The value that replaces the items.
  • from text: The values that you want to replace.

Example

[substitute_all(ITEM_TITLE, "", "®", "Men's ", "Women's ")]
replaces the trademark symbol, Men's and a space, and Women's and a space in the title of an ad with blank.

The substitute_all function replaces the following nested functions:
[substitute(substitute(substitute(ITEM_TITLE, "®", ""), "Men's ", ""), "Women's ", "")]

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