Recommendations AI in Google Cloud: Personalized Suggestions That Learn From Every Shopper

Recommendations AI in Google Cloud: Personalized Suggestions That Learn From Every Shopper

A complete, plain-English guide to Recommendations AI, now part of Vertex AI Search for commerce: how product catalogs, user events, recommendation models, placements and business rules combine to deliver personalized suggestions, and how to build, measure, secure and budget for them.

Picture a great shop assistant in a small neighborhood bookstore. She remembers what you bought last time, notices what you picked up and put back, and says, “If you liked that mystery, you might enjoy this new one.” Customers trust her, buy more and come back often. Now imagine you run an online store with a million products and a hundred thousand visitors a day. You cannot hire a million shop assistants. Recommendations AI is a way to give every visitor a personal shop assistant, built from the behavior of all your shoppers and the details of your catalog. In this guide we start from the first idea and build up to the decisions that make recommendations accurate, useful and profitable.

1What Is Recommendations AI?

Before diving into models and settings, let us understand what the service is and where it fits today.

The one-sentence definition

Recommendations AI is a fully managed Google Cloud service that uses machine learning to show each shopper products they are likely to want, based on your product catalog and on what shoppers do on your website or app. Google handles the data processing, model training, tuning and serving, so you do not need to build or operate your own recommendation system.

A note about the name

Google Cloud has reorganized its retail products over time. Recommendations AI began as its own service, later became part of the Retail API, and is now a capability inside Vertex AI Search for commerce. According to Google’s documentation, that product brings together recommendations, search and browse, and conversational commerce capabilities for retail websites and apps. Many guides, labs and training courses still use the older name “Recommendations AI”, and the console and API still use retail-focused naming, so you will see both. In this guide we use “Recommendations AI” for the recommendation capability, and “Vertex AI Search for commerce” for the wider product.

Simple Analogy

Think of a bakery that is expanding into a full cafe. The famous bread keeps its recipe and its name, but the shop sign now reads “Cafe” because the business offers more than bread. Recommendations AI is the famous bread; Vertex AI Search for commerce is the bigger cafe around it.

What it needs to work

Two kinds of information feed every recommendation model. The first is your product catalog: the list of products with names, categories, prices, availability and other attributes. The second is user events: records of what shoppers do, such as viewing a product, adding it to a cart or buying it. The models learn patterns from these two sources and then answer questions such as “what should we show this shopper on the product page?”

Managed
No model training or servers to run yourself
Personalized
Suggestions adapt to each shopper’s behavior
Goal-driven
Optimize for clicks, conversions or revenue
i
Good to Know

Naming, model types, data thresholds and pricing for this service have changed over the years. Treat this guide as a map of the concepts and decisions, and confirm current details in the official Vertex AI Search for commerce documentation before you build.

2Why Recommendations Matter

Recommendations are not decoration. In online retail they are often among the most valuable parts of the page.

The discovery problem

Large catalogs overwhelm people. A shopper who sees ten thousand products usually leaves without buying. Search helps those who know what they want, but many shoppers do not. They browse, get distracted and need guidance. Recommendations fill this gap by narrowing the catalog down to a handful of items that feel relevant.

What good recommendations do for a business

Benefit 1

Higher Conversion

Relevant suggestions help undecided shoppers find something worth buying.

Benefit 2

Larger Baskets

Suggesting complementary items, such as a case for a phone, raises the value of each order.

Benefit 3

Repeat Visits

Shoppers who see items matching their tastes return more often.

Benefit 4

Long-Tail Discovery

Lesser-known products that suit a shopper get shown, not just bestsellers.

Benefit 5

Stock and Margin Control

Business rules let you favor items in stock, on sale or with healthy margins.

Why not build it yourself?

Some large companies build their own recommendation systems, but it is a serious undertaking. You need data pipelines, model research, training infrastructure, a fast serving layer, experiments and ongoing retraining as catalogs and tastes change. For most retailers, a managed service gets a strong system running much faster and with a smaller team.

1

Hand-Made Rules

Merchandisers pick “featured” items and fixed bundles. Simple, but it does not scale or personalize.

2

Basic Popularity Lists

Top sellers shown to everyone. Better, but the same for every shopper.

3

Custom Machine Learning

In-house models personalize results, but require a dedicated team and infrastructure.

4

Managed Recommendation Service

Google-quality models trained on your catalog and events, served through an API.

“A recommendation is a conversation: the shopper shows what they like, and the system answers with something they had not found yet.”

3Core Concepts and Vocabulary

