-
public class AdMobCreativeMapperMaps an AdMob native ad's assets onto Elo's EloAd shape.
Default mapping (mirrors iOS):
title = headline
description = body (may be null)
imageUrl = first image URL
Returns
nullto reject the creative — currently when the headline is blank, sinceEloAd.titleis required and AdMob occasionally returns partial creatives.clickUrlonEloAdis non-nullString— passes empty when AdMob doesn't surface a URL because the click is handled viaNativeAdView.callToActionViewregistration, not URL launch.
-
-
Field Summary
Fields Modifier and Type Field Description public final static AdMobCreativeMapperINSTANCE
-
Method Summary
Modifier and Type Method Description final EloAdmakeCreative(AdMobNativeAssets assets, AdTracker tracker, AdRenderer renderer, Function0<Unit> onRelease)-
-
Method Detail
-
makeCreative
final EloAd makeCreative(AdMobNativeAssets assets, AdTracker tracker, AdRenderer renderer, Function0<Unit> onRelease)
-
-
-
-