Packagecom.distriqt.extension.adverts.rewardedinterstitial
Interfacepublic interface RewardedInterstitialAd extends flash.events.IEventDispatcher

Represents a Rewarded Interstitial Ad



Public Methods
 MethodDefined By
  
destroy():void
Destroy the ad.
RewardedInterstitialAd
  
getAdUnitId():String
Returns the ad unit ID.
RewardedInterstitialAd
  
isLoaded():Boolean
Indicates the rewarded video ad has been loaded and is ready to be displayed.
RewardedInterstitialAd
  
load(request:AdRequest):void
Starts a load request for a rewarded video ad.
RewardedInterstitialAd
  
setAdUnitId(adUnitId:String):void
Sets the ad unit ID.
RewardedInterstitialAd
  
Sets ServerSideVerificationOptions for this rewarded ad.
RewardedInterstitialAd
  
show():Boolean
Displays the loaded rewarded video ad.
RewardedInterstitialAd
Events
 Event Summary Defined By
   Dispatched when the full screen content ad was dismissed (closed) RewardedInterstitialAd
   Dispatched when there was an error attempting to show the full screen content ad RewardedInterstitialAd
   Dispatched when a full screen content ad is shown RewardedInterstitialAd
   Dispatched when an impression occurs that results in revenue data.RewardedInterstitialAd
   Dispatched if the ad failed to load.RewardedInterstitialAd
   This event is dispatched when a rewarded interstitial ad is loaded.RewardedInterstitialAd
   Called when a rewarded interstitial ad has triggered a reward.RewardedInterstitialAd
Method Detail
destroy()method
public function destroy():void

Destroy the ad. No other methods should be called on the ad after destroy() is called.

getAdUnitId()method 
public function getAdUnitId():String

Returns the ad unit ID.

Returns
String
isLoaded()method 
public function isLoaded():Boolean

Indicates the rewarded video ad has been loaded and is ready to be displayed. You can check this flag before calling show

Returns
Booleantrue if the rewarded video ad is ready to be displayed
load()method 
public function load(request:AdRequest):void

Starts a load request for a rewarded video ad.

Parameters

request:AdRequest

setAdUnitId()method 
public function setAdUnitId(adUnitId:String):void

Sets the ad unit ID.

Parameters

adUnitId:String

setServerSideVerificationOptions()method 
public function setServerSideVerificationOptions(options:ServerSideVerificationOptions):void

Sets ServerSideVerificationOptions for this rewarded ad. If you want to set the custom reward string, you must do so before showing the ad.

Parameters

options:ServerSideVerificationOptions — Server side verification options

show()method 
public function show():Boolean

Displays the loaded rewarded video ad. You should check if the rewarded video ad is loaded before attempting to display the ad.

Returns
Booleantrue if the rewarded video ad was displayed and false if it wasn't loaded or ready to be displayed
Event Detail
fullscreencontent_dismissed Event
Event Object Type: com.distriqt.extension.adverts.events.FullScreenContentEvent
FullScreenContentEvent.type property = com.distriqt.extension.adverts.events.FullScreenContentEvent.DISMISSED

Dispatched when the full screen content ad was dismissed (closed)
fullscreencontent_failedtoshow Event  
Event Object Type: com.distriqt.extension.adverts.events.FullScreenContentEvent
FullScreenContentEvent.type property = com.distriqt.extension.adverts.events.FullScreenContentEvent.FAILED_TO_SHOW

Dispatched when there was an error attempting to show the full screen content ad
fullscreencontent_show Event  
Event Object Type: com.distriqt.extension.adverts.events.FullScreenContentEvent
FullScreenContentEvent.type property = com.distriqt.extension.adverts.events.FullScreenContentEvent.SHOW

Dispatched when a full screen content ad is shown
paidevent_paid Event  
Event Object Type: com.distriqt.extension.adverts.events.PaidEvent
PaidEvent.type property = com.distriqt.extension.adverts.events.PaidEvent.PAID

Dispatched when an impression occurs that results in revenue data. By implementing this handler, you can use the data to calculate a user's life time value, or forward the data downstream to other relevant systems.
rewardedinterstitialad:error Event  
Event Object Type: com.distriqt.extension.adverts.events.RewardedInterstitialAdEvent
RewardedInterstitialAdEvent.type property = com.distriqt.extension.adverts.events.RewardedInterstitialAdEvent.ERROR

Dispatched if the ad failed to load.
rewardedinterstitialad:loaded Event  
Event Object Type: com.distriqt.extension.adverts.events.RewardedInterstitialAdEvent
RewardedInterstitialAdEvent.type property = com.distriqt.extension.adverts.events.RewardedInterstitialAdEvent.LOADED

This event is dispatched when a rewarded interstitial ad is loaded.
rewardedinterstitialad:reward Event  
Event Object Type: com.distriqt.extension.adverts.events.RewardedInterstitialAdEvent
RewardedInterstitialAdEvent.type property = com.distriqt.extension.adverts.events.RewardedInterstitialAdEvent.REWARD

Called when a rewarded interstitial ad has triggered a reward. The app is responsible for crediting the user with the reward.