public interface MediationStandardAdAdapter extends MediationAdapter
| Modifier and Type | Interface and Description |
|---|---|
static interface |
MediationStandardAdAdapter.MediationStandardAdListener |
| Modifier and Type | Method and Description |
|---|---|
void |
load(MediationAdConfig mediationAdConfig,
MyTargetView.AdSize adSize,
MediationStandardAdAdapter.MediationStandardAdListener listener,
android.content.Context context)
Will be called when mediation choose this adapter for loading mediation.
|
destroyvoid load(@NonNull
MediationAdConfig mediationAdConfig,
@NonNull
MyTargetView.AdSize adSize,
@NonNull
MediationStandardAdAdapter.MediationStandardAdListener listener,
@NonNull
android.content.Context context)
MediationStandardAdAdapter.MediationStandardAdListener.onLoad(View, MediationStandardAdAdapter)
in case of failed loading should be called
MediationStandardAdAdapter.MediationStandardAdListener.onNoAd(String, MediationStandardAdAdapter)
with the reason of fail. If no callbacks will be called, adapter will be removed from loading
queue, and next adapter or no ad will be called.mediationAdConfig - contains main configuration for mediationadSize - banner sizelistener - main mediation listenercontext - app contextMediationAdConfig,
MyTargetView.AdSize