Support for interstitial ads is enabled with the addition of two fields to the OpenRTB request: device.ext.prebid.interstitial.minwidthperc
and device.ext.interstial.minheightperc
The values will be numbers that indicate the minimum allowed
size for the ad, as a percentage of the base side. For example, a width of 600 and “minwidthperc”: 60
would allow ads with widths from 360 to 600 pixels inclusive.
Example:
{
"imp": [{
...
"banner": {
"format": [
{"w":1, "h":1}
],
...
}
"instl": 1,
...
}]
"device": {
...
"h": 640,
"w": 320,
"ext": {
"prebid": {
"interstitial": {
"minwidthperc": 60,
"minheightperc": 60
}
}
}
}
}
Upon receiving a request for an interstitial impression (instl:1
) and these parameters set, PBS will rewrite the
format
object within the interstitial imp object.
format
array’s first object is a size, PBS will take it as the max size for the interstitial.format
is 1x1, it will use the device’s size as the max size.format
is not present, PBS will also use the device size as the max size.minwidthperc
and minheightperc
parameters are passed to bidder adapters, so if desired, they may use their own size matching algorithms.