Dieses statische Codebeispiel zeigt, wie ein Publisher-Tag mit
window.drastikAdConfig + loader.js grundsätzlich aussieht.
Der Beispielcode wird auf dieser Seite nicht ausgeführt –
er dient ausschließlich der Dokumentation.
<script>
window.drastikAdConfig = {
containerId: 'your-ad-slot-id',
hostOrigin: 'https://your-delivery-domain.example',
campaignPath: '/{customer-slug}/{campaign}/{channel}/{locale}/{version}/',
width: 320,
height: 480,
trackingEndpoint: 'https://your-tracking-domain.example/track',
clickUrl: 'https://your-landingpage.example',
clickMacro: '%%CLICK_URL_UNESC%%',
adServer: 'your_ad_server_label'
};
</script>
<script src="https://your-delivery-domain.example/loader.js" async></script>
<div id="your-ad-slot-id"></div>