Google is committed to advancing racial equity for Black communities. See how.

RtbAdapter

public abstract class RtbAdapter extends Adapter

Mediation adapter that also supports open bidding.

Public Constructor Summary

Public Method Summary

abstract void
collectSignals(RtbSignalData data, SignalCallbacks callback)
Called by the Google Mobile Ads SDK to start signal generation.
void
loadRtbBannerAd(MediationBannerAdConfiguration adConfiguration, MediationAdLoadCallback<MediationBannerAdMediationBannerAdCallback> callback)
Called by the Google Mobile Ads SDK to begin loading an open bidding banner ad given a MediationAdConfiguration

Used to load the winning ad from an open bidding request.

void
loadRtbInterscrollerAd(MediationBannerAdConfiguration adConfiguration, MediationAdLoadCallback<MediationInterscrollerAdMediationBannerAdCallback> callback)
Called by the Google Mobile Ads SDK to begin loading an open bidding interscroller ad given a MediationAdConfiguration

Used to load the winning ad from an open bidding request.

void
loadRtbInterstitialAd(MediationInterstitialAdConfiguration adConfiguration, MediationAdLoadCallback<MediationInterstitialAdMediationInterstitialAdCallback> callback)
Called by the Google Mobile Ads SDK to begin loading an open bidding interstitial ad given a MediationAdConfiguration

Used to load the winning ad from an open bidding request.

void
loadRtbNativeAd(MediationNativeAdConfiguration adConfiguration, MediationAdLoadCallback<UnifiedNativeAdMapperMediationNativeAdCallback> callback)
Called by the Google Mobile Ads SDK to begin loading an open bidding native ad given a MediationAdConfiguration

Used to load the winning ad from an open bidding request.

void
loadRtbRewardedAd(MediationRewardedAdConfiguration adConfiguration, MediationAdLoadCallback<MediationRewardedAdMediationRewardedAdCallback> callback)
Called by the Google Mobile Ads SDK to begin loading an open bidding rewarded ad given a MediationAdConfiguration

Used to load the winning ad from an open bidding request.

void
loadRtbRewardedInterstitialAd(MediationRewardedAdConfiguration adConfiguration, MediationAdLoadCallback<MediationRewardedAdMediationRewardedAdCallback> callback)
Called by the Google Mobile Ads SDK to begin loading an open bidding rewarded interstitial ad given a MediationAdConfiguration

Used to load the winning ad from an open bidding request.

Inherited Method Summary

Public Constructors

public RtbAdapter ()

Public Methods

public abstract void collectSignals (RtbSignalData data, SignalCallbacks callback)

Called by the Google Mobile Ads SDK to start signal generation.

Typical use is to start signal generation asynchronously, and callback SignalCallbacks when the signal generation finishes or fails.

Parameters
data Data used for signal generation.
callback Completion callback the adapter will invoke when signal generation finishes or fails.

public void loadRtbBannerAd (MediationBannerAdConfiguration adConfiguration, MediationAdLoadCallback<MediationBannerAdMediationBannerAdCallback> callback)

Called by the Google Mobile Ads SDK to begin loading an open bidding banner ad given a MediationAdConfiguration

Used to load the winning ad from an open bidding request.

Parameters
adConfiguration The MediationBannerAdConfiguration that contains information needed to load the winning ad.
callback A callback to be invoked when the ad finishes loading.

public void loadRtbInterscrollerAd (MediationBannerAdConfiguration adConfiguration, MediationAdLoadCallback<MediationInterscrollerAdMediationBannerAdCallback> callback)

Called by the Google Mobile Ads SDK to begin loading an open bidding interscroller ad given a MediationAdConfiguration

Used to load the winning ad from an open bidding request.

Parameters
adConfiguration The MediationBannerAdConfiguration that contains information needed to load the winning ad.
callback A callback to be invoked when the ad finishes loading.

public void loadRtbInterstitialAd (MediationInterstitialAdConfiguration adConfiguration, MediationAdLoadCallback<MediationInterstitialAdMediationInterstitialAdCallback> callback)

Called by the Google Mobile Ads SDK to begin loading an open bidding interstitial ad given a MediationAdConfiguration

Used to load the winning ad from an open bidding request.

Parameters
adConfiguration The MediationInterstitialAdConfiguration that contains information needed to load the winning ad.
callback A callback to be invoked when the ad finishes loading.

public void loadRtbNativeAd (MediationNativeAdConfiguration adConfiguration, MediationAdLoadCallback<UnifiedNativeAdMapperMediationNativeAdCallback> callback)

Called by the Google Mobile Ads SDK to begin loading an open bidding native ad given a MediationAdConfiguration

Used to load the winning ad from an open bidding request.

Parameters
adConfiguration The MediationNativeAdConfiguration that contains information needed to load the winning ad.
callback A callback to be invoked when the ad finishes loading.

public void loadRtbRewardedAd (MediationRewardedAdConfiguration adConfiguration, MediationAdLoadCallback<MediationRewardedAdMediationRewardedAdCallback> callback)

Called by the Google Mobile Ads SDK to begin loading an open bidding rewarded ad given a MediationAdConfiguration

Used to load the winning ad from an open bidding request.

Parameters
adConfiguration The MediationRewardedAdConfiguration that contains information needed to load the winning ad.
callback A callback to be invoked when the ad finishes loading.

public void loadRtbRewardedInterstitialAd (MediationRewardedAdConfiguration adConfiguration, MediationAdLoadCallback<MediationRewardedAdMediationRewardedAdCallback> callback)

Called by the Google Mobile Ads SDK to begin loading an open bidding rewarded interstitial ad given a MediationAdConfiguration

Used to load the winning ad from an open bidding request.

Parameters
adConfiguration The MediationRewardedAdConfiguration that contains information needed to load the winning ad.
callback A callback to be invoked when the ad finishes loading.