RtbSignalData

public class RtbSignalData extends Object

Data passed into the adapter for signal generation.

Public Constructor Summary

RtbSignalData(Context context, List<MediationConfiguration> configurations, Bundle networkExtras, AdSize adSize)
Constructs an RtbSignalData with 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

public RtbSignalData (Context context, List<MediationConfiguration> configurations, Bundle networkExtras, AdSize adSize)

Constructs an RtbSignalData with the provided extra parameters.

Public Methods

public 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. Check MediationConfiguration.getFormat() to determine the ad format being requested.

public MediationConfiguration getConfiguration ()

This method is deprecated.
Use getConfigurations().

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

public List<MediationConfiguration> getConfigurations ()

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

public Context getContext ()

Returns the context.

public Bundle getNetworkExtras ()

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