Guide 01 · OpenRTB 2.6

OpenRTB is the language a supply-side platform and a demand-side platform speak in the few hundred milliseconds an auction lasts. This guide walks the 2.6 request and response: what each object carries, what comes back, and where the privacy and supply-chain signals travel.

For developersOpenRTB 2.6Checked November 2026

In short

Protocol
HTTP POST with a JSON body
Current version
OpenRTB 2.6, updated in place
No bid
HTTP 204, empty body

OpenRTB 2.6 is the version the market runs on. The IAB Tech Lab published it in 2022 and maintains it in a public repository, releasing dated revisions such as 2.6-202309. A larger redesign called 3.0 exists on paper but is not in production use, so this guide, like the market, stays on 2.6.

What OpenRTB is

OpenRTB standardises the bid request a seller sends and the bid response a buyer returns. Before it, every exchange had its own format and every buyer wrote its own adapter for each one. With it, one integration speaks to every platform that implements the same version.

The exchange is short. The seller describes an impression: where it appears, on which device, with which sizes, and under which rules. The buyer answers with a price and the markup to show, or with nothing. The whole thing depends on two HTTP rules that are easy to get wrong: the body is JSON with a application/json content type, and a buyer with nothing to offer answers 204 No Content, not an empty object and not an error.

The bid request

The top-level objects split into four groups: the auction itself, the impressions for sale, the context, and the rules.

ObjectWhat it carries
idThe id of this auction. The response repeats it so the two can be matched.
imp[]The impressions for sale. Most requests carry one; several are allowed.
site or appWhere the impression is: a web page or a mobile application. One of the two is present, never both.
deviceThe device: its user agent, network address, type, operating system and screen.
userWhat is known about the user, including identifiers shared with permission.
sourceWho called this auction, and the chain of sellers behind it.
regsRegulations in force for this impression, such as COPPA or the GDPR.
tmaxThe time in milliseconds the buyer has to answer.
wseat, bcat, badvRules for the auction: which buyer seats may bid, and which content categories and advertiser domains may not.
test1 when the call is a test and nothing is billed or recorded.

A request in its shortest useful form:

