'Viewability Measurement by OMSDK
Can anyone help me with measuring viewability from apps which have omsdk enabled. I have tried to find any sample code but everywhere it is about integrating OMSDK but i couldn't find how to receive those signals. I understand OMID API can send the signals to verification provider but how do i write the script so that i can receive the signal
below is the vast that i use
<?xml version="1.0" encoding="UTF-8"?>
<VAST version="2.0">
<Ad id="23020">
<InLine>
<AdSystem>Adsystem</AdSystem>
<AdTitle>AD NAME</AdTitle>
<Error><![CDATA[http://localhost/eventtype=error&error_code=[ERRORCODE]]]></Error>
<Creatives>
<Creative AdID="23020">
<Linear>
<Duration>00:00:15</Duration>
<MediaFiles>
<MediaFile delivery="progressive" type="video/mp4" bitrate="500" width="480" height="320" scalable="true" maintainAspectRatio="true"><![CDATA[http://localhost/1792cd4bbb73f40f72a2f96f3c57ee2f.mp4]]></MediaFile>
</MediaFiles>
</Linear>
</Creative>
</Creatives>
<Extensions>
<Extension type="AdVerifications">
<AdVerifications>
<Verification vendor="somecompany.in-omid">
<JavaScriptResource apiFramework="omid" browserOptional="true"><![CDATA[http://localhost/dsp/view.js]]></JavaScriptResource>
<VerificationParameters><![CDATA[{\"tracking_configuration\":\"test\"}]]></VerificationParameters>
<TrackingEvents>
<Tracking event="verificationNotExecuted"><![CDATA[http://localhost?eventtype=notexecuted&reason=[REASON]]]></Tracking>
</TrackingEvents>
</Verification>
</AdVerifications>
</Extension>
</Extensions>
</InLine>
</Ad>
</VAST>
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
