AI-generated Key Takeaways
- 
          
GADAdNetworkResponseInfo provides response metadata for individual ad networks in an ad response.
 - 
          
It includes properties like the ad network class name, ad unit mapping, ad source information (name, ID, instance name, instance ID), error details, latency, and a dictionary representation.
 - 
          
Some properties, such as ad source details and error, may be nil depending on the ad server response or if the network was not attempted.
 - 
          
The latency property indicates the time the ad network spent loading an ad, or 0 if not attempted.
 
GADAdNetworkResponseInfo
@interface GADAdNetworkResponseInfo : NSObjectResponse metadata for an individual ad network in an ad response.
- 
                  
                  
A class name that identifies the ad network.
Declaration
Swift
var adNetworkClassName: String { get }Objective-C
@property (nonatomic, readonly, nonnull) NSString *adNetworkClassName; - 
                  
                  
Network configuration set on the AdMob UI.
Declaration
Swift
var adUnitMapping: [String : Any] { get }Objective-C
@property (nonatomic, readonly, nonnull) NSDictionary<NSString *, id> *adUnitMapping; - 
                  
                  
The ad source name associated with this ad network response. Nil if the ad server does not populate this field.
Declaration
Swift
var adSourceName: String? { get }Objective-C
@property (nonatomic, readonly, nullable) NSString *adSourceName; - 
                  
                  
The ad source ID associated with this ad network response. Nil if the ad server does not populate this field.
Declaration
Swift
var adSourceID: String? { get }Objective-C
@property (nonatomic, readonly, nullable) NSString *adSourceID; - 
                  
                  
The ad source instance name associated with this ad network response. Nil if the ad server does not populate this field.
Declaration
Swift
var adSourceInstanceName: String? { get }Objective-C
@property (nonatomic, readonly, nullable) NSString *adSourceInstanceName; - 
                  
                  
The ad source instance ID associated with this ad network response. Nil if the ad server does not populate this field.
Declaration
Swift
var adSourceInstanceID: String? { get }Objective-C
@property (nonatomic, readonly, nullable) NSString *adSourceInstanceID; - 
                  
                  
Error associated with the request to the network. Nil if the network successfully loaded an ad or if the network was not attempted.
Declaration
Swift
var error: (any Error)? { get }Objective-C
@property (nonatomic, readonly, nullable) NSError *error; - 
                  
                  
Amount of time the ad network spent loading an ad. 0 if the network was not attempted.
Declaration
Swift
var latency: TimeInterval { get }Objective-C
@property (nonatomic, readonly) NSTimeInterval latency; - 
                  
                  
JSON-safe dictionary representation of the ad network response info.
Declaration
Swift
var dictionaryRepresentation: [String : Any] { get }Objective-C
@property (nonatomic, readonly, nonnull) NSDictionary<NSString *, id> *dictionaryRepresentation;