Technical Integration Guide

Learn how to integrate Augemobi's ad units into your website or app, and set up conversion tracking.

1. JavaScript Tag Integration

The easiest way to display ads is using our async JS tag. Place the following code in the <body> where you want the ad to appear:

<div id="auge-ad-zone-12345"></div>
<script>
  (function(w,d,s,l,i){
    w[l]=w[l]||[];w[l].push({'zoneId': 12345, 'container': 'auge-ad-zone-12345'});
    var f=d.getElementsByTagName(s)[0],j=d.createElement(s);j.async=true;
    j.src='https://cdn.augemobi.com/sdk/ads.js';f.parentNode.insertBefore(j,f);
  })(window,document,'script','augeAds');
</script>

2. Server-to-Server (S2S) Postback

To track conversions (e.g., app installs, signups), you need to set up a Global Postback URL. This allows your tracker (e.g., AppsFlyer) to notify Augemobi when a conversion occurs.

Your Postback URL Format:

https://track.augemobi.com/conversion?click_id={CLICK_ID}&payout={PAYOUT}

Ensure you pass the {click_id} macro in your tracking link when buying traffic.

3. VAST Video Integration

For video players, we provide a standard VAST 4.0 tag:

https://ads.augemobi.com/vast?zone_id=12345&width=640&height=360