예제 #1
0
 private void Home_ADS_AdMediatorError(object sender, Microsoft.AdMediator.Core.Events.AdMediatorFailedEventArgs e)
 {
     if (e.ErrorCode == AdMediatorErrorCode.NoAdAvailable & (CurrentApp.LicenseInformation.ProductLicenses["AdBlocker"].IsActive))
     {
         Home_ADS.Visibility = Visibility.Collapsed;
     }
     else
     {
         Home_ADS.Visibility = Visibility.Visible;
     }
 }
예제 #2
0
 private void AdTDT_AdMediatorError(object sender, Microsoft.AdMediator.Core.Events.AdMediatorFailedEventArgs e)
 {
 }
예제 #3
0
 private void AdMediator_MainPage_AdMediatorError(object sender, Microsoft.AdMediator.Core.Events.AdMediatorFailedEventArgs e)
 {
     Debug.WriteLine("AdMediator_MainPage_AdMediatorError:" + e.Error + ", " + e.ErrorCode);
     // if (e.ErrorCode == AdMediatorErrorCode.NoAdAvailable)
     // AdMediator will not show an ad for this mediation cycle
 }