A handful of terms appear in every recommendation project. Learn them once and the documentation will feel familiar.

Term 1

Product Catalog

The structured list of everything you sell, with attributes such as title, category, price, availability, images and links.

Term 2

User Event

A record of a shopper action, such as viewing a product page, adding to the cart or completing a purchase.

Term 3

Visitor ID

A stable identifier for a shopper, even before login, so their actions can be linked together.

Term 4

Model

The trained recommendation engine of a specific type, such as “frequently bought together”, trained on your data.

Term 5

Optimization Objective

The goal a model tries to maximize, such as click-through rate, conversion rate or revenue per session.

Term 6

Serving Configuration

A named setup that links a model with rules and settings, and is called by your application to get results.

Term 7

Placement

A spot in your site or app where recommendations appear, such as the home page or product page.

Term 8

Prediction Request

The call your application makes to ask for recommendations for a given shopper and context.

Term 9

Business Rules

Filters and controls that shape results, such as hiding out-of-stock items or limiting repeated categories.

Term 10

Attribution Token

A value returned with recommendations and sent back with later events, so the service knows which suggestion led to which click or purchase.

Simple Analogy

Imagine a restaurant. The catalog is the menu, user events are the orders and the glances at menu items, the model is the waiter who has learned what regulars like, the placement is the table where the waiter makes a suggestion, and business rules are the manager telling the waiter not to recommend dishes that are sold out.

flowchart LR
  C[Product Catalog] --> M[Trained Recommendation Model]
  E[User Events] --> M
  M --> S[Serving Configuration with Rules]
  S --> P[Prediction Request from Your App]
  P --> R[Recommended Products]
  R --> U[Shopper Clicks and Buys]
  U --> E
        
FIG 1 — A feedback loop: shopper behavior trains the model, and the model shapes shopper behavior

4How Recommendations AI Works Inside

You do not need to understand the mathematics, but a simple picture of how recommendations are produced helps you feed the system well.

Learning from behavior

The basic idea is that shoppers who behave similarly tend to like similar things. If many people who viewed hiking boots also bought wool socks, the system learns a link between them. It does this at a huge scale, finding patterns among millions of events that no person could notice. It also looks at product attributes, so a brand-new item with little history can still be placed near similar items.

Sessions and context

Recommendations are not based only on long-term taste. The model also considers what the shopper is doing right now: which product they are viewing, what is in their cart and what they looked at earlier in the session. This is why the same shopper may see different suggestions on a product page than on the home page.

The life of a recommendation

1

Data Arrives

Your catalog is imported and shopper events stream in from your website or app.

2

Model Training

Google trains the model you choose on your data. The first training can take days, depending on data volume.

3

Model Is Ready to Serve

Once training completes, you attach the model to a serving configuration and can start requesting recommendations.

4

Prediction at Request Time

Your app sends the shopper’s context. The service returns ranked products, applies business rules and responds quickly enough for page loads.

5

Feedback and Refresh

New events flow back in, and the models are refreshed over time so they reflect changing catalogs and tastes.

sequenceDiagram
  participant S as Shopper
  participant A as Your Website or App
  participant R as Recommendations Service
  S->>A: Opens a product page
  A->>R: Write event: product viewed
  A->>R: Request recommendations for this shopper and product
  R-->>A: Ranked list of products and attribution token
  A-->>S: Shows suggestions
  S->>A: Clicks a suggestion
  A->>R: Write event with attribution token
        
FIG 2 — Events flow in, predictions flow out, and the attribution token closes the loop
i
Practical Insight

Recommendations are only as good as the events. If events arrive late, incomplete or without proper shopper identifiers, the model learns a distorted picture of your shoppers. Data quality is the single biggest driver of results.

5The Product Catalog

The catalog is the foundation. Models can only recommend what they know about.

What goes into a catalog entry

Each product has a unique identifier, a title, one or more categories, and usually a description, price, availability, images and a link to its page. Optional attributes, such as brand, color, size, tags and custom fields, give models and business rules more to work with. The richer and cleaner the information, the better the recommendations and the more control you have.

Field 1

Product ID

A stable unique identifier that must match the identifiers used in your events. Mismatches break learning.

Field 2

Title and Description

Clear, descriptive text that helps the system understand what the product is.

Field 3

Categories

A hierarchy such as “Home, Kitchen, Cookware”, used for grouping and diversity controls.

Field 4

Price and Availability

Current price, and whether the item is in stock. Essential for avoiding recommendations of unavailable products.

Field 5

Images and URI

What your front end shows when a recommendation is displayed.

Field 6

