GoogleInteractiveMediaAds Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
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
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;
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 2024-08-21 UTC.
[null,null,["Last updated 2024-08-21 UTC."],[[["\u003cp\u003eIMAAdLoadingErrorData provides information about ad loading failures, including the specific error and any associated user context.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eadError\u003c/code\u003e property gives you the IMAAdError that occurred during the ad loading process.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003euserContext\u003c/code\u003e property contains any custom data that was passed in the initial ad request, allowing for request-specific debugging.\u003c/p\u003e\n"]]],[],null,["# GoogleInteractiveMediaAds Framework Reference\n\nIMAAdLoadingErrorData\n=====================\n\n @interface IMAAdLoadingErrorData : NSObject\n\nAd error data that is returned when the ads loader fails to load the ad.\n- `\n ``\n ``\n `\n\n ### [adError](#/c:objc(cs)IMAAdLoadingErrorData(py)adError)\n\n `\n ` \n The ad error that occurred while loading the ad. \n\n #### Declaration\n\n Swift \n\n var adError: ../Classes/IMAAdError.html { get }\n\n Objective-C \n\n @property (nonatomic, readonly) ../Classes/IMAAdError.html *_Nonnull adError;\n\n- `\n ``\n ``\n `\n\n ### [userContext](#/c:objc(cs)IMAAdLoadingErrorData(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;"]]