JavaScript (web / webview / CTV)
OM SDK JS is the implementation shared by web, in-app WebView and Connected TV (CTV) scenarios, and it produces two UMD binaries: omid-session-client-v1.js, which ad SDKs bundle into the ad HTML at build time, and omid-verification-client-v1.js, which measurement vendors bundle into their verification scripts at build time. Current library version 1.6.10.
- ·Public classes and methods (from the official JSDoc)
- ·The two binaries and the three consumption patterns (CommonJS / Closure / global)
Open this chapter→iOS / tvOS
OM SDK iOS exposes the interface as Objective-C classes prefixed with the Open Measurement Interface Definition (OMID) acronym: OMIDSDK handles activation and status queries, OMIDAdSession is constructed from OMIDAdSessionConfiguration and OMIDAdSessionContext, OMIDScriptInjector injects the session client into a WebView, and OMIDJavaScriptSessionService hosts the service side of JS sessions. The friendly obstruction registration API exists only on the native side.
- ·Public class and enum listing
- ·How session configuration and session context are split
Open this chapter→Android
OM SDK Android exposes the interface through the com.iab.omid.library packages: Omid.activate performs initialisation, AdSession is constructed from AdSessionConfiguration and AdSessionContext, VerificationScriptResource offers factory methods with and without parameters, and ad events and media events live under the adsession and adsession.media packages respectively.
- ·Public class listing grouped by package
- ·Initialisation and activation order
Open this chapter→CTV (Tizen / webOS / Fire TV)
plannedThe Open Measurement Interface Definition (OMID) implementation for the Connected TV (CTV) scenario: 1.4 added CTV events, 1.5 added Samsung Tizen and LG webOS support along with a CTV reference app, and 1.6 added device attestation for Fire TV and Apple devices. CTV support is extended inside the JS implementation, with the device class declared by the DeviceCategory enum.
- ·How the CTV scenario differs from mobile
- ·Support starting points for Tizen / webOS / Fire TV
Open this chapter→