---
updatedAt: 2025-11-11T02:10:27.000Z
agentTools:
  projectIndex: https://docs.bidmachine.io/v2.0/llms.txt
---

# Bid Request Specification

> ❗️ Note
>
> BidMachine Ad Exchange currently works with openRTB 2.3 and 2.5. This documentation is only valid for openRTB 2.3.

<H1>Bid Request Object Properties</H1>

<Table align={["left","left","left","left"]}>
  <thead>
    <tr>
      <th style={{ textAlign: "left" }}>
        Attribute
      </th>

      <th style={{ textAlign: "left" }}>
        Type
      </th>

      <th style={{ textAlign: "left" }}>
        Description
      </th>

      <th style={{ textAlign: "left" }}>
        Example
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td style={{ textAlign: "left" }}>
        id
      </td>

      <td style={{ textAlign: "left" }}>
        string
      </td>

      <td style={{ textAlign: "left" }}>
        Unique ID of the bid request, provided by the exchange.
      </td>

      <td style={{ textAlign: "left" }}>
        d5260eec-75d9-4f7d-86bc-22b01b4c779e
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        imp
      </td>

      <td style={{ textAlign: "left" }}>
        object array
      </td>

      <td style={{ textAlign: "left" }}>
        Array of Imp objects representing the impressions offered.

        At least 1 Imp object is required.
      </td>

      <td style={{ textAlign: "left" }}>

      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        app
      </td>

      <td style={{ textAlign: "left" }}>
        object
      </td>

      <td style={{ textAlign: "left" }}>
        Details about the publisher’s app (i.e., non-browser applications).

        Only applicable and recommended for apps.
      </td>

      <td style={{ textAlign: "left" }}>

      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        device
      </td>

      <td style={{ textAlign: "left" }}>
        object
      </td>

      <td style={{ textAlign: "left" }}>
        Details about the user’s device to which the impression will be delivered.
      </td>

      <td style={{ textAlign: "left" }}>

      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        user
      </td>

      <td style={{ textAlign: "left" }}>
        object
      </td>

      <td style={{ textAlign: "left" }}>
        Details about the human user of the device; the advertising audience.
      </td>

      <td style={{ textAlign: "left" }}>

      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        test
      </td>

      <td style={{ textAlign: "left" }}>
        integer; default 0
      </td>

      <td style={{ textAlign: "left" }}>
        Indicator of test mode in which auctions are not billable, where 0 = live mode, 1 = test mode
      </td>

      <td style={{ textAlign: "left" }}>
        0
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        at
      </td>

      <td style={{ textAlign: "left" }}>
        integer; default 2
      </td>

      <td style={{ textAlign: "left" }}>
        Auction type, where 1 = First Price, 2 = Second Price Plus. BidMachine currently supports only type 2
      </td>

      <td style={{ textAlign: "left" }}>
        2
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        tmax
      </td>

      <td style={{ textAlign: "left" }}>
        integer
      </td>

      <td style={{ textAlign: "left" }}>
        Maximum time in milliseconds to submit a bid to avoid timeout.

        This value is commonly communicated offline.
      </td>

      <td style={{ textAlign: "left" }}>
        250
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        cur
      </td>

      <td style={{ textAlign: "left" }}>
        string array
      </td>

      <td style={{ textAlign: "left" }}>
        Array of allowed currencies for bids on this bid request using ISO-4217 alpha codes.

        Recommended only if the exchange accepts multiple currencies.
      </td>

      <td style={{ textAlign: "left" }}>
        ["USD"]
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        bcat
      </td>

      <td style={{ textAlign: "left" }}>
        string array
      </td>

      <td style={{ textAlign: "left" }}>
        Blocked advertiser categories using the IAB content categories.
      </td>

      <td style={{ textAlign: "left" }}>
        ["IAB2-1"]
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        badv
      </td>

      <td style={{ textAlign: "left" }}>
        string array
      </td>

      <td style={{ textAlign: "left" }}>
        Block list of advertisers by their domains.
      </td>

      <td style={{ textAlign: "left" }}>
        ["blocked.domain.com"]
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        reg
      </td>

      <td style={{ textAlign: "left" }}>
        object
      </td>

      <td style={{ textAlign: "left" }}>
        A Regs object that specifies any industry, legal, or governmental regulations in force for this request.
      </td>

      <td style={{ textAlign: "left" }}>

      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        source
      </td>

      <td style={{ textAlign: "left" }}>
        object
      </td>

      <td style={{ textAlign: "left" }}>
        This object describes the nature and behavior of the entity that is the source of the bid request\
        upstream from the exchange.
      </td>

      <td style={{ textAlign: "left" }}>

      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        ext
      </td>

      <td style={{ textAlign: "left" }}>
        object
      </td>

      <td style={{ textAlign: "left" }}>
        Placeholder for exchange-specific extensions to OpenRTB
      </td>

      <td style={{ textAlign: "left" }}>

      </td>
    </tr>
  </tbody>
</Table>