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 |
loadRtbAppOpenAd(MediationAppOpenAdConfiguration
adConfiguration,
MediationAdLoadCallback<MediationAppOpenAd, MediationAppOpenAdCallback>
callback)
Called by the Google Mobile Ads SDK to begin loading an open bidding app open
ad.
|
void |
loadRtbBannerAd(MediationBannerAdConfiguration
adConfiguration,
MediationAdLoadCallback<MediationBannerAd, MediationBannerAdCallback>
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<MediationInterscrollerAd, MediationBannerAdCallback>
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<MediationInterstitialAd, MediationInterstitialAdCallback>
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<UnifiedNativeAdMapper, MediationNativeAdCallback>
callback)
This method is deprecated. Use
loadRtbNativeAdMapper(MediationNativeAdConfiguration,
MediationAdLoadCallback) instead.
|
void |
loadRtbNativeAdMapper(MediationNativeAdConfiguration
adConfiguration,
MediationAdLoadCallback<NativeAdMapper, MediationNativeAdCallback>
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<MediationRewardedAd, MediationRewardedAdCallback>
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<MediationRewardedAd, MediationRewardedAdCallback>
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 loadRtbAppOpenAd (MediationAppOpenAdConfiguration adConfiguration, MediationAdLoadCallback<MediationAppOpenAd, MediationAppOpenAdCallback> callback)
Called by the Google Mobile Ads SDK to begin loading an open bidding app open ad.
Used to load the winning ad from an open bidding request.
Parameters
adConfiguration | The MediationAppOpenAdConfiguration that contains information needed to load the winning ad. |
---|---|
callback | A callback to be invoked when the ad finishes loading. |
public void loadRtbBannerAd (MediationBannerAdConfiguration adConfiguration, MediationAdLoadCallback<MediationBannerAd, MediationBannerAdCallback> 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<MediationInterscrollerAd, MediationBannerAdCallback> 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<MediationInterstitialAd, MediationInterstitialAdCallback> 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<UnifiedNativeAdMapper, MediationNativeAdCallback> callback)
This method is deprecated.
Use
loadRtbNativeAdMapper(MediationNativeAdConfiguration, MediationAdLoadCallback)
instead.
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 loadRtbNativeAdMapper (MediationNativeAdConfiguration adConfiguration, MediationAdLoadCallback<NativeAdMapper, MediationNativeAdCallback> 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 native ad finishes loading. |
Throws
RemoteException |
---|
public void loadRtbRewardedAd (MediationRewardedAdConfiguration adConfiguration, MediationAdLoadCallback<MediationRewardedAd, MediationRewardedAdCallback> 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<MediationRewardedAd, MediationRewardedAdCallback> 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. |