Device.mccmnc
The mobile network of the SIM card, as the Mobile Country Code and Mobile Network Code joined by a hyphen, such as "310-410". Added in OpenRTB 2.5.
Field facts
- Path
device.mccmnc- Object
- Device
- Type
- string
- Requirement
- Optional
- Added
- OpenRTB 2.5
- Spec section
- 3.2.18
How it is used
The hyphen is mandatory; without it, network codes of different lengths or with leading zeros become ambiguous. The value follows the SIM, not the network the device is roaming on, so a traveler's phone keeps its home code abroad. Comparing it with the IP and geo data is how buyers spot roaming.
Example
Where the field sits in a payload, with everything else left out:
{
"id": "req-1",
"device": {
"mccmnc": "310-410"
}
}Common mistakes
- Dropping the hyphen, as in "310410".
- Sending the carrier name here. Names go in
device.carrier.
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.
| Versions | Type in the spec | Required | Deprecated |
|---|---|---|---|
| 2.5 to 2.6-202606 | string | No | No |