Skip to content

Instantly share code, notes, and snippets.

@senaev
Last active June 23, 2022 08:20
Show Gist options
  • Select an option

  • Save senaev/b511b85c9d5489dfe5705e0ea0bd3ff2 to your computer and use it in GitHub Desktop.

Select an option

Save senaev/b511b85c9d5489dfe5705e0ea0bd3ff2 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8" ?>
<VAST version="3.0">
<Ad id="a34sdf">
<InLine>
<AdSystem>Yabs Ad CPC Server</AdSystem>
<AdTitle>Interactive Direct In Video</AdTitle>
<Impression id="direct_impression_13"><![CDATA[${TRACKING_URL_PREFIX}?action-id=13]]></Impression>
<Error>
<![CDATA[
https://an.yandex.ru/jserr/3948?errmsg=auto-video-error
]]>
</Error>
<Creatives>
<Creative id="777">
<Linear skipoffset="00:00:05">
<Duration>00:00:15</Duration>
<TrackingEvents>
<Tracking event="start">
<![CDATA[${TRACKING_URL_PREFIX}?action-id=0]]>
</Tracking>
<Tracking event="firstQuartile">
<![CDATA[${TRACKING_URL_PREFIX}?action-id=1]]>
</Tracking>
<Tracking event="midpoint">
<![CDATA[${TRACKING_URL_PREFIX}?action-id=2]]>
</Tracking>
<Tracking event="thirdQuartile">
<![CDATA[${TRACKING_URL_PREFIX}?action-id=3]]>
</Tracking>
<Tracking event="complete">
<![CDATA[${TRACKING_URL_PREFIX}?action-id=4]]>
</Tracking>
<Tracking event="mute">
<![CDATA[${TRACKING_URL_PREFIX}?action-id=5]]>
</Tracking>
<Tracking event="unmute">
<![CDATA[${TRACKING_URL_PREFIX}?action-id=6]]>
</Tracking>
<Tracking event="pause">
<![CDATA[${TRACKING_URL_PREFIX}?action-id=7]]>
</Tracking>
<Tracking event="resume">
<![CDATA[${TRACKING_URL_PREFIX}?action-id=8]]>
</Tracking>
<Tracking event="skip">
<![CDATA[${TRACKING_URL_PREFIX}?action-id=9]]>
</Tracking>
</TrackingEvents>
<MediaFiles>
<!-- VPAID viewer -->
<MediaFile width="0" height="0" delivery="progressive" type="application/javascript"
apiFramework="VPAID">
<![CDATA[
https://yastatic.net/awaps-ad-sdk-js/1_0/interactive_viewer.js
]]>
</MediaFile>
</MediaFiles>
<AdParameters>
<![CDATA[
{
"HAS_BUTTON" : true,
"BUTTON_BORDER_COLOR" : "",
"HAS_DOMAIN" : false,
"HAS_TITLE" : false,
"HAS_BODY" : false,
"HAS_AGE" : false,
"theme" : "video-banner_motion",
"duration" : 15.0,
"mediaFiles" : [ ],
"socialAdvertising" : false,
"AUCTION_DC_PARAMS" : {
"data_params" : {
"misc" : {
"object_id" : "",
"target_url" : "",
"click_url" : {
"abuse" : "abuselink.com"
}
},
"offer123" : {
"object_id" : "offer123",
"target_url" : "https://flyfish24.ru/?utm_source=yandex\u0026utm_medium=cpc\u0026utm_campaign=rsq-nahlust\u0026utm_content=all-key\u0026utm_term={keyword}",
"image" : { },
"text" : {
"lang" : "ru",
"titleHyph" : "",
"bodyHyph" : "",
"domain" : "flyfish24.ru",
"punyDomain" : "flyfish24.ru",
"geoDistance" : "",
"geoDistanceRegular" : "",
"title" : "Школа нахлыста в Красноярске. Обучение и Консультации.",
"body" : "Профессиональный инструктор. Готовые комплекты для обучения. Совместные рыбалки.",
"age" : "",
"warning" : "",
"dynamic_disclaimer" : "",
"banner_flags" : "region_ru:1",
"region" : ""
},
"unmoderated" : {
"images" : [ [ "https://direct.yandex.ru/images//direct/5424235/SbnI5BoC7WsM_5_kMxSDZQ/wx1080", 1080, 607, {
"smart-centers" : [ {
"x" : 219,
"y" : 0,
"w" : 608,
"h" : 607,
"ratio" : "1:1"
}, {
"x" : 231,
"y" : 0,
"w" : 457,
"h" : 607,
"ratio" : "3:4"
}, {
"x" : 107,
"y" : 0,
"w" : 810,
"h" : 607,
"ratio" : "4:3"
}, {
"x" : 1,
"y" : 102,
"w" : 1079,
"h" : 338,
"ratio" : "16:5"
}, {
"x" : 0,
"y" : 0,
"w" : 1079,
"h" : 607,
"ratio" : "16:9"
}, {
"x" : 0,
"y" : 122,
"w" : 1079,
"h" : 373,
"ratio" : "26:9"
} ]
} ], [ "https://direct.yandex.ru/images//direct/5424235/SbnI5BoC7WsM_5_kMxSDZQ/wx600", 600, 337, {
"smart-centers" : [ {
"x" : 122,
"y" : 0,
"w" : 338,
"h" : 337,
"ratio" : "1:1"
}, {
"x" : 128,
"y" : 0,
"w" : 254,
"h" : 337,
"ratio" : "3:4"
}, {
"x" : 59,
"y" : 0,
"w" : 450,
"h" : 337,
"ratio" : "4:3"
}, {
"x" : 1,
"y" : 57,
"w" : 600,
"h" : 188,
"ratio" : "16:5"
}, {
"x" : 0,
"y" : 0,
"w" : 600,
"h" : 337,
"ratio" : "16:9"
}, {
"x" : 0,
"y" : 68,
"w" : 600,
"h" : 207,
"ratio" : "26:9"
} ]
} ], [ "https://direct.yandex.ru/images//direct/5424235/SbnI5BoC7WsM_5_kMxSDZQ/wy300", 533, 300, {
"smart-centers" : [ {
"x" : 108,
"y" : 0,
"w" : 300,
"h" : 300,
"ratio" : "1:1"
}, {
"x" : 114,
"y" : 0,
"w" : 225,
"h" : 300,
"ratio" : "3:4"
}, {
"x" : 53,
"y" : 0,
"w" : 400,
"h" : 300,
"ratio" : "4:3"
}, {
"x" : 0,
"y" : 50,
"w" : 533,
"h" : 167,
"ratio" : "16:5"
}, {
"x" : 0,
"y" : 0,
"w" : 533,
"h" : 300,
"ratio" : "16:9"
}, {
"x" : 0,
"y" : 60,
"w" : 533,
"h" : 184,
"ratio" : "26:9"
} ]
} ], [ "https://direct.yandex.ru/images//direct/5424235/SbnI5BoC7WsM_5_kMxSDZQ/wx300", 300, 169, {
"smart-centers" : [ {
"x" : 61,
"y" : 0,
"w" : 169,
"h" : 169,
"ratio" : "1:1"
}, {
"x" : 64,
"y" : 0,
"w" : 127,
"h" : 169,
"ratio" : "3:4"
}, {
"x" : 30,
"y" : 0,
"w" : 225,
"h" : 169,
"ratio" : "4:3"
}, {
"x" : 0,
"y" : 28,
"w" : 300,
"h" : 94,
"ratio" : "16:5"
}, {
"x" : 0,
"y" : 0,
"w" : 300,
"h" : 169,
"ratio" : "16:9"
}, {
"x" : 0,
"y" : 34,
"w" : 300,
"h" : 104,
"ratio" : "26:9"
} ]
} ], [ "https://direct.yandex.ru/images//direct/5424235/SbnI5BoC7WsM_5_kMxSDZQ/wy150", 267, 150, {
"smart-centers" : [ {
"x" : 54,
"y" : 0,
"w" : 150,
"h" : 150,
"ratio" : "1:1"
}, {
"x" : 57,
"y" : 0,
"w" : 113,
"h" : 150,
"ratio" : "3:4"
}, {
"x" : 26,
"y" : 0,
"w" : 200,
"h" : 150,
"ratio" : "4:3"
}, {
"x" : 0,
"y" : 25,
"w" : 267,
"h" : 83,
"ratio" : "16:5"
}, {
"x" : 0,
"y" : 0,
"w" : 267,
"h" : 150,
"ratio" : "16:9"
}, {
"x" : 0,
"y" : 30,
"w" : 267,
"h" : 92,
"ratio" : "26:9"
} ]
} ], [ "https://direct.yandex.ru/images//direct/5424235/SbnI5BoC7WsM_5_kMxSDZQ/wx150", 150, 84, {
"smart-centers" : [ {
"x" : 30,
"y" : 0,
"w" : 84,
"h" : 84,
"ratio" : "1:1"
}, {
"x" : 32,
"y" : 0,
"w" : 63,
"h" : 84,
"ratio" : "3:4"
}, {
"x" : 15,
"y" : 0,
"w" : 113,
"h" : 84,
"ratio" : "4:3"
}, {
"x" : 0,
"y" : 14,
"w" : 150,
"h" : 47,
"ratio" : "16:5"
}, {
"x" : 0,
"y" : 0,
"w" : 150,
"h" : 84,
"ratio" : "16:9"
}, {
"x" : 0,
"y" : 17,
"w" : 150,
"h" : 52,
"ratio" : "26:9"
} ]
} ] ],
"sitelinks" : [ "https://flyfish24.ru/#389650061", "https://flyfish24.ru/#402389915", "https://flyfish24.ru/#465753270", "https://flyfish24.ru/#676679" ]
},
"count" : "",
"click_url" : { }
}
}
},
"playbackParameters" : {
"showSkipButton" : true,
"skipDelay" : 5
},
"encounters" : [ "${TRACKING_URL_PREFIX}?action-id=14", "${AUCTION_IMPRESSION_URL}", "${AUCTION_VIEW_NOTICES}" ],
"trackingEvents" : {
"start" : [ "${TRACKING_URL_PREFIX}?action-id=11", "${AUCTION_RENDER_URL}" ],
"trueView" : [ "${TRACKING_URL_PREFIX}?action-id=19" ],
"returnAfterClickThrough" : [ "${AUCTION_VIEW_NOTICES}?test-tag=136" ],
"showHp" : [ "${TRACKING_URL_PREFIX}?action-id=21" ],
"clickHp" : [ "${TRACKING_URL_PREFIX}?action-id=22" ],
"adsFinish" : [ "${TRACKING_URL_PREFIX}?action-id=24" ]
},
"isStock" : false
}
]]>
</AdParameters>
</Linear>
<CreativeExtensions>
</CreativeExtensions>
</Creative>
</Creatives>
<Extensions>
<Extension type="controls">
<control id="adlabel" layout="1"/>
<control id="countdown" layout="1"/>
<control id="soundbtn" layout="0"/>
</Extension>
</Extensions>
</InLine>
</Ad>
</VAST>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment