Ad Tags

From LoopMe Wiki
Jump to: navigation, search

LoopMe’s HTML ad tags can be served directly via 3rd party ad servers. Please find certified 3rd party ad servers below.

  • DFP
  • Mopub
  • AdTech
  • OpenX

An appkey is required to use the LoopMe ad tags. The app key uniquely identifies your app to the LoopMe ad network. (Example app key: fdd9a9d3c.) To get an appkey contact your LoopMe account manager.

DFP

To integrate LoopMe ad spots via DFP please read the instructions.

Mopub

LoopMe ad tags can be served via the Mopub tool for IOS and Android apps using the Mopub SDK and mobile web inventory.

The following ad formats are supported:

  • "Phone Full Screen"
  • "Phone Full Screen Video"
  • "Tablet Full Screen"
  • "Tablet Full Screen Video"
  • "300x250 (MRect)"
  • "728x90 Tablet Leaderboard"


Ad tag for "Phone and Table Fullscreen"

<script src="mraid.js"></script>
<div id="LOOPME_widget"></div>
<script id="LOOPME_script" src="https://m.loopme.me/lm.single.js"
    data-app-key="xxxxxxxxx"
    data-cookie="%eudid!"
    data-clickurl="%%CLICK_URL_UNESC%%"
    data-device-id="%eudid!"
    data-fail="mopub">
</script>


Ad tag for "Phone and Tablet Fullscreen Video"

<script src="mraid.js"></script>
<div id="LOOPME_widget"></div>
<script id="LOOPME_script" src="https://m.loopme.me/lm.video.js"
    data-app-key="xxxxxxxxx"
    data-cookie="%eudid!"
    data-clickurl="%%CLICK_URL_UNESC%%"
    data-device-id="%eudid!"
    data-fail="mopub">
</script>


Ad tag for "300x250 (MPU)

<script src="mraid.js"></script>
<div id="LOOPME_widget"></div>
<script id="LOOPME_script" src="https://m.loopme.me/lm.mpu.js"
    data-app-key="xxxxxxxxx"
    data-cookie="%eudid!"
    data-clickurl="%%CLICK_URL_UNESC%%"
    data-device-id="%eudid!"
    data-fail="mopub">
</script> 


Ad tag for "728x90 Tablet Leaderboard"

<script src="mraid.js"></script>
<div id="LOOPME_widget"></div>
<script id="LOOPME_script" src="https://m.loopme.me/lm.leaderboard.js"
    data-app-key="xxxxxxxxx"
    data-cookie="%eudid!"
    data-clickurl="%%CLICK_URL_UNESC%%"
    data-fail="mopub"
    data-device-id="%eudid!">
</script> 


Failover

The LoopMe in-app ad tag supports failover, which means in case of no ads to display the ad tag will automatically tell the Mopub server to switch to another configured ad network.

The LoopMe in-app ad tag supports the following Mopub features:

  • Click tracking
  • Failover (i.e. triggering of mopub://failload)


The LoopMe ad tag will failover in case:

  • No ads available
  • All ads are frequency capped for the unique user
  • LoopMe ad server not responding


AdTech

The following ad formats are supported:

  • "300x250 (MRect)"
  • "Phone Full Screen"
  • "Tablet Full Screen"
  • "320x50 Banner"
  • "728x90 Tablet Leaderboard"


Ad tag for "Phone & Tablet Fullscreen"

<div id="LOOPME_widget"></div>
<script id="LOOPME_script" src="https://m.loopme.me/lm.single.js"
    data-app-key="xxxxxxxxx"
    data-clickurl="_ADCLICK_">
</script>


Ad tag for "300x250 (MPU)

<div id="LOOPME_widget"></div>
<script id="LOOPME_script" src="https://m.loopme.me/lm.mpu.js"
    data-app-key="xxxxxxxxx"
    data-clickurl="_ADCLICK_">
</script> 


Ad tag for "320x50 Banner"

<div id="LOOPME_widget"></div>
<script id="LOOPME_script" src="https://m.loopme.me/lm.banner.js"
    data-app-key="xxxxxxxxx"
    data-clickurl="_ADCLICK_">
</script> 


At tag for "728x90 Tablet Leaderboard"

<div id="LOOPME_widget"></div>
<script id="LOOPME_script" src="https://m.loopme.me/lm.leaderboard.js"
    data-app-key="xxxxxxxxx"
    data-clickurl="_ADCLICK_">
</script> 


OpenX

The following ad formats are supported:

  • "300x250 (MRect)"
  • "Phone Full Screen"
  • "Tablet Full Screen"
  • "320x50 Banner"
  • "728x90 Tablet Leaderboard"


Ad tag for "Phone & Tablet Fullscreen"

<div id="LOOPME_widget"></div>
<script id="LOOPME_script" src="https://m.loopme.me/lm.single.js"
    data-app-key="xxxxxxxxx"
    data-clickurl="{clickurl}">
</script>


Ad tag for "300x250 (MPU)

<div id="LOOPME_widget"></div>
<script id="LOOPME_script" src="https://m.loopme.me/lm.mpu.js"
    data-app-key="xxxxxxxxx"
    data-clickurl="{clickurl}">
</script> 


Ad tag for "320x50 Banner"

<div id="LOOPME_widget"></div>
<script id="LOOPME_script" src="https://m.loopme.me/lm.banner.js"
    data-app-key="xxxxxxxxx"
    data-clickurl="{clickurl}">
</script> 


Ad tag for "728x90 Tablet Leaderboard"

<div id="LOOPME_widget"></div>
<script id="LOOPME_script" src="https://m.loopme.me/lm.leaderboard.js"
    data-app-key="xxxxxxxxx"
    data-clickurl="{clickurl}">
</script>