-
Notifications
You must be signed in to change notification settings - Fork 0
/
attributes_map.py
36 lines (28 loc) · 2.06 KB
/
attributes_map.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
ONE_UNIQUE_VAL = ["EXTERNALCREATIVEID"]
# All distinct values are in test set
TEST_SET_ALL = ["UA_DEVICETYPE", "DEVICEORIENTATION", "UA_BROWSERRENDERINGENGINE", "ACTUALDEVICETYPE", "PLATFORM",
"INTENDEDDEVICETYPE", "CDNNAME", "EXTERNALADSERVER",
"ACCOUNTID", "CREATIVETYPE", "UA_OS", "SDK"] # + "GEOIP_METROCODE", "GEOIP_DMACODE",
ALL_CATEGORIES = ["ACCOUNTID", "CAMPAIGNID", "PLACEMENTID", "CREATIVEID", "CREATIVETYPE",
"PLATFORM", "PLATFORMVERSION", "INTENDEDDEVICETYPE", "ACTUALDEVICETYPE",
"DEVICEORIENTATION", "SDK", "NETWORKTYPE", "CDNNAME",
"EXTERNALADSERVER", "EXTERNALPLACEMENTID", "EXTERNALSITEID",
"EXTERNALSUPPLIERID",
"GEOIP_TIMEZONE", "GEOIP_COUNTRY", "GEOIP_REGION", "GEOIP_CITY", "GEOIP_AREACODE",
"GEOIP_METROCODE", "GEOIP_DMACODE",
"UA_HARDWARETYPE", "UA_DEVICETYPE", "UA_PLATFORM", "UA_PLATFORMVERSION",
"UA_VENDOR", "UA_MODEL", "UA_OS", "UA_OSVERSION", "UA_BROWSER", "UA_BROWSERVERSION",
"UA_BROWSERRENDERINGENGINE"
]
CATEGORIES_LARGE = ["CAMPAIGNID", "PLACEMENTID", "CREATIVEID", "PLATFORMVERSION", "EXTERNALPLACEMENTID", "EXTERNALSITEID",
"GEOIP_TIMEZONE", "GEOIP_REGION", "GEOIP_CITY", "GEOIP_AREACODE",
"GEOIP_METROCODE", "GEOIP_DMACODE", "UA_HARDWARETYPE", "UA_PLATFORM", "UA_PLATFORMVERSION",
"UA_VENDOR", "UA_MODEL", "UA_OSVERSION", "UA_BROWSER", "UA_BROWSERVERSION",
"UA_BROWSERRENDERINGENGINE"]
BINARY = ["UA_MOBILEDEVICE"]
ALL_CONTINIOUS = ["TOPMOSTREACHABLEWINDOWHEIGHT", "TOPMOSTREACHABLEWINDOWWIDTH", "HOSTWINDOWHEIGHT", "HOSTWINDOWWIDTH"]
JSON = ["FILESJSON", "ERRORSJSON"]
TIMESTAMPS = ["TIMESTAMP"] + ["timestamp_dayofmonth", "timestamp_dayofweek", "timestamp_hour", "timestamp_minute",
"timestamp_second", "timestamp_milisecond","timestamp_alteranivestamp"]
GEO = ["GEOIP_LNG", "GEOIP_LAT", "GEOIP_SUM", "GEOIP_PROD", "GEOIP_DIFF"]
TARGET = "ADLOADINGTIME"