MediationAdCallback

public interface MediationAdCallback

Known direct subclasses
MediationAppOpenAdCallback

App Open ad callbacks for a mediation adapter to communicate back to the Google Mobile Ads SDK.

MediationBannerAdCallback

Banner ad callbacks for a mediation adapter to communicate back to the Google Mobile Ads SDK.

MediationInterstitialAdCallback

Interstitial ad callbacks for a mediation adapter to communicate back to the Google Mobile Ads SDK.

MediationNativeAdCallback

Native ad callbacks for a mediation adapter to communicate back to the Google Mobile Ads SDK.

MediationRewardedAdCallback

Rewarded ad callbacks for a mediation adapter to communicate back to the Google Mobile Ads SDK.


Ad callback for a mediation adapter to communicate back to the Google Mobile Ads SDK. Mediation adapters must send these callbacks so that they can be forwarded to the publisher.

Summary

Public methods

abstract void

Notifies the Google Mobile Ads SDK that the ad closed.

abstract void

Notifies the Google Mobile Ads SDK that the ad opened.

abstract void

Notifies the Google Mobile Ads SDK that the ad has been clicked.

abstract void

Notifies the Google Mobile Ads SDK that an impression occurred on the ad.

Public methods

onAdClosed

abstract void onAdClosed()

Notifies the Google Mobile Ads SDK that the ad closed.

onAdOpened

abstract void onAdOpened()

Notifies the Google Mobile Ads SDK that the ad opened.

reportAdClicked

abstract void reportAdClicked()

Notifies the Google Mobile Ads SDK that the ad has been clicked.

reportAdImpression

abstract void reportAdImpression()

Notifies the Google Mobile Ads SDK that an impression occurred on the ad.