Exemplo n.º 1
0
 private void _interstitialAd_ReceiveAdFailed(object sender, InterstitialDidFailToReceiveAdWithErrorEventArgs e)
 {
     OnInterstitialFailed?.Invoke(sender, new AdMobErrorEventArgs()
     {
         Code = (int?)(e?.Error?.Code), Domain = e?.Error?.Domain, Message = e?.Error?.LocalizedDescription, FullStacktrace = e?.Error?.ToString()
     });
 }
Exemplo n.º 2
0
 private void _interstitialAd_FailedToPresentScreen(object sender, EventArgs e)
 {
     OnInterstitialFailed?.Invoke(sender, new AdMobErrorEventArgs()
     {
         Message = "Failed To Present Screen"
     });
 }
 private void InterstitialAdListener_AdFailedToLoad(object sender, AdMobErrorEventArgs e)
 {
     OnInterstitialFailed?.Invoke(sender, e);
 }