forked from prebid/Prebid.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconstants.json
99 lines (99 loc) · 2.58 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"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"
},
"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"
}
},
"EVENTS": {
"AUCTION_INIT": "auctionInit",
"AUCTION_END": "auctionEnd",
"BID_ADJUSTMENT": "bidAdjustment",
"BID_TIMEOUT": "bidTimeout",
"BID_REQUESTED": "bidRequested",
"BID_RESPONSE": "bidResponse",
"NO_BID": "noBid",
"BID_WON": "bidWon",
"BIDDER_DONE": "bidderDone",
"SET_TARGETING": "setTargeting",
"REQUEST_BIDS": "requestBids",
"ADD_AD_UNITS": "addAdUnits",
"AD_RENDER_FAILED" : "adRenderFailed"
},
"AD_RENDER_FAILED_REASON" : {
"PREVENT_WRITING_ON_MAIN_DOCUMENT": "preventWritingOnMainDocuemnt",
"NO_AD": "noAd",
"EXCEPTION": "exception",
"CANNOT_FIND_AD": "cannotFindAd",
"MISSING_DOC_OR_ADID": "missingDocOrAdid"
},
"EVENT_ID_PATHS": {
"bidWon": "adUnitCode"
},
"GRANULARITY_OPTIONS": {
"LOW": "low",
"MEDIUM": "medium",
"HIGH": "high",
"AUTO": "auto",
"DENSE": "dense",
"CUSTOM": "custom"
},
"TARGETING_KEYS": {
"BIDDER": "hb_bidder",
"AD_ID": "hb_adid",
"PRICE_BUCKET": "hb_pb",
"SIZE": "hb_size",
"DEAL": "hb_deal",
"SOURCE": "hb_source",
"FORMAT": "hb_format",
"UUID": "hb_uuid",
"CACHE_ID": "hb_cache_id",
"CACHE_HOST": "hb_cache_host"
},
"NATIVE_KEYS": {
"title": "hb_native_title",
"body": "hb_native_body",
"body2": "hb_native_body2",
"privacyLink": "hb_native_privacy",
"privacyIcon": "hb_native_privicon",
"sponsoredBy": "hb_native_brand",
"image": "hb_native_image",
"icon": "hb_native_icon",
"clickUrl": "hb_native_linkurl",
"displayUrl": "hb_native_displayurl",
"cta": "hb_native_cta",
"rating": "hb_native_rating",
"address": "hb_native_address",
"downloads": "hb_native_downloads",
"likes": "hb_native_likes",
"phone": "hb_native_phone",
"price": "hb_native_price",
"salePrice": "hb_native_saleprice"
},
"S2S" : {
"SRC" : "s2s",
"DEFAULT_ENDPOINT" : "https://prebid.adnxs.com/pbs/v1/openrtb2/auction",
"SYNCED_BIDDERS_KEY": "pbjsSyncs"
},
"BID_STATUS" : {
"BID_TARGETING_SET": "targetingSet",
"RENDERED": "rendered"
}
}