-
public class AdMobCreativeMapperMaps an AdMob native ad's assets onto Growl's GrowlAd 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, sinceGrowlAd.titleis required and AdMob occasionally returns partial creatives.clickUrlonGrowlAdis 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 GrowlAdmakeCreative(AdMobNativeAssets assets, AdTracker tracker, AdRenderer renderer)-
-
Method Detail
-
makeCreative
final GrowlAd makeCreative(AdMobNativeAssets assets, AdTracker tracker, AdRenderer renderer)
-
-
-
-