Skip to end of metadata
Go to start of metadata

Dismiss Interstitials on User Click

By default, when a user clicks an interstitial ad and is taken to the landing page in the device's native browser, when they return to the app the interstitial ad is still displayed.

This page has instructions for dismissing the interstitial ad when the user clicks.

On This Page

To change this behavior so that the interstitial ad view is dismissed when the user clicks on the ad, the following methods are available on the InterstitialAdView:

Methods

MethodDescription
shouldDismissOnClick()Whether the interstitial ad view will be dismissed when the user clicks the ad. Defaults to false.
setDismissOnClick(boolean)Pass true to dismiss the interstitial ad view when the user clicks the ad.

Example

Related Topics