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

com.google.android.gms.ads.formats

Contains classes for native ads functionality within Google Mobile Ads.

Annotations

NativeAdOptions.AdChoicesPlacement AdChoices icon placement. 
NativeAdOptions.NativeMediaAspectRatio Media aspect ratio. 

Interfaces

NativeAppInstallAd.OnAppInstallAdLoadedListener An interface defining a callback that is called when a native app install ad is loaded. 
NativeContentAd.OnContentAdLoadedListener An interface defining a callback that is called when a native content ad is loaded. 
NativeCustomTemplateAd This interface is deprecated. Use NativeCustomFormatAd.  
NativeCustomTemplateAd.DisplayOpenMeasurement An interface for open measurement in display ads. 
NativeCustomTemplateAd.OnCustomClickListener An interface defining a callback that is called when a user clicks on a custom template native ad that has a custom click action. 
NativeCustomTemplateAd.OnCustomTemplateAdLoadedListener An interface defining a callback that is called when a native custom template ad is loaded. 
OnAdManagerAdViewLoadedListener Interface definition for a callback to be invoked when a Google Ad Manager banner ad loads. 
OnPublisherAdViewLoadedListener This interface is deprecated. Use OnAdManagerAdViewLoadedListener.  
UnifiedNativeAd.OnUnifiedNativeAdLoadedListener This interface is deprecated. Use NativeAd.OnNativeAdLoadedListener.  
UnifiedNativeAd.UnconfirmedClickListener This interface is deprecated. Use NativeAd.UnconfirmedClickListener.  

Classes

AdChoicesView This class is deprecated. Use AdChoicesView.  
AdManagerAdViewOptions Options to configure Google Ad Manager banner requests using an AdLoader
AdManagerAdViewOptions.Builder Builder for a AdManagerAdViewOptions
MediaView This class is deprecated. Use MediaView.  
NativeAd This class is deprecated. Use NativeAd.  
NativeAd.AdChoicesInfo This class is deprecated. Use NativeAd.AdChoicesInfo.  
NativeAd.Image This class is deprecated. Use NativeAd.Image.  
NativeAdOptions This class is deprecated. Use NativeAdOptions.  
NativeAdOptions.Builder  
NativeAdView This class is deprecated. Use NativeAdView.  
NativeAdViewHolder This class is deprecated. Use NativeAdViewHolder.  
NativeAppInstallAd This class is deprecated. Use UnifiedNativeAd.  
NativeAppInstallAdView This class is deprecated. Use UnifiedNativeAdView.  
NativeContentAd This class is deprecated. Use UnifiedNativeAd.  
NativeContentAdView This class is deprecated. Use UnifiedNativeAdView.  
PublisherAdViewOptions This class is deprecated. Use AdManagerAdViewOptions.  
PublisherAdViewOptions.Builder This class is deprecated. Use AdManagerAdViewOptions.Builder.  
UnifiedNativeAd This class is deprecated. Use NativeAd.  
UnifiedNativeAdAssetNames This class is deprecated. Use NativeAdAssetNames.  
UnifiedNativeAdView This class is deprecated. Use NativeAdView.