Tags and Custom Attributes

Extra labels, such as “eco-friendly” or “clearance”, that you can use in filters and rules.

Ways to load a catalog

MethodHow It WorksBest For
Merchant Center linkImport product data that you already maintain for shopping adsRetailers already using Merchant Center
BigQuery importLoad from a BigQuery table in the expected structureTeams with product data in the warehouse
Cloud Storage importLoad from files stored in a bucketBatch exports from other systems
Inline or API updatesCreate or update products directly through the APIFrequent changes such as price or stock updates

Keeping the catalog fresh

Catalogs change constantly: new items arrive, prices change and stock runs out. Plan for a regular full import plus smaller, frequent updates for fast-changing fields such as price and availability. A stale catalog leads to recommending items that are gone or wrongly priced, which frustrates shoppers and wastes valuable screen space.

!
Common Mistake

Using different product identifiers in the catalog and in events, for example a variant identifier in one and a parent identifier in the other. The service cannot connect events to products, and the model learns very little. Agree on one identifier scheme and use it everywhere.

6User Events: The Fuel for Learning

If the catalog says what you sell, events say what shoppers care about.

The common event types

Event 1

Home Page View

The shopper has reached your home page. Useful for context and for home page recommendations.

Event 2

Detail Page View

The shopper viewed a specific product. One of the strongest signals of interest.

Event 3

Add to Cart

A strong sign of purchase intent for a given product.

Event 4

Shopping Cart Page View

The shopper is reviewing their cart, a good moment for complementary suggestions.

Event 5

Purchase Complete

The most valuable event, recording what was bought and for how much.

Event 6

Category Page and Search Events

Browsing a category or running a search shows what the shopper is looking for.

How events get into the service

MethodHow It WorksNotes
JavaScript pixel or tag managerA small snippet on your pages sends events as shoppers actQuick for web storefronts without heavy engineering
API writes from your back end or appYour servers or mobile app send events directlyBest control and works for mobile and server-side events
Analytics export importImport historical or regular exports from analytics tools through BigQueryGood for back-filling history
Bulk import from storageLoad large sets of past events from filesUseful to give new models a head start

Visitor and user identifiers

Each event carries a visitor identifier, which tracks an anonymous browser or device, and optionally a user identifier for logged-in shoppers. Keeping these consistent lets the service link a shopper’s actions across a session and, when appropriate, across visits. Be careful that identifiers are stable but do not expose personal information.

Why historical data helps

Models perform better with enough events over enough time. Google publishes data requirements that differ by model type, covering the number and variety of events and the amount of history. If you are new to the service, loading past events can shorten the time to a good model. Check the current documentation for the exact thresholds for the model you plan to use.

ANTI-PATTERN-01 Avoid
Problem

Sending only purchase events, or sending events with missing product identifiers, shopper identifiers or timestamps.

Why It’s Harmful

Purchases are rare compared with views, so the model has too little data to learn from. Missing fields make events unusable, and silent gaps lead to weak recommendations that are hard to diagnose.

Correct Approach

Send the full funnel of events with complete fields, validate them early using the service’s data quality tools and monitor event counts regularly.

7Recommendation Model Types

Different spots in a shopping journey call for different kinds of suggestions. The service offers several model types, each designed for a specific question.

Model TypeQuestion It AnswersTypical Placement
Recommended for YouWhat will this shopper like next, given their history?Home page, personalized shelves
Others You May LikeWhat similar items might interest someone viewing this product?Product detail page
Frequently Bought TogetherWhat do people often buy along with these items?Cart page, product page add-on strip
Similar ItemsWhich products are close in attributes to this one?Product page, out-of-stock replacement
Buy It AgainWhat does this shopper tend to repurchase?Home page and account area for consumables
On SaleWhich discounted items might suit this shopper?Promotions area, home page
Page-Level OptimizationWhich combination of recommendation panels works best on this whole page?Pages with several recommendation shelves

The exact list and the availability of each type can change, so check the current documentation. The core idea stays the same: pick the model whose question matches the moment in the shopper’s journey.

Simple Analogy

Think of a department store. At the entrance, a host who knows you well says “here are things we picked for you”. Near the shirt rack, a salesperson says “people who like this also like these”. At the checkout, the cashier says “customers often add these”. Each model type is a helpful person in a different part of the store.

Optimization objectives

Goal 1

Click-Through Rate

Favors items shoppers are likely to click. Good for discovery and engagement.

Goal 2

Conversion Rate

Favors items likely to be added to a cart or purchased. Good when sales matter more than clicks.

Goal 3

