com.google.android.gms.ads.nativead

包含用于实现 Google 移动广告中的原生广告功能的类。

注释

NativeAdOptions.AdChoicesPlacement

“广告选项”图标的展示位置。

NativeAdOptions.NativeMediaAspectRatio

媒体宽高比。

NativeAdOptions.SwipeGestureDirection

自定义点击滑动方向。

接口

NativeAd.OnNativeAdLoadedListener

接口定义,用于在原生广告成功加载时调用回调。

NativeAd.UnconfirmedClickListener

一种监听器接口,应用可在使用“确认点击”功能时通过该接口接收未确认的点击事件。

NativeCustomFormatAd

Ad Manager 自定义原生广告格式。

NativeCustomFormatAd.DisplayOpenMeasurement

展示广告中开放式测量的接口。

NativeCustomFormatAd.OnCustomClickListener

接口定义,用于在用户点击自定义原生广告格式时调用回调。

NativeCustomFormatAd.OnCustomFormatAdLoadedListener

接口定义,用于在自定义原生广告格式成功加载时调用回调。

AdChoicesView

用于显示 AdChoices 内容的视图。

MediaView

用于显示原生高级广告媒体内容的视图。

NativeAd

Google 原生广告。

NativeAd.AdChoicesInfo

提供方信息。

NativeAd.Image

原生广告图片素材资源。

NativeAdAssetNames

用于 NativeAd 的资源名称。

NativeAdOptions

用于配置原生广告请求。

NativeAdOptions.Builder

NativeAdOptions 的构建器类。

NativeAdView

NativeAd 的根视图。