Follow

Advanced Usage- Showing Rewarded Video Ads

View original article on our GitHub

Rewarded Ads are interstitial video ads that provide a reward to the user in exchange for watching an entire video ad. The reward might be in-app goods, virtual currency or any premium content provided by the application. Because users actually opt-in to watch a rewarded video and are granted with something valuable in return, Rewarded Ads are an effective and clean monetization solution for stronger user retention and keeping users engaged in your application for a longer amount of time.

IMPORTANT
1. Rewarded Video Ads are supported from API level 16 and above
2. Please make sure to update your manifest file with the "FullScreenActivity" as describedhere

In order to show a Rewarded Ad, pass the following AdMode parameter when calling the loadAd()method:

startAppAd.loadAd(AdMode.REWARDED_VIDEO);

Implement the following listener in order to get a callback when the user completes watching the video and is eligible for getting the reward:

startAppAd.setVideoListener(new VideoListener() {
     @Override
     public void onVideoCompleted() {
          // Grant user with the reward
     }
});
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

  • Avatar
    Nidian Nur Cahyo

    How to check if reward video has fully loaded/cache and ready to show up?

  • Avatar
    Nicky N

    do i have to place the URL?