Documentation
Integrate ads into your Telegram Mini App
How Ad Tracking Works
How your ad views turn into earnings.
Every approved Mini App is connected to its own ad placement inside SW AdFlow. That's why your code contains your App ID.
- Every ad view through your code is counted for your app only.
- Never copy another publisher's code — earnings follow the App ID in the code, not the person who installed it.
- If you have several Mini Apps, each one has its own App ID and its own code.
- If your app is paused or not approved,
showAdFlow()returns an error instead of showing ads, so your Mini App keeps working.
Where do earnings come from?
Our advertising partners report how many ads were shown and how much they paid. Our team verifies these reports, then your share is added to your balance. Numbers you might count yourself (button taps, page views) are not used for payment.
Still stuck? Our team is happy to help.
Contact Support