GoogleMobileAds.Api.RewardedInterstitialAd

Rewarded interstitial ads can serve without requiring the user to opt-in to viewing.

Summary

At any point during the experience, the user can decide to skip the ad.

Events

OnAdClicked
Action
Raised when an ad is clicked.
OnAdFullScreenContentClosed
Action
Raised when the ad closed full-screen content.
OnAdFullScreenContentFailed
Action< AdError >
Raised when the ad failed to open full-screen content.
OnAdFullScreenContentOpened
Action
Raised when an ad opened full-screen content.
OnAdImpressionRecorded
Action
Raised when an impression is recorded for an ad.
OnAdPaid
Action< AdValue >
Raised when the ad is estimated to have earned money.

Public static functions

Load(string adUnitId, AdRequest request, Action< RewardedInterstitialAd, LoadAdError > adLoadCallback)
void
Loads a rewarded interstitial ad.

Public functions

CanShowAd()
bool
Returns true if the ad is loaded and not shown.
Destroy()
void
Destroys the ad.
GetAdUnitID()
string
Returns the ad unit ID.
GetResponseInfo()
Returns the ad request response info.
GetRewardItem()
The reward item for the loaded rewarded interstital ad.
SetServerSideVerificationOptions(ServerSideVerificationOptions options)
void
Sets the server side verification options.
Show(Action< Reward > userEarnedRewardCallback)
void
Shows a rewarded interstitial ad.

Events

OnAdClicked

Action OnAdClicked

Raised when an ad is clicked.

OnAdFullScreenContentClosed

Action OnAdFullScreenContentClosed

Raised when the ad closed full-screen content.

On iOS, this event is only raised when an ad opens an overlay, not when opening a new application such as Safari or the App Store.

OnAdFullScreenContentFailed

Action< AdError > OnAdFullScreenContentFailed

Raised when the ad failed to open full-screen content.

OnAdFullScreenContentOpened

Action OnAdFullScreenContentOpened

Raised when an ad opened full-screen content.

OnAdImpressionRecorded

Action OnAdImpressionRecorded

Raised when an impression is recorded for an ad.

OnAdPaid

Action< AdValue > OnAdPaid

Raised when the ad is estimated to have earned money.

Public static functions

Load

void Load(
  string adUnitId,
  AdRequest request,
  Action< RewardedInterstitialAd, LoadAdError > adLoadCallback
)

Loads a rewarded interstitial ad.

Public functions

CanShowAd

bool CanShowAd()

Returns true if the ad is loaded and not shown.

Destroy

void Destroy()

Destroys the ad.

GetAdUnitID

string GetAdUnitID()

Returns the ad unit ID.

GetResponseInfo

ResponseInfo GetResponseInfo()

Returns the ad request response info.

GetRewardItem

Reward GetRewardItem()

The reward item for the loaded rewarded interstital ad.

SetServerSideVerificationOptions

void SetServerSideVerificationOptions(
  ServerSideVerificationOptions options
)

Sets the server side verification options.

Show

void Show(
  Action< Reward > userEarnedRewardCallback
)

Shows a rewarded interstitial ad.

Details
Parameters
userRewardEarnedCallback
An action to be raised when the user earns a reward.