Google is committed to advancing racial equity for Black communities. See how.

ResponseInfo

public final class ResponseInfo extends Object

Information about an ad response.

Public Method Summary

List<AdapterResponseInfo>
getAdapterResponses()
Returns the list of AdapterResponseInfo containing metadata for each adapter included in the ad response.
String
getMediationAdapterClassName()
Returns the mediation adapter class name of the ad network that loaded the ad.
String
getResponseId()
Returns the response ID for the loaded ad.
String
toString()
Returns a log friendly string version of this object.

Inherited Method Summary

Public Methods

public List<AdapterResponseInfo> getAdapterResponses ()

Returns the list of AdapterResponseInfo containing metadata for each adapter included in the ad response. Can be used to debug the mediation waterfall execution.

public String getMediationAdapterClassName ()

Returns the mediation adapter class name of the ad network that loaded the ad. In the case of a mediated ad response, this is the name of the class that was responsible for performing the ad request and rendering the ad. For non-mediated responses, this value will be com.google.ads.mediation.admob.AdMobAdapter. Returns null if the ad failed to load.

public String getResponseId ()

Returns the response ID for the loaded ad. Can be used to look up ads in the Ad Review Center. Returns null if the ad failed to load.

public String toString ()

Returns a log friendly string version of this object.