load好后直接隐藏Banner,不自动显示出来。
This commit is contained in:
parent
ab3f9476c9
commit
1a695a590e
|
|
@ -36,6 +36,9 @@ namespace WZ
|
||||||
}
|
}
|
||||||
|
|
||||||
var bannerAds = new BannerView(adUnitId, AdSize.Banner, type == BannerAliignType.BannerCenterBottomAlign ? AdPosition.Bottom : AdPosition.Top);
|
var bannerAds = new BannerView(adUnitId, AdSize.Banner, type == BannerAliignType.BannerCenterBottomAlign ? AdPosition.Bottom : AdPosition.Top);
|
||||||
|
|
||||||
|
bannerAds.Hide();
|
||||||
|
|
||||||
_bannerAds[adUnitId] = bannerAds;
|
_bannerAds[adUnitId] = bannerAds;
|
||||||
_retryCounters[adUnitId] = 0;
|
_retryCounters[adUnitId] = 0;
|
||||||
_adRevenueCache[adUnitId] = 0;
|
_adRevenueCache[adUnitId] = 0;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue