Custom Slot scripts are scripts that will be shown in ATF Ad Slots, which are Custom format:
The slot ID must be the same as on the ad-slot on the page (see below).
<atf-ad-slot id="new_custom_script" atf-customSlot=”adtech_outstream_custom” atf-format="custom"></atf-ad-slot>
e.g.
Custom slot ID: ID which will be passed in ad slot definition, so that ATF SDK knows which script to include
<atf-ad-slot id="custom-slot-outstream-1" atf-customSlot="adtech_outstream_custom" atf-format="custom"></atf-ad-slot>
e.g. outstream-integration on our food-sites:
Use User consent: when you switch on the toggle then a field opens in which the Vendor ID for the corresponding service provider must be entered. If you only give partial consent on the first page call, the script is no longer written to the page.
Script input: enter the script here, e.g. outstream-direct-integration via Vlyby
<script type='text/javascript'> (function () { if(typeof window.vlybyRunning === "undefined") { var s = document.createElement('script'); s.setAttribute('type', 'text/javascript'); s.setAttribute('async', 'true'); s.setAttribute('src', '//cdn.vlyby.com/qad/qad-outer2.js'); s.setAttribute('data-PubId', '00ufrdho60fMP3nQO0h7'); s.setAttribute('data-PlacementId', 'custom'); s.setAttribute('data-DivId', 'vlyby-custom'); window.top.document.head.appendChild(s); } })(); </script> <div id="vlyby-custom"></div>