# GoogleMobileAds Framework Reference

# GADAppEventDelegate

    @protocol GADAppEventDelegate <NSObject>

Implement your app event within these methods. The delegate will be notified when the SDK
receives an app event message from the ad.
- `


  ### [-adView:didReceiveAppEvent:withInfo:](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/reference/Protocols/GADAppEventDelegate#/c:objc(pl)GADAppEventDelegate(im)adView:didReceiveAppEvent:withInfo:)


  ` Called when the banner receives an app event.

  #### Declaration

  Swift

      @MainActor optional func adView(_ banner: https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/reference/Classes/GADBannerView.html, didReceiveAppEvent name: String, with info: String?)

  Objective-C

      - (void)adView:(nonnull https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/reference/Classes/GADBannerView.html *)banner
          didReceiveAppEvent:(nonnull NSString *)name
                    withInfo:(nullable NSString *)info;

- `


  ### [-interstitialAd:didReceiveAppEvent:withInfo:](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/reference/Protocols/GADAppEventDelegate#/c:objc(pl)GADAppEventDelegate(im)interstitialAd:didReceiveAppEvent:withInfo:)


  ` Called when the interstitial receives an app event.

  #### Declaration

  Swift

      @MainActor optional func adView(_ interstitialAd: https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/reference/Classes/GADInterstitialAd.html, didReceiveAppEvent name: String, with info: String?)

  Objective-C

      - (void)interstitialAd:(nonnull https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/reference/Classes/GADInterstitialAd.html *)interstitialAd
          didReceiveAppEvent:(nonnull NSString *)name
                    withInfo:(nullable NSString *)info;