0

任何人都可以帮助我测量启用了 omsdk 的应用程序的可见度。我试图找到任何示例代码,但到处都是关于集成 OMSDK,但我找不到如何接收这些信号。我了解 OMID API 可以将信号发送给验证提供商,但我如何编写脚本以便接收信号

下面是我使用的广阔

<?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>
4

0 回答 0