void onLoggingImpression(AndroidJavaObject ad)
 {
     this.nativeAd.executeOnMainThread(() => {
         if (nativeAd.NativeAdWillLogImpression != null)
         {
             nativeAd.NativeAdWillLogImpression();
         }
     });
 }
 private void onLoggingImpression(AndroidJavaObject ad)
 {
     nativeAd.executeOnMainThread(delegate
     {
         if (nativeAd.NativeAdWillLogImpression != null)
         {
             nativeAd.NativeAdWillLogImpression();
         }
     });
 }