Retrieving Information about the Ad Response

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 method to get the response info. On interstitial ads for example, use the getResponseInfo() method.

Methods on the ResponseInfo object include:

getResponseId()
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).
getMediationAdapterClassName()
The class name of the ad network that fetched the current ad. Values that can be returned from this method include:

Ad Source Class name
Google Ads com.google.ads.mediation.admob.AdMobAdapter
Rewarded Custom events Your custom event's class name
All other custom events com.google.ads.mediation.customevent.CustomEventAdapter
Mediation The mediation adapter's class name