$20.5M Series A led by Theory Ventures. Read more →

All changelog

Responsive JavaScript SDK Sizing Guide

You can size one JavaScript ad slot for every screen with new guidance for adapting dimensions to a container or device.

  • Container measurement - Read the rendered slot width and pass it as maxWidth for a layout-aware request

  • Mobile and desktop rules - Set tighter mobile bounds while leaving larger screens unbounded

  • Safer measurements - Avoid zero-height slots, respect the 240 × 72 minimum, and keep resize events from triggering request loops

Read the JavaScript SDK sizing guide.