AdMob banner shown "under the canvas"
After I installed new Unity (5.6.0f3 version) banner becomes invisible, but it still there, I mean - when you tap on banner area it redirects you to the Google Play
My code is:
private void LoadBanner() { if (_bannerView == null && bannerAdId != null) { _bannerView = new BannerView (bannerAdId, AdSize.Banner, AdPosition.Top);
AdRequest request = new AdRequest.Builder ().Build ();
_bannerView.LoadAd (request);
_bannerView.Hide ();
}
}
private void ShowBanner()
{
LoadBanner ();
if (_bannerView != null)
{
_bannerView.Show ();
print ("banner shown");
}
}
And every time I receive log, but banner invisible.
Comment
Best Answer
Answer by vas1990 · Apr 11, 2017 at 09:46 AM
My bad folks, I've just updated GoogleMobileAds plugin to last version and it worked