private void LoadBannerFromNetwork(BannerAdsNetworks network) { switch (network) { case BannerAdsNetworks.FBAudience: fbAudienceAdModule.LoadBannerAd(); break; case BannerAdsNetworks.Admob: admobAdsModule.RequestBanner(); break; case BannerAdsNetworks.Unity: unityAdsModule.LoadBanner(); break; default: break; } }
private void HideBannerFromNetwork(BannerAdsNetworks network) { isBannerAdLoad = false; switch (network) { case BannerAdsNetworks.FBAudience: fbAudienceAdModule.HideBannerAd(); break; case BannerAdsNetworks.Admob: admobAdsModule.HideBanner(); break; case BannerAdsNetworks.Unity: unityAdsModule.HideBannerAd(); break; default: break; } }
private void ShowBannerFromNetwork(BannerAdsNetworks network) { StatusShow.instance.ShowAdStatus("**.showing banner: " + network); switch (network) { case BannerAdsNetworks.FBAudience: fbAudienceAdModule.ShowBannerAd(); break; case BannerAdsNetworks.Admob: admobAdsModule.ShowBanner(); break; case BannerAdsNetworks.Unity: unityAdsModule.ShowBannerAd(); break; default: break; } }