Package 

Object AdMobCreativeMapper


  • 
    public class AdMobCreativeMapper
    
                        

    Maps 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 null to reject the creative — currently when the headline is blank, since GrowlAd.title is required and AdMob occasionally returns partial creatives.

    clickUrl on GrowlAd is non-null String — passes empty when AdMob doesn't surface a URL because the click is handled via NativeAdView.callToActionView registration, not URL launch.

    • Method Summary

      Modifier and Type Method Description
      final GrowlAd makeCreative(AdMobNativeAssets assets, AdTracker tracker, AdRenderer renderer)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait