AppOpenAdEvent

@frozen
public enum AppOpenAdEvent

Events fired by the appOpenAd(request:onEvent:) modifier.

  • The ad loaded successfully and is ready to be shown on the next foreground transition.

    Declaration

    Swift

    case didLoad(AdInfo?)
  • The ad was shown.

    Declaration

    Swift

    case didShow
  • The ad was dismissed.

    Declaration

    Swift

    case didDismiss
  • The user tapped the ad.

    Declaration

    Swift

    case didClick
  • The ad failed to be shown.

    Declaration

    Swift

    case didFailToShow(Error)
  • The ad failed to load.

    Declaration

    Swift

    case didFailToLoad(Error)
  • An impression was tracked.

    Declaration

    Swift

    case didTrackImpression(ImpressionData?)