Skip to content

Commit 510a7e5

Browse files
committed
Initial load
0 parents  commit 510a7e5

File tree

1,536 files changed

+407073
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,536 files changed

+407073
-0
lines changed

.gitignore

+67
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
*.pydevproject
2+
.metadata
3+
.gradle
4+
build/
5+
bin/
6+
tmp/
7+
logs/
8+
target/
9+
*.log
10+
temp/
11+
*.tmp
12+
*.bak
13+
*.swp
14+
*~.nib
15+
local.properties
16+
.settings/
17+
.loadpath
18+
.passwords
19+
20+
# Eclipse Core
21+
.project
22+
23+
# 0Spike
24+
*.db
25+
26+
# External tool builders
27+
.externalToolBuilders/
28+
29+
# Locally stored "Eclipse launch configurations"
30+
*.launch
31+
32+
# CDT-specific
33+
.cproject
34+
35+
# JDT-specific (Eclipse Java Development Tools)
36+
.classpath
37+
38+
# Java annotation processor (APT)
39+
.factorypath
40+
41+
# PDT-specific
42+
.buildpath
43+
44+
# sbteclipse plugin
45+
.target
46+
47+
# TeXlipse plugin
48+
.texlipse
49+
50+
# Old RTB4FREE database files
51+
database.json*
52+
53+
# STS (Spring Tool Suite)
54+
.springBeans
55+
bin/
56+
reports/
57+
html/
58+
59+
local/
60+
www/temp/test*
61+
hs_err*
62+
63+
*.iml
64+
.idea/
65+
.settings/
66+
67+
version.txt

Campaigns/docker.json

