Page Summary
-
The
ResponseInfoobject provides details about a successfully loaded ad for debugging and logging. -
Properties of
ResponseInfoincludeadapterResponses,loadedAdapterResponseInfo,mediationAdapterClassName,responseId, andresponseExtras. -
AdapterResponseInfocontains metadata for each adapter in the ad response to help debug mediation and bidding execution. -
AdapterResponseInfoproperties includeadapterClassName,credentials,adError,latencyMillis, anddescription.
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:
adapterResponses
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
AdapterResponseInfo
corresponding to the adapter
that loaded the ad.mediationAdapterClassName
responseId
responseExtras
-
creative_id: The creative ID of the selected ad. Returned for reservation ads only. -
line_item_id: The line item ID of the selected ad. Returned for reservation ads only.
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 Ad Manager 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. |

