Display Format Characteristics
Display formats in AdCP include:- Hosted Images - Static image files (JPG, PNG, WebP, GIF)
- HTML5 Creatives - Multi-asset interactive banners
- Third-Party Tags - JavaScript or HTML tags served by external ad servers
- Responsive Formats - Adapt to multiple sizes
- Rich Media - Expandable and interactive formats
Standard IAB Display Formats
Medium Rectangle (300x250)
Leaderboard (728x90)
Wide Skyscraper (160x600)
Billboard (970x250)
Mobile Banner (320x50)
Mobile Interstitial (320x480)
Creative Manifests
Simple Image Banner Manifest
Animated GIF Manifest
HTML Display Formats with Execution Context
HTML display creatives run as executable code, not static media. Different publisher environments have different execution constraints - some allow full DOM access, others run in SafeFrame containers with restricted JavaScript capabilities. AdCP defines explicit HTML asset requirements that specify the execution environment the HTML must be compatible with:sandbox: Execution environment (none,iframe,safeframe,fencedframe)external_resources_allowed: Whether the creative can load external scripts, images, or fontsallowed_external_domains: Permitted domains for external resources (when allowed)max_file_size_kb: Maximum file size for the HTML asset
SafeFrame-Compatible HTML Banner
SafeFrame is an IAB standard that provides secure isolation between ad creatives and publisher pages. SafeFrame-compatible creatives cannot usedocument.write(), must use SafeFrame expansion APIs, and cannot make arbitrary cross-origin requests.
Native DOM HTML Banner
Some publishers allow full DOM access for trusted creatives. These formats can use standard JavaScript APIs and load external resources.Fenced Frame HTML Banner (Privacy Sandbox)
Chrome’s Privacy Sandbox introduces Fenced Frames for privacy-preserving ad rendering. These have the most restrictive execution environment.Third-Party Tag Formats
JavaScript Tag Format
HTML Tag Format
HTML5 Multi-Asset Formats
HTML5 formats specify multiple assets that the publisher’s ad server assembles into an interactive creative.HTML5 Banner Format
Responsive Display Formats
Responsive formats adapt to multiple sizes based on placement context.Responsive Banner Format
Rich Media Formats
Expandable Banner Format
Display-Specific Macros
In addition to universal macros, display formats support:Placement Context
{PLACEMENT_ID}- IAB Global Placement ID{FOLD_POSITION}- above_fold, below_fold{AD_WIDTH}/{AD_HEIGHT}- Ad slot dimensions in pixels
Web Context
{DOMAIN}- Publisher domain (e.g., “nytimes.com”){PAGE_URL}- Full page URL (URL-encoded){REFERRER}- HTTP referrer URL{KEYWORDS}- Page keywords (comma-separated)
Device Context
{DEVICE_TYPE}- mobile, tablet, desktop{OS}- iOS, Android, Windows, macOS{USER_AGENT}- Full user agent string
Common File Specifications
Image Requirements
- File types: JPG, PNG, WebP, GIF
- Max file sizes:
- Standard banners: 150-200KB
- Large formats (970x250): 300KB
- Animated GIFs: 500KB
- HTML5 initial load: 200KB
Third-Party Tag Requirements
- HTTPS required: All tag URLs must use secure protocol
- Max file size: 200KB for tag content
- Async loading: Tags should not block page rendering
Animation Specifications
For animated GIF formats:animated: trueanimation_duration_ms: Duration in milliseconds- Common durations: 15000ms (15 seconds)
Related Documentation
- Universal Macros - Complete macro reference
- Creative Manifests - Manifest structure and validation
- Asset Types - Image, HTML, and JavaScript asset specifications