# Metric Object¶

Note

Fields marked with an asterisk (*) are optional.

Metric Object Properties

Value

Type

Description

type

string

The type of metric being presented. Currently BidSwitch only supports using viewability as the metric type

value

float

A decimal number representing the value of the metric being supplied

viewability probability is in the range 0.0 – 1.0.

vendor*

string

Source of the value declared by the Supplier

## Metric JSON Example¶

{
"metric":[
{
"type":"viewability",
"value":0.85
}
]
}