CustomEventInterstitialListener
Stay organized with collections
Save and categorize content based on your preferences.
This interface is deprecated.
Use Adapter
and
MediationAdLoadCallback
instead.
A custom event interstitial listener. Custom events that implement
CustomEventInterstitial
should use this listener to send callbacks to the
mediation library to properly manage ad flow.
Public Method Summary
abstract void |
onAdLoaded()
Indicates that an interstitial has been requested and successfully received.
|
Public Methods
public abstract void onAdLoaded ()
Indicates that an interstitial has been requested and successfully received.
Interstitials must wait for a
CustomEventInterstitial.showInterstitial()
call.
Once an interstitial is requested, the custom event must report either success or
failure. If no response is received within a time limit, the mediation library may move
on to another adapter, resulting in a potentially successful interstitial not being
shown.
From the point when this method is called until the adapter is destroyed,
CustomEventInterstitial.showInterstitial()
should open the interstitial.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-02-22 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-02-22 UTC."],[[["`CustomEventInterstitialListener` is deprecated; use `Adapter` and `MediationAdLoadCallback` instead for interstitial ad implementations."],["This listener is used by custom events implementing `CustomEventInterstitial` to manage ad flow by sending callbacks to the mediation library."],["The `onAdLoaded()` method signals that an interstitial ad request was successful, but the ad must wait for a `showInterstitial()` call to be displayed."],["Custom events must report success or failure after an interstitial ad request; otherwise, the mediation library might switch to a different adapter."],["After `onAdLoaded()` is called, the custom event's `showInterstitial()` method should be responsible for displaying the interstitial until the adapter is destroyed."]]],[]]