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