public interface AdListener
| Modifier and Type | Method and Description |
|---|---|
void |
onAdClicked(Ad ad)
Called when the ad control is clicked and user is redirected to the link in the ad.
|
void |
onAdLoaded(Ad ad)
Called when the ad control has loaded an ad.
|
void |
onError(Ad ad,
AdError error)
Called when an error happened while the ad control is attempting to load an ad.
|
void |
onLoggingImpression(Ad ad)
Called immediately before an impression is logged.
|
void onError(Ad ad, AdError error)
ad - the ad controlerror - the errorvoid onAdLoaded(Ad ad)
ad - the ad controlvoid onAdClicked(Ad ad)
ad - the ad controlvoid onLoggingImpression(Ad ad)
ad - the ad control