Metric.value

The measured value as a number. Probabilities and rates are expressed as a decimal between 0 and 1, not as a percentage. Required on every Metric.

CurrentfloatRequiredSince 2.5

Field facts

Path
imp.metric.value
Object
Metric
Type
float
Requirement
Required
Added
OpenRTB 2.5
Spec section
3.2.5

Example

Where the field sits in a payload, with everything else left out:

{
  "id": "req-1",
  "imp": [
    {
      "metric": [
        {
          "value": 0.72
        }
      ]
    }
  ]
}

Common mistakes

  • Sending 72 for a 72 percent viewability rate instead of 0.72 makes the impression look impossible to a bidder that expects a probability.
  • Sending the number as a string, such as "0.72", is a type mismatch for a float field.

Version history

Added in OpenRTB 2.5, and present in the latest snapshot. The table shows how each version's spec text types the field.

VersionsType in the specRequiredDeprecated
2.5 to 2.6-202606floatYesNo

Related fields

Other Metric fields