Revenue per Session

Favors suggestions that raise the overall value of a basket, available for certain model types.

i
Design Tip

Choose an objective that matches the business goal of that placement. A home page shelf meant to inspire browsing may optimize for clicks, while a cart-page add-on strip should focus on revenue per session. Beware that optimizing only for clicks can attract curiosity without sales.

!
Common Mistake

Creating every model type at once “just in case”. Each model needs data to train well and attention to evaluate. Start with the one or two placements that matter most, prove their value and expand step by step.

8Serving Configurations, Placements and Business Rules

A trained model is the engine. Serving configurations are the steering wheel and pedals.

What a serving configuration does

A serving configuration connects a trained model to a named setup that your application calls. In it, you choose the model, set how many results to return, and add rules that shape the output. One model can be used by several serving configurations, for example one for the home page and another for emails, each with different rules.

Common business controls

Control 1

Filters

Include or exclude products by attribute, such as only showing items in stock or excluding adult products on a family page.

Control 2

Diversity

Control how varied results are, so a shelf does not show twenty near-identical items from one category.

Control 3

Price Reranking

Nudge results toward higher or lower prices, or toward similar price levels as the item being viewed.

Control 4

Personalization Settings

Decide how strongly results depend on the individual shopper versus general popularity.

Control 5

Seen-Item Handling

Avoid repeatedly recommending things the shopper has already bought or viewed, where it makes sense.

Control 6

Result Count and Context

Decide how many products to return for each placement and what context is passed in.

Placements in practice

1

Home Page

“Recommended for you” and “buy it again” shelves greet shoppers with personal picks.

2

Product Detail Page

“Similar items” and “others you may like” help shoppers compare and explore alternatives.

3

Cart Page

“Frequently bought together” suggests accessories and complementary items before checkout.

4

Post-Purchase and Email

Follow-up suggestions based on what the shopper just bought bring them back.

i
Good to Know

Business rules are powerful but can undo the model’s strengths if overused. A very strict filter may leave too few results, and heavy price nudging may push away relevance. Add rules gradually and measure their effect.

9Implementation Roadmap: From Idea to Live Recommendations

A clear order of work prevents wasted effort. Here is a practical path.

1

Define Goals and Placements

Decide where recommendations will appear and what each should achieve: more clicks, larger baskets, more repeat purchases.

2

Prepare Project Access

Enable the service in a Google Cloud project, set up roles for your team and choose a data location that suits your regulations.

3

Import the Catalog

Load products from Merchant Center, BigQuery, Cloud Storage or the API, and confirm that fields are complete.

4

Collect and Import Events

Install tracking for live events and load historical events to give models a head start.

5

Check Data Quality

Use the console’s data quality views to see whether events match products and meet volume requirements.

6

Create Models and Serving Configurations

Train the chosen models, then create serving configurations with filters and rules.

7

Integrate into the Front End

Call the prediction API from your site or app, display results and send events with attribution tokens.

8

Test, Launch Gradually and Measure

Run an experiment against your current experience, then expand traffic as results justify.

!
Common Mistake

Starting with the user interface and treating data as an afterthought. The best-designed shelf shows poor suggestions if the catalog and events are weak. Begin with data, then build the display.

10Architecture: How the Pieces Fit Together

Recommendations AI is one part of a retail data and application landscape. Seeing the whole picture helps with planning.

flowchart TD
  subgraph Sources
    MC[Merchant Center]
    BQ[BigQuery]
    GCS[Cloud Storage]
    WEB[Website and Mobile Events]
  end
  MC --> CAT[Catalog in the Service]
  BQ --> CAT
  GCS --> CAT
  WEB --> EV[User Events in the Service]
  CAT --> TR[Model Training]
  EV --> TR
  TR --> SC[Serving Configurations]
  SC --> API[Prediction API]
  API --> FE[Storefront and App Placements]
  FE --> WEB
  EV --> DASH[Dashboards and Evaluation]
        
FIG 3 — Data flows in from your sources, models train, and predictions flow out to your storefront

Where your own systems connect

Link 1

Storefront Platform

Your e-commerce platform or custom front end calls the prediction API and displays products.

Link 2

Inventory and Pricing Systems

Feed price and stock changes into the catalog so recommendations stay accurate.

Link 3

Analytics and Tag Management

Web analytics and tag managers can help collect events and measure results.

Link 4

Data Warehouse

BigQuery can both supply catalog and event data and store results for deeper analysis.

Link 5

Marketing and Email Tools

Recommendations can be pulled into campaigns for personalized messages.

