From 09763a91ff2ee7577835911f94ca23300723a6a5 Mon Sep 17 00:00:00 2001 From: Scott Kay Date: Thu, 19 May 2022 02:18:18 -0400 Subject: [PATCH] openrtb2: device enums --- openrtb2/device.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/openrtb2/device.go b/openrtb2/device.go index c6320d8..bba3113 100644 --- a/openrtb2/device.go +++ b/openrtb2/device.go @@ -256,7 +256,9 @@ type Device struct { // Description: // Network connection type. Refer to List: Connection Types in // AdCOM 1.0. - ConnectionType int8 `json:"connectiontype,omitempty"` + // Note: + // OpenRTB <=2.5 defined only connection types 1..6. + ConnectionType adcom1.ConnectionType `json:"connectiontype,omitempty"` // Attribute: // ifa