Appearance
OpenRTB Multi-Format Guide
Overview
In OpenRTB, a single Imp object (BidRequest.imp[]) can contain multiple format objects simultaneously—such as both banner and video (or native)—to represent a multi-format impression opportunity.
A multi-format imp indicates that the ad placement is capable of rendering any of the specified creative formats, allowing all eligible formats to compete in a single unified auction:
- For Supply Partners (SSPs / Publishers): Increases auction density, fill rate, and yield on flexible placements (e.g., fullscreen interstitial or rewarded placements that accept both HTML/MRAID display and VAST video ads) without sending duplicate bid requests per format.
- For Demand Partners (DSPs): Reduces duplicate QPS and bandwidth overhead while giving bidders flexibility to bid with their highest-performing format for the user and placement.
Bid Request Specification
Multi-Format Imp Structure
When an impression supports multiple formats, OperaAds populates two or more format sub-objects under the same imp element:
| Field | Type | Description |
|---|---|---|
imp.id | string | Unique identifier of the impression opportunity within the bid request. |
imp.banner | object | Banner object describing display/HTML/MRAID requirements, present if banner is accepted. |
imp.video | object | Video object describing VAST video requirements, present if video is accepted. |
imp.native | object | Native object describing native asset requirements, present if native is accepted. |
imp.audio | object | Audio object describing audio requirements, present if audio is accepted. |
Impression-Level vs. Format-Level Attributes
- Impression-level fields (
id,tagid,instl,rwdd,bidfloor,bidfloorcur,secure,exp,displaymanager,displaymanagerver, etc.) apply to the impression opportunity as a whole, regardless of which format wins. - Format-level fields (
w,h,format,mimes,protocols,minduration,maxduration,api,battr,pos, etc.) are scoped inside each format object (imp.banner,imp.video,imp.native) and define the technical constraints specific to that creative format.
Bid Response Handling
When responding to a multi-format imp, a bidder selects the format it intends to serve for that impression and returns a Bid object (seatbid[].bid[]) referencing imp.id via bid.impid.
Creative Markup & Format Identification
The creative returned in bid.adm must conform to the specification and constraints of the chosen format object in the request:
| Chosen Format | Corresponding Request Object | Expected bid.adm Payload | bid.mtype |
|---|---|---|---|
| Banner | imp.banner | HTML / JavaScript / MRAID ad snippet | 1 |
| Video | imp.video | VAST XML document | 2 |
| Audio | imp.audio | DAAST / VAST audio XML document | 3 |
| Native | imp.native | OpenRTB Native response JSON string | 4 |
bid.mtype(integer, OpenRTB 2.6): Explicitly indicates the creative media type of the bid (1= Banner,2= Video,3= Audio,4= Native). OperaAds populatesbid.mtypein outbound bid responses to supply partners and recommends DSPs includebid.mtypewhen bidding on multi-format impressions. Ifbid.mtypeis omitted by a DSP, OperaAds infers the format frombid.adm.- All creative attributes (
w,h,mimes,attr,api,protocol, etc.) on theBidobject must satisfy the constraints declared in the corresponding format object (imp.banner,imp.video, orimp.native), andbid.pricemust meet or exceedimp.bidfloor.
Sample Bid Request
The following example shows a multi-format OpenRTB bid request for a fullscreen rewarded placement (instl: 1, rwdd: 1) where imp[0] offers both banner and video formats:
json
{
"id": "929445fb-02ed-4d81-b66c-752ec3283662",
"at": 1,
"tmax": 500,
"app": {
"name": "Snipers Duel",
"ver": "1.10.0",
"bundle": "com.AndreiGushchin.NoCoverClashSnipersDuel",
"cat": [
"IAB9-30"
],
"id": "e98a547d64da18810f1d94f2c11ff5d0",
"publisher": {
"id": "842af0f98ced43638c9bfa1e8293f364",
"name": "VOODOO"
},
"content": {},
"storeurl": "https://play.google.com/store/apps/details?id=com.AndreiGushchin.NoCoverClashSnipersDuel"
},
"device": {
"ifa": "xxx",
"ip": "127.0.0.1",
"carrier": "dtacbettertogether",
"language": "en",
"hwv": "Infinix-X6840B",
"ppi": 280,
"pxratio": 1.75,
"devicetype": 4,
"connectiontype": 6,
"js": 1,
"h": 1576,
"w": 720,
"geo": {
"type": 2,
"ipservice": 3,
"city": "Bangkok",
"country": "THA",
"region": "10",
"zip": "10160"
},
"ext": {},
"osv": "16.0.0",
"ua": "Mozilla/5.0 (Linux; Android 16; Infinix X6840B Build/BP2A.250605.031.A3; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/157.0.8103.50 Mobile Safari/537.36",
"make": "INFINIX",
"model": "Infinix X6840B",
"os": "Android",
"dnt": 0,
"lmt": 0,
"mccmnc": "520-05"
},
"imp": [
{
"id": "1",
"displaymanager": "example",
"displaymanagerver": "1.0.0",
"instl": 1,
"secure": 1,
"tagid": "xxx",
"bidfloor": 0.01,
"bidfloorcur": "USD",
"exp": 14400,
"banner": {
"id": "1",
"w": 320,
"h": 480,
"btype": [
1,
4
],
"battr": [
1,
2,
5,
8,
9,
14,
17
],
"pos": 7,
"format": [
{
"w": 320,
"h": 480
}
],
"api": [
3,
5,
6,
7
]
},
"video": {
"w": 320,
"h": 480,
"battr": [
1,
2,
5,
8,
9,
14,
17,
16
],
"mimes": [
"video/mp4",
"video/3gpp",
"video/3gpp2",
"video/x-m4v"
],
"placement": 5,
"pos": 7,
"minduration": 5,
"maxduration": 30,
"skipafter": 5,
"skipmin": 0,
"startdelay": 0,
"playbackmethod": [
1
],
"linearity": 1,
"api": [
3,
5,
6,
7
],
"companiontype": [
1,
2,
3
],
"protocols": [
2,
3,
4,
5,
6,
7
],
"plcmt": 3
},
"rwdd": 1
}
],
"user": {
"ext": {
"gdpr": 0
},
"id": "xxx"
},
"regs": {
"coppa": 0,
"ext": {
"ccpa": 0,
"us_privacy": "1---",
"gdpr": 0
}
},
"source": {
"ext": {
"schain": {
"ver": "1.0",
"complete": 1,
"nodes": [
{
"asi": "example.com",
"sid": "xxx",
"rid": "xxx",
"hp": 1
}
]
}
}
}
}