Skip to main content
This section documents the inline products data returned by the Google AI Mode endpoint: product cards found within the AI response text, part of the AI Mode response so no separate API call is needed. 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. For use cases, pricing context, and copy-paste examples, see the AI Mode shopping API page on the product site.
Inline products in AI Mode

Inline products in AI Mode

Example request

Inline products are intent-detected; no flag is required.

Inline product structure

price and oldPrice

The raw field captures the price string exactly as Google rendered it, which covers three cases:
  • 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