mirror of
https://github.com/prebid/openrtb.git
synced 2026-06-14 05:56:34 +03:00
Update IPLocationService type, add 51Degrees support
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
package adcom1
|
||||
|
||||
// IPLocationService represents services and/or vendors used for resolving IP addresses to geolocations.
|
||||
type IPLocationService int8
|
||||
type IPLocationService int16
|
||||
|
||||
// Services and/or vendors used for resolving IP addresses to geolocations.
|
||||
const (
|
||||
LocationServiceIP2Location IPLocationService = 1 // ip2location
|
||||
LocationServiceNeustar IPLocationService = 2 // Neustar (Quova)
|
||||
LocationServiceMaxMind IPLocationService = 3 // MaxMind
|
||||
LocationServiceNetAcuity IPLocationService = 4 // NetAcuity (Digital Element)
|
||||
LocationServiceIP2Location IPLocationService = 1 // ip2location
|
||||
LocationServiceNeustar IPLocationService = 2 // Neustar (Quova)
|
||||
LocationServiceMaxMind IPLocationService = 3 // MaxMind
|
||||
LocationServiceNetAcuity IPLocationService = 4 // NetAcuity (Digital Element)
|
||||
LocationService51DegreesHighConfidence IPLocationService = 511 // 51Degrees (High Confidence)
|
||||
LocationService51DegreesMediumConfidence IPLocationService = 512 // 51Degrees (Medium Confidence)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user