1. Help Center
  2. Publishers
  3. Widget Settings & Options

Applying Fixed IAB Sizes to Widgets

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>"
<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
- 300x250
- 300x600
- 300x1050
- 320x50

- 320x250
- 320x480
- 336x280
- 640x1136
- 728x90

- 720x300
- 750x1334
- 970x90
- 970x250
- 970x550
- 1080x1920