Open Measurement
OpenMeasurement SDK is an open-source solution for measuring ad impressions in the digital advertising industry. It provides a standardized way for ad verification companies and advertisers to collect, transmit, and receive impression data from digital ads. The SDK helps to ensure accurate measurement of ad impressions and supports viewability, verification, and fraud detection efforts.
Vast tag must have the <verification> element for the open measurement plugin to function.
Open Measurement Plugin is enabled by default.
Plugin Name: OpenMeasurementPlugin
Plugin Config Name: om
Configuration
Attribute | Type | Optional | Description |
---|---|---|---|
disabled | boolean | true | Disable the open measurement SDK (Defaults to false) |
import React, { useRef } from "react";
import { LuraPlayer, LuraPlayerProps } from "lura-react-native-core";
export default function MySampleComponent() {
const playerRef = useRef<LuraPlayer>(null);
const config = {
token:
"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ2aWQiOiI0MzY2NjIzIiwiaXNzIjoiM1FMWjdaV0JsRko1Vk16Y2pyczJPbTd3VTdEanIzNFkifQ.CruM1W3gIEyQTBTqfaY5gTdf7b_2SSNg4gj6JGOj4Mg",
plugins: {
...
om: {
disabled: false,
},
...
},
};
return (
<View>
<LuraPlayer ref={playerRef} config={config} />
</View>
);
}