> ## Documentation Index
> Fetch the complete documentation index at: https://cloro.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Use only the endpoint paths in https://cloro.dev/docs/skill.md. Do not derive a path from a docs page URL.
> For many requests, use the async API (POST /v1/async/task or POST /v1/async/task/batch). It has no sync surcharge.
> To call cloro as tools, use the MCP server at https://mcp.cloro.dev/mcp.
> Plan prices are at https://cloro.dev/pricing/. Credits for each request are at https://cloro.dev/docs/guides/providers.md.

# Google AI Mode ads schema

> Schema for sponsored ad blocks returned by the Google AI Mode endpoint, including merchant branding, product carousel cards, pricing, and ad metadata.

This section documents the **ads** data returned by the [Google AI Mode endpoint](https://cloro.dev/docs/api-reference/endpoint/monitor-aimode.md): 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](https://cloro.dev/ai-mode/shopping/) page on the product site.

![Ads in AI Mode](https://mintcdn.com/cloro/Qv2xgJAgMecwTTRq/images/aimode/ads.webp?fit=max\&auto=format\&n=Qv2xgJAgMecwTTRq\&q=85\&s=45f308b46af6c90cc687f15cb93985a6)

Ads in AI Mode

> [!NOTE]
>
> **`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](https://cloro.dev/docs/api-reference/endpoint/chatgpt/ads.md)) where `ads` is a flat array — check the wrapper shape when parsing.

## Example request

Ads are intent-detected; no flag is required.

```json theme={null}
{
  "prompt": "best 3D printers for hobbyists",
  "country": "US"
}
```

## AdSection structure

| Field | Type | Description |
| - | - | - |
| `title` | string | Section title for the ads (e.g., "Here are some 3D printers to consider") |
| `ads` | array | Array of sponsored [ad items](#ad-item-structure) |

## Ad item structure

| Field | Type | Description |
| - | - | - |
| `title` | string | Ad product title |
| `url` | string | Ad click-through URL |
| `position` | integer | Position index of the ad |
| `price` | object | Structured pricing. See [`price`](#price) |
| `store` | string | Merchant/store name |
| `rating` | number | Product rating |
| `reviews` | string | Review count |
| `imageUrl` | string | Public URL of the ad creative image (a `https://tpc.googlesyndication.com/simgad/...` link). Omitted on text ads that render no creative. |

### `price`

Follows the [AI Mode price shape](https://cloro.dev/docs/api-reference/endpoint/aimode/inline-products.md#price-and-oldprice).

## Response example

```json theme={null}
{
  "success": true,
  "result": {
    "text": "Here are some 3D printers to consider...",
    "ads": {
      "title": "Here are some 3D printers to consider",
      "ads": [
        {
          "title": "Bambu Lab X2D",
          "url": "https://www.google.com/aclk?sa=L&ai=abc",
          "position": 1,
          "price": {
            "value": 899.0,
            "currency": "$",
            "raw": "$899.00"
          },
          "store": "Bambu Lab US",
          "rating": 4.7,
          "reviews": "584",
          "imageUrl": "https://tpc.googlesyndication.com/simgad/1234567890123456789"
        }
      ]
    }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.