Search in sources :

Example 1 with IBannerAd

use of com.abewy.android.ads.IBannerAd in project Klyph by jonathangerbaud.

the class KlyphApplication method initAds.

@Override
protected void initAds() {
    //AdRegistration.setAppKey("038faf04326f4ccbb7ab1c107e3dbd25");
    //AdRegistration.enableTesting(true);
    List<IBannerAd> bannerAds = new ArrayList<IBannerAd>();
    //bannerAds.add(new AmazonBanner());
    bannerAds.add(new AdmobBanner(getString(R.string.admob_id)));
    BannerAdManager.setBannerAds(bannerAds);
}
Also used : ArrayList(java.util.ArrayList) IBannerAd(com.abewy.android.ads.IBannerAd) AdmobBanner(com.abewy.android.apps.klyph.ads.AdmobBanner)

Aggregations

IBannerAd (com.abewy.android.ads.IBannerAd)1 AdmobBanner (com.abewy.android.apps.klyph.ads.AdmobBanner)1 ArrayList (java.util.ArrayList)1