Rule reference

Commerce Grid metric values must be between 0 and 1.

openrtb.profile.commerce_grid.metric_valueerrorBid request

Commerce Grid metric values must be between 0 and 1.

What it means

Commerce Grid metric values must be between 0 and 1. This check applies to the selected vendor contract and integration direction.

Why it matters

The declared profile checks the published partner contract alongside canonical OpenRTB. It does not verify runtime approval or account configuration.

How to fix it

Use the documented field type, value and representation at the reported path for this integration direction.

Example that trips it

{
  "id": "grid-request",
  "cur": [
    "USD"
  ],
  "site": {
    "publisher": {
      "id": "pub"
    }
  },
  "user": {
    "buyeruid": "criteo-user"
  },
  "device": {
    "ua": "ua",
    "ip": "203.0.113.2",
    "dnt": 0,
    "lmt": 0,
    "geo": {
      "country": "USA"
    }
  },
  "source": {
    "ext": {
      "sourcetype": 1,
      "sourceorigin": 1
    },
    "schain": {
      "ver": "1.0",
      "complete": 1,
      "nodes": [
        {
          "asi": "seller.example",
          "sid": "pub",
          "hp": 1
        }
      ]
    }
  },
  "imp": [
    {
      "id": "1",
      "instl": 0,
      "banner": {
        "w": 300,
        "h": 250,
        "format": [
          {
            "w": 300,
            "h": 250
          }
        ]
      },
      "metric": [
        {
          "type": "viewability",
          "value": 1.1,
          "vendor": "example"
        }
      ]
    }
  ]
}

Profile commerce-grid, OpenRTB 2.6-202606. The fixture asserts openrtb.profile.commerce_grid.metric_value at imp[0].metric[0].value.

Check your payload

Paste a bid request or response into the tester to see whether this code fires against it, or gate on the id in CI with the CLI: the id is stable, wording is not.

Back to the full diagnostic code reference.