GoogleMobileAds Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GADResponseInfo
@interface GADResponseInfo : NSObject
Information about a response to an ad request.
-
Unique identifier of the ad response.
Declaration
Swift
var responseIdentifier: String? { get }
Objective-C
@property (nonatomic, readonly, nullable) NSString *responseIdentifier;
-
Dictionary of extra parameters that may be returned in an ad response.
Declaration
Swift
var extras: [String : Any] { get }
Objective-C
@property (nonatomic, readonly, nonnull) NSDictionary<NSString *, id> *extrasDictionary;
-
The GADAdNetworkResponseInfo corresponding to the adapter that was used to load the ad. Nil if
the ad failed to load.
Declaration
Swift
var loadedAdNetworkResponseInfo: AdNetworkResponseInfo? { get }
-
Array of metadata for each ad network included in the response.
Declaration
Swift
var adNetworkInfoArray: [AdNetworkResponseInfo] { get }
-
JSON-safe dictionary representation of the response info.
Declaration
Swift
var dictionaryRepresentation: [String : Any] { get }
Objective-C
@property (nonatomic, readonly, nonnull) NSDictionary<NSString *, id> *dictionaryRepresentation;
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."],[[["\u003cp\u003e\u003ccode\u003eGADResponseInfo\u003c/code\u003e provides information about the response received for an ad request.\u003c/p\u003e\n"],["\u003cp\u003eIt includes details like a unique response identifier, extra parameters, and information about the ad network that served the ad.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eloadedAdNetworkResponseInfo\u003c/code\u003e offers specifics about the ad network adapter used if the ad loaded successfully.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can access metadata for all ad networks involved in the response via the \u003ccode\u003eadNetworkInfoArray\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eA JSON-safe dictionary representation of the response is also available through \u003ccode\u003edictionaryRepresentation\u003c/code\u003e.\u003c/p\u003e\n"]]],["GADResponseInfo provides details about an ad request response. Key data includes a unique `responseIdentifier`, an `extrasDictionary` for additional parameters, and `loadedAdNetworkResponseInfo` for the successful adapter. It also includes an `adNetworkInfoArray`, which contains metadata for each ad network involved. Lastly, a `dictionaryRepresentation` method provides a JSON-safe dictionary of the data. These are read-only properties for the ad response.\n"],null,["# GoogleMobileAds Framework Reference\n\nGADResponseInfo\n===============\n\n\n @interface GADResponseInfo : NSObject\n\nInformation about a response to an ad request.\n- `\n ``\n ``\n `\n\n ### [responseIdentifier](#/c:objc(cs)GADResponseInfo(py)responseIdentifier)\n\n `\n ` \n Unique identifier of the ad response. \n\n #### Declaration\n\n Swift \n\n var responseIdentifier: String? { get }\n\n Objective-C \n\n @property (nonatomic, readonly, nullable) NSString *responseIdentifier;\n\n- `\n ``\n ``\n `\n\n ### [extrasDictionary](#/c:objc(cs)GADResponseInfo(py)extrasDictionary)\n\n `\n ` \n Dictionary of extra parameters that may be returned in an ad response. \n\n #### Declaration\n\n Swift \n\n var extras: [String : Any] { get }\n\n Objective-C \n\n @property (nonatomic, readonly, nonnull) NSDictionary\u003cNSString *, id\u003e *extrasDictionary;\n\n- `\n ``\n ``\n `\n\n ### [loadedAdNetworkResponseInfo](#/c:objc(cs)GADResponseInfo(py)loadedAdNetworkResponseInfo)\n\n `\n ` \n The GADAdNetworkResponseInfo corresponding to the adapter that was used to load the ad. Nil if\n the ad failed to load. \n\n #### Declaration\n\n Swift \n\n var loadedAdNetworkResponseInfo: AdNetworkResponseInfo? { get }\n\n Objective-C \n\n @property (nonatomic, readonly, nullable) ../Classes/GADAdNetworkResponseInfo.html *loadedAdNetworkResponseInfo;\n\n- `\n ``\n ``\n `\n\n ### [adNetworkInfoArray](#/c:objc(cs)GADResponseInfo(py)adNetworkInfoArray)\n\n `\n ` \n Array of metadata for each ad network included in the response. \n\n #### Declaration\n\n Swift \n\n var adNetworkInfoArray: [AdNetworkResponseInfo] { get }\n\n Objective-C \n\n @property (nonatomic, readonly, nonnull) NSArray\u003c../Classes/GADAdNetworkResponseInfo.html *\u003e *adNetworkInfoArray;\n\n- `\n ``\n ``\n `\n\n ### [dictionaryRepresentation](#/c:objc(cs)GADResponseInfo(py)dictionaryRepresentation)\n\n `\n ` \n JSON-safe dictionary representation of the response info. \n\n #### Declaration\n\n Swift \n\n var dictionaryRepresentation: [String : Any] { get }\n\n Objective-C \n\n @property (nonatomic, readonly, nonnull) NSDictionary\u003cNSString *, id\u003e *dictionaryRepresentation;"]]