RtbSignalData

public classRtbSignalDataextendsObject

Data passed into the adapter for signal generation.

Public Constructor Summary

RtbSignalData(Context context,List<MediationConfiguration> configurations,Bundle networkExtras,AdSizeadSize)
Constructs an RtbSignalDatawith the provided extra parameters.

Public Method Summary

AdSize
getAdSize()
Returns the ad size associated with a banner ad request, or null if this signal data is not for a banner ad request.
MediationConfiguration
getConfiguration()
This method is deprecated. Use getConfigurations().
List<MediationConfiguration>
getConfigurations()
Returns the configurations defined by the publisher in the AdMob or Ad Manager UI.
Context
getContext()
Returns the context.
Bundle
getNetworkExtras()
Returns the extra parameters set by the publisher on a per-request basis for a specific ad network adapter.

Inherited Method Summary

Public Constructors

publicRtbSignalData(Contextcontext, List<MediationConfiguration> configurations,BundlenetworkExtras, AdSize adSize)

Constructs anRtbSignalData with the provided extra parameters.

Public Methods

publicAdSizegetAdSize()

Returns the ad size associated with a banner ad request, or null if this signal data is not for a banner ad request. Check MediationConfiguration.getFormat()to determine the ad format being requested.

publicMediationConfiguration getConfiguration()

This method is deprecated.
Use getConfigurations().

Returns the configuration defined by the publisher in the AdMob or Ad Manager UI.

publicList<MediationConfiguration> getConfigurations()

Returns the configurations defined by the publisher in the AdMob or Ad Manager UI.

publicContext getContext()

Returns the context.

publicBundlegetNetworkExtras()

Returns the extra parameters set by the publisher on a per-request basis for a specific ad network adapter.