connectiontype 2 means WIFI

A Wi-Fi connection, on any kind of device.

List: Connection TypesValue 2

When to send it

Send 2 when the device reaches the internet over Wi-Fi. Phones and tablets switch between 2 and a cellular value many times a day, so the value should come from the network state at request time, not from a cached setting.

Buyers use 2 to allow heavier creative on mobile devices and to separate home or office use from use on the move. It is confused with the cellular values when an SDK reports a radio it could use rather than the one in use, and with 1 for TVs and boxes. Keep it out of Device.carrier: OpenRTB 2.5 dropped the earlier suggestion to send WIFI as a carrier name, and that field is for the mobile operator.

Example

{
  "device": {
    "connectiontype": 2
  }
}

Fields that carry it

Other values in connection types

ValueName
1Ethernet; Wired Connection
3Cellular Network - Unknown Generation
4Cellular Network - 2G
5Cellular Network - 3G
6Cellular Network - 4G
7Cellular Network - 5G

The connection types list page explains the whole list and its common mistakes.