Device.macmd5

The device's MAC address hashed with MD5. Added in OpenRTB 2.2 and deprecated in 2.6 (2.6-202204).

Deprecated since 2.6-202204stringOptionalSince 2.2

Field facts

Path
device.macmd5
Object
Device
Type
string
Requirement
Optional
Added
OpenRTB 2.2
Deprecated
OpenRTB 2.6-202204
Spec section
3.2.18

How it is used

iOS and Android stopped exposing the real MAC address to apps long ago and return a fixed placeholder instead, so a hash of it identifies nothing. Use device.ifa.

Example

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

{
  "id": "req-1",
  "device": {
    "macmd5": "0f0e0d0c0b0a09080706050403020100"
  }
}

Common mistakes

  • Hashing the placeholder MAC address the OS returns, which gives every device the same value.

Version history

Added in OpenRTB 2.2, deprecated in 2.6-202204, and present in the latest snapshot. The table shows how each version's spec text types the field.

VersionsType in the specRequiredDeprecated
2.2stringNoNo
2.3 to 2.3.1stringNoNo
2.4stringNoNo
2.5stringNoNo
2.6-202210 to 2.6-202606stringNoYes

Versioned rules that name this field

Related fields

Other Device fields