With our new advanced ads you're able to place a different kind of ads on your website. For all our ads the main code is always the same. However there are a lot of configuration options to perfectly optimize the ad delivery for your website or project.

TOC:

  1. General
  2. Ad-Pool Rotation
  3. Single Advertiser 
  4. Different ad slots on the same page

1. General

For all advanced tags and all ad cases you will be able to set all the settings within the ad code or in our UI. The configuration in the ad code always overwrites the settings from the UI.

2. Ad-Pool Rotation

With our In addition to our performance optimized ad selection the ad-pool ... retargeting.

<script type="text/javascript" charset="utf-8" src="https://ad4m.at/abcd1234.js"></script>

<script type="text/javascript">
advancedStoreTag.config({
   config: 6
})
advancedStoreTag.dispatch('reach', {
   subId: "LOREM",
   width: 300,
   height: 250,
   target: "#ad-1"
})
</script>
<div id="ad-1"></div>

3. Single Advertiser 

If you like to decide your own which advertiser should be displayed you can do so by set the variable 'program' in the advanced tag config.

<script type="text/javascript" charset="utf-8" src="https://ad4m.at/abcd1234.js"></script>

<script type="text/javascript">
advancedStoreTag.config({
   program: 20535,
   displayType: "native"
})
advancedStoreTag.dispatch('reach', {
   subId: "LOREM",
   width: 300,
   height: 250,
   target: "#ad-1"
})
</script>
<div id="ad-1"></div>

For the complete list of all available advertiser please ask your key account or just submit a support request.

4. Different ad slots on the same page

If you like to place more then one advanced an on your page the code have to be changed slightly. For every additional ad slot an own .dispatch configuration is needed.

<script type="text/javascript" charset="utf-8" src="https://ad4m.at/abcd1234.js"></script>

<script>
advancedStoreTag.config({
   displayType: "native"
});
// Ad 1
advancedStoreTag.dispatch('reach', {
   program: 638,
   id: 333,
   width: 300,
   height: 150,
   target: "#promotion-1"
});
// Ad 2
advancedStoreTag.dispatch('reach', {
   program: 4038,
   id: 527,
   width: 300,
   height: 150,
   target: "#promotion-2"
});
</script>

<div id="promotion-1"></div>
... some page content ...
<div id="promotion-2"></div>


Explanation of all parameters

Name: program
Description: Add the program id of the program you want to be delivered. For the complete list of all available advertiser please ask your key account or just submit a support request.
Type: Integer
Example: 20763

- - - 

Name: subid
Description:
Type: String
Example: MYID2029_SUMMER_AW

- - - 

Name: width
Description:
Type: Integer
Example: 728

- - - 

Name: height
Description:
Type: Integer
Example: 90

Did this answer your question?