Rewarded videos

Rewarded video ads are a great way to offer users an incentive to stay engaged in your website or mobile app, while earning more ad revenue. The reward generally comes in the form of access to premium content (publisher exclusive articles, in-game currency, game power-ups, etc) and is distributed to the user after a successful video completion.

Smart AdServer’s video solution officially supports rewarded videos for Web, web mobile and mobile Apps. We give you the flexibility to work with these popular formats to boost the revenue from your premium content, by simply disabling the close option in any of our video templates. Keep in mind that all the reward logic remains under the publisher's control, as our templates will only notify the website or app of the completed playback event.

We recommend placing rewarded video ads where your users are already engaging with in-app purchases or in locations where users may be seeking premium content, such as in the summary of an article to access the full content. Once your users have finished watching the video ad, you can designate the reward they will receive.

Getting started

To deliver rewarded video ads campaigns properly, you'll have to follow these two steps:

  1. Add a rewarded video ad insertion in your network, through our Manage interface.
  2. Make sure you have integrated the expected reward behaviour on your Web site or mobile App.

1. Video insertion setup

The first step to run a rewarded video campaign will be the insertion's setup in your network. For a detailed step by step explanation on how to create an insertion, please check this guide.
When creating your insertion, remember to choose a Video out-stream insertion type for Web or web mobile content, and a Mobile insertion type for mobile Apps.

After you set up the general settings and placement, you'll reach the Creatives section. Select your desired Video template from our library, as shown below.

video template selection

Next, upload your video creative file or VAST tag, and disable the close/skip button option.

The following images show examples for the "Smart Video-Interstitial for Mobile" (1) and "Smart Video-Interstitial SDK Publisher" (2) templates. We are updating our video solution so please check your chosen template's specification for details regarding which parameter you need to use to deactivate the close/skip button.

interstitial mobile
interstitial sdk

Recommended templates

Here's a list of recommended templates that can be used for Rewarded Video Ads:

Web:

Mobile Web:

Mobile Apps:

2. Web site integration

To finish the integration of a rewarded video ad, you'll need to prepare the publisher's Web site to handle the sasVideoEnd event that our template will fire to the site when the video ad ends playing.
As stated, the reward logic is under the publisher's control, so your code should listen to that event and execute the desired reward action at the end of the video playback.

Find below a simple JavaScript example:

    window.addEventListener('sasVideoEnd', 
    function (e) { 
        // your reward logic 
    });
  

2. Mobile App integration (SDK)

To finish the integration of a rewarded video ad, you'll need to prepare the Mobile App to handle the SASAdView event when the video ad ends playing.
As stated, the reward logic is under the publisher's control, so your code should listen to that event and execute the desired reward action at the end of the video playback.

Note: Before integrating rewarded video ads in your mobile app, you’ll need to go through the steps in our Mobile SDK documentation to properly integrate Smart AdServer's Android/iOS SDK into your project.

Android

For Android, to implement the reward logic you should use the onVideoEvent method from the SASAdView.OnVideoEventListener interface.

Find below a code snippet on how to handle the callback on Android when the video playback has been completed, allowing you to activate the ad reward:

    // Called by the SASAdView (being listened to) when its state has changed.
public void onVideoEvent (int videoEvent) {
  if (videoEvent == OnVideoEventListener.VIDEO_COMPLETE) {
     // your reward logic
  }
}
  

iOS

For iOS, to implement the reward logic you should use the didSendVideoEvent method from the SASAdViewDelegate protocol.

Find below a code snippet on how to handle the callback on iOS when the video playback has been completed, allowing you to activate the ad reward:

    // Notifies the delegate that a video event has been generated by the ad view
- (void)adView:(nonnull SASAdView *)adView didSendVideoEvent:(SASVideoEvent)videoEvent {
   // check the event is SASVideoEventComplete  
   // your reward logic
}
  
Was this article helpful?
0 out of 0 found this helpful
Powered by Zendesk