private void AdView_FailedToReceiveAd(object sender, GoogleAds.AdErrorEventArgs e)
        {
            adDuplexAd.Visibility = Visibility.Visible;
#if DEBUG
            adDuplexAd.IsTest = true;
#endif
            GoogleAd.Visibility = Visibility.Collapsed;
        }
Esempio n. 2
0
 private void AdMobOnFailedToReceiveAd(object sender, GoogleAds.AdErrorEventArgs errorCode)
 {
     System.Windows.Deployment.Current.Dispatcher.BeginInvoke(() =>
     {
         AdMobControl.Visibility      = Visibility.Collapsed;
         AdDuplexAdControl.Visibility = Visibility.Visible;
     });
 }
Esempio n. 3
0
        private void adView_FailedToReceiveAd(object sender, GoogleAds.AdErrorEventArgs e)
        {
            Debug.WriteLine("Failed to receive ad : " + e);

            if (this.CurrentViewModel == null)
            {
                return;
            }

            this.CurrentViewModel.AdLoadError = true;
        }
Esempio n. 4
0
 private void OnAdFailedToReceive(object sender, GoogleAds.AdErrorEventArgs e)
 {
     this.AdsGrid.Visibility = Visibility.Collapsed;
 }
Esempio n. 5
0
 private void OnFailedToReceiveAd(object sender, GoogleAds.AdErrorEventArgs errorCode)
 {
     Debug.WriteLine("Failed to receive ad with error " + errorCode.ErrorCode);
 }
 private void AdView_FailedToReceiveAd(object sender, GoogleAds.AdErrorEventArgs e)
 {
     Debug.WriteLine(e.ErrorCode.ToString());
 }