Retrieve information about the ad response

Stay organized with collections Save and categorize content based on your preferences.

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 Ad.responseInfo which is populated after it loads.

Properties on the ResponseInfo object include:

The class name of the ad network that fetched the current ad.
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).
The list of AdapterResponseInfo containing metadata for each adapter included in the ad response. Can be used to debug the mediation waterfall execution.

For each ad network in the waterfall, 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 or 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.