# 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 ||
|---|---|
| `https://developers.google.com/ad-manager/mobile-ads-sdk/unity/reference/class/google-mobile-ads/api/rewarded-interstitial-ad#class_google_mobile_ads_1_1_api_1_1_rewarded_interstitial_ad_1aea02d9a544963de4dcfe28242f56611e` | `Action` Raised when an ad is clicked. |
| `https://developers.google.com/ad-manager/mobile-ads-sdk/unity/reference/class/google-mobile-ads/api/rewarded-interstitial-ad#class_google_mobile_ads_1_1_api_1_1_rewarded_interstitial_ad_1a723aa0fb11b9009f610843d48fb88ac7` | `Action` Raised when the ad closed full-screen content. |
| `https://developers.google.com/ad-manager/mobile-ads-sdk/unity/reference/class/google-mobile-ads/api/rewarded-interstitial-ad#class_google_mobile_ads_1_1_api_1_1_rewarded_interstitial_ad_1a0c70b55be59d264b4390f505e7cabd22` | `Action< https://developers.google.com/ad-manager/mobile-ads-sdk/unity/reference/class/google-mobile-ads/api/ad-error#class_google_mobile_ads_1_1_api_1_1_ad_error >` Raised when the ad failed to open full-screen content. |
| `https://developers.google.com/ad-manager/mobile-ads-sdk/unity/reference/class/google-mobile-ads/api/rewarded-interstitial-ad#class_google_mobile_ads_1_1_api_1_1_rewarded_interstitial_ad_1abc0768808e32f82f56bbd242b16f94de` | `Action` Raised when an ad opened full-screen content. |
| `https://developers.google.com/ad-manager/mobile-ads-sdk/unity/reference/class/google-mobile-ads/api/rewarded-interstitial-ad#class_google_mobile_ads_1_1_api_1_1_rewarded_interstitial_ad_1a36c3da0d56f7704ac27cf157bb7953ca` | `Action` Raised when an impression is recorded for an ad. |
| `https://developers.google.com/ad-manager/mobile-ads-sdk/unity/reference/class/google-mobile-ads/api/rewarded-interstitial-ad#class_google_mobile_ads_1_1_api_1_1_rewarded_interstitial_ad_1ab654143e9de501750e68c14ad2f4e5e9` | `Action< https://developers.google.com/ad-manager/mobile-ads-sdk/unity/reference/class/google-mobile-ads/api/ad-value#class_google_mobile_ads_1_1_api_1_1_ad_value >` Raised when the ad is estimated to have earned money. |

| ### Public static functions ||
|---|---|
| `https://developers.google.com/ad-manager/mobile-ads-sdk/unity/reference/class/google-mobile-ads/api/rewarded-interstitial-ad#class_google_mobile_ads_1_1_api_1_1_rewarded_interstitial_ad_1adcaf91dfd2bcda5c5732bd614e51b56e(string adUnitId, https://developers.google.com/ad-manager/mobile-ads-sdk/unity/reference/class/google-mobile-ads/api/ad-request#class_google_mobile_ads_1_1_api_1_1_ad_request request, Action< https://developers.google.com/ad-manager/mobile-ads-sdk/unity/reference/class/google-mobile-ads/api/rewarded-interstitial-ad#class_google_mobile_ads_1_1_api_1_1_rewarded_interstitial_ad, https://developers.google.com/ad-manager/mobile-ads-sdk/unity/reference/class/google-mobile-ads/api/load-ad-error#class_google_mobile_ads_1_1_api_1_1_load_ad_error > adLoadCallback)` | `void` Loads a rewarded interstitial ad. |

