I’m using admob unity package version 3.1 to display banner ads.
http://forum.unity3d.com/threads/admob-unity-package-that-work-with-unity-3-2-above.173292
I would like to diable ads when the user open one of them.
Is there any way I can do this?
I’m using admob unity package version 3.1 to display banner ads.
http://forum.unity3d.com/threads/admob-unity-package-that-work-with-unity-3-2-above.173292
I would like to diable ads when the user open one of them.
Is there any way I can do this?
I am assuming you created your ad like:
BannerView bannerView = new BannerView(adUnitId, AdSize.Banner, AdPosition.Top);
If you want to temporarily hide the ad, use:
bannerView.Hide();
Later you can show it again using:
bannerView.Show();
If you want to completely destroy the ad, use:
bannerView.Destroy();
Here is some more information about the subject:
https://firebase.google.com/docs/admob/android/games#unity_plugin_api