HOW IT WORKS
Rewarded Video That Actually Works
One SDK. Three lines of code. Zero backend changes. Here's exactly how AppLixir works from integration to revenue.
The Complete Flow In Five Steps
Here's the high-level overview of how AppLixir works from integration to payout:
Stage 1: You Copy our One Line JS script
One script tag, three lines of code, done in under an hour.
Stage 2: User triggers reward opportunity
They click your button to unlock content, or access features.
Stage 3: AppLixir serves premium video ad
We handle bidding, consent, delivery, and playback
Stage 4: User watches, you get paid
30-second video completes, revenue credited to your account
Stage 5: User gets reward, continues using your platform
Seamless return to their session, happy user
That's it. No complex auth flows, no backend integration, no payment processing nightmares.
Three Steps To Live Integration
We're not exaggerating when we say integration is simple. Here's the actual implementation:
STEP 1: Add The SDK
Add one script tag to your HTML:
<div id="some-id"></div> // This is where the player will be loaded
STEP 2: Initialize AppLixir
Initialize with your zone ID (you get this from your dashboard):
<script
type="text/javascript"
src="https://cdn.applixir.com/applixir.app.v6.0.1.js"
></script>
STEP 3: Show An Ad
Call showAd() when user triggers the reward opportunity:
<script type="text/javascript">
const options = {
apiKey: "xxxx-xxxx-xxxx-xxxx", // Replace with your actual API key
injectionElementId: "some-id" // This is the ID of the div from step 2.
adStatusCallbackFn: (status) => { // This is how you can listen for ad statuses (more in Step 4)
console.log("OUTSIDE Ad status: ", status);
},
adErrorCallbackFn: (error) => { // This is how you can listen for errors (more in Step 4)
console.log("Error: ", error.getError().data);
},
};
document.getElementById("start").addEventListener("click", () => { // Or use any other event to trigger the player
initializeAndOpenPlayer(options);
});
</script>
What Happens When You Call showAd()
In the 2-3 seconds between calling showAd() and the video playing, AppLixir handles a lot of complexity you don't want to deal with:
Real-Time Bidding
We ping 31+ demand-side platforms (DSPs) simultaneously. Google AdX, Meta, Magnite, Xandr, and 27 others compete in real-time for this impression. Highest bid wins. This happens in ~200ms.
Geographic Optimization
We detect user location and serve the highest CPM ad for that geography. US user? Premium ad with $10-15 CPM. Brazil? Best available ad for that market. You get maximum revenue automatically.
Consent Management
If user is in EU/California, we check GDPR/CCPA consent status. If not collected yet, we show TCF 2.2 compliant consent UI. Once collected, we pass consent strings to all ad partners. All of this is automatic—zero work for you.
Ad Delivery
We stream the video in the optimal format for user's device and connection. Adaptive bitrate ensures smooth playback even on slower connections. Video player handles skip prevention, volume controls, and completion tracking.
Completion Verification
We verify the user actually watched the full video (or reached the skip threshold). Anti-fraud systems detect bots and invalid traffic. Only verified completions trigger your onComplete callback and earn revenue.
Revenue Attribution
We credit your account, update your dashboard in real-time, handle currency conversion, process payments NET-60, and provide detailed reporting. You just watch the revenue roll in.
All of this complexity—bidding, consent, delivery, verification, payment—is invisible to you. It just works.
You Control The Experience, We Handle The Infrastructure
AppLixir is flexible. You decide how rewarded video fits into your platform. Here's what you control vs what we handle:
YOU CONTROL:
-
When ads appear — On level complete, article gate, feature unlock, or any moment you choose
-
Reward value — Set rewards that match your economy or content value
-
UI and messaging — Your button design, your copy, your branding
-
Frequency caps — Limit how often users can watch (hourly, daily, per session)
-
User targeting — Show to specific segments, geographies, or user types
WE HANDLE:
-
Ad quality and demand — Premium advertisers, brand-safe content, high CPMs
-
GDPR/CCPA consent — TCF 2.2 compliant UI, consent storage, signal propagation
-
Fill rate optimization — Real-time bidding, geographic optimization, demand balancing
-
Payment processing — Revenue tracking, currency conversion, NET-30 payouts
-
Fraud detection — Bot filtering, invalid traffic detection, completion verification
-
Infrastructure — CDN delivery, 99.9% uptime, global edge network
You get full creative control over the user experience. We handle all the technical complexity and operational headaches.
How It Works For Your Platform Type
The implementation adapts to different platform types. Here's how the same SDK works across different use cases:
Game Implementation
// Player loses in your game
function onPlayerDeath() {
showContinueScreen();
if (userClicksWatchAd) {
AppLixir.showAd({
onComplete: () => {
player.lives += 3;
resumeGame();
},
onFail: () => {
showGameOver();
}
});
}
}
Content Implementation
// User hits paywall
function onPaywallReached() {
if (!isSubscriber) {
showChoice(['Subscribe', 'Watch Ad']);
if (userChoosesAd) {
AppLixir.showAd({
onComplete: () => {
unlockArticle();
trackEngagement('rewarded_unlock');
}
});
}
}
}
Creator Tool Implementation
// User clicks premium filter
function onPremiumFeatureClick(feature) {
if (!hasProAccess) {
showPrompt('Upgrade OR Watch ad for 24hr access');
if (userChoosesAd) {
AppLixir.showAd({
onComplete: () => {
unlockFeature(feature, '24hours');
showNotification('Pro features unlocked!');
}
});
}
}
}
Same SDK, same three-line pattern, works for any reward type. The flexibility is built-in.
Enterprise-Grade Infrastructure
We run this at scale. Here's the technical architecture that ensures reliability:
Global CDN Delivery
SDK and video assets served from edge locations worldwide. <100ms latency anywhere. Users in Tokyo get the same fast experience as users in New York.
99.9% Uptime SLA
Redundant infrastructure across multiple regions. Real-time monitoring. Automatic failover. We process 100M+ monthly impressions with contractual uptime guarantees.
Graceful Degradation
If no ad is available (rare, but happens), your onFail callback fires. You handle it however makes sense for your UX. No frozen screens, no broken experiences.
Async Loading
SDK loads asynchronously. Won't block your page render. Won't slow down your app. Zero impact on Core Web Vitals or load performance.
Mobile & Network Optimization
Works on 3G networks. Adaptive bitrate streaming. Optimized for mobile browsers. Handles poor connections gracefully without timeouts.
Cross-Browser Compatibility
Chrome, Safari, Firefox, Edge. Desktop and mobile. WebGL, HTML5, Unity, Cocos, Phaser. We've tested everything. It just works.
This is production-ready infrastructure processing millions of ads daily. You get enterprise reliability without enterprise complexity.
Sign Up to AppLixir
Join creator and learning platforms generating $0.50-$2 per free user per month while increasing Pro conversions through feature trials.