Skip to main content

Rewarded Video Ad Format

  • Ads that provide in-app rewards (currency, features, content, etc.) in exchange for watching.
  • Since users watch in exchange for rewards, video ads cannot be skipped and typically run for 30 seconds.
Rv Example Image Pn

How It Works

Rv Example Gif Gi

Creating Instance and Setting Callbacks

Create a DaroRewardedAd instance and set up callbacks.

Reward Callback

The onEarnedReward callback is triggered when the user watches the ad to completion and earns a reward. You can access the reward details through DaroRewardItem.

Loading Ads

Call load() to load an ad.

Setting Custom Data

Use setCustomData() to set custom data to be included in S2S (Server-to-Server) reward callbacks. This must be set before calling show().

Showing Ads

Check if the ad is ready with isReady(), then display it with show().

Releasing Resources

Call dispose() to release resources when done.

Implementation Example