#
Serving Controls
If you're running an online store and want to control how customers see your products, Serving Controls are rules that give you the power to:
- Boost certain products or categories higher in search results
- Bury others (such as products from a prior season) further down
- Filter out things that don't fit, such as hiding swimsuits in the winter
- Redirect shoppers to specific pages based on what they search for, so searches for "gift card" can simply be redirected to a gift card page
- Tweak the language of search results to make them more relevant to shoppers
You set the rules, and Google Cloud's Retail API follows them.
Combine Serving Controls
You can combine serving controls to create even more tailored experiences. For example, you may want to boost holiday sweaters AND filter out non-holiday items for a particularly festive shopping experience.
#
Common Serving Controls
#
Hiding Out of Stock Products
Retail Cloud Connect intentionally imports Out of Stock products to ensure AI models can use prior training data to provide excellent future predictions. However, this means that you will likely want to hide out of stock products to prevent frustration, streamline browsing, and reduce confusion on your website.
#
To create this serving control:
- Visit the Serving Controls settings in the Google Cloud Retail console
- Click ➕ Create Control
- Name the Serving Control, such as, Hide Out of Stock Products
- Select Search as the Product and Filter controls as the Control Type
- Click Continue
- To apply this control on all search requests, select Search in the Triggers settings and click Continue
- Under Filter Action, click Advanced Editor and paste the following text: availability: ANY("IN_STOCK")
- Or, using the Visual Editor, set the Condition Type, Operator, and Values to match the following image:
- Click Continue and then choose the Serving Config to apply the control to
- Click Submit and the serving control should take effect immediately
Category Pages & Browse Results
You will need a second Serving Control to hide products on browse pages.
#
Google Cloud Tutorial
In the video below, Piotr Kalachin from Google gives an overview of serving control types used for customizing the search behavior to improve the user experience and ensure customer satisfaction.