ATF Manager - Ad Integration

 

How to integrate ad slots on a web page


Search Documentation:

Search


Overview of the minimum setup to get ads

Three needed steps to get ads.

(1) We need the data layer information in the <head> of the page

Example:
<script type="text/javascript"> window.dataLayer = window.dataLayer || []; dataLayer.push({ 'atf-contentType': 'channel' }); dataLayer.push({ 'atf-channel': 'section_name' }) </script>

Note: contentType is predefined only mentioned values in the Ad Slot guideline are permitted. The channel can define by the publisher and should reflect the top navigation of your web page.     

(2) The ATF-Manager script as first* element in the body

*In compliance with our data privacy and legal department.

(3) And an ad slot with the needed attributes id, atf-format, atf-formatSize

Example:
<atf-ad-slot id=”my_site_ad_slot_2” atf-format=”content” atf-formatSize=”1000x250”> </atf-ad-slot>


Footer (outdated!)

Please integrate the footer as last element in the <body> on all pages. This Ad Slot is used for overlay creatives.

Example:
<atf-ad-slot id="my_uniqu_slot_ID" atf-format="footer" atf-formatSize="4x4" atf-formatNote="special"> </atf-ad-slot>

Helpful

To test your integration, please add ?atf_url_targeting&atf=previewDisplay to your URL to trigger test creatives.

Example:

https://www.mypage.de?atf_url_targeting&atf=previewDisplay

(Optional) Advertising free integration (Data Collection only)

The ATF Manager can also be integrated without serving advertisement. This is especially relevant for ad free articles or websites that aren’t monetised. In that case it’s still beneficial to integrate ATF Manager so that user engagement data can be collected to enrich BCN’s user targeting segments in the DMP.

For the ad free integration please integrate the ATF Manager as follows:

 


Recently Updated: