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.
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?”
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
Higher Conversion
Relevant suggestions help undecided shoppers find something worth buying.
Larger Baskets
Suggesting complementary items, such as a case for a phone, raises the value of each order.
Repeat Visits
Shoppers who see items matching their tastes return more often.
Long-Tail Discovery
Lesser-known products that suit a shopper get shown, not just bestsellers.
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.
Hand-Made Rules
Merchandisers pick “featured” items and fixed bundles. Simple, but it does not scale or personalize.
Basic Popularity Lists
Top sellers shown to everyone. Better, but the same for every shopper.
Custom Machine Learning
In-house models personalize results, but require a dedicated team and infrastructure.
Managed Recommendation Service
Google-quality models trained on your catalog and events, served through an API.
3Core Concepts and Vocabulary
A handful of terms appear in every recommendation project. Learn them once and the documentation will feel familiar.
Product Catalog
The structured list of everything you sell, with attributes such as title, category, price, availability, images and links.
User Event
A record of a shopper action, such as viewing a product page, adding to the cart or completing a purchase.
Visitor ID
A stable identifier for a shopper, even before login, so their actions can be linked together.
Model
The trained recommendation engine of a specific type, such as “frequently bought together”, trained on your data.
Optimization Objective
The goal a model tries to maximize, such as click-through rate, conversion rate or revenue per session.
Serving Configuration
A named setup that links a model with rules and settings, and is called by your application to get results.
Placement
A spot in your site or app where recommendations appear, such as the home page or product page.
Prediction Request
The call your application makes to ask for recommendations for a given shopper and context.
Business Rules
Filters and controls that shape results, such as hiding out-of-stock items or limiting repeated categories.
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.
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
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
Data Arrives
Your catalog is imported and shopper events stream in from your website or app.
Model Training
Google trains the model you choose on your data. The first training can take days, depending on data volume.
Model Is Ready to Serve
Once training completes, you attach the model to a serving configuration and can start requesting recommendations.
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.
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
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.
Product ID
A stable unique identifier that must match the identifiers used in your events. Mismatches break learning.
Title and Description
Clear, descriptive text that helps the system understand what the product is.
Categories
A hierarchy such as “Home, Kitchen, Cookware”, used for grouping and diversity controls.
Price and Availability
Current price, and whether the item is in stock. Essential for avoiding recommendations of unavailable products.
Images and URI
What your front end shows when a recommendation is displayed.
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
| Method | How It Works | Best For |
|---|---|---|
| Merchant Center link | Import product data that you already maintain for shopping ads | Retailers already using Merchant Center |
| BigQuery import | Load from a BigQuery table in the expected structure | Teams with product data in the warehouse |
| Cloud Storage import | Load from files stored in a bucket | Batch exports from other systems |
| Inline or API updates | Create or update products directly through the API | Frequent 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.
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
Home Page View
The shopper has reached your home page. Useful for context and for home page recommendations.
Detail Page View
The shopper viewed a specific product. One of the strongest signals of interest.
Add to Cart
A strong sign of purchase intent for a given product.
Shopping Cart Page View
The shopper is reviewing their cart, a good moment for complementary suggestions.
Purchase Complete
The most valuable event, recording what was bought and for how much.
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
| Method | How It Works | Notes |
|---|---|---|
| JavaScript pixel or tag manager | A small snippet on your pages sends events as shoppers act | Quick for web storefronts without heavy engineering |
| API writes from your back end or app | Your servers or mobile app send events directly | Best control and works for mobile and server-side events |
| Analytics export import | Import historical or regular exports from analytics tools through BigQuery | Good for back-filling history |
| Bulk import from storage | Load large sets of past events from files | Useful 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.
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 Type | Question It Answers | Typical Placement |
|---|---|---|
| Recommended for You | What will this shopper like next, given their history? | Home page, personalized shelves |
| Others You May Like | What similar items might interest someone viewing this product? | Product detail page |
| Frequently Bought Together | What do people often buy along with these items? | Cart page, product page add-on strip |
| Similar Items | Which products are close in attributes to this one? | Product page, out-of-stock replacement |
| Buy It Again | What does this shopper tend to repurchase? | Home page and account area for consumables |
| On Sale | Which discounted items might suit this shopper? | Promotions area, home page |
| Page-Level Optimization | Which 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.
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
Click-Through Rate
Favors items shoppers are likely to click. Good for discovery and engagement.
Conversion Rate
Favors items likely to be added to a cart or purchased. Good when sales matter more than clicks.
Revenue per Session
Favors suggestions that raise the overall value of a basket, available for certain model types.
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.
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
Filters
Include or exclude products by attribute, such as only showing items in stock or excluding adult products on a family page.
Diversity
Control how varied results are, so a shelf does not show twenty near-identical items from one category.
Price Reranking
Nudge results toward higher or lower prices, or toward similar price levels as the item being viewed.
Personalization Settings
Decide how strongly results depend on the individual shopper versus general popularity.
Seen-Item Handling
Avoid repeatedly recommending things the shopper has already bought or viewed, where it makes sense.
Result Count and Context
Decide how many products to return for each placement and what context is passed in.
Placements in practice
Home Page
“Recommended for you” and “buy it again” shelves greet shoppers with personal picks.
Product Detail Page
“Similar items” and “others you may like” help shoppers compare and explore alternatives.
Cart Page
“Frequently bought together” suggests accessories and complementary items before checkout.
Post-Purchase and Email
Follow-up suggestions based on what the shopper just bought bring them back.
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.
Define Goals and Placements
Decide where recommendations will appear and what each should achieve: more clicks, larger baskets, more repeat purchases.
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.
Import the Catalog
Load products from Merchant Center, BigQuery, Cloud Storage or the API, and confirm that fields are complete.
Collect and Import Events
Install tracking for live events and load historical events to give models a head start.
Check Data Quality
Use the console’s data quality views to see whether events match products and meet volume requirements.
Create Models and Serving Configurations
Train the chosen models, then create serving configurations with filters and rules.
Integrate into the Front End
Call the prediction API from your site or app, display results and send events with attribution tokens.
Test, Launch Gradually and Measure
Run an experiment against your current experience, then expand traffic as results justify.
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]
Where your own systems connect
Storefront Platform
Your e-commerce platform or custom front end calls the prediction API and displays products.
Inventory and Pricing Systems
Feed price and stock changes into the catalog so recommendations stay accurate.
Analytics and Tag Management
Web analytics and tag managers can help collect events and measure results.
Data Warehouse
BigQuery can both supply catalog and event data and store results for deeper analysis.
Marketing and Email Tools
Recommendations can be pulled into campaigns for personalized messages.
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
| Metric | What It Measures | Why It Matters |
|---|---|---|
| Click-through rate | Share of shown recommendations that get clicked | Shows whether suggestions look relevant and attractive |
| Conversion rate | Share of sessions or clicks that lead to purchase | Connects recommendations to sales |
| Revenue per session or per visitor | Average revenue influenced by sessions | Shows overall business impact |
| Average order value | Typical size of an order | Reveals whether suggestions lift basket size |
| Coverage and diversity | How much of the catalog gets recommended and how varied results are | Prevents the system from recommending only a few bestsellers |
| Empty or fallback rate | How often the service cannot return enough results | Signals 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
Ways to improve
Improve Data Quality
Fix missing identifiers, add richer product attributes and send complete event funnels.
Change the Objective
Switch between clicks, conversions and revenue to match the placement’s purpose.
Tune Rules
Adjust filters, diversity and price settings, one at a time, and measure each change.
Refine Placement and Display
Better position, titles and card design often matter as much as the model.
Add Another Model Type
Once the first placements work, extend into other parts of the journey.
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.
New Shoppers
With no history, the system relies on the current session, product attributes and general popularity. Recommendations improve as the shopper acts.
New Products
Items with no events rely on attributes and similarity. Rich catalog data helps them appear sooner.
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.
Seasonal and Fast-Changing Catalogs
Fashion and holiday items change quickly. Frequent catalog updates and fresh events keep results timely.
Out-of-Stock Items
Use availability data and filters, so shoppers are not tempted by items they cannot buy.
Multi-Region and Multi-Language Stores
Plan how catalogs, currencies and events are separated or combined for each market.
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.
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
Identity and Access Management
Use predefined retail roles so that administrators, editors and viewers have only the access they need.
Service Accounts
Use dedicated accounts for importing data and calling predictions, with narrow permissions.
Data Location
Choose the data location that matches your regulatory needs when you set up the service.
Encryption
Data is encrypted in transit and at rest, and some options allow customer-managed keys. Check what applies to your setup.
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.
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.
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.
| Symptom | Likely Cause | What To Check |
|---|---|---|
| Model fails to train or is not ready | Not enough events or products, or poor data quality | Data quality views, event volume and history against documented requirements |
| Recommendations look random | Mismatched identifiers or missing events | Whether event product IDs exist in the catalog |
| Out-of-stock items appear | Stale availability data or missing filters | Catalog update frequency and filter settings |
| Too few results returned | Overly strict filters or small catalog | Serving configuration rules and filter tags |
| Low click-through rate | Weak placement, poor display or mismatched objective | Placement design, objective choice and experiment results |
| Attribution looks wrong | Attribution tokens not sent back with events | Front-end event code |
| Slow page loads | Synchronous calls with no caching or timeouts | Server-side caching, timeouts and fallbacks |
What to monitor regularly
Event Volume and Quality
Alert if daily event counts drop sharply, which often signals a broken tag or release.
Catalog Freshness
Confirm imports and updates succeed on schedule.
Model Status
Watch for training failures or models that become stale.
Business Metrics
Track click-through, conversion and revenue by placement over time.
API Health
Monitor latency, error rates and quota usage for prediction calls.
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.
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.
Predictions
Billed by the number of recommendation requests served, so high-traffic sites should estimate request volume carefully.
Data Storage and Ingestion
Storing catalog and event data and the data import operations may carry charges.
Connected Services
BigQuery, Cloud Storage, analytics, tag management and your own servers have separate costs.
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
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.
| Approach | What It Is | Best Fit |
|---|---|---|
| Recommendations AI (Vertex AI Search for commerce) | Managed, retail-focused recommendation models with catalogs, events and business rules | Retailers wanting strong results quickly without building models |
| Vertex AI Search for media recommendations | Managed recommendations for media and content, such as videos and articles | Publishers and streaming services |
| Custom models on Vertex AI | Build and train your own recommendation models with full control | Teams with data science skills and unusual requirements |
| BigQuery ML | Build certain recommendation models with SQL inside the warehouse | Analytics teams who want models near their data and simple use cases |
| Vector Search with embeddings | Find similar items by meaning or appearance | Content similarity features and custom designs |
| Rules and merchandising | Hand-picked or rule-based lists | Very small catalogs or specific campaigns |
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
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
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.
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.
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.
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
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.
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.
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.
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.
Yes. Visitor identifiers track anonymous sessions, and recommendations use the current session’s behavior. Logged-in identifiers can add continuity where appropriate and permitted.
Keep availability up to date in the catalog, and apply filters in the serving configuration to exclude unavailable items.
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.
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.
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.
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.
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.
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.