How to Integrate the GigaPub Ad SDK in 5 Minutes
GigaPub is the ad network and ad-mediation layer for Telegram Mini Apps — and you do not need a complex build pipeline to start earning. Here is the fastest path from zero to your first ad impression.
1. Add the loader script
Drop the SDK loader into your app's HTML. It exposes a global GigaPub object.
<script src="https://ad.gigapub.tech/loader.js" data-app-id="YOUR_APP_ID"></script>
2. Show an ad
Call show() at a natural moment — for example, when the player asks for a bonus. It returns
a promise that resolves when the mediated ad finishes.
try {
await window.GigaPub.show()
grantReward()
} catch (e) {
// No ad available or the user closed it early — continue gracefully
}
3. Verify
Open your app, trigger the ad, and check the publisher dashboard — the impression appears in real time. That's it.
Next steps
- Add rewarded and interstitial placements at the right moments
- Let the ad mediation optimise fill rate and CPM across networks
- Enable offerwalls and smart links for extra revenue
Register and grab your app id for the Telegram Mini App ad network at giga.pub.
