Publishers · Ad formats

Rewarded video

Full-screen, non-skippable ad. The user watches until the end and earns an in-app reward.

AdYour brand00:09
Video · 6–15 s

Your headline

Short description of the offer.

Go!

Adsun – ads in Telegram

What your user sees

A full-screen video with a thin progress line on top, an “Ad” tag, the advertiser name, a timer and a big button.

  • Cannot be skipped — the close ✕ appears after the timer (15 s or video length).
  • Timer pauses when the app goes to the background.
  • After the video an end card with image, title and description appears.

When to use it

  • “Watch an ad to get +100 coins”
  • “Watch an ad for 2× speed for 10 minutes”
  • “Continue the game — watch an ad”
  • Missing a few coins? Let the user fill the gap with an ad.

TIP

Always let the user choose to watch. A button with the reward written on it (“▶ +100 coins”) gets the best results.

Code

const AdController = window.Adsun.init({ blockId: "50001" });

button.addEventListener("click", () => {
  AdController.show()
    .then((result) => {
      // result.done === true → user watched till the end
      // Show "Reward received!" — the real reward comes from your Reward URL
    })
    .catch((result) => {
      // result.done === false → skipped, no ad, or error
      // result.description tells you why
    });
});

Listen to events (optional)

AdController.addEventListener("onReward", () => refreshBalance());
AdController.addEventListener("onBannerNotFound", () => showToast("No ads right now, try later"));

Full list in the API reference.

Give rewards from the server

Use the Reward URL for anything valuable. .then() is great for UI, but it runs in the user's browser.

Still stuck? Write to support@adsun.io or our Telegram support — we answer fast.