Example request
Inline products are intent-detected: send a prompt that surfaces individual product mentions in the AI response. No flag is required.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 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. Usevaluefor math/aggregation. - Installment — Brazilian and other locales render monthly-payment offers like
R$ 4,40/mês. We emit{raw}only (novalue) because shipping4.40as the product price would be wrong. Fall back torawfor display. - Unparseable / locale-ambiguous — e.g.
"Free","€1.234"in an unknown locale context. We emit whatever was extractable (often justraw) so you can render the card text without losing the signal.