Google is committed to advancing racial equity for Black communities. See how.

com.google.android.gms.ads.mediation

Contains classes for Google Mobile Ads mediation adapters.

Annotations

MediationAdConfiguration.TagForChildDirectedTreatment Tag for child directed treatment. 

Interfaces

InitializationCompleteCallback Callbacks for a mediation adapter to communicate third party ad network initialization status back to the Google Mobile Ads SDK. 
MediationAdapter This interface is deprecated. Use Adapter instead.  
MediationAdCallback Ad callback for a mediation adapter to communicate back to the Google Mobile Ads SDK. 
MediationAdLoadCallback<MediationAdT, MediationAdCallbackT> Callback to be invoked when a mediation adapter loads an ad. 
MediationAdRequest This interface is deprecated. Use Adapter and MediationAdConfiguration instead.  
MediationBannerAd Mediated banner ad from a banner Adapter
MediationBannerAdapter This interface is deprecated. Use Adapter instead.  
MediationBannerAdCallback Banner ad callbacks for a mediation adapter to communicate back to the Google Mobile Ads SDK. 
MediationBannerListener This interface is deprecated. Use Adapter and MediationAdLoadCallback instead.  
MediationExtrasReceiver Interface that indicates a mediation adapter is capable of receiving extra custom parameters. 
MediationInterscrollerAd Mediated interscroller ad from an interscroller Adapter
MediationInterstitialAd Mediated interstitial ad from an interstitial Adapter
MediationInterstitialAdapter This interface is deprecated. Use Adapter instead.  
MediationInterstitialAdCallback Interstitial ad callbacks for a mediation adapter to communicate back to the Google Mobile Ads SDK. 
MediationInterstitialListener This interface is deprecated. Use Adapter and MediationAdLoadCallback instead.  
MediationNativeAdapter This interface is deprecated. Use Adapter instead.  
MediationNativeAdCallback Native ad callbacks for a mediation adapter to communicate back to the Google Mobile Ads SDK. 
MediationNativeListener This interface is deprecated. Use Adapter and MediationAdLoadCallback instead.  
MediationRewardedAd Interface definition describing methods that may be invoked once a rewarded ad has loaded. 
MediationRewardedAdCallback Rewarded ad callbacks for a mediation adapter to communicate back to the Google Mobile Ads SDK. 
NativeMediationAdRequest This interface is deprecated. Use Adapter and MediationNativeAdConfiguration instead.  
NetworkExtras This interface is deprecated. This interface is only used by implementations of com.google.ads.mediation.MediationAdapter, which has been deprecated in favor of MediationAdapter. Extras for new mediation adapters are passed in as a Bundle through AdRequest.Builder.addNetworkExtrasBundle(Class , Bundle).  
OnContextChangedListener An optional interface that mediation adapters can implement to be informed of context changes. 
OnImmersiveModeUpdatedListener An optional interface that mediation adapters can implement to be informed of immersive mode updates. 

Classes

Adapter Adapter for third party ad networks. 
MediationAdConfiguration Data used to render mediation ads. 
MediationBannerAdConfiguration Data used to render mediation banner ads. 
MediationConfiguration Contains a mediation configuration set by the publisher in the AdMob or DFP UI. 
MediationInterstitialAdConfiguration Data used to render mediation interstitial ads. 
MediationNativeAdConfiguration Data used to render mediation native ads. 
MediationRewardedAdConfiguration Data used to render mediation rewarded ads. 
UnifiedNativeAdMapper Mapping class for Google AdMob unified native ads. 
VersionInfo Version info for adapters and for third party SDKs.