Banner Object¶
Note
Fields marked with an asterisk (*) are optional.
Value |
Type |
Description |
---|---|---|
id* |
string |
Unique identifier for this banner object. Recommended when Banner objects
are used with a Video object to represent an array of companion
ads. Values usually start at |
vcm* |
integer |
Relevant only for Banner objects used with a Video object in an
array of companion ads. Indicates the companion banner rendering mode relative
to the associated video, where |
w |
integer |
Width of the impression in pixels, for example, |
h |
integer |
Height of the impression in pixels, for example |
battr* |
array of integers |
Blocked creative attributes as defined in the OpenRTB protocol,
for example, |
btype* |
array of integers |
Blocked banner ad types as defined in the OpenRTB protocol, for example,
|
pos* |
integer |
Ad Position as defined in the OpenRTB protocol, for example, |
topframe* |
integer |
Indicates if the banner is in the top frame as opposed to an iframe.
|
mimes* |
array of strings |
Specifies the content MIME types supported, common MIME types include
|
expdir* |
array of integers |
Possible expansion directions for an expandable ad, for example,
If the field is not present, expandable creatives are not allowed. |
format* |
array or objects |
An array of format objects, see Format Object, denoting the
alternative sizes that may be used for bidding. If one of the alternative
ad sizes is used in the bid response, then the
|
api* |
array of integers |
List of supported API frameworks for this impression as defined
in the OpenRTB, for example |
ext* |
object |
Banner extension object |
Banner Ext Object¶
Value |
Type |
Description |
---|---|---|
rewarded* |
integer |
Indicates whether the ad is being rendered as part of a rewarded / incentivised user experience, where:
|
Banner JSON Example¶
{
"banner":{
"id":"abc123",
"w":300,
"h":250,
"pos":1,
"topframe":0,
"btype":[
2,
3
],
"mimes":[
"text/html",
"application/x-shockwave-flash"
],
"format":[
{
"h":50,
"w":300
}
],
"ext":{
"rewarded": 1
}
}
}