Class MediationBaseAdUnit

  • All Implemented Interfaces:

    
    public abstract class MediationBaseAdUnit
    
                        

    Internal base mediation ad unit.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • 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.
      • 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.