GoogleInteractiveMediaAds Framework Reference

IMAAdError

@interface IMAAdError : NSObject

Surfaces an error that occurred during ad loading or playing.

  • The type of error that occurred during ad loading or ad playing.

    Declaration

    Swift

    var type: IMAErrorType { get }

    Objective-C

    @property (readonly, nonatomic) IMAErrorType type;
  • The error code for obtaining more specific information about the error.

    Declaration

    Swift

    var code: IMAErrorCode { get }

    Objective-C

    @property (readonly, nonatomic) IMAErrorCode code;
  • A brief description about the error.

    Declaration

    Swift

    var message: String! { get }

    Objective-C

    @property (readonly, copy, nonatomic) NSString *message;