Package 

Class AdMobNetworkAdapter

  • All Implemented Interfaces:
    com.withgrowl.growlandroidsdk.mediation.AdNetworkAdapter

    
    public final class AdMobNetworkAdapter
     implements AdNetworkAdapter
                        

    AdMob adapter for Growl's mediation auction.

    Growl.configure(GrowlConfiguration(
        ...,
        adapters = listOf(
            AdMobNetworkAdapter(priceTiers = listOf(
                AdMobPriceTier(adUnitId = "ca-app-pub-.../high",  eCpm = 5.00),
                AdMobPriceTier(adUnitId = "ca-app-pub-.../mid",   eCpm = 2.00),
                AdMobPriceTier(adUnitId = "ca-app-pub-.../floor", eCpm = 0.50),
            )),
        ),
    ))

    Mirrors iOS AdMobNetworkAdapter.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final String networkId
    • Method Summary

      Modifier and Type Method Description
      String getNetworkId()
      Unit start(Context context, AdConsent consent)
      AdBid bid(AdBidRequest request)
      Unit shutdown()
      • Methods inherited from class java.lang.Object

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