Item Metric

This object is associated with an item as an array of metrics. These metrics can offer insight to assist with decisioning such as average recent viewability, 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.

Metric Object Properties
Value Type Description
type string (Required) The type of metric being presented. Currently BidSwitch only supports using "viewability" as the metric type
value float

(Required) A decimal number representing the value of the metric being supplied

  • "viewability" probability is in the range 0.0 – 1.0.
vendor* string (Recommended) The source of the value declared by the Supplier, e.g. "moat"

Metric JSON Example

{
    "type":"viewability",
    "vendor":"moat",
    "value":0.8
}

Table Of Contents