AdTech Integration Guides

AdTech Integration Guides

  • App (SDK)
  • App (Somquery)
  • Desktop
  • CTV

›Display Ads

Getting Started

  • Somtag Introduction

Setup

  • Somtag Integration
  • Callback Function
  • Bookmarklets
  • Debugging

Display Ads

  • Retrieve Display Ads
  • Displaying / Styling Ad Slots
  • Reload Display Ads
  • Display Example
  • Ad Slot and Ad Product Overview

Video Ads

  • Retrieve VAST URLs
  • Video Example

FAQ

  • FAQ

Reload Display Ads

In some cases you want to reload the display ads. For example if you host a single-page website, or if the user views one page for a longer time while reading an article. Somtag gives you the control to either reload all display slots or just to reload one specific slot.

Example reloading all the display slots:

<script>
    somtag.cmd("reloadDisplaySlots");
</script>

Example reloading specific display slots:

<script>
    somtag.cmd("reloadDisplaySlots", ["fullbanner2", "rectangle1"]);
</script>

Please note: If you reload the display slots by interval with the help of a script, please keep in mind, that the slot will only be reloaded if the slot is currently visible. If the user for example browses in another tab, somtag will postpone the reload until your page is visible again.

← Displaying / Styling Ad SlotsDisplay Example →
AdTech Integration Guides
Guides
AppDesktopCTV
More
GitHub
Contact

SevenOne Media GmbH
Medienallee 4
85774 Unterföhring

71.adtechnology@gmail.com
SevenOne Media - Wir bewegen Marken
Copyright © 2023 SevenOne Media GmbH