Adsun

Telegram task ads

Task ads turn sponsored actions into in-app rewards. Adsun Task blocks give you a ready-made element, reward events and built-in checks for time away and cooldowns.

Telegram task ads checklist: join channel, open app and earn rewards
Telegram task ads checklist: join channel, open app and earn rewards

How Adsun Task blocks work

Load the SDK, place the adsun-task element with your block ID and listen for its reward event. The block enforces a minimum time away before a claim and a delay before the next task, using the values configured on your block.

<adsun-task data-block-id="YOUR_BLOCK_ID" data-debug="true">
  <span slot="reward">+100 coins</span>
</adsun-task>

For advertisers: task campaigns

Advertisers can reach Mini App users who actively choose to open a destination. See Telegram advertising campaigns.

Frequently asked questions

What are Telegram task ads?

Task ads ask the user to complete a sponsored action, such as opening an advertiser's Mini App or channel, in exchange for an in-app reward. They are common in Telegram tap games and reward-based apps.

How is a task ad different from a rewarded video?

A rewarded ad is watched inside your app. A task sends the user to an advertiser destination and checks time away before the reward can be claimed. In Adsun they are separate block types with separate events.

Which events does the adsun-task element emit?

Task blocks use reward, leave and return events. Do not reuse Reward controller event names such as onReward for a task placement.