GoogleMobileAds Framework Reference

GADAdNetworkResponseInfo

@interface GADAdNetworkResponseInfo : NSObject

Response 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 (readonly, nonatomic, nonnull) NSString *adNetworkClassName;
  • Network configuration set on the AdMob UI.

    Declaration

    Swift

    var credentials: [String : Any] { get }

    Objective-C

    @property (readonly, nonatomic, nonnull) NSDictionary<NSString *, id> *credentials;
  • 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: Error? { get }

    Objective-C

    @property (readonly, nonatomic, 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 (readonly, nonatomic) NSTimeInterval latency;
  • JSON-safe dictionary representation of the ad network response info.

    Declaration

    Swift

    var dictionaryRepresentation: [String : Any] { get }

    Objective-C

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