MediationConfiguration

public class MediationConfiguration


Contains a mediation configuration set by the publisher in the AdMob or DFP UI.

Summary

Constants

static final String

The field in the serverParameters bundle that contains the parameter for custom events.

Public fields

final AdFormat
final Bundle

Public constructors

MediationConfiguration(AdFormat format, Bundle serverParameters)

Public methods

AdFormat

Returns the ad format associated with the configuration.

Bundle

Returns the settings set by the publisher in the UI.

Constants

CUSTOM_EVENT_SERVER_PARAMETER_FIELD

public static final String CUSTOM_EVENT_SERVER_PARAMETER_FIELD = "parameter"

The field in the serverParameters bundle that contains the parameter for custom events.

Public fields

format

public final AdFormat format

serverParameters

public final Bundle serverParameters

Public constructors

MediationConfiguration

public MediationConfiguration(AdFormat format, Bundle serverParameters)

Public methods

getFormat

public AdFormat getFormat()

Returns the ad format associated with the configuration.

getServerParameters

public Bundle getServerParameters()

Returns the settings set by the publisher in the UI.