> For the complete documentation index, see [llms.txt](https://docs.exoclick.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.exoclick.com/rtb/zh/guang-gao-zhu/kai-fang-rtb/adv-open-rtb-2.5-response.md).

# Open RTB 2.5 出价响应

竞价请求的响应将具有以下结构：

## 出价响应对象

| 属性      | 必填？ | 描述                            |
| ------- | --- | ----------------------------- |
| id      | 是   | 竞价请求的 ID，必须与请求中发送的 id 匹配（字符串） |
| seatbid | 是   | 由出价方代表特定 seat 提交的出价集合。        |

### seatbid

| 属性  | 必填？ | 描述                                  |
| --- | --- | ----------------------------------- |
| bid | 是   | 此出价所适用的展示对象 ID，必须与请求中发送的 id 匹配（字符串） |

### seatbid.bid

| 属性    | 必填？ | 描述                                     |
| ----- | --- | -------------------------------------- |
| id    | 是   | 由出价方选中的出价对象 ID（字符串）                    |
| impid | 是   | 此出价适用的展示对象 ID（字符串）                     |
| price | 是   | CPM 或 CPC 的出价价格（浮点数）                   |
| adm   | 是   | 广告标记（字符串）                              |
| nurl  | 是   | 赢标通知 URL，建议 nurl 使用 HTTP 而非 HTTPS（字符串） |

### seatbid.bid.ext

| 属性    | 必填？ | 描述                                                                          |
| ----- | --- | --------------------------------------------------------------------------- |
| btype | 推荐  | 计费模型。取值：1 = CPM，2 = CPC。默认值 = 1（整数）。当响应针对 Email Clicks 区域请求时，1 = Smart CPC。 |
|       |     | **注意**：只有推送通知、原生广告、直链和 Email Clicks 可以使用 CPC 计费模型出价。                        |

**注意：**

* 我们支持插屏广告位中的视频。
* impid 必须与请求中提供的 ID 匹配。

### 无出价响应 <a href="#no-bid-response" id="no-bid-response"></a>

要在不实际出价的情况下响应出价请求，应发送 HTTP 响应码 204 “No Content”。

### 赢标和计费通知 URL <a href="#win-and-billing-notification-urls" id="win-and-billing-notification-urls"></a>

如果 **nURL** 或 **bURL** 在竞价响应中且为有效 URL，ExoClick 平台将向它们发送 GET 请求。这些 URL 可以包含一些令牌，ExoClick 会在执行 GET 之前替换它们：

```
${AUCTION_ID} - 出价请求的 ID；来自“Bid Request Object -> id”属性。
${AUCTION_BID_ID} - 出价的 ID；来自“Bid Response Object -> bidid”属性。
${AUCTION_IMP_ID} - 刚刚赢得的展示的 ID；来自“Bid Request Object -> Impression Object -> id”属性。
${AUCTION_SEAT_ID} - 为其出价的出价方席位 ID；来自“Bid Response Object -> Seat Bid Object -> Bid Object -> id”属性。
${AUCTION_AD_ID} - 出价方希望投放的广告标记 ID；来自“Bid Response Object -> Seat Bid Object -> Bid Object -> adid”属性。
${AUCTION_PRICE} - 使用与账户相同的货币和单位的结算价格；来自“Bid Response Object -> Seat Bid Object -> Bid Object -> price”属性。
${AUCTION_CURRENCY} - 出价中使用的货币（显式或隐式）；仅用于确认。
```

示例：

```
https://mysite.com/my_notification_url?id=${AUCTION_ID}&bidid=${AUCTION_BID_ID}&price=${AUCTION_PRICE}&currency=${AUCTION_CURRENCY}
```

如果你同时使用 **nURL** 和 **bURL**，ExoClick 将会同时调用它们。

### 示例 <a href="#examples" id="examples"></a>

## 无出价响应 <a href="#no-bid-response" id="no-bid-response"></a>

要在不实际出价的情况下响应出价请求，应发送 HTTP 响应码 204 “No Content”。

## 赢标和计费通知 URL <a href="#win-and-billing-notification-urls" id="win-and-billing-notification-urls"></a>

如果 **nURL** 或 **bURL** 在竞价响应中且为有效 URL，ExoClick 平台将向它们发送 GET 请求。这些 URL 可以包含一些令牌，ExoClick 会在执行 GET 之前替换它们：

```
${AUCTION_ID} - 出价请求的 ID；来自“Bid Request Object -> id”属性。
${AUCTION_BID_ID} - 出价的 ID；来自“Bid Response Object -> bidid”属性。
${AUCTION_IMP_ID} - 刚刚赢得的展示的 ID；来自“Bid Request Object -> Impression Object -> id”属性。
${AUCTION_SEAT_ID} - 为其出价的出价方席位 ID；来自“Bid Response Object -> Seat Bid Object -> Bid Object -> id”属性。
${AUCTION_AD_ID} - 出价方希望投放的广告标记 ID；来自“Bid Response Object -> Seat Bid Object -> Bid Object -> adid”属性。
${AUCTION_PRICE} - 使用与账户相同的货币和单位的结算价格；来自“Bid Response Object -> Seat Bid Object -> Bid Object -> price”属性。
${AUCTION_CURRENCY} - 出价中使用的货币（显式或隐式）；仅用于确认。
```

示例：

```
https://mysite.com/my_notification_url?id=${AUCTION_ID}&bidid=${AUCTION_BID_ID}&price=${AUCTION_PRICE}&currency=${AUCTION_CURRENCY}
```

如果你同时使用 **nURL** 和 **bURL**，ExoClick 将会同时调用它们。

## 示例 <a href="#examples" id="examples"></a>

您可以在以下位置找到您可能收到的响应的详细示例： [示例页面](/rtb/zh/guang-gao-zhu/kai-fang-rtb/open-rtb-adv-code-examples-2.5.md).

<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.exoclick.com/rtb/zh/guang-gao-zhu/kai-fang-rtb/adv-open-rtb-2.5-response.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
