Technical Integration Guide
Learn how to integrate Augemobi's ad units into your website or app, and set up conversion tracking.
These are company reference examples. Before implementation, ask the team for the tag issued to your approved placement, the correct tracking parameters, and the applicable integration environment. The example zone and click values below are placeholders, not account credentials or evidence of live delivery.
Updated
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>
Adapt the placement example
- Replace
12345with the zone ID supplied for your property. Update the element ID,zoneId, andcontainertogether so the queued request points to the intended element. - Keep the placement container in the page before the tag runs. Each additional placement needs its own container ID. Follow the issued tag's loading instructions to avoid installing the same loader repeatedly.
- Check the available width on mobile and desktop, placement visibility, and layout movement. Keep ad placement separate from navigation and controls to avoid accidental clicks.
- Confirm the consent conditions for loading advertising code. Review browser console and network errors in an agreed test environment before enabling an approved production placement.
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.
Preserve the click identifier
A tracking macro is a placeholder replaced with a value when the relevant system generates the request. The existing examples use {click_id} in a traffic link and {CLICK_ID} in a postback template. Macro names and case belong to the system expanding the template; do not assume the two spellings are interchangeable. Confirm the mapping with Augemobi and your tracker.
For a landing page you control, a link template can carry the identifier in a query parameter:
https://example.com/landing?click_id={click_id}
The landing page must retain the expanded identifier through the conversion flow and return that same value in the agreed postback. For illustration only, a populated parameter pair might look like:
click_id=example_click_001 payout=2.50
example_click_001 and 2.50 are synthetic examples. Confirm the required amount, currency, event definition, and supported parameters for your account. Encode query values, never pass a literal unresolved macro as an identifier, and do not put names, email addresses, or other customer details into the click ID.
Agree on how duplicate events and retries are handled before enabling callbacks. Use the team's approved test workflow to check identifier continuity and acceptance; opening a reference URL or receiving an HTTP response alone does not demonstrate that a conversion was recorded.
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
Use the zone supplied for your approved video placement, and confirm the player's support for the issued VAST response. Check player dimensions, mobile playback, autoplay or user-initiated behavior, sound controls, and error reporting. Test impressions and click behavior using the approved workflow; do not generate live conversions merely to check the tag.
4. Integration Handoff and Review
- Provide the website or app, intended placements, format, device coverage, and consent flow when requesting the issued integration instructions.
- For measurement, agree on the event name, click-ID source, attribution window, timezone, currency, and reconciliation owner. Avoid treating a network total as the expected result for an individual placement or campaign.
- Record the approved tag or tracker configuration version and the result of the agreed test workflow. Remove temporary diagnostics and confirm the production configuration before launch.
- If a check fails, share the placement ID, approximate time and timezone, device, and error message with the team. Share sensitive identifiers only through the agreed support channel.
See the measurement guide for reporting definitions, reporting-difference checks, and Contact for an integration enquiry.