Exemplo n.º 1
0
        public void LoadVideoAds()
        {
            InterstitialAd ad = new InterstitialAd(new Context());

            ad.setAdId("testb4znbuh3n2");
            ad.setAdListener(new MAdListener(ad));
            AdParam.Builder builder = new AdParam.Builder();
            ad.loadAd(builder.build());
        }
Exemplo n.º 2
0
        public void LoadImageAds()
        {
            InterstitialAd ad = new InterstitialAd(new Context());

            ad.setAdId("teste9ih9j0rc3");
            ad.setAdListener(new MAdListener(ad));
            AdParam.Builder builder = new AdParam.Builder();
            AdParam         adParam = builder.build();

            ad.loadAd(adParam);
        }