GoogleInteractiveMediaAds Framework Reference

  • IMAAdsLoadedData provides data returned when the ads loader successfully loads an ad.

  • It contains an adsManager for traditional ad requests, or a streamManager for dynamic ad insertion.

  • Includes optional userContext passed in the initial ad request for application-specific data.

IMAAdsLoadedData

@interface IMAAdsLoadedData : NSObject

Ad data that is returned when the ads loader loads the ad.

  • The ads manager instance created by the ads loader. Will be nil when using dynamic ad insertion.

    Declaration

    Swift

    var adsManager: IMAAdsManager? { get }

    Objective-C

    @property (nonatomic, readonly, nullable) IMAAdsManager *adsManager;
  • The stream manager instance created by the ads loader. Will be nil when requesting ads client side.

    Declaration

    Swift

    var streamManager: IMAStreamManager? { get }

    Objective-C

    @property (nonatomic, readonly, nullable) IMAStreamManager *streamManager;
  • The user context specified in the ads request.

    Declaration

    Swift

    var userContext: Any? { get }

    Objective-C

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