A guide on setting up your single panel widgets to render within IAB's recommended dimensions
Publishers now have the option for their 1x1 widget(s) to automatically render within the Interactive Advertising Bureau's (IAB) fixed ad unit sizing recommendations by adding the attribute "data-banner-size" to their widget's div. For example, if we wanted our widget to render within a 300x250 container, we'd add the following bold portion to our widget's code:
<div id="<INSERT_DIV_ID>"
data-rc-widget
data-widget-host="habitat"
data-endpoint="//trends.revcontent.com"
data-widget-id="<INSERT_WIDGET_ID>"
data-banner-size="300x250"></div>
<script type="text/javascript"
src="https://assets.revcontent.com/master/delivery.js" defer="defer"></script>
The widget would then automatically render in the following fixed 300x250 format:

The following sizes are supported:
- 120x600 - 160x600 - 240x400 - 250x250 - 250x300 |
- 300x50 |
- 320x250 |
- 720x300 |