Beispiel #1
0
 public void HideNative()
 {
     if (nativeAd != null)
     {
         nativeAd.Hide();
     }
 }
Beispiel #2
0
    public void preloadNativeAd()
    {
        TotalData.LoadTotalFromFile();
        if (TotalData.total.noAds)
        {
//			nativeExpressAdView.Hide ();
        }
        else
        {
            nativeExpressAdView = new NativeExpressAdView(adUnitId, AdSize.MediumRectangle, AdPosition.BottomRight);
            AdRequest request = new AdRequest.Builder().Build();
            nativeExpressAdView.LoadAd(request);
            nativeExpressAdView.Hide();
        }
    }