Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
appnexus viewability wrapper
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><VAST version="3.0"><Ad id="117572431"><InLine><AdSystem>adnxs</AdSystem><AdTitle><![CDATA[AppNexus Viewability Wrapper]]></AdTitle><Error><![CDATA[https://ams1-ib.adnxs.com/vast_track/v2?info=YgAAAAMArgAFAQlDlrdbAAAAABFbKck0hyk5WRlDlrdbAAAAACDPhog4KAAwqR84qR9A7aUzSLeIkQFQyeqJBlgAYgJGUmgAcAB4AIABAIgBAJAB2ASYAWmgAQCoAc-GiDg.&s=2d5bd6514f976a2db50f848b736a678cc7635be7&event_type=4&test=1&error_code=[ERRORCODE]]]></Error><Impression id="adnxs"><![CDATA[https://ams1-ib.adnxs.com/it?e=wqT_3QLHAqBHAQAAAwDWAAUBCMOs3t0FENvSpKbzsMqcWRijyaKosJ7Wln8qNgkAAAkCABEJBwgAABkRCQAhEQkAKREJADERCfCxMMnqiQY4qR9AqR9IAFDPhog4WABgAGgAeACAAQCYAQGgAQGoAQGwAQC4AQPAAQPIAQDQAQDYAQDgAQHwAQDYAgDgAgCAAwGIAwGQAwCYAxegAwCqAwDAA5AcyAMA2AMA4AMA6AMA-AMAgAQAkgQGL3V0L3YzmAQAqAQAsgQRCAAQARjYBCBpKAEoAjAAOAO4BADABADIBADaBAIIAeAEAPAEAIgFAZgFAKAFAMAFAMkFAAW6FPA_0gUJCQULoAAAANgFAOAFAPAFAPoFBAgAEACQBgCYBgC4BgDBBgAAAAAAAAAAyAYA&s=faf2fcf028c9d5de90ad051610a8b806d213a911&test=1]]></Impression><Creatives><Creative id="17" adID="117572431"><Linear><Duration>00:00:15.000</Duration><TrackingEvents><Tracking event="start"><![CDATA[https://ams1-ib.adnxs.com/vast_track/v2?info=YgAAAAMArgAFAQlDlrdbAAAAABFbKck0hyk5WRlDlrdbAAAAACDPhog4KAAwqR84qR9A7aUzSLeIkQFQyeqJBlgAYgJGUmgAcAB4AIABAIgBAJAB2ASYAWmgAQCoAc-GiDg.&s=2d5bd6514f976a2db50f848b736a678cc7635be7&event_type=2&test=1]]></Tracking><Tracking event="skip"><![CDATA[https://ams1-ib.adnxs.com/vast_track/v2?info=YgAAAAMArgAFAQlDlrdbAAAAABFbKck0hyk5WRlDlrdbAAAAACDPhog4KAAwqR84qR9A7aUzSLeIkQFQyeqJBlgAYgJGUmgAcAB4AIABAIgBAJAB2ASYAWmgAQCoAc-GiDg.&s=2d5bd6514f976a2db50f848b736a678cc7635be7&event_type=3&test=1]]></Tracking><Tracking event="firstQuartile"><![CDATA[https://ams1-ib.adnxs.com/vast_track/v2?info=YgAAAAMArgAFAQlDlrdbAAAAABFbKck0hyk5WRlDlrdbAAAAACDPhog4KAAwqR84qR9A7aUzSLeIkQFQyeqJBlgAYgJGUmgAcAB4AIABAIgBAJAB2ASYAWmgAQCoAc-GiDg.&s=2d5bd6514f976a2db50f848b736a678cc7635be7&event_type=5&test=1]]></Tracking><Tracking event="midpoint"><![CDATA[https://ams1-ib.adnxs.com/vast_track/v2?info=YgAAAAMArgAFAQlDlrdbAAAAABFbKck0hyk5WRlDlrdbAAAAACDPhog4KAAwqR84qR9A7aUzSLeIkQFQyeqJBlgAYgJGUmgAcAB4AIABAIgBAJAB2ASYAWmgAQCoAc-GiDg.&s=2d5bd6514f976a2db50f848b736a678cc7635be7&event_type=6&test=1]]></Tracking><Tracking event="thirdQuartile"><![CDATA[https://ams1-ib.adnxs.com/vast_track/v2?info=YgAAAAMArgAFAQlDlrdbAAAAABFbKck0hyk5WRlDlrdbAAAAACDPhog4KAAwqR84qR9A7aUzSLeIkQFQyeqJBlgAYgJGUmgAcAB4AIABAIgBAJAB2ASYAWmgAQCoAc-GiDg.&s=2d5bd6514f976a2db50f848b736a678cc7635be7&event_type=7&test=1]]></Tracking><Tracking event="complete"><![CDATA[https://ams1-ib.adnxs.com/vast_track/v2?info=YgAAAAMArgAFAQlDlrdbAAAAABFbKck0hyk5WRlDlrdbAAAAACDPhog4KAAwqR84qR9A7aUzSLeIkQFQyeqJBlgAYgJGUmgAcAB4AIABAIgBAJAB2ASYAWmgAQCoAc-GiDg.&s=2d5bd6514f976a2db50f848b736a678cc7635be7&event_type=8&test=1]]></Tracking></TrackingEvents><AdParameters><![CDATA[{"ads":[{"content_source":"rtb","buyer_member_id":4009,"viewability":{"config":"tv=vh2-93&d=1x1&s=2376759&st=0&vctx=0&ts=1538758211&vc=iab;vid_ccr=1&vjs=https%3A%2F%2Fcdn.adnxs.com%2Fv%2Fvideo%2F143%2Ftrk.js&cb=https%3A%2F%2Fams1-ib.adnxs.com%2Fvevent%3Fe%3DwqT_3QLsBqBsAwAAAwDWAAUBCMOs3t0FENvSpKbzsMqcWRijyaKosJ7Wln8qNgkAAAkCABEJBwgAABkRCQAhEQkAKREJADERCfCxMMnqiQY4qR9AqR9IAFDPhog4WABgAGgAeACAAQCYAQGgAQGoAQGwAQC4AQPAAQPIAQDQAQDYAQDgAQHwAQDYAgDgAgCAAwGIAwGQAwCYAxegAwCqAwDAA5AcyAMA2AMA4AMA6AMA-AMAgAQAkgQGL3V0L3YzmAQAqAQAsgQRCAAQARjYBCBpKAEoAjAAOAO4BADABADIBADaBAIIAeAEAPAEAIgFAZgFAKAFAMAFAMkFAAW6FPA_0gUJCQUL8FAAAADYBQDgBQDqBSEKHGltYWdlX3RhZ3NfY2FtcGFpZ25fZXhjbHVkZWQSAS3qBRsKF2NvbnRleHRfY3VzdG9tX2NhdGVnb3J5EgDqBRgKE2MNHghzdWIVGgE5bBYKDmJyaWRnZV9zdXBwb3J0EgR0cnVl6gUSCgsJdiR3aWR0aBIDNjYyYosACGluYxmLCBMKDAk5aGhlaWdodBIDNDk36gUcChF0ZW1wbGF0ZV9jYQ2bNAdhcnRpY2xl6gUVChBjDaIVHgGfCBgKDRU3DHR5cGUdMxwJCgVzaXplcwHhCBQKDBE_DHNhZmURxLgOCgZtZW1iZXISBDQwMDnqBRcKEXB1Ymxpc2hlcl9jb3VudHJ5EgJ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lcl9jb3VudHJ5EgJFU-oFHwoPcBUaqHRva2VuEgwxOTExLTg4MTUtMDHqBTsKCHByb2R1Y3RzEi9JSUQsSUlWLEYFCEROLElJVCxGSVYsUElJRCxQUEkBCghWLFANE2xW6gUTCgphZ2dyZXNzaXZlEgVmYWxzZeoFLAoSHZAxF6gWYXJ0cy1hbmQtZW50ZXJ0YWlubWVudOoFGAoPeWllbGRfdGFyZ2V0aW5nDUp88AUA-gUECAAQAJAGAJgGALgGAMEGAAAAAAAAAADIBgA.%26s%3D512fb5bf4579d888907b32b08a60a2d6959e008a%26test%3D1&bridge=1.11.0&rblog=auc=6429215603731016027;sm=4009;cr=117572431;pl=12744009&vid_context=anoutstream;anbannerstream;anoverlayplayer"},"rtb":{"content_b64":"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9InllcyI_PjxWQVNUIHZlcnNpb249IjMuMCI-PEFkIGlkPSIxMTc1NzI0MzEiPjxXcmFwcGVyPjxBZFN5c3RlbSB2ZXJzaW9uPSIzLjAiPlNlZWR0YWc8L0FkU3lzdGVtPjxWQVNUQWRUYWdVUkk-PCFbQ0RBVEFbaHR0cHM6Ly9zLnNlZWR0YWcuY29tL2EvYWQ_YWR0YWdJZD01YmIyMGU2ZjYyNDJmYzAwNDBlNTcxZmQmY2xpY2s9aHR0cHMlM0ElMkYlMkZhbXMxLWliLmFkbnhzLmNvbSUyRmNsaWNrJTNGQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFGc3B5VFNIS1RsWm82UUlCZk5ZTFg5RGxyZGJBQUFBQUVsMXdnQ3BEd0FBcVE4QUFBQUFBQUJQQXdJSEFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQkF3TUFBQUFBQUFFQVRRc1JNUUFBQUFBLiUyRmJuJTNEMCUyRnRlc3QlM0QxJTJGY2xpY2tlbmMlM0QmcHQ9MTkxMS04ODE1LTAxJnJlZmVyZXJfdXJsX2VuYz0mZXh0ZXJuYWxfY3JlYXRpdmVfaWQ9MTE3NTcyNDMxJmV4dGVybmFsX2NhbXBhaWduX2lkPSR7Q1BfSUR9JmV4dGVybmFsX2FkdmVydGlzZXJfaWQ9JHtBRFZfSUR9JmV4dGVybmFsX3B1Ymxpc2hlcl9pZD04NDA0MjkmZXh0ZXJuYWxfc2l0ZV9pZD0yMzc2NzU5JmNiPTYwMDAxOTQxMyZ2YXN0PXRydWVdXT48L1ZBU1RBZFRhZ1VSST48SW1wcmVzc2lvbiBpZD0iYWRueHMiPjwhW0NEQVRBW2h0dHBzOi8vaWIuYWRueHMuY29tL25vcF1dPjwvSW1wcmVzc2lvbj48Q3JlYXRpdmVzPjxDcmVhdGl2ZSBpZD0iNDYyMzQ3MCIgYWRJRD0iMTE3NTcyNDMxIj48TGluZWFyPjwvTGluZWFyPjwvQ3JlYXRpdmU-PC9DcmVhdGl2ZXM-PC9XcmFwcGVyPjwvQWQ-PC9WQVNUPg.."}}]}]]></AdParameters><VideoClicks><ClickTracking id="adnxs"><![CDATA[https://ams1-ib.adnxs.com/click?AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFspyTSHKTlZo6QIBfNYLX9DlrdbAAAAAEl1wgCpDwAAqQ8AAAAAAABPAwIHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAwMAAAAAAAEATQsRMQAAAAA./bn=0/test=1/]]></ClickTracking></VideoClicks><MediaFiles><MediaFile id="16" delivery="progressive" type="application/javascript" width="640" height="360" scalable="true" maintainAspectRatio="true" apiFramework="VPAID"><![CDATA[https://acdn.adnxs.com/vx/static/w/anwrapper-1.587.0.js]]></MediaFile></MediaFiles></Linear></Creative></Creatives></InLine></Ad></VAST>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.