MediationConfiguration

public class MediationConfiguration extends Object

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

Constant Summary

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

Public Constructor Summary

MediationConfiguration(AdFormat format, Bundle serverParameters)

Public Method Summary

AdFormat
getFormat()
Returns the ad format associated with the configuration.
Bundle
getServerParameters()
Returns the settings set by the publisher in the UI.

Inherited Method Summary

Constants

public static final String CUSTOM_EVENT_SERVER_PARAMETER_FIELD

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

Constant Value: "parameter"

Public Constructors

public MediationConfiguration (AdFormat format, Bundle serverParameters)

Public Methods

public AdFormat getFormat ()

Returns the ad format associated with the configuration.

public Bundle getServerParameters ()

Returns the settings set by the publisher in the UI.