Help

AdTech advertising

To enable advertising on the application a couple of pre-requisites are needed, the following scripts must be included in the <head>.

These aren't included by default as not all applications will want to enable advertising.


Please note: example dummy content is added to this page for testing purposes.

<script src="https://aka-cdn.adtech.de/dt/common/DAC.js"></script>
<script src="{DESIGN_FRAMEWORK_URI}/scripts/adverts.js"></script>

Settings

A unique fixed ID is required, but can be anything.

There are 3 data components to a banner tag, the only required attribute is data-adtech-placement which is a placement ID that needs to be supplied from AdOps.

Targetting is performed via the data-adtech-values attribute, this is a JSON encoded object of Key Value pairs. Multiple terms can be passed by seperating values with a colon. Key length is limited to 20 characters.

Responsive banners are loaded independently and require different placement IDs. These can be supplied in a JSON encoded array using the attribute data-adtech-responsive The default placement ID and a single responsive placement ID can be shared. If responsive banners are enabled for a given slot, they take precidence and the default placement is generally ignored. The min and max values define the screen width that particular placement should be shown between.

Sample banner

<div id="my-placement-id"
  data-adtech-responsive="[{'id':'6250504','min':850,'max':959},{'id':'6250503','min':960,'max':9999}]"
  data-adtech-values="{'audience':'Learner','scheme':'Undergraduate:Postgraduate:Teacher Training'}"
  data-adtech-placement="6328253">
</div>

Dummy content

Aperiam beatae in praesentium ea ut. culpa nihil quibusdam consequatur id dolore sapiente nobis minima sit id. vero voluptatem deleniti magni quis quis consectetur officia dolor quidem qui. aperiam ipsum nostrum neque rerum. quis aut recusandae corrupti quam qui blanditiis quam quis. ut maiores accusamus quibusdam quasi quisquam iure voluptas est et repellendus sunt repellat quis

Et porro itaque officiis quo id eos qui saepe fugiat sunt et corporis quas. consequuntur rerum labore voluptas aut provident non est et dicta et voluptate. deserunt dolorem eos maiores quo dolores et atque. qui nobis beatae id beatae sed. magnam tempora itaque assumenda voluptatibus eum aut at quis laborum animi omnis. quas velit illo vitae necessitatibus vero nihil necessitatibus et necessitatibus