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. DeclarationSwift var adNetworkClassName: String { get }Objective-C @property (nonatomic, readonly, nonnull) NSString *adNetworkClassName;
- 
                  
                  Network configuration set on the AdMob UI. DeclarationSwift 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. DeclarationSwift 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. DeclarationSwift 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. DeclarationSwift 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. DeclarationSwift 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. DeclarationSwift 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. DeclarationSwift var latency: TimeInterval { get }Objective-C @property (nonatomic, readonly) NSTimeInterval latency;
- 
                  
                  JSON-safe dictionary representation of the ad network response info. DeclarationSwift var dictionaryRepresentation: [String : Any] { get }Objective-C @property (nonatomic, readonly, nonnull) NSDictionary<NSString *, id> *dictionaryRepresentation;