i
Design Tip

Call the prediction API from your server rather than directly from the browser when you can. It keeps credentials safe, lets you add caching and fallbacks, and gives you one place to log requests and handle failures.

11Evaluating and Improving Results

A recommendation system is never “done”. You launch it, measure it and keep improving it.

Metrics that matter

MetricWhat It MeasuresWhy It Matters
Click-through rateShare of shown recommendations that get clickedShows whether suggestions look relevant and attractive
Conversion rateShare of sessions or clicks that lead to purchaseConnects recommendations to sales
Revenue per session or per visitorAverage revenue influenced by sessionsShows overall business impact
Average order valueTypical size of an orderReveals whether suggestions lift basket size
Coverage and diversityHow much of the catalog gets recommended and how varied results arePrevents the system from recommending only a few bestsellers
Empty or fallback rateHow often the service cannot return enough resultsSignals data gaps or overly strict rules

A/B testing

The most trustworthy way to measure value is an experiment: show recommendations to one group of shoppers and the existing experience to another, then compare outcomes over enough time. This protects you from crediting recommendations for sales that would have happened anyway. Tools such as web analytics and experimentation platforms can help you run these tests.

flowchart LR
  A[Split Traffic] --> B[Group A: Existing Experience]
  A --> C[Group B: With Recommendations]
  B --> D[Compare CTR, Conversion and Revenue]
  C --> D
  D --> E{Clear Improvement?}
  E -->|Yes| F[Roll Out More Widely]
  E -->|No| G[Adjust Model, Rules or Placement]
  G --> A
        
FIG 4 — Experiments turn opinions about recommendations into evidence

Ways to improve

Lever 1

Improve Data Quality

Fix missing identifiers, add richer product attributes and send complete event funnels.

Lever 2

Change the Objective

Switch between clicks, conversions and revenue to match the placement’s purpose.

Lever 3

Tune Rules

Adjust filters, diversity and price settings, one at a time, and measure each change.

Lever 4

Refine Placement and Display

Better position, titles and card design often matter as much as the model.

Lever 5

Add Another Model Type

Once the first placements work, extend into other parts of the journey.

!
Common Mistake

Declaring success from a short test with too little traffic, or from a period with a big sale. Run experiments long enough to cover normal weekly patterns, and avoid comparing against unusual periods.

12Cold Start, Sparse Data and Special Situations

Real stores face awkward cases. Knowing them in advance saves frustration.

Case 1

New Shoppers

With no history, the system relies on the current session, product attributes and general popularity. Recommendations improve as the shopper acts.

Case 2

New Products

Items with no events rely on attributes and similarity. Rich catalog data helps them appear sooner.

Case 3

New Stores or Small Catalogs

Models need enough events and products to learn. Small sites may need to wait, load history or begin with simpler approaches.

Case 4

Seasonal and Fast-Changing Catalogs

Fashion and holiday items change quickly. Frequent catalog updates and fresh events keep results timely.

Case 5

Out-of-Stock Items

Use availability data and filters, so shoppers are not tempted by items they cannot buy.

Case 6

Multi-Region and Multi-Language Stores

Plan how catalogs, currencies and events are separated or combined for each market.

Simple Analogy

A new shop assistant on their first day knows little about a walk-in customer. They start with general knowledge: what is popular and what goes with what. As the customer talks and browses, the assistant becomes more accurate. Cold start handling is the system’s version of that first-day behavior.

i
Practical Insight

Always plan a fallback for when recommendations are empty or the service is slow, such as showing popular items or recently viewed products. A page should never display an empty shelf.

13Privacy, Security and Compliance

Shopper behavior is sensitive data. Handling it responsibly is both a legal duty and a trust matter.

Protecting data and access

Control 1

Identity and Access Management

Use predefined retail roles so that administrators, editors and viewers have only the access they need.

Control 2

Service Accounts

Use dedicated accounts for importing data and calling predictions, with narrow permissions.

Control 3

Data Location

Choose the data location that matches your regulatory needs when you set up the service.

Control 4

Encryption

Data is encrypted in transit and at rest, and some options allow customer-managed keys. Check what applies to your setup.

Control 5

Audit Logging

Audit logs record who changed configurations or accessed resources.

Personal data and consent

Events can relate to identifiable people, especially when user identifiers are included. Follow privacy laws and your own policies: obtain consent where required, avoid sending unnecessary personal details such as names or email addresses in events, and use pseudonymous identifiers. Provide ways for shoppers to opt out of personalization, and have a process for deleting data when asked.

ANTI-PATTERN-02 Avoid
Problem

