GoogleInteractiveMediaAds Framework Reference

  • IMAErrorType is an enum defining possible error types encountered when loading or playing ads.

  • kIMAAdUnknownErrorType indicates an unexpected error that may suggest the SDK wasn't loaded correctly.

  • kIMAAdLoadingFailed signifies an error that occurred during the ad loading process.

  • kIMAAdPlayingFailed represents an error that happened while attempting to play the ads.

IMAErrorType

enum IMAErrorType : NSInteger {}

Possible error types while loading or playing ads.

  • An unexpected error occurred while loading or playing the ads. This may mean that the SDK wasn’t loaded properly.

    Declaration

    Swift

    case adUnknownErrorType = 0

    Objective-C

    kIMAAdUnknownErrorType
  • An error occurred while loading the ads.

    Declaration

    Swift

    case adLoadingFailed = 1

    Objective-C

    kIMAAdLoadingFailed
  • An error occurred while playing the ads.

    Declaration

    Swift

    case adPlayingFailed = 2

    Objective-C

    kIMAAdPlayingFailed