-
- All Implemented Interfaces:
-
ad.elo.androidsdk.mediation.tracking.AdRenderer
public final class AdMobNativeAdRenderer implements AdRendererAdMob's billing requires
NativeAdassets to be displayed inside a NativeAdView subtree with each asset View registered viasetHeadlineView(),setBodyView(),setIconView(), andsetCallToActionView(). This renderer builds that subtree, applies card chrome that visually fits alongside Elo-direct ads, and registers theNativeAdagainst it.Embedded by Elo's rendered-ad surface via
AndroidView { renderer.makeView(it) }.
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegerminimumDisplayHeightDp
-
Constructor Summary
Constructors Constructor Description AdMobNativeAdRenderer(NativeAd nativeAd, String sponsoredLabel)
-
Method Summary
-
-
Constructor Detail
-
AdMobNativeAdRenderer
AdMobNativeAdRenderer(NativeAd nativeAd, String sponsoredLabel)
- Parameters:
nativeAd- the AdMobNativeAdwhose assets will be rendered.sponsoredLabel- the attribution label rendered above the creative.
-
-
-
-