Putting email addresses, phone numbers or other directly identifying details into event fields or visitor identifiers.

Why It’s Harmful

It spreads personal data into more systems than needed, raises legal exposure and complicates deletion requests.

Correct Approach

Use opaque, pseudonymous identifiers, send only the data the models need and document how consent and deletion are handled.

!
Common Mistake

Treating consent banners as a front-end detail. If a shopper declines tracking, your event collection must actually stop or become anonymous. Make sure the consent choice is honored in the data pipeline, not just displayed.

14Monitoring and Troubleshooting

Even managed systems need watching. Early warnings prevent weeks of quietly poor results.

SymptomLikely CauseWhat To Check
Model fails to train or is not readyNot enough events or products, or poor data qualityData quality views, event volume and history against documented requirements
Recommendations look randomMismatched identifiers or missing eventsWhether event product IDs exist in the catalog
Out-of-stock items appearStale availability data or missing filtersCatalog update frequency and filter settings
Too few results returnedOverly strict filters or small catalogServing configuration rules and filter tags
Low click-through rateWeak placement, poor display or mismatched objectivePlacement design, objective choice and experiment results
Attribution looks wrongAttribution tokens not sent back with eventsFront-end event code
Slow page loadsSynchronous calls with no caching or timeoutsServer-side caching, timeouts and fallbacks

What to monitor regularly

1

Event Volume and Quality

Alert if daily event counts drop sharply, which often signals a broken tag or release.

2

Catalog Freshness

Confirm imports and updates succeed on schedule.

3

Model Status

Watch for training failures or models that become stale.

4

Business Metrics

Track click-through, conversion and revenue by placement over time.

5

API Health

Monitor latency, error rates and quota usage for prediction calls.

i
Practical Insight

The most common cause of sudden drops in recommendation quality is not the model but a change in your website: a redesigned page that no longer fires events, or a renamed product identifier. Tell the recommendations owner before any front-end release.

15Cost and Pricing

Understanding the cost drivers helps you budget and avoid surprises.

Cost 1

Model Training and Tuning

Billed for the compute used to train and periodically refresh models, usually scaling with data volume and the number of models.

Cost 2

Predictions

Billed by the number of recommendation requests served, so high-traffic sites should estimate request volume carefully.

Cost 3

Data Storage and Ingestion

Storing catalog and event data and the data import operations may carry charges.

Cost 4

Connected Services

BigQuery, Cloud Storage, analytics, tag management and your own servers have separate costs.

Cost 5

Engineering and Operations Time

Data engineering, front-end work, experimentation and monitoring are real costs, even if not on the cloud bill.

Ways to manage cost

Good Habits

  • Start with the few placements that matter most
  • Cache recommendations for short periods when personalization does not change by the second
  • Avoid duplicate requests on the same page load
  • Do not create unused models or serving configurations
  • Estimate request volume before launch and set budget alerts
  • Check current pricing and any committed-use or tiered options

Cost Traps

  • Calling the API on every scroll or refresh without caching
  • Training many overlapping models that nobody uses
  • Bot traffic generating large prediction volumes
  • Ignoring the cost of broken experiments that run for weeks
  • Forgetting data-transfer and warehouse costs around the service
!
Important

Pricing structure, free allowances and rates change over time and vary by capability. Always confirm current pricing on the official Vertex AI Search for commerce pricing page before planning a budget.

16Recommendations AI Compared with Other Approaches

Several options exist for adding recommendations. The right one depends on your size, skills and goals.

ApproachWhat It IsBest Fit
Recommendations AI (Vertex AI Search for commerce)Managed, retail-focused recommendation models with catalogs, events and business rulesRetailers wanting strong results quickly without building models
Vertex AI Search for media recommendationsManaged recommendations for media and content, such as videos and articlesPublishers and streaming services
Custom models on Vertex AIBuild and train your own recommendation models with full controlTeams with data science skills and unusual requirements
BigQuery MLBuild certain recommendation models with SQL inside the warehouseAnalytics teams who want models near their data and simple use cases
Vector Search with embeddingsFind similar items by meaning or appearanceContent similarity features and custom designs
Rules and merchandisingHand-picked or rule-based listsVery small catalogs or specific campaigns
Simple Analogy

Rules are like a hand-written menu board. A managed recommendation service is like hiring an experienced restaurant host who learns your regulars. A custom model is like training your own host from scratch: more control, much more effort.