+261
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,261 @@
1+
{
2+
"NOfraud" : {
3+
"type" : "forensiq",
4+
"threshhold" : 0,
5+
"ck" : "none",
6+
"endpoint" : "",
7+
"bidOnError" : false,
8+
"db" : "local/GeoIP2-ISP.mmdb",
9+
"watchlist" : [ "Hetzner", "Amazon web services", "Linode", "Digital Ocean", "Vultr" ]
10+
},
11+
"app" : {
12+
"indexPage": "$INDEXPAGE",
13+
"concurrency" : "3",
14+
"threads": "2000",
15+
"stopped" : false,
16+
"deadmanswitch": "$ACCOUNTING",
17+
"ttl" : 300,
18+
"pixel-tracking-url" : "$EXTERNAL/callback?type=pixel",
19+
"winurl" : "$EXTERNAL/rtb/win",
20+
"redirect-url" : "$EXTERNAL/callback?type=redirect",
21+
"vasturl" : "$EXTERNAL/vast",
22+
"eventurl" : "$EXTERNAL/callback?type=track",
23+
"postbackurl" : "$EXTERNAL/callback?type=postback",
24+
"adminPort" : "$ADMINPORT",
25+
"adminSSL" : false,
26+
"password" : "startrekisbetterthanstarwars",
27+
"zeromq" : {
28+
"bidchannel" : "kafka://[$BROKERLIST]&topic=bids",
29+
"winchannel" : "kafka://[$BROKERLIST]&topic=wins",
30+
"requests" : "kafka://[$BROKERLIST]&topic=requests",
31+
"clicks" : "kafka://[$BROKERLIST]&topic=clicks",
32+
"pixels" : "kafka://[$BROKERLIST]&topic=pixels",
33+
"videoevents": "kafka://[$BROKERLIST]&topic=videoevents",
34+
"postbackevents": "kafka://[$BROKERLIST]&topic=postbackevents",
35+
"status" : "kafka://[$BROKERLIST]&topic=status",
36+
"reasons" : "kafka://[$BROKERLIST]&topic=reasons",
37+
38+
"commands": "tcp://$PUBSUB:6001&commands",
39+
"responses": "tcp://$PUBSUB:6000&responses",
40+
"xfrport": "6002",
41+
"frequencygoverner": "$FREQGOV",
42+
43+
"requeststrategy" : "$REQUESTSTRATEGY"
44+
},
45+
46+
"template" : {
47+
"default" : "{creative_forward_url}",
48+
"exchange" : {
49+
"adx" : "<a href='$EXTERNAL/rtb/win/{pub_id}/%%WINNING_PRICE%%/{lat}/{lon}/{ad_id}/{creative_id}/{bid_id}'}'></a><a href='%%CLICK_URL_UNESC%%{redirect_url}></a>{creative_forward_url}",
50+
"mopub" : "<a href='mopub template here' </a>",
51+
"mobclix" : "<a href='mobclix template here' </a>",
52+
"nexage" : "<a href='{redirect_url}/exchange={pub}/ad_id={ad_id}/creative_id={creative_id}/price=${AUCTION_PRICE}/lat={lat}/lon={lon}/bid_id={bid_id}?url={creative_forward_url}'><img src='{creative_image_url}' height='{creative_ad_height}' width='{creative_ad_width}'></a><img src='{pixel_url}/exchange={pub}/ad_id={ad_id}/creative_id={creative_id}/{bid_id}/price=${AUCTION_PRICE}/lat={lat}/lon={lon}/bid_id={bid_id}' height='1' width='1'>",
53+
"smartyads" : "{creative_forward_url}",
54+
"atomx" : "{creative_forward_url}",
55+
"adventurefeeds" : "{creative_forward_url}",
56+
"gotham" : "{creative_forward_url}",
57+
"epomx" : "{creative_forward_url}",
58+
"citenko" : "{creative_forward_url}",
59+
"kadam" : "{creative_forward_url}",
60+
"taggify" : "{creative_forward_url}",
61+
"cappture" : "cappture/{creative_forward_url}",
62+
"republer" : "{creative_forward_url}",
63+
"admedia" : "{creative_forward_url}",
64+
"ssphwy" : "{creative_forward_url}",
65+
"privatex" : "<a href='{redirect_url}/{pub}/{ad_id}/{creative_id}/${AUCTION_PRICE}/{lat}/{lon}?url={creative_forward_url}'><img src='{pixel_url}/{pub}/{ad_id}/{bid_id}/{creative_id}/${AUCTION_PRICE}/{lat}/{lon}' height='1' width='1'><img src='{creative_image_url}' height='{creative_ad_height}' width='{creative_ad_width}'></a>",
66+
"smaato" : "richMediaBeacon='%%smaato_ct_url%%'; script='{creative_forward_url}'; clickurl='{redirect_url}/exchange={pub}/{ad_id}/creative_id={creative_id}/price=${AUCTION_PRICE}/lat={lat}/lon={lon}/bid_id={bid_id}?url={creative_forward_url}'; imageurl='{creative_image_url}'; pixelurl='{pixel_url}/exchange={pub}/ad_id={ad_id}/creative_id={creative_id}/{bid_id}/price=${AUCTION_PRICE}/lat={lat}/lon={lon}/bid_id={bid_id}';",
67+
"smaato-builtin" : "{creative_forward_url}",
68+
"pubmatic" : "{creative_forward_url}"
69+
}
70+
},
71+
"campaigns" : [ "" ]
72+
},
73+
"seats" : [ {
74+
"name" : "google",
75+
"id" : "google-id",
76+
"bid" : "/rtb/bids/google=com.jacamars.dsp.rtb.exchanges.google.OpenRTB",
77+
"extension" : {
78+
"e_key" : "$GOOGLE_EKEY",
79+
"i_key" : "$GOOGLE_IKEY"
80+
}
81+
}, {
82+
"name" : "openx",
83+
"id" : "openx-id",
84+
"bid" : "/rtb/bids/openx=com.jacamars.dsp.rtb.exchanges.openx.OpenX",
85+
"extension" : {
86+
"e_key" : "$OPENX_EKEY",
87+
"i_key" : "$OPENX_IKEY"
88+
}
89+
}, {
90+
"name" : "appnexus",
91+
"id" : "test-appnexus-id",
92+
"bid" : "/rtb/bids/appnexus=com.jacamars.dsp.rtb.exchanges.appnexus.Appnexus"
93+
}, {
94+
"name" : "adx",
95+
"id" : "adx-seat-id",
96+
"bid" : "/rtb/bids/adx=com.jacamars.dsp.rtb.exchanges.adx.DoubleClick",
97+
"extension" : {
98+
"e_key" : "$ADX_EKEY",
99+
"i_key" : "$ADX_IKEY"
100+
}
101+
}, {
102+
"name" : "c1xus",
103+
"id" : "c1xus",
104+
"bid" : "/rtb/bids/c1xus=com.jacamars.dsp.rtb.exchanges.C1XUS&usesPiggyBackWins"
105+
}, {
106+
"name" : "stroer",
107+
"id" : "stroer-id",
108+
"bid" : "/rtb/bids/stroer=com.jacamars.dsp.rtb.exchanges.Stroer"
109+
}, {
110+
"name" : "waardx",
111+
"id" : "waardx-id",
112+
"bid" : "/rtb/bids/waardx=com.jacamars.dsp.rtb.exchanges.Generic&!usesEncodedAdm"
113+
}, {
114+
"name" : "index",
115+
"id" : "index-id",
116+
"bid" : "/rtb/bids/index=com.jacamars.dsp.rtb.exchanges.Generic"
117+
}, {
118+
"name" : "intango",
119+
"id" : "intango-id",
120+
"bid" : "/rtb/bids/intango=com.jacamars.dsp.rtb.exchanges.Generic"
121+
}, {
122+
"name" : "vdopia",
123+
"id" : "vdopia-id",
124+
"bid" : "/rtb/bids/vdopia=com.jacamars.dsp.rtb.exchanges.Generic"
125+
}, {
126+
"name" : "vertamedia",
127+
"id" : "vertamedia-id",
128+
"bid" : "/rtb/bids/vertamedia=com.jacamars.dsp.rtb.exchanges.Generic&!usesEncodedAdm&usesPiggyBackWins"
129+
}, {
130+
"name" : "ventuno",
131+
"id" : "ventuno-id",
132+
"bid" : "/rtb/bids/ventuno=com.jacamars.dsp.rtb.exchanges.Generic"
133+
}, {
134+
"name" : "medianexusnetwork",
135+
"id" : "mnn-id",
136+
"bid" : "/rtb/bids/medianexusnetwork=com.jacamars.dsp.rtb.exchanges.Generic"
137+
}, {
138+
"name" : "wideorbit",
139+
"id" : "wideorbit-id",
140+
"bid" : "/rtb/bids/wideorbit=com.jacamars.dsp.rtb.exchanges.Generic"
141+
}, {
142+
"name" : "smartadserver",
143+
"id" : "smartadserver-id",
144+
"bid" : "/rtb/bids/smartadserver=com.jacamars.dsp.rtb.exchanges.Generic"
145+
}, {
146+
"name" : "c1x",
147+
"id" : "c1x",
148+
"bid" : "/rtb/bids/c1x=com.jacamars.dsp.rtb.exchanges.C1X&usesPiggyBackWins"
149+
}, {
150+
"name" : "axonix",
151+
"id" : "axonix-id",
152+
"bid" : "/rtb/bids/axonix=com.jacamars.dsp.rtb.exchanges.Generic"
153+
}, {
154+
"name" : "adventurefeeds",
155+
"id" : "adventurefeedid",
156+
"bid" : "/rtb/bids/adventurefeeds=com.jacamars.dsp.rtb.exchanges.Adventurefeeds"
157+
}, {
158+
"name" : "adprudence",
159+
"id" : "adprudenceid",
160+
"bid" : "/rtb/bids/adprudence=com.jacamars.dsp.rtb.exchanges.Adprudence"
161+
}, {
162+
"name" : "citenko",
163+
"id" : "citenkoid",
164+
"bid" : "/rtb/bids/citenko=com.jacamars.dsp.rtb.exchanges.Citenko"
165+
}, {
166+
"name" : "kadam",
167+
"id" : "kadamid",
168+
"bid" : "/rtb/bids/kadam=com.jacamars.dsp.rtb.exchanges.Kadam"
169+
}, {
170+
"name" : "gotham",
171+
"id" : "gothamid",
172+
"bid" : "/rtb/bids/gotham=com.jacamars.dsp.rtb.exchanges.Gotham"
173+
}, {
174+
"name" : "atomx",
175+
"id" : "atomxseatid",
176+
"bid" : "/rtb/bids/atomx=com.jacamars.dsp.rtb.exchanges.Atomx"
177+
}, {
178+
"name" : "smartyads",
179+
"id" : "smartypants",
180+
"bid" : "/rtb/bids/smartyads=com.jacamars.dsp.rtb.exchanges.Smartyads"
181+
}, {
182+
"name" : "nexage",
183+
"id" : "99999999",
184+
"bid" : "/rtb/bids/nexage=com.jacamars.dsp.rtb.exchanges.Nexage"
185+
}, {
186+
"name" : "privatex",
187+
"id" : "5555555",
188+
"bid" : "/rtb/bids/privatex=com.jacamars.dsp.rtb.exchanges.Privatex"
189+
}, {
190+
"name" : "fyber",
191+
"id" : "seat1",
192+
"bid" : "/rtb/bids/fyber=com.jacamars.dsp.rtb.exchanges.Fyber"
193+
}, {
194+
"name" : "smaato-builtin",
195+
"id" : "seat1",
196+
"bid" : "/rtb/bids/smaato-builtin=com.jacamars.dsp.rtb.exchanges.Smaato"
197+
}, {
198+
"name" : "smaato",
199+
"id" : "seat1",
200+
"bid" : "/rtb/bids/smaato=com.jacamars.dsp.rtb.exchanges.Smaato"
201+
}, {
202+
"name" : "epomx",
203+
"id" : "seat1",
204+
"bid" : "/rtb/bids/epomx=com.jacamars.dsp.rtb.exchanges.Epomx"
205+
}, {
206+
"name" : "cappture",
207+
"id" : "capptureseatid",
208+
"bid" : "/rtb/bids/cappture=com.jacamars.dsp.rtb.exchanges.Cappture"
209+
}, {
210+
"name" : "taggify",
211+
"id" : "taggifyid",
212+
"bid" : "/rtb/bids/taggify=com.jacamars.dsp.rtb.exchanges.Taggify"
213+
}, {
214+
"name" : "republer",
215+
"id" : "republerid",
216+
"bid" : "/rtb/bids/republer=com.jacamars.dsp.rtb.exchanges.Republer"
217+
}, {
218+
"name" : "admedia",
219+
"id" : "admediaid",
220+
"bid" : "/rtb/bids/admedia=com.jacamars.dsp.rtb.exchanges.AdMedia"
221+
}, {
222+
"name" : "ssphwy",
223+
"id" : "ssphwyid",
224+
"bid" : "/rtb/bids/ssphwy=com.jacamars.dsp.rtb.exchanges.SSPHwy"
225+
}, {
226+
"name" : "pubmatic",
227+
"id" : "pubmaticid",
228+
"bid" : "/rtb/bids/pubmatic=com.jacamars.dsp.rtb.exchanges.Pubmatic"
229+
}, {
230+
"name" : "xapads",
231+
"id" : "xapads-id",
232+
"bid" : "/rtb/bids/xapads=com.jacamars.dsp.rtb.exchanges.Generic&!usesEncodedAdm"
233+
}, {
234+
"name" : "admedia",
235+
"id" : "admedia-id",
236+
"bid" : "/rtb/bids/admedia=com.jacamars.dsp.rtb.exchanges.Generic&!usesEncodedAdm"
237+
}],
238+
"NOs3" : {
239+
"access_key_id" : "$S3ACCESSKEY",
240+
"secret_access_key" : "$S3SECRETKEY",
241+
"region" : "$S3REGION",
242+
"bucket" : "$SEBUCKET"
243+
},
244+
"lists" : [ {
245+
"filename" : "data/adxgeo.csv",
246+
"name" : "@ISO2-3",
247+
"type" : "com.jacamars.dsp.rtb.tools.IsoTwo2Iso3"
248+
}, {
249+
"filename" : "data/METHBOT.txt",
250+
"name" : "@CIDR",
251+
"type" : "CidrMap"
252+
}, {
253+
"filename" : "data/adxgeo.csv",
254+
"name" : "@ADXGEO",
255+
"type" : "com.jacamars.dsp.rtb.exchanges.adx.AdxGeoCodes"
256+
}, {
257+
"filename" : "data/zip_codes_states.csv",
258+
"name" : "@ZIPCODES",
259+
"type" : "com.jacamars.dsp.rtb.tools.LookingGlass"
260+
} ]
261+
}

0 commit comments

Comments
 (0)