Package 

Class Segment


  • 
    public final class Segment
    
                        

    Segment objects are essentially key-value pairs that convey specific units of data. The parent Data object is a collection of such values from a given data provider. The specific segment names and value options must be published by the exchange a priori to its bidders.

    • Constructor Summary

      Constructors 
      Constructor Description
      Segment()
    • Method Summary

      Modifier and Type Method Description
      final String getId() ID of the data segment specific to the data provider.
      final Unit setId(@SerializedName(value = id) String id) ID of the data segment specific to the data provider.
      final String getName() Name of the data segment specific to the data provider.
      final Unit setName(@SerializedName(value = name) String name) Name of the data segment specific to the data provider.
      final String getValue() String representation of the data segment value.
      final Unit setValue(@SerializedName(value = value) String value) String representation of the data segment value.
      final Object getExtension() Placeholder for exchange-specific extensions to OpenRTB.
      final Unit setExtension(@SerializedName(value = ext) Object extension) Placeholder for exchange-specific extensions to OpenRTB.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Segment

        Segment()
    • Method Detail

      • getId

         final String getId()

        ID of the data segment specific to the data provider.

      • setId

         final Unit setId(@SerializedName(value = id) String id)

        ID of the data segment specific to the data provider.

      • getName

         final String getName()

        Name of the data segment specific to the data provider.

      • setName

         final Unit setName(@SerializedName(value = name) String name)

        Name of the data segment specific to the data provider.

      • getValue

         final String getValue()

        String representation of the data segment value.

      • setValue

         final Unit setValue(@SerializedName(value = value) String value)

        String representation of the data segment value.

      • getExtension

         final Object getExtension()

        Placeholder for exchange-specific extensions to OpenRTB.

      • setExtension

         final Unit setExtension(@SerializedName(value = ext) Object extension)

        Placeholder for exchange-specific extensions to OpenRTB.