| ### Public functions ||
|---|---|
| `https://developers.google.com/ad-manager/mobile-ads-sdk/unity/reference/class/google-mobile-ads/api/rewarded-interstitial-ad#class_google_mobile_ads_1_1_api_1_1_rewarded_interstitial_ad_1a0aede5874ad2933e618158d945561e93()` | `bool` Returns true if the ad is loaded and not shown. |
| `https://developers.google.com/ad-manager/mobile-ads-sdk/unity/reference/class/google-mobile-ads/api/rewarded-interstitial-ad#class_google_mobile_ads_1_1_api_1_1_rewarded_interstitial_ad_1a4ea38637c5afb28ac551f75b4b8d9eeb()` | `void` Destroys the ad. |
| `https://developers.google.com/ad-manager/mobile-ads-sdk/unity/reference/class/google-mobile-ads/api/rewarded-interstitial-ad#class_google_mobile_ads_1_1_api_1_1_rewarded_interstitial_ad_1a4ab9e7173623499f18d9f34681095743()` | `string` Returns the ad unit ID. |
| `https://developers.google.com/ad-manager/mobile-ads-sdk/unity/reference/class/google-mobile-ads/api/rewarded-interstitial-ad#class_google_mobile_ads_1_1_api_1_1_rewarded_interstitial_ad_1a7a51e0537ab6fff446d2f906db2544b7()` | `https://developers.google.com/ad-manager/mobile-ads-sdk/unity/reference/class/google-mobile-ads/api/response-info#class_google_mobile_ads_1_1_api_1_1_response_info` Returns the ad request response info. |
| `https://developers.google.com/ad-manager/mobile-ads-sdk/unity/reference/class/google-mobile-ads/api/rewarded-interstitial-ad#class_google_mobile_ads_1_1_api_1_1_rewarded_interstitial_ad_1af7ef8940bcbae3accf3571747c76cd8a()` | `https://developers.google.com/ad-manager/mobile-ads-sdk/unity/reference/class/google-mobile-ads/api/reward#class_google_mobile_ads_1_1_api_1_1_reward` The reward item for the loaded rewarded interstital ad. |
| `https://developers.google.com/ad-manager/mobile-ads-sdk/unity/reference/class/google-mobile-ads/api/rewarded-interstitial-ad#class_google_mobile_ads_1_1_api_1_1_rewarded_interstitial_ad_1a725ce1735294859a1a20e5489947cd0e(https://developers.google.com/ad-manager/mobile-ads-sdk/unity/reference/class/google-mobile-ads/api/server-side-verification-options#class_google_mobile_ads_1_1_api_1_1_server_side_verification_options options)` | `void` Sets the server side verification options. |
| `https://developers.google.com/ad-manager/mobile-ads-sdk/unity/reference/class/google-mobile-ads/api/rewarded-interstitial-ad#class_google_mobile_ads_1_1_api_1_1_rewarded_interstitial_ad_1aced279c3a40bcac06fec71ca5646bf82(Action< https://developers.google.com/ad-manager/mobile-ads-sdk/unity/reference/class/google-mobile-ads/api/reward#class_google_mobile_ads_1_1_api_1_1_reward > userEarnedRewardCallback)` | `void` Shows a rewarded interstitial ad. |

## Events

### OnAdClicked

```c#
Action OnAdClicked
```
Raised when an ad is clicked.

### OnAdFullScreenContentClosed

```c#
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

```c#
Action< AdError > OnAdFullScreenContentFailed
```
Raised when the ad failed to open full-screen content.

### OnAdFullScreenContentOpened

```c#
Action OnAdFullScreenContentOpened
```
Raised when an ad opened full-screen content.

### OnAdImpressionRecorded

```c#
Action OnAdImpressionRecorded
```
Raised when an impression is recorded for an ad.

### OnAdPaid

```c#
Action< AdValue > OnAdPaid
```
Raised when the ad is estimated to have earned money.

## Public static functions

### Load

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

## Public functions

### CanShowAd

```c#
bool CanShowAd()
```
Returns true if the ad is loaded and not shown.

### Destroy

```c#
void Destroy()
```
Destroys the ad.

### GetAdUnitID

```c#
string GetAdUnitID()
```
Returns the ad unit ID.

### GetResponseInfo

```c#
ResponseInfo GetResponseInfo()
```
Returns the ad request response info.

### GetRewardItem

```c#
Reward GetRewardItem()
```
The reward item for the loaded rewarded interstital ad.

### SetServerSideVerificationOptions

```c#
void SetServerSideVerificationOptions(
  ServerSideVerificationOptions options
)
```
Sets the server side verification options.

### Show

```c#
void Show(
  Action< Reward > userEarnedRewardCallback
)
```
Shows a rewarded interstitial ad.

<br />

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