GoogleMobileAds Framework Reference

GADMediationAdEventDelegate

protocol GADMediationAdEventDelegate : NSObjectProtocol

Reports information to the Google Mobile Ads SDK from the adapter. Adapters receive an ad event delegate when they provide a GADMediationAd by calling a render completion handler.

  • Notifies Google Mobile Ads SDK that an impression occurred on the GADMediationAd.

    Declaration

    Swift

    func reportImpression()
  • Notifies Google Mobile Ads SDK that a click occurred on the GADMediationAd.

    Declaration

    Swift

    func reportClick()
  • Notifies Google Mobile Ads SDK that the GADMediationAd will present a full screen modal view.

    Declaration

    Swift

    func willPresentFullScreenView()
  • Notifies Google Mobile Ads SDK that the GADMediationAd failed to present with an error.

    Declaration

    Swift

    func didFailToPresentWithError(_ error: Error)
  • Notifies Google Mobile Ads SDK that the GADMediationAd will dismiss a full screen modal view.

    Declaration

    Swift

    func willDismissFullScreenView()
  • Notifies Google Mobile Ads SDK that the GADMediationAd finished dismissing a full screen modal view.

    Declaration

    Swift

    func didDismissFullScreenView()