frag-mutti - ad tag test page

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://consent.testedich.de/wrapperMessagingWithoutDetection.js"></script>
<!-- google ad manager tag (required) -->
<script async="async" src="https://securepubads.g.doubleclick.net/tag/js/gpt.js"></script>

<!-- your ad tag -->
<script async="async" src="{{domain}}moli_35a472eb90c5c2c3637c.js"></script>

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

🧾 Sourcepoint CMP

Basic setup documentation

Footer link for the privacy modal

TCF 2 and german law require the privacy settings to be accessible at all times. A clean way to do this is to add a link into the footer that opens the privacy manager.

Privacy Settings

<a href="#" onclick="window._sp_.loadPrivacyManagerModal(178329);">Privatsphäre></a> 

Privacy Page

Additionally to sourcepoint scripts integrated in the head of your page, place this button on your privacy page to open the privacy manager

<button type="button" onclick="window._sp_.loadPrivacyManagerModal(178329);">Datenschutz Einstellungen öffnen></button>

🔮 Moli Console

You can get more details by opening the moli console.

enable ad tag console logs enable prebid console logs enable test mode enable fm_push key-value

Or if you are developer type this into the javascript console

moli.openConsole()

Ad Slots

gf-mobile-presenter (fm_mobile_presenter)


gf-sky (fm_sidebar)


gf-sticky-bottom (fm_mobile_stickyad)


gf-superbanner (fm_header)


gf-right-column (fm_maginal)


gf-in-tip (fm_tip1)


gf-in-tip2 (fm_tip2)


gf-comments-1 (fm_comments1)


gf-comments-2 (fm_comments2)


gf-comments-3 (fm_comments3)


gf-topic-1 (fm_topic1)


gf-topic-2 (fm_topic2)


gf-topic-3 (fm_topic3)


gf-topic-4 (fm_topic4)


gf-tiplist-1 (fm_tiplist1)


gf-tiplist-2 (fm_tiplist2)


gf-outstream-tip (fm_tip_outstream)


gf-outstream-topic (fm_topic_outstream)


gf-accordion-sky


gf-below-image


fm_floorad

This ad is only activated if the ShowFloorAd label is present. The label is being added if the mobile_nl_form cookie is present.

You can force a test ad by opening this page http://pre.ads.justpremium.com/?test=pu which sets a short time cooke that forces a just premium response.