Following this guide step by step, you can set a Rewarded Popup Tag to display the ads inside your Telegram Mini App.
If you haven't got a Monetag account, feel free to create it according to this manual.
Step 2: Add your App to the Self-Service Platform
2.1. Go to the «Telegram Mini Apps» Tab in your Monetag account.
2.2. Fill in general information about your Telegram App: set up its name by providing the link to your application. After filling in the info, click the "Add and Continue" Button.
Alternatively, you can click "+Create new" in the upper right corner of your Monetag dashboard.
Then select "Telegram Mini App" and click "Add new app" button.
Please be sure that the content of your Telegram Mini App does not violate Monetag Terms.
Important Note:
Please ensure you have preliminarily created a Telegram bot (via @BotFather) and the Mini App itself. Also, to work with Monetag, you should have some experience using JavaScript to manage your Telegram Mini App.
Step 3: Create an Ad Tag in the Monetag dashboard
3.1. Click on the "< > Get SDK" button to create all the format's tags inside the dashboard.
All the tags will appear in your dashbord immediately.
Step 4: Add an Ad Tag to your app
4.1. Click on the "Get instrustions" link on the Monetag Dashboard.
4.2. Copy the JS code of the Tag from the window that appeared.
4.3. To connect your Mini App to the Monetag, place the copied script below the <head> tag of your Mini App's source code.
4.4. Copy the Rewarded Popup Tag from the dashboard
Step 5: Make a Rewarded Popup Tag work inside the Telegram Mini App
It is possible to maximize the profit from the Rewarded Interstitial tag by adding the Rewarded Popup tag. To do this, you may add the Rewarded Popup to your Telegram Mini App. The Telegram Mini app will show the Rewarded Interstitial and also open the Rewarded Popup in a new tab immediately.
It is recommended that this be used in conjunction with the Preload method. You can use the POP method for this purpose. Example:
show_XXX('preload').then(() => { // Ad is ready show_XXX('pop') // Open browser with an ad }).catch((error) => { // Failed to preload ad })
Also, you may set the Rewarded Popup separately without a Rewarded Interstitial Tag. You can insert the Ad tag after the <head> tag in your Telegram Mini App.
Add the command for the button inside the Telegram Mini App, and the Popunder Ad will appear.
For example:
<button onclick="show_XXXXXX('pop')">Watchads</button>