flowchart TD
  Q1{Do you sell products online?} -->|Yes| Q2{Need results quickly with a small team?}
  Q1 -->|No| A1[Consider media recommendations or custom models]
  Q2 -->|Yes| A2[Recommendations AI in Vertex AI Search for commerce]
  Q2 -->|No| Q3{Do you have data science capacity and unusual needs?}
  Q3 -->|Yes| A3[Custom models on Vertex AI]
  Q3 -->|No| A2
        
FIG 5 — A simple guide to choosing a recommendation approach

17Design Patterns and Anti-patterns

Patterns capture what experienced teams repeatedly find works; anti-patterns capture what goes wrong.

Helpful patterns

Journey-Based Placement Plan

Map the shopper’s journey from landing, to browsing, to cart, to checkout and after-purchase, and place the model type that best answers the shopper’s question at each step.

Goal-Matched Objectives

Use conversion or revenue objectives where sales matter most, and click objectives where exploration is the aim, rather than one setting everywhere.

Guarded Rollout with Experiments

Launch to a small share of traffic, compare with the current experience, then expand when results show clear and repeatable improvement.

Resilient Front End with Fallbacks

Cache recent results, apply timeouts and fall back to popular or recently viewed items, so the page always looks complete and loads fast.

Catalog Quality Pipeline

Automated checks catch missing categories, broken images, zero prices and duplicate identifiers before products reach the service.

Event Contract Between Teams

A written agreement among web, mobile and data teams defines every event, its fields and when it fires, so releases do not silently break learning.

Anti-patterns to avoid

ANTI-PATTERN-03 Avoid
Problem

Launching recommendations everywhere on day one with no baseline and no experiment.

Why It’s Harmful

You cannot tell what worked, and a weak placement may hurt conversions without anyone noticing.

Correct Approach

Introduce placements gradually, measure each against a control group and keep only what proves its value.

ANTI-PATTERN-04 Avoid
Problem

Ignoring attribution tokens, so the service cannot tell which recommendations led to clicks and purchases.

Why It’s Harmful

Measurement is weaker and the feedback loop that improves recommendations loses valuable signal.

Correct Approach

Pass attribution tokens from each response into the events that follow, as documented.

ANTI-PATTERN-05 Avoid
Problem

Overriding the model with so many manual rules, pins and filters that little personalization remains.

Why It’s Harmful

You pay for machine learning but ship what is effectively a hand-made list, and results stop adapting to shoppers.

Correct Approach

Use rules for real business constraints such as stock and compliance, and let the model rank within those boundaries.

ANTI-PATTERN-06 Avoid
Problem

Optimizing a single metric, such as clicks, without watching revenue, returns or customer satisfaction.

Why It’s Harmful

Clickbait-style suggestions inflate clicks while sales stay flat or customers become frustrated.

Correct Approach

Track a balanced set of metrics and review results by placement and customer segment.

18Advantages, Disadvantages and Real-World Uses

An honest view of strengths, limits and where teams actually apply the service.

Advantages

  • Fully managed: no model research, training infrastructure or serving systems to run
  • Retail-focused model types covering the whole shopping journey
  • Goal-based optimization for clicks, conversions or revenue
  • Business rules for stock, diversity and price control
  • Integrates with Merchant Center, BigQuery, Cloud Storage and analytics tools
  • Learns continuously from new events
  • Part of a broader product with search and conversational capabilities

Disadvantages / Trade-offs

  • Needs good catalog and event data with enough volume and history
  • Models are managed, so internals offer limited customization
  • Initial training takes time before results are available
  • Usage-based costs can grow with traffic
  • Small or brand-new stores may lack enough data to train well
  • Branding and feature organization have shifted over time, requiring attention to current docs

Real-world examples

Fashion Retailer Home Page

A clothing retailer uses “recommended for you” on its home page and “others you may like” on product pages, with filters that hide sold-out sizes. It tests against its old trending list and measures higher click-through and conversion.

Grocery Repeat Purchases

An online grocer uses “buy it again” to bring back staples such as milk and coffee, speeding up weekly shopping and increasing order frequency.

Electronics Add-Ons

A consumer electronics store uses “frequently bought together” on its cart page to suggest cables, cases and warranties, increasing average order value without discounts.

Home Goods Catalog Discovery

A furniture seller with a huge, varied catalog uses similar-items recommendations to help shoppers find alternatives when a chosen style is out of stock, keeping them on the site.

Seasonal Promotions

A retailer uses “on sale” recommendations during promotional weeks to show each shopper discounted items matching their tastes, instead of the same sale list for everyone.

19Best Practices and Common Mistakes

A short checklist to carry into every recommendations project.

