# GoogleMobileAds.Api.InterstitialAd

A full page ad experience at natural transition points, such as a page change or an app launch.

## Summary

Interstitials use a close button that removes the ad from the user's experience.

### Inheritance

Direct Known Subclasses:[GoogleMobileAds.Api.AdManager.AdManagerInterstitialAd](https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/ad-manager/ad-manager-interstitial-ad)

| ### Events ||
|---|---|
| `https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/interstitial-ad#class_google_mobile_ads_1_1_api_1_1_interstitial_ad_1a7237c894f4bf713d8a171f1dd17a8c22` | `Action` Raised when an ad is clicked. |
| `https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/interstitial-ad#class_google_mobile_ads_1_1_api_1_1_interstitial_ad_1af0aad080c88e00556a29aa4de087033a` | `Action` Raised when the ad closed full-screen content. |
| `https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/interstitial-ad#class_google_mobile_ads_1_1_api_1_1_interstitial_ad_1a1150ebaebbd1e7237884175fe0fd528a` | `Action< https://developers.google.com/admob/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/admob/unity/reference/class/google-mobile-ads/api/interstitial-ad#class_google_mobile_ads_1_1_api_1_1_interstitial_ad_1a2b0dc244993010dd8dc9afcfcf327084` | `Action` Raised when an ad opened full-screen content. |
| `https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/interstitial-ad#class_google_mobile_ads_1_1_api_1_1_interstitial_ad_1a25ee6fb7cf656cfbcc0033954602d9a6` | `Action` Raised when an impression is recorded for an ad. |
| `https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/interstitial-ad#class_google_mobile_ads_1_1_api_1_1_interstitial_ad_1a09205145252a9a84a790ac0318bc48d6` | `Action< https://developers.google.com/admob/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. |

| ### Properties ||
|---|---|
| `https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/interstitial-ad#class_google_mobile_ads_1_1_api_1_1_interstitial_ad_1a285d202d5512d3d51cf98b70f861177c` | `long` A long integer provided by the AdMob UI for the configured placement. |

| ### Public static functions ||
|---|---|
| `https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/interstitial-ad#class_google_mobile_ads_1_1_api_1_1_interstitial_ad_1a95adc534959a8ba7c790d37c6d8580ca(string adUnitId)` | `bool` Verify if an ad is preloaded and available to show. |
| `https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/interstitial-ad#class_google_mobile_ads_1_1_api_1_1_interstitial_ad_1a6e553fbd74709119f83ef7de33e05af1(string adUnitId, https://developers.google.com/admob/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/admob/unity/reference/class/google-mobile-ads/api/interstitial-ad#class_google_mobile_ads_1_1_api_1_1_interstitial_ad, https://developers.google.com/admob/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 an interstitial ad. |
| `https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/interstitial-ad#class_google_mobile_ads_1_1_api_1_1_interstitial_ad_1af4936610abefad192fbd62a3befd3d5f(string adUnitId)` | `https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/interstitial-ad#class_google_mobile_ads_1_1_api_1_1_interstitial_ad` Returns the next pre-loaded interstitial ad and null if no ad is available. |

| ### Public functions ||
|---|---|
| `https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/interstitial-ad#class_google_mobile_ads_1_1_api_1_1_interstitial_ad_1a0215326353c7d165f4a9b9da8d195b61()` | `bool` Returns true if the ad is loaded and not shown. |
| `https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/interstitial-ad#class_google_mobile_ads_1_1_api_1_1_interstitial_ad_1ad6c7d0bf83667a1d31f4a48edfb75df1()` | `void` Destroys the ad. |
| `https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/interstitial-ad#class_google_mobile_ads_1_1_api_1_1_interstitial_ad_1a404f04b47a0d4380ed783490bb212800()` | `string` Returns the ad unit ID. |
| `https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/interstitial-ad#class_google_mobile_ads_1_1_api_1_1_interstitial_ad_1a98dfe2d46051f6d947cf87171c19c946()` | `https://developers.google.com/admob/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/admob/unity/reference/class/google-mobile-ads/api/interstitial-ad#class_google_mobile_ads_1_1_api_1_1_interstitial_ad_1a44f79e2157d6b3596e12b38ae83d8730()` | `void` Shows the 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.

## Properties

### PlacementId

```c#
long PlacementId
```
A long integer provided by the AdMob UI for the configured placement.

To ensure this placement ID is included in reporting, set a value before showing the ad.

## Public static functions

### IsAdAvailable

```c#
bool IsAdAvailable(
  string adUnitId
)
```
Verify if an ad is preloaded and available to show.

<br />

Details Parameters `adUnitId` The ad Unit Id of the ad to verify.

### Load

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

### PollAd

```c#
InterstitialAd PollAd(
  string adUnitId
)
```
Returns the next pre-loaded interstitial ad and null if no ad is available.

<br />

Details Parameters `adUnitId` The ad Unit ID of the ad to poll.

## 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.

### Show

```c#
void Show()
```
Shows the ad.