Skip to end of banner
Go to start of banner

Custom Slot Tab

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 8 Current »

Custom Slot scripts are scripts that will be shown in ATF Ad Slots, which are Custom format:

Custom Slot.jpg

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.

  1. 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:

  1. 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.

  2. 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>

  • No labels