Skip to main content
This section documents the inline products data returned by the Google AI Mode endpoint. Inline products are part of the AI Mode response — no separate API call is needed. For use cases, pricing context, and copy-paste examples, see the AI Mode shopping API page on the product site.

Example request

Inline products are intent-detected: send a prompt that surfaces individual product mentions in the AI response. No flag is required.
This produces a response containing the inlineProducts array documented below.

Overview

Inline product cards found within the AI response text. Unlike shopping cards — which group multiple products into a dedicated carousel — inline products are stand-alone product references embedded directly in the AI’s prose. Both arrays may coexist in a single response.
Inline products in AI Mode

Inline product structure

price and oldPrice

The raw field captures the price string exactly as Google rendered it, which lets you handle three cases consumers tend to care about:
  • Parseable{value, currency, raw} all populated. Use value for math/aggregation.
  • Installment — Brazilian and other locales render monthly-payment offers like R$ 4,40/mês. We emit {raw} only (no value) because shipping 4.40 as the product price would be wrong. Fall back to raw for display.
  • Unparseable / locale-ambiguous — e.g. "Free", "€1.234" in an unknown locale context. We emit whatever was extractable (often just raw) so you can render the card text without losing the signal.

Response example