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 2025-08-20 UTC.
  
  
  
    
      [null,null,["Last updated 2025-08-20 UTC."],[],["The `IMAAdLoadingErrorData` class provides information about ad loading failures. It contains two key properties: `adError`, which is a non-null `IMAAdError` object detailing the specific error that occurred during the ad loading process, and `userContext`, which is an optional field reflecting the context provided in the initial ad request. These properties are read-only and accessible through both Swift and Objective-C. `adError` is always available; `userContext` can be null.\n"]]