GoogleInteractiveMediaAds Framework Reference

  • IMAAdLoadingErrorData provides details about ad loading failures, including the specific error and any associated user context.

  • It contains two key properties: adError which represents the encountered error, and userContext which holds any user-specific data passed in the ad request.

IMAAdLoadingErrorData

@interface IMAAdLoadingErrorData : NSObject

Ad error data that is returned when the ads loader fails to load the ad.

  • The ad error that occurred while loading the ad.

    Declaration

    Swift

    var adError: IMAAdError { get }

    Objective-C

    @property (nonatomic, readonly) IMAAdError *_Nonnull adError;
  • The user context specified in the ads request.

    Declaration

    Swift

    var userContext: Any? { get }

    Objective-C

    @property (nonatomic, readonly, nullable) id userContext;