前往主控台

MediationAdCallback

public interface MediationAdCallback
Known Indirect Subclasses

Ad callback for a mediation adapter to communicate back to the Google Mobile Ads SDK. Mediation adapters must send these callbacks so that they can be forwarded to the publisher.

Public Method Summary

abstract void
onAdClosed()
Notifies the Google Mobile Ads SDK that the ad closed.
abstract void
onAdOpened()
Notifies the Google Mobile Ads SDK that the ad opened.
abstract void
reportAdClicked()
Notifies the Google Mobile Ads SDK that the ad has been clicked.
abstract void
reportAdImpression()
Notifies the Google Mobile Ads SDK that an impression occurred on the ad.

Public Methods

public abstract void onAdClosed ()

Notifies the Google Mobile Ads SDK that the ad closed.

public abstract void onAdOpened ()

Notifies the Google Mobile Ads SDK that the ad opened.

public abstract void reportAdClicked ()

Notifies the Google Mobile Ads SDK that the ad has been clicked.

public abstract void reportAdImpression ()

Notifies the Google Mobile Ads SDK that an impression occurred on the ad.