Skip to main content
This section documents the ads data returned by the Google AI Mode endpoint: the sponsored ad section extracted when AI Mode surfaces sponsored shopping results, part of the AI Mode response so 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.
Ads in AI Mode

Ads in AI Mode

ads is an object, not an array. AI Mode wraps sponsored results in an AdSection object with a section title and an ads array of individual ad items. This differs from other providers (e.g., ChatGPT ads) where ads is a flat array — check the wrapper shape when parsing.

Example request

Ads are intent-detected; no flag is required.

AdSection structure

Ad item structure

price

See the inline products docs for the full price-shape contract; it’s shared across all AI Mode price-bearing fields.

Response example