前往主控台

MediationAdLoadCallback

public interface MediationAdLoadCallback

Callback to be invoked when a mediation adapter loads an ad.

Public Method Summary

abstract void
onFailure(String failure)
Failure callback for third party ad loading.
abstract MediationAdCallbackT
onSuccess(MediationAdT ad)
Success callback for third party ad loading.

Public Methods

public abstract void onFailure (String failure)

Failure callback for third party ad loading.

Parameters
failure Failure reason.

public abstract MediationAdCallbackT onSuccess (MediationAdT ad)

Success callback for third party ad loading. Returns a callback the adapter should use to report ad lifecycle events.

Parameters
ad The loaded ad.
Returns
  • A listener to which the adapter should report ad lifecycle events.