Ad Integration #
Monetag SDK Overview #
Monetag provides a single, unified SDK that supports all available ad formats for Telegram Mini Apps: Rewarded Interstitial, Rewarded Popup, and In-App Interstitial. This makes integration easy and efficient, regardless of which format you choose.
Key Benefits #
- One SDK file for all ad formats
- Easy integration with minimal setup
- Fully compatible with Telegram WebView (Android and iOS)
- Supports both automatic and manual ad triggering
- Designed to maintain a smooth user experience
How the SDK Works #
The Monetag SDK handles everything needed to display ads and track performance. Once integrated into your Mini App, it can:
- Show ads automatically or on user actions
- Load full-screen or popup ads depending on context
- Trigger optional reward logic for the user
- Automatically close or dismiss ads after completion
You can decide when and how to show ads in your app — for example, after a user completes a task, reaches a new level, or spends a certain amount of time inside the app.
Integration Overview #
To integrate Monetag SDK into your Telegram Mini App, you only need to:
- Add the provided SDK script to your HTML
- Choose whether to trigger ads manually or use automatic display logic
- Call simple functions in your app where you want the ads to appear
The SDK is lightweight and does not require backend integration or complex configuration.
Developer-Friendly Setup #
- No need to manage multiple scripts or ad tags
- Works with all modern front-end frameworks (including vanilla JS, React, and Vue)
- Supports common use cases like reward delivery, session timers, and screen transitions
Detailed integration examples and code samples are available in the following sections for each ad format.