Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Adapter: ResetDigital #3766

Open
wants to merge 174 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
174 commits
Select commit Hold shift + click to select a range
70de190
New Adapter: ResetDigital
bruno-siira Feb 5, 2024
dd48470
Fix to have the a bid forced on testing
bruno-siira Feb 7, 2024
32551fc
Merge branch 'prebid:master' into master
bruno-siira Feb 7, 2024
125124b
Merge branch 'prebid:master' into master
bruno-siira Feb 9, 2024
5c56e12
Test changes
bruno-siira Feb 9, 2024
fe4ff39
Merge branch 'prebid:master' into master
bruno-siira Feb 13, 2024
664614f
Merge branch 'master' of https://github.com/bruno-siira/prebid-server
bruno-siira Feb 13, 2024
0b44384
Merge branch 'prebid:master' into master
bruno-siira Feb 21, 2024
0775c72
Merge branch 'master' of https://github.com/bruno-siira/prebid-server
bruno-siira Feb 26, 2024
20fa856
Add file
bruno-siira Feb 28, 2024
33f4603
Added schema for adapter
bruno-siira Feb 28, 2024
e468217
Merge branch 'prebid:master' into master
bruno-siira Mar 17, 2024
b8ca566
Unused builder removed
bruno-siira Mar 18, 2024
2de7781
Fix to lack of builder
bruno-siira Mar 24, 2024
eb067f7
Change of data on export
bruno-siira Mar 26, 2024
86206d7
no need to include `required` if its empty
bruno-siira Apr 14, 2024
3fc5455
Resolving https://github.com/prebid/prebid-server/pull/3452
BrunoJacinto May 14, 2024
3762676
Merge branch 'prebid:master' into master
bruno-siira Jun 20, 2024
8500d56
New Adapter : MediaGo (#3705)
SylviaF Jun 24, 2024
817afeb
Gitignore changes (#3752)
Enigo Jun 24, 2024
fe55575
OwnAdx: Add cookie sync (#3713)
ownAdx-prebid Jun 25, 2024
9f2caf9
add support for setting seat (bidderCode) override + demand source in…
nickjacob Jun 25, 2024
3295c41
AppNexus: Forward GPID (#3767)
SyntaxNode Jun 26, 2024
2a8483b
IX: save/restore global var in test (#3638)
dmitris Jun 26, 2024
07f3ee2
Nobid: Add iframe sync support (#3732)
redaguermas Jun 27, 2024
057e25d
New Adapter: Сointraffic (#3647)
sergeykcointraffic Jun 28, 2024
09a3dd4
New Adapter: Vidazoo (#3698)
saar120 Jul 1, 2024
8784615
InMobi: include iframe & native for M-Web (#3682)
SiddhantAgrawal Jul 1, 2024
80a90dd
OpenWeb: Adapter Refactor + New Endpoint (#3670)
IgorKulemzin Jul 1, 2024
a907ecb
PulsePoint: Marking cp/ct params to be either String or Int (#3677)
anand-venkatraman Jul 1, 2024
670e1d4
Bizzclick: rename bizzclick to blasto (#3688)
BizzClick Jul 1, 2024
989c565
New Adapter: ResetDigital #3766
bruno-siira Jul 3, 2024
99431ad
New Adapter: Admatic (#3654)
bakicam Jul 3, 2024
39905ed
Fix naming
bruno-siira Jul 5, 2024
4482bc9
Fix naming of Var
bruno-siira Jul 5, 2024
d426e8a
Fix PR New Adapter: ResetDigital #3766
bruno-siira Jul 9, 2024
ac2fc01
Fix New Adapter: ResetDigital #3766
bruno-siira Jul 9, 2024
52a6794
Fix multiple comments
bruno-siira Jul 16, 2024
a1b4451
Criteo: Add support for native (#3709)
MarinaZhuravlevaCriteo Jul 18, 2024
5fefeaa
Smaato: Add DSA support tests (#3749)
tetianaatsmaato Jul 18, 2024
9626103
New tests
bruno-siira Jul 18, 2024
0a3271d
New Adapter: Displayio (#3691)
xdevel Jul 22, 2024
da658e7
CPMStar: add gvlVendorID (#3779)
JoshuaMGoldstein Jul 22, 2024
0f5a1fe
Adprime: add userSync (#3770)
Adprime Jul 22, 2024
f087eea
OpenX: accept incoming string fields to support Prebid.js 9 (#3668)
laurb9 Jul 24, 2024
115f773
New Adapter: bigoad (#3711)
BIGOAds Jul 24, 2024
d1596c8
Smaato: Change server response type (#3734)
Enigo Jul 24, 2024
536821f
Triplelift Native: Mapping tag_code (#3745)
patrickloughrey Jul 24, 2024
dea6cf7
Fix http.StatusBadRequest and non http.StatusOK codes should not be e…
bruno-siira Jul 24, 2024
382f793
ConenctAd Adapter Update (#3715)
rtuschkany Jul 25, 2024
83bce5a
PBS Go: 2024 Doc updates including endpoint and ortb support version …
AaronColbyPrice Jul 25, 2024
55094fe
Fix: Triplelift Native add site.publisher nil check (#3824)
bsardo Jul 29, 2024
466ff83
Smaato: Add DOOH support (#3751)
Enigo Jul 29, 2024
ed3e4a1
Gracefully shutdown analytics module/runner (#3335)
zhongshixi Jul 29, 2024
843a81c
Criteo: Add support for paapi (#3759)
vraybaud Jul 30, 2024
7c92e10
New Adapter: QT (#3696)
qt-io Aug 1, 2024
8b13ebc
consumable adapter - use configured endpoint instead of hardcoded val…
edandavi Aug 5, 2024
c50e264
OpenX: return cat/dur for video bids (#3834)
laurb9 Aug 6, 2024
c3d8379
Adtelligent: ext aid type (#3676)
dkornet-ad Aug 6, 2024
efc1e8b
New Adapter: TheTradeDesk (#3738)
andre-gielow-ttd Aug 6, 2024
e8e2848
SmartHub: add alias FelixAds (#3837)
SmartHubSolutions Aug 6, 2024
804334a
New Adapter: MetaX (#3712)
metax-kehan Aug 6, 2024
dabc386
Playdigo: Add user sync (#3797)
Yanivplaydigo Aug 7, 2024
cba6221
SmartHub: add alias VimayX (#3760)
SmartHubSolutions Aug 8, 2024
211f13a
New Adapter: Filmzie (#3758)
imedvedko Aug 8, 2024
ce331a7
Fix: Aliases Of Bidders With UserSync Supports Declared Only (#3850)
SyntaxNode Aug 8, 2024
4f177ca
New Adapter: MeloZen (#3784)
benben2001 Aug 12, 2024
2a19924
taboola-support-app-in-prebid-server (#3795)
ahmadlob Aug 12, 2024
4d64623
OwnAdx: Bidder param and URL updates (#3813)
ownAdx-prebid Aug 12, 2024
0e9b234
Use format=prebid on adserver requests. (#3846)
antosarho Aug 13, 2024
2606e75
New Module: 51Degrees (#3650)
jwrosewell Aug 16, 2024
5cfe0ae
Not running tests at this momment
bruno-siira Aug 16, 2024
e4bd6d3
ADTS-455 remove video validations (#3842)
gg-natalia Aug 18, 2024
6be7244
Update Vidazoo bidder info for GPP support (#3869)
saar120 Aug 21, 2024
e8509e6
declare support for ORTB 2.6 (#3872)
bretg Aug 21, 2024
d161712
new adapter (#3833)
Pubrise Aug 21, 2024
a556e2d
Fix currency conversion bug. (#3867)
CTMBNara Aug 21, 2024
59a5b07
freewheel-adapter: support 2.6 (#3873)
mwang-sticky Aug 21, 2024
54f8759
Update mobilefuse.yaml to indicate support for OpenRTB 2.6 and GPP (#…
dtbarne Aug 21, 2024
bd85ba4
specifies ortb 2.6 support (#3) (#3876)
nickllerandi Aug 22, 2024
84a8162
PulsePoint: ortb 2.6 version and gpp support (#3874)
anand-venkatraman Aug 22, 2024
8d7117d
Revert "New Module: 51Degrees (#3650)" (#3888)
bsardo Aug 27, 2024
ece8152
Update with help of Xandr Team
bruno-siira Aug 29, 2024
baa553c
Simplify Tests
bruno-siira Aug 29, 2024
4ea0e33
New Adapter: Copper6SSP (#3755)
Copper6SSP Aug 30, 2024
2e2b49f
New Adapter: Escalax (#3798)
escalax Aug 30, 2024
e825553
New Adapter: Oraki (#3839)
BenOraki Aug 30, 2024
f7caea5
OpenX: indicate support for OpenRTB 2.6 (#3879)
bwschmidt Aug 30, 2024
8237f7f
Refactor Bid Splitter Privacy Functions (#3645)
SyntaxNode Sep 3, 2024
ec6a45d
Agma: Allow app.bundle to be used as selector for apps (#3780)
steffenmllr Sep 4, 2024
ecc90bb
PR of functioning version
bruno-siira Sep 10, 2024
6a011ed
Update github.com/rs/cors to v1.11.0 (#3884)
ccorbo Sep 11, 2024
b920cca
Playdigo: Add tcfeu support (#3890)
Yanivplaydigo Sep 11, 2024
e0a21d0
QT: Add tcfeu support (#3892)
qt-io Sep 11, 2024
6cbedf0
Smartx: Declare OpenRTB 2.6 support (#3896)
schubert-sc Sep 11, 2024
7613ff5
Update adapter json test framework to validate BidVideo (#3835)
laurb9 Sep 12, 2024
c02ee8c
Update exchange json tests with correct hb_pb_cat_dur (#3836)
laurb9 Sep 12, 2024
ffdd75f
New Adapter: AdTonos (#3853)
rkaw92 Sep 12, 2024
3e24be7
New Adapter: TGM (#3848)
apykhteyev Sep 13, 2024
640b97c
LemmaDigital: change endpoint (#3862)
lm-ved Sep 16, 2024
3c4527e
Adnuntius: Return DSA in bid response (#3777)
mikael-lundin Sep 18, 2024
905b3a5
Log non bid reasons in bidder framework (#2891)
ShriprasadM Sep 19, 2024
93368cc
ConnectAd: String/int fix (#3925)
rtuschkany Sep 19, 2024
11b6546
Rubicon: Pass PBS host info to XAPI (#3903)
And1sS Sep 23, 2024
4462fce
51degrees module (#3893)
justadreamer Sep 25, 2024
8b1b96e
Add docs build readme (#3930)
bsardo Sep 25, 2024
c42fe53
InMobi: mtype support (#3921)
bkaneyama Sep 25, 2024
53f51a6
GPC: Set extension based on header (#3895)
przemkaczmarek Sep 25, 2024
6c154e0
New Adapter: Streamlyn (#3900)
apykhteyev Sep 25, 2024
0d54a8d
Added Video and removed unwanted data
bruno-siira Sep 29, 2024
f27bcef
New Adapter: Bidmatic (#3731)
dkornet-ad Oct 3, 2024
8689e0d
Sonobi: native and currency conversion support (#3889)
bansawbanchee Oct 7, 2024
d54c3ed
New Adapter: Missena (#3761)
ysfbsf Oct 8, 2024
64584f6
Refactor: Remove getAuctionBidderRequests (#3957)
bsardo Oct 8, 2024
87d4412
Refactor: Move privacy init up (#3958)
bsardo Oct 9, 2024
9bb9b3d
Unruly: Indicate Support for OpenRTB 2.6 (#3984)
bhainesnexxen Oct 15, 2024
c37951a
update yieldmo.yaml to indicate support for ortb 2.6 (#3968)
ym-winston Oct 15, 2024
5fcbbbf
Triplelift: Adding flag for 2.6 support (#3966)
patrickloughrey Oct 15, 2024
cbe9876
enable gzip (#3946)
ikagotso Oct 15, 2024
b56923c
RTB House: Resolve AUCTION_PRICE macro (#3901)
piotrj-rtbh Oct 15, 2024
8134328
Displayio: Make imp.bidfloor optional (#3959)
xdevel Oct 16, 2024
451bc44
BlueSea: Add site capability (#3910)
blueseasx Oct 16, 2024
bcf6491
GumGum: Declare ORTB 2.6 support (#3985)
sindhuja-sridharan Oct 17, 2024
18f6798
Bump Go version to 1.22 in dev containers config (#3983)
sebhtml Oct 22, 2024
03a4abd
Sample: Fix prebid js loading bug on sample html page (#3792)
And1sS Oct 22, 2024
660dba7
created mock test
ogbonnaEmmanuel Oct 25, 2024
a23380f
ImproveDigital: Remove placementKey & addtlconsent parsing (#3728)
ishihanvcs Oct 29, 2024
ddf897c
Update Cookie Sync Chooser Debug Message to match Java (#3558)
AlexBVolcy Oct 29, 2024
1419761
Rename Blacklisted Apps to Blocked Apps (#3620)
SyntaxNode Oct 29, 2024
db2a872
ORTB 2.6: Full support with down convert for 2.5 adapters (#4019)
bsardo Oct 29, 2024
df58baf
Cookie Sync: Use max when limit is 0 (#4022)
bsardo Oct 30, 2024
3907f1a
Remove Default Request Hardcoded Aliases (#4020)
SyntaxNode Oct 30, 2024
5b11f59
Adapters: Update to use jsonutil unmarshal (#4021)
bsardo Oct 30, 2024
5f70f11
delete fake_test.json
ogbonnaEmmanuel Oct 31, 2024
6e150f3
Increment Package Version To v3 (#4029)
SyntaxNode Oct 31, 2024
613317a
Merge pull request #1 from ogbonnaEmmanuel/master
dirk-rd Oct 31, 2024
a083c03
Adding support for audio media type and a corresponding simple-audio.…
dirk-rd Nov 3, 2024
a788661
GumGum: Override the default currency (#3928)
MartinGumGum Nov 4, 2024
bc7caaf
Fix slice append syntax.
dirk-rd Nov 4, 2024
4569e97
Removed zero check for bid response and moved HTTP headers into separ…
dirk-rd Nov 4, 2024
0bc2aeb
Adding test case for missing currency to improve test coverage percen…
dirk-rd Nov 4, 2024
d212d91
Merge pull request #2 from bruno-siira/add-audio
bruno-siira Nov 4, 2024
3403544
PgamSSP: Add currency converter (#3907)
PGAMSSP Nov 4, 2024
cff2442
New Adapter: ResetDigital
bruno-siira Feb 5, 2024
44bee69
Fix to have the a bid forced on testing
bruno-siira Feb 7, 2024
96fde76
Test changes
bruno-siira Feb 9, 2024
6e08b5d
Add file
bruno-siira Feb 28, 2024
ec4005d
Added schema for adapter
bruno-siira Feb 28, 2024
fd3ec0d
Unused builder removed
bruno-siira Mar 18, 2024
8bca6ad
Fix to lack of builder
bruno-siira Mar 24, 2024
278be3f
Change of data on export
bruno-siira Mar 26, 2024
56a77a0
no need to include `required` if its empty
bruno-siira Apr 14, 2024
f0e2574
Resolving https://github.com/prebid/prebid-server/pull/3452
BrunoJacinto May 14, 2024
0e365ce
New Adapter: ResetDigital #3766
bruno-siira Jul 3, 2024
f2d3afc
Fix naming
bruno-siira Jul 5, 2024
d6e24d0
Fix naming of Var
bruno-siira Jul 5, 2024
eceef87
Fix PR New Adapter: ResetDigital #3766
bruno-siira Jul 9, 2024
e86d017
Fix New Adapter: ResetDigital #3766
bruno-siira Jul 9, 2024
baa974f
Fix multiple comments
bruno-siira Jul 16, 2024
73c3fe0
New tests
bruno-siira Jul 18, 2024
246010f
Fix http.StatusBadRequest and non http.StatusOK codes should not be e…
bruno-siira Jul 24, 2024
cff5817
Not running tests at this momment
bruno-siira Aug 16, 2024
5ab5517
Update with help of Xandr Team
bruno-siira Aug 29, 2024
d3df8f2
Simplify Tests
bruno-siira Aug 29, 2024
c1795b8
PR of functioning version
bruno-siira Sep 10, 2024
1665bc9
Added Video and removed unwanted data
bruno-siira Sep 29, 2024
0f6f5b1
created mock test
ogbonnaEmmanuel Oct 25, 2024
27863db
delete fake_test.json
ogbonnaEmmanuel Oct 31, 2024
f0da5d7
Adding support for audio media type and a corresponding simple-audio.…
dirk-rd Nov 3, 2024
6c745fb
Fix slice append syntax.
dirk-rd Nov 4, 2024
56b03f1
Removed zero check for bid response and moved HTTP headers into separ…
dirk-rd Nov 4, 2024
21eecdd
Adding test case for missing currency to improve test coverage percen…
dirk-rd Nov 4, 2024
dcd9dad
COmmit
bruno-siira Nov 4, 2024
2584c6b
Changing the version to V3
bruno-siira Nov 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
78 changes: 78 additions & 0 deletions -vv
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
mode: set
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:67.119,69.16 2 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:69.16,71.3 1 0
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:72.2,75.20 2 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:78.59,81.68 2 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:81.68,91.3 1 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:92.2,92.16 1 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:95.79,96.39 1 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:96.39,97.21 1 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:97.21,99.4 1 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:103.141,109.38 2 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:109.38,111.17 2 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:111.17,113.12 2 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:116.3,117.17 2 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:117.17,119.12 2 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:122.3,123.17 2 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:123.17,125.12 2 0
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:128.3,134.5 1 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:137.2,137.25 1 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:140.139,143.29 2 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:143.29,146.3 2 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:148.2,153.63 2 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:153.63,155.26 2 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:155.26,157.4 1 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:158.3,158.26 1 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:158.26,160.4 1 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:161.3,161.29 1 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:161.29,166.4 1 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:168.2,168.61 1 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:168.61,170.25 2 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:170.25,172.4 1 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:173.3,173.25 1 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:173.25,175.4 1 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:176.3,176.29 1 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:176.29,181.4 1 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:183.2,183.61 1 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:183.62,197.3 0 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:199.2,202.60 3 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:202.60,204.3 1 0
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:205.2,205.75 1 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:205.75,207.3 1 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:208.2,210.21 2 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:213.166,214.58 1 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:214.58,216.3 1 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:218.2,218.80 1 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:218.80,220.3 1 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:222.2,223.69 2 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:223.69,225.3 1 0
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:227.2,231.34 4 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:231.34,233.3 1 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:235.2,235.31 1 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:235.31,240.17 3 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:240.17,243.12 2 0
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:246.3,247.17 2 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:247.17,249.12 2 0
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:252.3,257.49 2 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:260.2,260.27 1 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:260.27,262.3 1 0
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:264.2,264.26 1 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:267.78,268.26 1 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:268.26,271.3 1 0
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:273.2,283.16 3 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:283.16,285.3 1 0
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:286.2,289.16 3 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:289.16,291.3 1 0
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:292.2,293.17 2 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:296.64,297.23 1 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:297.23,299.3 1 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:299.8,299.29 1 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:299.29,301.3 1 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:301.8,301.29 1 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:301.29,303.3 1 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:305.2,305.73 1 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:308.104,311.41 2 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:311.41,312.50 1 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:312.50,316.4 1 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:317.3,317.24 1 1
github.com/prebid/prebid-server/v2/adapters/resetdigital/resetdigital.go:319.2,319.73 1 0
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"dockerfile": "Dockerfile",
"args": {
// Update the VARIANT arg to pick a version of Go
"VARIANT": "1.20",
"VARIANT": "1.22",
// Options
"INSTALL_NODE": "false",
"NODE_VERSION": "lts/*"
Expand Down
8 changes: 3 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ _obj
_test
.cover/
.idea/
.vscode/

# Architecture specific extensions/prefixes
*.[568vq]
Expand Down Expand Up @@ -42,11 +43,8 @@ inventory_url.yaml
analytics/config/testFiles/
analytics/filesystem/testFiles/

# autogenerated version file
# static/version.txt

.idea/
.vscode/
# autogenerated files
prebid-server.iml

# autogenerated mac file

Expand Down
14 changes: 10 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,20 @@ WORKDIR /app/prebid-server/
ENV GOROOT=/usr/local/go
ENV PATH=$GOROOT/bin:$PATH
ENV GOPROXY="https://proxy.golang.org"

# Installing gcc as cgo uses it to build native code of some modules
RUN apt-get update && \
apt-get install -y git && \
apt-get install -y git gcc && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
ENV CGO_ENABLED 0

# CGO must be enabled because some modules depend on native C code
ENV CGO_ENABLED 1
COPY ./ ./
RUN go mod tidy
RUN go mod vendor
ARG TEST="true"
RUN if [ "$TEST" != "false" ]; then ./validate.sh ; fi
RUN go build -mod=vendor -ldflags "-X github.com/prebid/prebid-server/v2/version.Ver=`git describe --tags | sed 's/^v//'` -X github.com/prebid/prebid-server/v2/version.Rev=`git rev-parse HEAD`" .
RUN go build -mod=vendor -ldflags "-X github.com/prebid/prebid-server/v3/version.Ver=`git describe --tags | sed 's/^v//'` -X github.com/prebid/prebid-server/v3/version.Rev=`git rev-parse HEAD`" .

FROM ubuntu:20.04 AS release
LABEL maintainer="hans.hjort@xandr.com"
Expand All @@ -30,8 +34,10 @@ RUN chmod a+xr prebid-server
COPY static static/
COPY stored_requests/data stored_requests/data
RUN chmod -R a+r static/ stored_requests/data

# Installing libatomic1 as it is a runtime dependency for some modules
RUN apt-get update && \
apt-get install -y ca-certificates mtr && \
apt-get install -y ca-certificates mtr libatomic1 && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN adduser prebid_user
USER prebid_user
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ test: deps
ifeq "$(adapter)" ""
./validate.sh
else
go test github.com/prebid/prebid-server/v2/adapters/$(adapter) -bench=.
go test github.com/prebid/prebid-server/v3/adapters/$(adapter) -bench=.
endif

# build-modules generates modules/builder.go file which provides a list of all available modules
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ or compile a standalone binary using the command:
``` bash
go build .
```
**Note:** if building from source there are a couple dependencies to be aware of:
1. *Compile-time*. Some modules ship native code that requires `cgo` (comes with the `go` compiler) being enabled - by default it is and environment variable `CGO_ENABLED=1` do NOT set it to `0`.
2. *Compile-time*. `cgo` depends on the C-compiler, which usually is `gcc`, but can be changed by setting the value of `CC` env var, f.e. `CC=clang`. On ubuntu `gcc` can be installed via `sudo apt-get install gcc`.
3. *Runtime*. Some modules require `libatomic`. On ubuntu it is installed by running `sudo apt-get install libatomic1`. `libatomic1` is a dependency of `gcc`, so if you are building with `gcc` and running on the same machine, it is likely that `libatomic1` is already installed.

Ensure that you deploy the `/static` directory, as Prebid Server requires those files at startup.

## Developing
Expand Down
14 changes: 7 additions & 7 deletions account/account.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ import (

"github.com/prebid/go-gdpr/consentconstants"

"github.com/prebid/prebid-server/v2/config"
"github.com/prebid/prebid-server/v2/errortypes"
"github.com/prebid/prebid-server/v2/metrics"
"github.com/prebid/prebid-server/v2/openrtb_ext"
"github.com/prebid/prebid-server/v2/stored_requests"
"github.com/prebid/prebid-server/v2/util/iputil"
"github.com/prebid/prebid-server/v2/util/jsonutil"
"github.com/prebid/prebid-server/v3/config"
"github.com/prebid/prebid-server/v3/errortypes"
"github.com/prebid/prebid-server/v3/metrics"
"github.com/prebid/prebid-server/v3/openrtb_ext"
"github.com/prebid/prebid-server/v3/stored_requests"
"github.com/prebid/prebid-server/v3/util/iputil"
"github.com/prebid/prebid-server/v3/util/jsonutil"
)

// GetAccount looks up the config.Account object referenced by the given accountID, with access rules applied
Expand Down
14 changes: 7 additions & 7 deletions account/account_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ import (
"fmt"
"testing"

"github.com/prebid/prebid-server/v2/config"
"github.com/prebid/prebid-server/v2/errortypes"
"github.com/prebid/prebid-server/v2/metrics"
"github.com/prebid/prebid-server/v2/openrtb_ext"
"github.com/prebid/prebid-server/v2/stored_requests"
"github.com/prebid/prebid-server/v2/util/iputil"
"github.com/prebid/prebid-server/v2/util/ptrutil"
"github.com/prebid/prebid-server/v3/config"
"github.com/prebid/prebid-server/v3/errortypes"
"github.com/prebid/prebid-server/v3/metrics"
"github.com/prebid/prebid-server/v3/openrtb_ext"
"github.com/prebid/prebid-server/v3/stored_requests"
"github.com/prebid/prebid-server/v3/util/iputil"
"github.com/prebid/prebid-server/v3/util/ptrutil"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
)
Expand Down
21 changes: 11 additions & 10 deletions adapters/33across/33across.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ import (

"github.com/prebid/openrtb/v20/adcom1"
"github.com/prebid/openrtb/v20/openrtb2"
"github.com/prebid/prebid-server/v2/adapters"
"github.com/prebid/prebid-server/v2/config"
"github.com/prebid/prebid-server/v2/errortypes"
"github.com/prebid/prebid-server/v2/openrtb_ext"
"github.com/prebid/prebid-server/v3/adapters"
"github.com/prebid/prebid-server/v3/config"
"github.com/prebid/prebid-server/v3/errortypes"
"github.com/prebid/prebid-server/v3/openrtb_ext"
"github.com/prebid/prebid-server/v3/util/jsonutil"
)

type TtxAdapter struct {
Expand Down Expand Up @@ -76,7 +77,7 @@ func (a *TtxAdapter) MakeRequests(request *openrtb2.BidRequest, reqInfo *adapter
// Skip over imps whose extensions cannot be read since
// we cannot glean Prod or ZoneID which are required to
// group together. However let's not block request creation.
if err := json.Unmarshal(impCopy.Ext, &impExt); err == nil {
if err := jsonutil.Unmarshal(impCopy.Ext, &impExt); err == nil {
impKey := impExt.Ttx.Prod + impExt.Ttx.Zoneid
groupedImps[impKey] = append(groupedImps[impKey], impCopy)
} else {
Expand Down Expand Up @@ -126,14 +127,14 @@ func makeImps(imp openrtb2.Imp) (openrtb2.Imp, error) {
}

var bidderExt adapters.ExtImpBidder
if err := json.Unmarshal(imp.Ext, &bidderExt); err != nil {
if err := jsonutil.Unmarshal(imp.Ext, &bidderExt); err != nil {
return openrtb2.Imp{}, &errortypes.BadInput{
Message: err.Error(),
}
}

var ttxExt openrtb_ext.ExtImp33across
if err := json.Unmarshal(bidderExt.Bidder, &ttxExt); err != nil {
if err := jsonutil.Unmarshal(bidderExt.Bidder, &ttxExt); err != nil {
return openrtb2.Imp{}, &errortypes.BadInput{
Message: err.Error(),
}
Expand Down Expand Up @@ -177,7 +178,7 @@ func makeReqExt(request *openrtb2.BidRequest) ([]byte, error) {
var reqExt reqExt

if len(request.Ext) > 0 {
if err := json.Unmarshal(request.Ext, &reqExt); err != nil {
if err := jsonutil.Unmarshal(request.Ext, &reqExt); err != nil {
return nil, err
}
}
Expand Down Expand Up @@ -215,7 +216,7 @@ func (a *TtxAdapter) MakeBids(internalRequest *openrtb2.BidRequest, externalRequ

var bidResp openrtb2.BidResponse

if err := json.Unmarshal(response.Body, &bidResp); err != nil {
if err := jsonutil.Unmarshal(response.Body, &bidResp); err != nil {
return nil, []error{err}
}

Expand All @@ -226,7 +227,7 @@ func (a *TtxAdapter) MakeBids(internalRequest *openrtb2.BidRequest, externalRequ
var bidExt bidExt
var bidType openrtb_ext.BidType

if err := json.Unmarshal(sb.Bid[i].Ext, &bidExt); err != nil {
if err := jsonutil.Unmarshal(sb.Bid[i].Ext, &bidExt); err != nil {
bidType = openrtb_ext.BidTypeBanner
} else {
bidType = getBidType(bidExt)
Expand Down
6 changes: 3 additions & 3 deletions adapters/33across/33across_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package ttx
import (
"testing"

"github.com/prebid/prebid-server/v2/adapters/adapterstest"
"github.com/prebid/prebid-server/v2/config"
"github.com/prebid/prebid-server/v2/openrtb_ext"
"github.com/prebid/prebid-server/v3/adapters/adapterstest"
"github.com/prebid/prebid-server/v3/config"
"github.com/prebid/prebid-server/v3/openrtb_ext"
)

func TestJsonSamples(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion adapters/33across/params_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"testing"

"github.com/prebid/prebid-server/v2/openrtb_ext"
"github.com/prebid/prebid-server/v3/openrtb_ext"
)

// This file actually intends to test static/bidder-params/33across.json
Expand Down
13 changes: 7 additions & 6 deletions adapters/aax/aax.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ import (
"net/url"

"github.com/prebid/openrtb/v20/openrtb2"
"github.com/prebid/prebid-server/v2/adapters"
"github.com/prebid/prebid-server/v2/config"
"github.com/prebid/prebid-server/v2/errortypes"
"github.com/prebid/prebid-server/v2/openrtb_ext"
"github.com/prebid/prebid-server/v3/adapters"
"github.com/prebid/prebid-server/v3/config"
"github.com/prebid/prebid-server/v3/errortypes"
"github.com/prebid/prebid-server/v3/openrtb_ext"
"github.com/prebid/prebid-server/v3/util/jsonutil"
)

type adapter struct {
Expand Down Expand Up @@ -63,7 +64,7 @@ func (a *adapter) MakeBids(internalRequest *openrtb2.BidRequest, externalRequest

var bidResp openrtb2.BidResponse

if err := json.Unmarshal(response.Body, &bidResp); err != nil {
if err := jsonutil.Unmarshal(response.Body, &bidResp); err != nil {
return nil, []error{err}
}

Expand Down Expand Up @@ -96,7 +97,7 @@ func Builder(bidderName openrtb_ext.BidderName, config config.Adapter, server co

func getMediaTypeForImp(bid openrtb2.Bid, imps []openrtb2.Imp) (openrtb_ext.BidType, error) {
var bidExt aaxResponseBidExt
err := json.Unmarshal(bid.Ext, &bidExt)
err := jsonutil.Unmarshal(bid.Ext, &bidExt)
if err == nil {
switch bidExt.AdCodeType {
case "banner":
Expand Down
6 changes: 3 additions & 3 deletions adapters/aax/aax_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (

"github.com/stretchr/testify/assert"

"github.com/prebid/prebid-server/v2/adapters/adapterstest"
"github.com/prebid/prebid-server/v2/config"
"github.com/prebid/prebid-server/v2/openrtb_ext"
"github.com/prebid/prebid-server/v3/adapters/adapterstest"
"github.com/prebid/prebid-server/v3/config"
"github.com/prebid/prebid-server/v3/openrtb_ext"
)

func TestJsonSamples(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion adapters/aax/params_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"testing"

"github.com/prebid/prebid-server/v2/openrtb_ext"
"github.com/prebid/prebid-server/v3/openrtb_ext"
)

// This file actually intends to test static/bidder-params/aax.json
Expand Down
17 changes: 9 additions & 8 deletions adapters/aceex/aceex.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ import (
"text/template"

"github.com/prebid/openrtb/v20/openrtb2"
"github.com/prebid/prebid-server/v2/adapters"
"github.com/prebid/prebid-server/v2/config"
"github.com/prebid/prebid-server/v2/errortypes"
"github.com/prebid/prebid-server/v2/macros"
"github.com/prebid/prebid-server/v2/openrtb_ext"
"github.com/prebid/prebid-server/v3/adapters"
"github.com/prebid/prebid-server/v3/config"
"github.com/prebid/prebid-server/v3/errortypes"
"github.com/prebid/prebid-server/v3/macros"
"github.com/prebid/prebid-server/v3/openrtb_ext"
"github.com/prebid/prebid-server/v3/util/jsonutil"
)

type adapter struct {
Expand Down Expand Up @@ -90,13 +91,13 @@ func (a *adapter) MakeRequests(

func (a *adapter) getImpressionExt(imp *openrtb2.Imp) (*openrtb_ext.ExtAceex, error) {
var bidderExt adapters.ExtImpBidder
if err := json.Unmarshal(imp.Ext, &bidderExt); err != nil {
if err := jsonutil.Unmarshal(imp.Ext, &bidderExt); err != nil {
return nil, &errortypes.BadInput{
Message: "ext.bidder not provided",
}
}
var aceexExt openrtb_ext.ExtAceex
if err := json.Unmarshal(bidderExt.Bidder, &aceexExt); err != nil {
if err := jsonutil.Unmarshal(bidderExt.Bidder, &aceexExt); err != nil {
return nil, &errortypes.BadInput{
Message: "ext.bidder not provided",
}
Expand Down Expand Up @@ -151,7 +152,7 @@ func (a *adapter) MakeBids(

responseBody := bidderRawResponse.Body
var bidResp openrtb2.BidResponse
if err := json.Unmarshal(responseBody, &bidResp); err != nil {
if err := jsonutil.Unmarshal(responseBody, &bidResp); err != nil {
return nil, []error{&errortypes.BadServerResponse{
Message: "Bad Server Response",
}}
Expand Down
Loading
Loading