Skip to main content

Android Interstitial Integration

Create a Interstitial Object#


If you miss to Initialize the SDK, this method will fail to return a response.

Select the mediation platform:

To implement a Interstitial bidder object for GAM follow:

val mesonGAMInterstitial = MesonGAMInterstitial("<Adunit Id>")

Fetch a Bid#

Select the mediation platform:

To fetch a bid for GAM follow:

//Fetch bid by supplying publisher created DFP's PublisherAdRequestBuilder instance
mesonGAMInterstitial.fetchBid(pubInstance, object : MesonAdFetchListener<PublisherAdRequest.Builder> {
override fun onComplete(obj: PublisherAdRequest.Builder, error: Error?) {
val publisherAdRequest =
//Load with publisher created dfpInterstitial instance