A listener for receiving notifications during the lifecycle of an ad.
| void |
onAdClicked()
Called when a click is recorded for an ad.
|
| void |
onAdClosed()
Called when the user is about to return to the application after clicking on an
ad.
|
| void | |
| void |
onAdImpression()
Called when an impression is recorded for an ad.
|
| void |
onAdLoaded()
Called when an ad is received.
|
| void |
onAdOpened()
Called when an ad opens an overlay that covers the screen.
|
Called when a click is recorded for an ad. This method is called for Google native ads.
Called when the user is about to return to the application after clicking on an ad.
Called when an ad request failed.
| adError | error information about the failure. AdError.getCode()
is one of the error code constants defined in AdRequest. |
|---|
Called when an impression is recorded for an ad. This method is called for Google banner and native ads.
Called when an ad is received.
Called when an ad opens an overlay that covers the screen.