<script async src="https://ad.mail.ru/static/ads-async.js"></script>
<ins class="mrg-tag" style="display:inline-block;width:300px;height:250px" data-ad-client="ad-917436" data-ad-slot="917436"></ins>
<script>(MRGtag = window.MRGtag || []).push({})</script>
<script async src="https://ad.mail.ru/static/vk-adman.js?slot=11133888&container=.main-content"></script>
<script async src="https://ad.mail.ru/static/vk-adman.js?slot=11133888"></script>
<div id="adman-ads"></div>
<script type="text/javascript">
(function (a, b, c, d, e, f, g, h) {
g = b.createElement(c);
g.src = d;
g.async = !0;
h = b.getElementsByTagName(c)[0];
h.parentNode.insertBefore(g, h);
const func = function () {
this.push(Array.prototype.slice.apply(arguments));
}
for (let i = f.length; i--;)
a[e[i]] = func.bind(a[f[i]] = []);
}) (window, document, "script", "https://ad.mail.ru/static/vk-adman.js", ["AdManPlayer", "AdManSDK"], ["_AdManPlayerInit", "_AdManSDKInit"]);
</script>
<script>
AdManPlayer({
container: 'main-content', // player container css selector (mandatory)
slot: 11133888,
onError: () => {
// collback when an error occurs (optional)
}
})
</script>
<script>
AdManPlayer({
container: '.post_text', // css-selector for article content (required)
slot: '[Individual site slot]',
debug: true,
visit: {
[...sample response]
},
onError: () => {
// callback on error occurrence (optional)
}
})
</script>
AdManPlayer({
container:'.post',
slot: '690',
onError: (e) => {
console.log('AdMan error:', e)
},
onReady: () => {
console.log('AdMan ready')
},
onClicked: () => {
console.log('AdMan clicked')
},
onCompleted: () => {
console.log('AdMan completed')
},
})