For DSPs/Developers

Platform · Documentation

Bid requests over OpenRTB 2.x, video served from VAST 4.x, reports as CSV. The field names below are the standard ones; sample values are marked as such, and endpoint addresses travel with credentials rather than on a web page.

  • OpenRTB 2.x
  • VAST 4.x
  • ads.txt
  • sellers.json
  • schain
Bid in on the left, response out on the right. The traces light in the order the quick start follows them.

01 · Getting started

How to connect.

Web publishers run Prebid header bidding with Google Ad Manager and Google Ad Exchange, with direct and PMP deals layered on top. Apps connect through our SDK and ad server setup. As an SSP, we expose inventory to DSPs over OpenRTB endpoints.

Access is granted per seat. Ask through the form at the end of this page and the reply carries the seat credentials, the endpoint addresses and the current spec notes. Buyers can verify the supply path themselves: inventory is described by ads.txt, sellers.json and the SupplyChain Object (schain).

DSPs reach the inventory two ways: PMP deals addressed by deal ID, and the open auction over OpenRTB. The commercial side of both is on the DSP page; this page covers the wire format.

02 · Quick start

The four exchanges.

One round trip: a bid request arrives, a bid response comes back, the winning video creative plays from a VAST document, and the numbers land in the CSV the dashboard exports.

// a bid request, OpenRTB 2.x · values illustrative
{
  "id": "req-0408",          // this auction's id
  "test": 0,                    // 1 marks a test request
  "tmax": 200,                  // auction timeout, ms · illustrative
  "at": 1,                      // first-price auction
  "cur": ["USD"],
  "imp": [{
    "id": "1",
    "banner": { "w": 300, "h": 250 }  // IAB medium rectangle
  }],
  "app": { "name": "Sample app", "bundle": "com.example.sample" }
}

IllustrativeField names per OpenRTB 2.x. The banner in the sample is the IAB medium rectangle; video impressions carry a size of 1920×1080 for CTV.

03 · Try it

Assemble a bid request.

Toggle the impression type, pick where the request comes from, and mark it as a test if you like. The panel on the right rebuilds the request with standard OpenRTB 2.x field names as you switch.

Impression type

Placement

IllustrativeValues are samples. The timeout figure and the native request body stand in for whatever your integration negotiates.

04 · Errors and no-bid

The error cases.

An integration spends most of its time on these cases. They use the standard OpenRTB 2.x terms and the HTTP codes the spec defines for them.

SituationWhat happensWhat the buyer sees
No bidThe seat declines this impression without offering one.HTTP 204, no content, empty body. The auction continues without that seat.
Malformed requestA required field is missing or the body does not parse.HTTP 400. The request needs correcting before it is sent again.
TimeoutThe answer does not arrive inside the auction's timeout budget.The seat is treated as a no-bid; the page load does not wait.
VAST errorThe player cannot play the creative the tag returned.The player fires the error tracking event and a wrapper chain stops at that hop.
Short podAn ad pod returns fewer ads than the break holds.The player runs what it received and the break ends early. The impressions that did serve are reported.

05 · Request credentials

Ask for a seat.

The reply carries the seat credentials, the endpoint addresses and the current spec notes, plus a deal ID if you are connecting for PMP deals. The same form works for tech partners wiring up a wrapper or an ad server.

Before you write

  • The environments you bid on: web, app or CTV
  • Whether you want the open auction, PMP deals, or both
  • The seat name your ad server will send in seatbid

The commercial picture for DSPs is on For DSPs, and the wrapper setup for web publishers is in the Prebid guide.