Package 

Class Metric


  • 
    public final class Metric
    
                        

    This object is associated with an Impression as an array of metrics. These metrics can offer insight into the impression to assist with decisioning such as average recent viability, click-through rate, etc. Each metric is identified by its type, reports the value of the metric, and optionally identifies the source or vendor measuring the value.

    • Constructor Summary

      Constructors 
      Constructor Description
      Metric(String id, Float value)
    • Method Summary

      Modifier and Type Method Description
      final String getVendor() Source of the value using exchange curated string names which should be published to bidders a priori.
      final Unit setVendor(@SerializedName(value = vendor) String vendor) Source of the value using exchange curated string names which should be published to bidders a priori.
      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
    • Method Detail

      • getVendor

         final String getVendor()

        Source of the value using exchange curated string names which should be published to bidders a priori. If the exchange itself is the source versus a third party, “EXCHANGE” is recommended.

      • setVendor

         final Unit setVendor(@SerializedName(value = vendor) String vendor)

        Source of the value using exchange curated string names which should be published to bidders a priori. If the exchange itself is the source versus a third party, “EXCHANGE” is recommended.

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