GoogleInteractiveMediaAds Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
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
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
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;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-20 UTC.
[null,null,["Last updated 2025-08-20 UTC."],[[["\u003cp\u003e\u003ccode\u003eIMAAdsLoadedData\u003c/code\u003e provides data about loaded ads, including the ads manager, stream manager, and user context.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eadsManager\u003c/code\u003e property holds the \u003ccode\u003eIMAAdsManager\u003c/code\u003e instance, but is nil for dynamic ad insertion.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003estreamManager\u003c/code\u003e property contains the \u003ccode\u003eIMAStreamManager\u003c/code\u003e instance and is nil for client-side ad requests.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003euserContext\u003c/code\u003e stores any user-specific data passed in the ad request.\u003c/p\u003e\n"]]],[],null,["# GoogleInteractiveMediaAds Framework Reference\n\nIMAAdsLoadedData\n================\n\n @interface IMAAdsLoadedData : NSObject\n\nAd data that is returned when the ads loader loads the ad.\n- `\n ``\n ``\n `\n\n ### [adsManager](#/c:objc(cs)IMAAdsLoadedData(py)adsManager)\n\n `\n ` \n The ads manager instance created by the ads loader.\n Will be nil when using dynamic ad insertion. \n\n #### Declaration\n\n Swift \n\n var adsManager: ../Classes/IMAAdsManager.html? { get }\n\n Objective-C \n\n @property (nonatomic, readonly, nullable) ../Classes/IMAAdsManager.html *adsManager;\n\n- `\n ``\n ``\n `\n\n ### [streamManager](#/c:objc(cs)IMAAdsLoadedData(py)streamManager)\n\n `\n ` \n The stream manager instance created by the ads loader.\n Will be nil when requesting ads client side. \n\n #### Declaration\n\n Swift \n\n var streamManager: ../Classes/IMAStreamManager.html? { get }\n\n Objective-C \n\n @property (nonatomic, readonly, nullable) ../Classes/IMAStreamManager.html *streamManager;\n\n- `\n ``\n ``\n `\n\n ### [userContext](#/c:objc(cs)IMAAdsLoadedData(py)userContext)\n\n `\n ` \n The user context specified in the ads request. \n\n #### Declaration\n\n Swift \n\n var userContext: Any? { get }\n\n Objective-C \n\n @property (nonatomic, readonly, nullable) id userContext;"]]