Best Practices

  • Start with clear goals and a small number of high-value placements
  • Make product identifiers consistent across catalog and events
  • Send the full funnel of events with complete fields and attribution tokens
  • Keep the catalog fresh, especially price and availability
  • Match model type and objective to each placement’s purpose
  • Use business rules sparingly and measure their effect
  • Run controlled experiments before wide rollout
  • Provide fallbacks, caching and timeouts in the front end
  • Respect consent, minimize personal data and use least-privilege access
  • Monitor events, catalog freshness, model status and business metrics

Common Mistakes

  • Weak or inconsistent event tracking
  • Mismatched identifiers between catalog and events
  • Creating too many models without a plan
  • Launching everywhere without a control group
  • Stale catalogs that recommend unavailable items
  • Over-ruling the model with manual rules
  • Ignoring consent and privacy requirements
  • Releasing website changes that silently break event tags

20Frequently Asked Questions

Q1Is Recommendations AI the same as Vertex AI Search for commerce?

Recommendations AI is the recommendation capability, which is now part of Vertex AI Search for commerce. That product also includes search and browse capabilities and conversational commerce features. Older materials may still use the earlier name.

Q2What data do I need to start?

A product catalog and user events such as product views, add-to-cart actions and purchases. Models need enough data and history to train well, and the documented requirements differ by model type.

Q3Do I need machine learning expertise?

No. Google trains and serves the models. You need skills in data integration, web or mobile development and analytics, plus the ability to run experiments.

Q4How long before I see results?

Training can take several days at first, depending on data. Gathering enough events and running a meaningful experiment takes additional time, so plan in weeks rather than hours.

Q5Can it recommend to shoppers who are not logged in?

Yes. Visitor identifiers track anonymous sessions, and recommendations use the current session’s behavior. Logged-in identifiers can add continuity where appropriate and permitted.

Q6How do I stop recommending out-of-stock products?

Keep availability up to date in the catalog, and apply filters in the serving configuration to exclude unavailable items.

Q7What is an attribution token and why does it matter?

It is a value returned with recommendations that you send back with subsequent events. It lets the service connect clicks and purchases to the recommendation that led to them, improving measurement and learning.

Q8Which model type should I start with?

Pick the placement with the most traffic and clearest business value. Many retailers begin with “others you may like” on product pages or “recommended for you” on the home page, then add “frequently bought together” for the cart.

Q9How do I know if it is working?

Run a controlled experiment and compare click-through, conversion and revenue between shoppers who see recommendations and a control group, over a period long enough to cover normal patterns.

Q10Is shopper data safe and private?

The service provides encryption, access control and audit logging, but you remain responsible for consent, data minimization and respecting privacy laws. Use pseudonymous identifiers and avoid sending unneeded personal details.

Q11What if my site is small or new?

Models need enough products and events to learn. Small sites may not reach the thresholds yet. Collect events, load history if available and consider simpler approaches until data volume grows.

Q12How is cost determined?

Mainly by model training and prediction request volume, plus data and related services. Estimate your traffic, avoid redundant calls with caching, and check the current official pricing page.

21Summary and Key Takeaways

Recommendations AI gives online retailers a managed way to show each shopper products they are likely to want. Fed by a product catalog and user events, Google trains retail-focused models that you connect to placements through serving configurations, shaped by business rules such as filters, diversity and price controls. It now lives inside Vertex AI Search for commerce, alongside search and conversational capabilities. Success depends less on clever settings than on solid foundations: consistent identifiers, complete event tracking, a fresh catalog, objectives matched to each placement, careful experiments, thoughtful privacy and steady monitoring. With those in place, recommendations can raise engagement, basket size and loyalty while remaining affordable and manageable.

Key Takeaways

  • Managed retail recommendations — Recommendations AI learns from your catalog and shopper events, and is now part of Vertex AI Search for commerce.
  • Data quality decides results — use consistent product identifiers, send the full funnel of events with attribution tokens and keep the catalog fresh.
  • Match model to moment — choose model types and objectives for each placement: discovery on the home page, alternatives on product pages, add-ons in the cart.
  • Rules guide, the model ranks — use filters, diversity and price controls for real business constraints, without overriding personalization.
  • Prove it with experiments — launch gradually, compare against a control group and track click-through, conversion and revenue together.
  • Plan for edge cases — handle cold start, sparse data and out-of-stock items, and always provide fallbacks and caching in the front end.
  • Protect shoppers and budgets — minimize personal data, honor consent, use least-privilege access, and monitor events, models and cost, checking current docs for details and pricing.