# GoogleMobileAds Framework Reference

# GADAdNetworkResponseInfo


    @interface GADAdNetworkResponseInfo : NSObject

Response metadata for an individual ad network in an ad response.
- `


  ### [adNetworkClassName](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/reference/Classes/GADAdNetworkResponseInfo#/c:objc(cs)GADAdNetworkResponseInfo(py)adNetworkClassName)


  ` A class name that identifies the ad network.

  #### Declaration

  Swift

      var adNetworkClassName: String { get }

  Objective-C

      @property (nonatomic, readonly, nonnull) NSString *adNetworkClassName;

- `


  ### [adUnitMapping](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/reference/Classes/GADAdNetworkResponseInfo#/c:objc(cs)GADAdNetworkResponseInfo(py)adUnitMapping)


  ` Network configuration set on the AdMob UI.

  #### Declaration

  Swift

      var adUnitMapping: [String : Any] { get }

  Objective-C

      @property (nonatomic, readonly, nonnull) NSDictionary<NSString *, id> *adUnitMapping;

- `


  ### [adSourceName](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/reference/Classes/GADAdNetworkResponseInfo#/c:objc(cs)GADAdNetworkResponseInfo(py)adSourceName)


  ` 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;

- `


  ### [adSourceID](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/reference/Classes/GADAdNetworkResponseInfo#/c:objc(cs)GADAdNetworkResponseInfo(py)adSourceID)


  ` 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;

- `


  ### [adSourceInstanceName](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/reference/Classes/GADAdNetworkResponseInfo#/c:objc(cs)GADAdNetworkResponseInfo(py)adSourceInstanceName)


  ` 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;

- `


  ### [adSourceInstanceID](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/reference/Classes/GADAdNetworkResponseInfo#/c:objc(cs)GADAdNetworkResponseInfo(py)adSourceInstanceID)


  ` 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](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/reference/Classes/GADAdNetworkResponseInfo#/c:objc(cs)GADAdNetworkResponseInfo(py)error)


  ` 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;

- `


  ### [latency](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/reference/Classes/GADAdNetworkResponseInfo#/c:objc(cs)GADAdNetworkResponseInfo(py)latency)


  ` 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;

- `


  ### [dictionaryRepresentation](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/api/reference/Classes/GADAdNetworkResponseInfo#/c:objc(cs)GADAdNetworkResponseInfo(py)dictionaryRepresentation)


  ` 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;