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
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.
// the bid response, OpenRTB 2.x · values illustrative { "id": "req-0408", "seatbid": [{ "seat": "seat-7", "bid": [{ "id": "bid-0408-1", "impid": "1", // matches the imp id above "price": 2.19, // bid in USD, CPM · illustrative "adm": "<ad markup>", // the creative to render "w": 300, "h": 250 }] }] }
Illustrativeseatbid wraps one or more bid objects; price carries the bid in USD per thousand impressions. The highest bid wins the first-price auction.
// a VAST 4.x inline ad · tracking names are the standard set <VAST version="4.0"> <Ad id="sample-ad"> <InLine> <AdSystem>Sample ad server</AdSystem> <AdTitle>Sample video ad</AdTitle> <Creatives> <Creative id="1"> <Linear> <Duration>00:00:15</Duration> <TrackingEvents> <Tracking event="impression">…</Tracking> <Tracking event="start">…</Tracking> <Tracking event="firstQuartile">…</Tracking> <Tracking event="midpoint">…</Tracking> <Tracking event="thirdQuartile">…</Tracking> <Tracking event="complete">…</Tracking> <Tracking event="error">…</Tracking> </TrackingEvents> <VideoClicks> <ClickTracking>…</ClickTracking> </VideoClicks> </Linear> </Creative> </Creatives> </InLine> </Ad> </VAST>
IllustrativeVAST 4.x, with wrappers and ad pods supported. The tracking event names are the standard set: impression, start, firstQuartile, midpoint, thirdQuartile, complete, error, clickTracking.
// dashboard export, CSV · sample data
dimension,impressions,revenue_usd,eCPM_usd,fill_rate
Display,251574000,612381.21,2.43,92.1%
Video,138964500,372663.14,2.68,90.2%
Native,137878800,172189.54,1.25,89.7%
30-day total,528417300,1157233.89,2.19,91.1%Sample dataThe CSV the dashboard exports: the metrics you switched on, one line per dimension member, plus a totals line.
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
Copied to the clipboard.
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.
| Situation | What happens | What the buyer sees |
|---|---|---|
| No bid | The seat declines this impression without offering one. | HTTP 204, no content, empty body. The auction continues without that seat. |
| Malformed request | A required field is missing or the body does not parse. | HTTP 400. The request needs correcting before it is sent again. |
| Timeout | The 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 error | The player cannot play the creative the tag returned. | The player fires the error tracking event and a wrapper chain stops at that hop. |
| Short pod | An 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.