For debugging and logging purposes, successfully loaded ads provide a
ResponseInfo
object. This object contains information about the ad it loaded.
Each ad format class has a property responseInfo
which is populated after
it loads.
Properties on the ResponseInfo
include:
Property | Description |
---|---|
adapterResponses |
The list of AdapterResponseInfo containing metadata for
each adapter included in the ad response. Can be used to debug the
waterfall mediation and bidding execution. The order of the list matches
the order of the mediation waterfall for this ad request.
See Adapter Response Info for more information. |
loadedAdapterResponseInfo |
Returns the AdapterResponseInfo corresponding to the adapter
that loaded the ad. |
mediationAdapterClassName |
Returns the mediation adapter class name of the ad network that loaded the ad. |
responseId |
The response identifier is a unique identifier for the ad response. This identifier can be used to identify and block the ad in the Ads Review Center (ARC). |
responseExtras |
Returns extra information about the ad response. Extras may returns the following keys:
|
Adapter Response Info
AdapterResponseInfo
contains metadata for each adapter included in the ad
response which can be used to debug the waterfall mediation and bidding
execution. The order of the list matches the order of the mediation waterfall
for the ad request.
For each ad network, AdapterResponseInfo
provides the following
properties:
Property | Description |
---|---|
adapterClassName |
A class name that identifies the ad network. |
credentials |
A string description of adapter credentials specified in the AdMob UI. |
adError |
Error associated with the request to the network. Null if the network successfully loaded an ad or if the network was not attempted. |
latencyMillis |
Amount of time the ad network spent loading an ad. 0 if the
network was not attempted. |
description |
A log friendly string version of the AdapterResponseInfo. |