{
  "id": "req-7c1e9a", // the id of this auction, matched on the response
  "imp": [
    {
      "id": "1",
      "banner": { "format": [ { "w": 300, "h": 250 } ] },
      "bidfloor": 1.20, "bidfloorcur": "USD",
      "secure": 1
    }
  ],
  "site": { "domain": "publisher.example", "page": "https://publisher.example/article" },
  "device": { "ua": "…", "ip": "192.0.2.12", "devicetype": 2 },
  "user": { "id": "…", // or no id at all "ext": { "consent": "…" } },
  "source": { "fd": 1, "tid": "…", "schain": { … } },
  "regs": { "coppa": 0, "ext": { "gdpr": 1 } },
  "tmax": 200
}

The impression

Each imp has an id that the bid refers back to, and one or two format objects: banner, video or native. Banner and video can share an impression, as a video with a companion display unit. Native always stands alone.

Three fields on the impression set the terms of the sale. bidfloor with bidfloorcur is the lowest price the seller accepts. pmp holds the private deals on offer, each with its id and often its own floor. secure set to 1 says every asset the buyer returns must be served over HTTPS, which is the norm on the modern web.

The bid response

The response repeats the request id and holds a seatbid for each buyer seat. Inside are the bid objects, one per impression bid on.

{
  "id": "req-7c1e9a",
  "seatbid": [
    {
      "seat": "seat-1",
      "bid": [
        {
          "impid": "1", "id": "bid-01",
          "price": 1.45, "adm": "<a href=…><img src=…></a>",
          "adomain": [ "advertiser.example" ], "bundle": "…",
          "cid": "campaign-1", "crid": "creative-1",
          "w": 300, "h": 250,
          "nurl": "https://…", "burl": "https://…",
          "cat": [ "IAB25" ], "attr": [ 4 ]
        }
      ]
    }
  ],
  "cur": "USD", "bidid": "…"
}

Four fields in a bid matter most. impid names the impression the price is for. price is the bid, in the currency the response names in cur. adm is the markup itself, or the address that serves it. nurl is the win notice: the seller calls it when the bid wins, and that call is what counts as the impression in most setups.

The rest is transparency for the seller. adomain is the advertiser's domain, iurl an image of the creative for review, cat and attr its category and attributes, and cid and crid the campaign and creative ids a report can group by. dealid repeats the private deal the bid was made under. burl and lurl are the billing notice and, where the seller offers it, a loss notice.

No-bid

A buyer with nothing to offer answers 204 and sends no body. A seller that wants to record why can ask for a reason instead: the response then carries a 200 with an empty seatbid and a single number in nbr.

nbrMeaning
0Unknown error
1Technical error on the buyer's side
2Invalid request: it cannot be parsed or is structurally wrong
3Known web crawler
4Suspected non-human traffic
5Cloud, data centre or proxy address
6Unsupported device
7Blocked publisher or site
8User not matched to a known identifier
9Daily reader cap met
10Daily domain cap met

Auction types and floors

The at field names the auction type. 1 is a first-price auction, where the winner pays the bid it made. 2 is a second-price auction, where it pays just enough to beat the runner-up. First price is the default and, across the open market, the rule. A buyer who bids as if it were a second-price auction will pay more than it meant to.

Floors apply in both. A bid under bidfloor is not eligible to win, and a deal can carry its own floor inside pmp.deals. Prices are given per thousand impressions unless the parties agree otherwise, and cur names the currency, USD by default.

Privacy and consent

The 2.6 specification keeps regulation in regs and leaves the details to extensions. The fields below are the ones an integration will meet in practice.

FieldWhat it says
regs.coppa1 when the request falls under the United States rule for children's privacy.
regs.ext.gdpr1 when European data-protection law applies to this request, 0 when it does not.
user.ext.consentThe consent string from a consent management platform, when one is in place.
regs.ext.us_privacyThe United States privacy string for a request from a state with such a law.
regs.gpp, regs.gpp_sidThe Global Privacy Platform string and the list of section ids it contains.
device.lmt1 when the user has asked for limited tracking; a buyer then treats the request as unaddressable.
user.ext.eidsAlternative identifiers, each with its source, shared only when the seller is permitted to.

A signal in these fields is an instruction, not a hint. A request that carries no consent, or a limited-tracking flag, must still be answered for the impression itself: the buyer bids on context rather than on identity. The guide to consent signals covers how the strings are built.

The supply chain

Three fields in source tell the buyer who is selling. fd is 0 when an exchange opened the auction directly and 1 when a platform did so on a seller's behalf. tid is a transaction id that stays the same across every hop of one auction, so logs on both sides can be reconciled.

schain is the supply chain object: an ordered list of every intermediary between the publisher and the buyer, each with its seller account, its role and, where a registry holds one, its authority id. It is the field that makes the path of an impression visible. The guide to ads.txt and sellers.json shows how the three fit together.

Video and native impressions

A video impression is described by what the player can take, not by a size alone: the mime types it plays, the protocols it accepts, the minimum and maximum duration, whether the break comes before, during or after the content (startdelay), and whether sound may start on its own (playbackmethod). VAST 4.x protocols are numbered from 7 upward. A native impression carries a request object listing the assets a native unit must have, such as a title, an image and a call to action, and the buyer returns the same structure filled in.

What it means here

Vall Media sells as an SSP over OpenRTB 2.x endpoints. A demand-side platform connects a seat, sends requests in the 2.6 structure, and reaches inventory two ways: through PMP deals addressed by deal ID in the request, and through the open first-price auction. A bid that wins is counted against its deal ID in the dashboard. The page for DSPs lists the checklist, and the developer notes hold worked request and response samples.

Checklist

  • Send JSON with an application/json content type, and answer 204 when there is no bid.
  • Repeat the request id in the response, and point every bid at the right impid.
  • Bid as in a first-price auction unless the request says otherwise, and never under the floor.
  • Honour the regulation fields before using any identifier; bid on context when consent is absent.
  • Answer within tmax; a late response is a lost auction.
  • Fill in the transparency fields: adomain, cid, crid, cat and attr.

Checked against

  • IAB Tech Lab, OpenRTB API Specification version 2.6, including its dated revisions and the public repository that carries the current text.
  • IAB Tech Lab, AdCOM 1.0, the object model that defines the device and user fields used here.
  • IAB Tech Lab, SupplyChain Object specification, for the schain field.