Start with OptiViewAds, then choose the session configuration for your content.
Subscribe with OptiViewAds.addEventListener; use typed payloads to keep your UI in sync.
Connect your content player through PlayerAdapter, or provide a custom ad-player factory.
Model break schedules, ad layouts, assets, targeting, and delivery rules.
Intercept manifest requests and responses, and customize ad requests with asset-parameter macros.
The API reference for the OptiView Ads Web SDK version 1.0.0-beta.4.
The OptiView Ads SDK for web integrates ad playback with your video player. Use it to configure Server-Guided Ad Insertion (SGAI) or Server-Side Ad Insertion (SSAI), manage monetization sessions, respond to playback events, and troubleshoot your integration.
This API reference documents the SDK's classes, configuration options, events, and data types. Import them from
@dolby-optiview/ads-sdk.Getting started
Browse by topic