-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathmatch_method.go
15 lines (13 loc) · 1.22 KB
/
match_method.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package adcom1
// MatchMethod represents various ways an ID could be matched to an ad request, and if they pertain to a single property or app.
// It should be used on conjunction with the mm attribute in Object: EID of OpenRTB 2.x.
type MatchMethod int64
// Various ways an ID could be matched to an ad request
const (
MatchMethodUnknown MatchMethod = 0
MatchMethodNoMatch MatchMethod = 1 // No matching has occurred. The associated ID came directly from a 3rd-party cookie or OS-provided resettable device ID for advertising (IFA).
MatchMethodBrowserCookieSync MatchMethod = 2 // Real time cookie sync as described in Appendix C (Cookie Based ID Syncing) of OpenRTB 2.x.
MatchMethodAuthenticated MatchMethod = 3 // ID match was based on user authentication such as an email login or hashed PII.
MatchMethodObserved MatchMethod = 4 // ID match was based on a 1st party observation, but without user authentication (e.g. GUID, SharedID, Session IDs, CHIPS or other 1st party cookies contained in localStorage).
MatchMethodInference MatchMethod = 5 // ID match was inferred from linkage based on non-authenticated features across multiple browsers or devices (e.g. IP address and/or UserAgent).
)