Skip to main content
This section documents the ads data returned by the Google AI Mode endpoint. Ads 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

Ads are intent-detected: send a prompt with high commercial intent (for example, comparing or buying a specific product category). No flag is required.
This produces a response containing the ads object documented below.

Overview

Sponsored ad section extracted from the response when AI Mode surfaces sponsored shopping results.
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.

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