update: 更新BannerAD Loaded 事件和回调
							parent
							
								
									f8371a947e
								
							
						
					
					
						commit
						9559b507f4
					
				|  | @ -27,6 +27,8 @@ namespace Guru | |||
|         protected bool _isAutoLoadAds; | ||||
| 
 | ||||
|         private Action _onSdkInitReady; | ||||
|          | ||||
|         public static Action OnBannerLoaded; | ||||
| 
 | ||||
|         public static Action OnInterstitialLoaded; | ||||
|         public static Action OnInterstitialFailed; | ||||
|  | @ -250,6 +252,8 @@ namespace Guru | |||
|             // Analytics.ADBadsLoaded(adUnitId, GetAdsLoadDuration(ref _badsloadStartTime), _badsCategory); | ||||
|             Analytics.ADBadsLoaded(AdParams.Build(adUnitId, adInfo, | ||||
|                 duration: GetAdsLoadDuration(ref _badsloadStartTime), category: _badsCategory)); | ||||
|              | ||||
|             OnBannerLoaded?.Invoke(); | ||||
|         } | ||||
| 
 | ||||
|         private void OnBannerFailedEvent(string adUnitId, MaxSdkBase.ErrorInfo errorInfo) | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue