GoogleInteractiveMediaAds Framework Reference

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

  • The adsManager property provides the ads manager instance created by the ads loader, except when using dynamic ad insertion.

  • The streamManager property provides the stream manager instance created by the ads loader, except when requesting ads client side.

  • The userContext property contains the user context specified in the ads request.

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;