/
constants.json
66 lines (66 loc) · 1.49 KB
/
constants.json
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"JSON_MAPPING": {
"PL_CODE": "code",
"PL_SIZE": "sizes",
"PL_BIDS": "bids",
"BD_BIDDER": "bidder",
"BD_ID": "paramsd",
"BD_PL_ID": "placementId",
"ADSERVER_TARGETING": "adserverTargeting",
"BD_SETTING_STANDARD": "standard"
},
"REPO_AND_VERSION": "%%REPO_AND_VERSION%%",
"DEBUG_MODE": "pbjs_debug",
"STATUS": {
"GOOD": 1,
"NO_BID": 2
},
"CB": {
"TYPE": {
"ALL_BIDS_BACK": "allRequestedBidsBack",
"AD_UNIT_BIDS_BACK": "adUnitBidsBack",
"BID_WON": "bidWon",
"REQUEST_BIDS": "requestBids"
}
},
"objectType_function": "function",
"objectType_undefined": "undefined",
"objectType_object": "object",
"objectType_string": "string",
"objectType_number": "number",
"EVENTS": {
"AUCTION_INIT": "auctionInit",
"AUCTION_END": "auctionEnd",
"BID_ADJUSTMENT": "bidAdjustment",
"BID_TIMEOUT": "bidTimeout",
"BID_REQUESTED": "bidRequested",
"BID_RESPONSE": "bidResponse",
"BID_WON": "bidWon",
"SET_TARGETING": "setTargeting",
"REQUEST_BIDS": "requestBids"
},
"EVENT_ID_PATHS": {
"bidWon": "adUnitCode"
},
"ORDER": {
"RANDOM": "random"
},
"GRANULARITY_OPTIONS": {
"LOW": "low",
"MEDIUM": "medium",
"HIGH": "high",
"AUTO": "auto",
"DENSE": "dense",
"CUSTOM": "custom"
},
"TARGETING_KEYS": [
"hb_bidder",
"hb_adid",
"hb_pb",
"hb_size",
"hb_deal"
],
"S2S" : {
"DEFAULT_ENDPOINT" : "https://prebid.adnxs.com/pbs/v1/auction"
}
}