admob加载广告放在初始化之后
This commit is contained in:
parent
a485b5eaa2
commit
1137f261cb
|
@ -44,7 +44,6 @@ namespace WZ
|
|||
MobileAds.Initialize(initStatus =>
|
||||
{
|
||||
LoggerUtils.Debug("[Admob] init success");
|
||||
});
|
||||
|
||||
if (_bannerAdUnits.Count > 0) LoadBanner();
|
||||
if (_interstitialAdUnits.Count > 0) LoadInterstitial();
|
||||
|
@ -55,6 +54,10 @@ namespace WZ
|
|||
{
|
||||
LoadNative();
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
|
||||
public void RefreshAdsData()
|
||||
|
|
Loading…
Reference in New Issue