ES5 Publisher Mode Demo: news

This page contains the complete ad configuration


🔧 Integration

This code should be placed in the head of your page


<link rel="preconnect" href="https://securepubads.g.doubleclick.net" crossorigin="anonymous">
<link rel="preconnect" href="[[domain]]" crossorigin="anonymous">
<!-- sourcepoint CMP (required) -->
<script>
  !function () { var e = function () { var e, t = "__tcfapiLocator", a = [], n = window; for (; n;) { try { if (n.frames[t]) { e = n; break } } catch (e) { } if (n === window.top) break; n = n.parent } e || (!function e() { var a = n.document, r = !!n.frames[t]; if (!r) if (a.body) { var i = a.createElement("iframe"); i.style.cssText = "display:none", i.name = t, a.body.appendChild(i) } else setTimeout(e, 5); return !r }(), n.__tcfapi = function () { for (var e, t = arguments.length, n = new Array(t), r = 0; r < t; r++)n[r] = arguments[r]; if (!n.length) return a; if ("setGdprApplies" === n[0]) n.length > 3 && 2 === parseInt(n[1], 10) && "boolean" == typeof n[3] && (e = n[3], "function" == typeof n[2] && n[2]("set", !0)); else if ("ping" === n[0]) { var i = { gdprApplies: e, cmpLoaded: !1, cmpStatus: "stub" }; "function" == typeof n[2] && n[2](i) } else a.push(n) }, n.addEventListener("message", (function (e) { var t = "string" == typeof e.data, a = {}; try { a = t ? JSON.parse(e.data) : e.data } catch (e) { } var n = a.__tcfapiCall; n && window.__tcfapi(n.command, n.version, (function (a, r) { var i = { __tcfapiReturn: { returnValue: a, success: r, callId: n.callId } }; t && (i = JSON.stringify(i)), e.source.postMessage(i, "*") }), n.parameter) }), !1)) }; "undefined" != typeof module ? module.exports = e : e() }();
</script>
<script>
window._sp_ = {
    config: {
        accountId: 270,
        baseEndpoint: 'https://cdn.privacy-mgmt.com'
    }
}
</script>
<script async src="https://cdn.privacy-mgmt.com/wrapperMessagingWithoutDetection.js"></script>

<!-- your ad tag -->
<script async nomodule src="[[domain]]moli_es5_39cd1814d1c1b4b8a9c1.min.js"></script>

You can find more information about the configuration of the tag in our Api Docs.

Privacy Manager

🔮 Moli Console

You can get more details by opening the moli console.

Or if you are developer type this into the javascript console

moli.openConsole()

🚧 Ad Slots

news_mobile_stickyad

<div id="news_mobile_stickyad"></div>

news_content1

<div id="news_content1"></div>

news_content2

<div id="news_content2"></div>

news_content3

<div id="news_content3"></div>

news_header

<div id="news_header"></div>

news_sitebar_right

<div id="news_sitebar_right"></div>

news_sitebar_left

<div id="news_sitebar_left"></div>

news_sitebar_marginal

<div id="news_sitebar_marginal"></div>

news_floorad

<div id="news_floorad"></div>

news_wallpaper_pixel

<div id="news_wallpaper_pixel"></div>