GoogleMobileAds Framework Reference
bookmark_borderbookmark
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-02-04 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-04 UTC."],[[["`GADResponseInfo` provides information about the response received for an ad request."],["It includes details like a unique response identifier, extra parameters, and information about the ad network that served the ad."],["`loadedAdNetworkResponseInfo` offers specifics about the ad network adapter used if the ad loaded successfully."],["Developers can access metadata for all ad networks involved in the response via the `adNetworkInfoArray`."],["A JSON-safe dictionary representation of the response is also available through `dictionaryRepresentation`."]]],["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"]]