Package org.prebid.mobile.api.mediation
Class MediationBaseAdUnit
-
- All Implemented Interfaces:
public abstract class MediationBaseAdUnitInternal base mediation ad unit.
-
-
Method Summary
Modifier and Type Method Description voidsetPbAdSlot(String adSlot)StringgetPbAdSlot()voiddestroy()StringgetImpOrtbConfig()voidsetImpOrtbConfig(String ortbConfig)Sets imp level OpenRTB config JSON string that will be merged with the original imp object in the bid request. StringgetGlobalOrtbConfig()voidsetGlobalOrtbConfig(String ortbConfig)Sets the global OpenRTB configuration string for the ad unit. -
-
Method Detail
-
setPbAdSlot
void setPbAdSlot(String adSlot)
-
getPbAdSlot
String getPbAdSlot()
-
destroy
void destroy()
-
getImpOrtbConfig
String getImpOrtbConfig()
-
setImpOrtbConfig
void setImpOrtbConfig(String ortbConfig)
Sets imp level OpenRTB config JSON string that will be merged with the original imp object in the bid request. Expected format:
"{"new_field": "value"}".- Parameters:
ortbConfig- JSON config string.
-
getGlobalOrtbConfig
String getGlobalOrtbConfig()
-
setGlobalOrtbConfig
void setGlobalOrtbConfig(String ortbConfig)
Sets the global OpenRTB configuration string for the ad unit. It takes precedence over `Targeting.setGlobalOrtbConfig`. Expected format:
"{"new_field": "value"}".- Parameters:
ortbConfig- The global OpenRTB JSON configuration string to set.
-
-
-
-