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

This shape is shared by every AI Mode price field: inline products, shopping cards and ads. A field that can’t be parsed is omitted, never sent as null, so a price takes one of these shapes:
  • Parsed: {value, currency, raw}. Use value for math/aggregation.
  • Number unparseable: {currency, raw}. A currency was found but the amount wasn’t readable.
  • raw only: no currency was found, or the text is a monthly-payment offer such as R$ 4,40/mês. Shipping 4.40 as the product price would be wrong, so fall back to raw for display.
  • Structured (inline products only): {value, currency} from Google’s structured price data, with an ISO currency (e.g. "USD"), plus raw when the page also showed the price text. The product’s oldPrice then carries the ISO code too.

Response example