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

UOE-6610: Upgrade prebid-server to 0.170.0 #190

Merged
merged 606 commits into from
Aug 17, 2021
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
606 commits
Select commit Hold shift + click to select a range
8760bae
Smaato: Add support for app (#1767)
el-chuck Mar 23, 2021
bea52c6
Update sync types (#1770)
GeneGenie Mar 23, 2021
b9d28e7
33across: Fix Shared Memory Overwriting (#1764)
guscarreon Mar 24, 2021
ef32c8b
Fix race condition in Yeahmobi adapter (#1761)
guscarreon Mar 25, 2021
bcfe9f2
Pubnative: Fix Shared Memory Overwriting (#1760)
guscarreon Mar 25, 2021
6a3a8b8
Add request for registration (#1780)
bretg Mar 25, 2021
192f55b
Update OpenRTB Library (#1733)
SyntaxNode Mar 26, 2021
690fe2d
Tappx changes - Backward compatible change of version (#1777)
prebidtappx Mar 30, 2021
056b7cc
DMX: Enforcing w and h in imp (#1778)
stevealliance Mar 31, 2021
cbc3e84
Remove Authorization Headers From Debug Response (#1779)
SyntaxNode Apr 1, 2021
6fa5771
New Adapter: Bidmachine (#1769)
meeeeeepo Apr 1, 2021
8193e30
New Adapter: Criteo (#1775)
benjaminch Apr 1, 2021
7cf60db
Fix shared memory issue when stripping authorization header from bid …
bsardo Apr 6, 2021
245accf
RTB House: update parameters (#1785)
piwanczak Apr 7, 2021
5708943
Generate seatbid[].bid[].ext.prebid.bidid (#1772)
VeronikaSolovei9 Apr 8, 2021
adb4044
Basic GDPR enforcement for specific publisher-vendors. (#1782)
hhhjort Apr 8, 2021
28de9fd
New Adapter: Zemanta (#1774)
rokostik Apr 8, 2021
aad9798
Zemanta: Rename Adapter To Outbrain (#1797)
Apr 9, 2021
c0a85f7
Update openrtb library to v15 (#1802)
Apr 14, 2021
cc84f02
IX: Set bidVideo when category and duration is available (#1794)
ixjohnny Apr 14, 2021
22191e6
Update IX defaults (#1799)
mlb7687 Apr 14, 2021
bdfbc32
Update Adyoulike endpoint to hit production servers (#1805)
guiann Apr 14, 2021
5bec86b
Openx: use bidfloor if set - prebid.js adapter behavior (#1795)
laurb9 Apr 14, 2021
398e1ca
[ORBIDDER] add gvlVendorID and set bid response currency (#1798)
arneschulz1984 Apr 14, 2021
1628e1a
New Adapter: ADXCG (#1803)
adxcgcom Apr 15, 2021
b3b6099
Update kidoz properties to type string (#1808)
agilfix Apr 15, 2021
51822e1
Update bidmachine properties to type string (#1809)
agilfix Apr 15, 2021
c7b6463
transform native eventtrackers to imptrackers and jstracker (#1811)
Apr 16, 2021
d384e91
TheMediaGrid: Added processing of imp[].ext.data (#1807)
TheMediaGrid Apr 20, 2021
89fc648
New Adapter: adf (adformOpenRTB) (#1815)
braizhas Apr 23, 2021
2c16dcc
Set Adhese gvl id and vast modification flag (#1821)
mefjush Apr 26, 2021
7739f10
Added gvlVendorID for mobilefuse (#1822)
dtbarne Apr 26, 2021
6be1b08
AppNexus: reform bid floor handling (#1814)
hhhjort Apr 26, 2021
b9bac73
PubNative: Add GVL Vendor ID (#1824)
Apr 26, 2021
12d0dac
InMobi: adding gvlVendorID to static yaml (#1826)
cormorinth Apr 27, 2021
700b4ad
Epom Adapter: configure vendor id (GVL ID) (#1828)
epomrnd Apr 27, 2021
cbab6bd
Update Adtarget gvlid (#1829)
GeneGenie Apr 27, 2021
8547a98
Adding site to static yaml, and exemplary tests (#1827)
cormorinth Apr 28, 2021
3e08875
AdOcean adapter - add support for mobile apps (#1830)
mmuras Apr 29, 2021
9bd7cbd
Allow Native Ad Exchange Specific Types (#1810)
SyntaxNode Apr 29, 2021
1db15d3
PubMatic: Fix Banner Size Assignment When No AdSlot Provided (#1825)
SyntaxNode May 5, 2021
01f3cd5
New Adapter: Interactive Offers (#1835)
IOTiagoFaria May 5, 2021
f53f5bb
IX: Set category in bid.cat (#1837)
mlb7687 May 6, 2021
585283f
New Adapter: Madvertise (#1834)
notmani May 10, 2021
125e07b
Conversant bid floor handling (#1840)
johnwier May 11, 2021
c2f91c3
Adf adapter: banner and video mediatype support (#1841)
braizhas May 11, 2021
3a32000
Test for data race conditions in adapters (#1756)
guscarreon May 12, 2021
d041855
Revcontent adapter: add vendor id (GVL ID) (#1849)
jcamp-revc May 13, 2021
b466bac
Refactor: Removed unused GDPR return value (#1839)
bsardo May 13, 2021
5d8db6b
New Adapter : Kayzen (#1838)
raghuteja May 13, 2021
4d1bedd
Beachfront: Add schain support (#1844)
muncha May 13, 2021
94523c2
Pangle: add appid & placementid to bidder param (#1842)
chshpra May 13, 2021
deda503
New Adapter: BidsCube (#1843)
vlaktion May 13, 2021
8425c10
Add Viewdeos alias (#1846)
GeneGenie May 13, 2021
a3b796a
[Smaato] Adding TCF 2.0 vendor id (#1852)
Enigo May 18, 2021
94e206e
Pass Global Privacy Control header to bidders (#1789)
viveknarang May 19, 2021
e4885d5
GDPR: Don't Call Bidder If It Lacks Purpose 2 Legal Basis (#1851)
bsardo May 20, 2021
8ebcacf
Update go-gdpr package to v0.9.0 (#1856)
bsardo May 20, 2021
bb1ce59
Marsmedia - add GVL ID to bidder config file (#1864)
vladi-mmg May 26, 2021
cbbcb25
PubMatic: Added parameters dctr & pmzoneid (#1865)
sachin-pubmatic Jun 1, 2021
c9e8430
Better Support For Go Modules (#1862)
SyntaxNode Jun 2, 2021
242da01
IX: Update usersync default id (#1873)
ixjohnny Jun 2, 2021
339bcaf
AppNexus: Make Ad Pod Id Optional (#1792)
VeronikaSolovei9 Jun 2, 2021
5679ef3
Bugfix for applyCategoryMapping (#1857)
VeronikaSolovei9 Jun 3, 2021
f56b624
Facebook: Drop consented providers (#1867)
VeronikaSolovei9 Jun 3, 2021
11adffe
Between: Fix for bid floor issue#1787 (#1870)
egsk Jun 7, 2021
fc9f954
Beachfront: Fix for bid floor issue#1787 (#1878)
muncha Jun 9, 2021
749aae8
Updating interactiveoffers contact info (#1881)
bretg Jun 9, 2021
3501a4d
Docs metrics configuration (#1850)
TimofeySemenenko Jun 9, 2021
e7b381c
Criteo: update maintainer email address (#1884)
leonardlabat Jun 9, 2021
e0562bc
New Adapter: BrightMountainMedia (#1855)
BrightMountainMediaInc Jun 9, 2021
e57ce46
New Adapter: AlgoriX (#1861)
Bugxyb Jun 9, 2021
cba9c0f
Remove LifeStreet + Legacy Cleanup (#1883)
SyntaxNode Jun 10, 2021
7267f6e
New Adapter: E-Volution (#1868)
e-volution-tech Jun 10, 2021
08ad3ee
[criteo] accept zoneId and networkId alternate case (#1869)
leonardlabat Jun 10, 2021
4869266
Unit test random map order fix (#1887)
VeronikaSolovei9 Jun 10, 2021
1993de4
Request Provided Currency Rates (#1753)
guscarreon Jun 10, 2021
613de7e
Debug override header (#1853)
VeronikaSolovei9 Jun 10, 2021
ccb56ef
Remove GDPR TCF1 (#1854)
bsardo Jun 11, 2021
a9ee429
Rename GDPR UserSyncIfAmbiguous to DefaultValue (#1858)
bsardo Jun 15, 2021
037bd7f
Accept bidfloor from impression to fix issue #1787 for sovrn adapter …
rachelrj Jun 15, 2021
f894d18
GDPR: require host specify default value (#1859)
bsardo Jun 16, 2021
ad3e22f
New Adapter: Smile Wanted (#1877)
MaxSmileWanted Jun 16, 2021
6a64275
Fix a weak vendor enforcement bug where vendor does not exist (#1890)
hhhjort Jun 17, 2021
9635364
Pubmatic: Sending GPT slotname in impression extension (#1880)
sachin-pubmatic Jun 17, 2021
4b8c1bd
Update To Go 1.16 (#1888)
SyntaxNode Jun 19, 2021
9489942
Friendlier Startup Error Messages (#1894)
SyntaxNode Jun 23, 2021
e24356f
Second fix for weak vendor enforcement (#1896)
hhhjort Jun 23, 2021
74d84d5
Rubicon: hardcode EUR to USD for floors (#1899)
SerhiiNahornyi Jun 24, 2021
952a1c9
Outbrain adapter: overwrite tagid only if it exists (#1895)
Jun 24, 2021
beaf643
New Adapter: BidMyAdz (#1882)
bidmyadz Jun 30, 2021
c0a638c
Currency Conversion Utility Function (#1901)
SyntaxNode Jun 30, 2021
8335d83
New Adapter: SA Lunamedia (#1891)
lunamedia Jun 30, 2021
b996cf9
Removed Digitrust From Prebid Server (#1892)
AlexBVolcy Jul 1, 2021
394bbad
IX: merge eventtrackers with imptrackers for native bid responses (#1…
manigandham Jul 1, 2021
026e64a
Inmobi: user sync (#1911)
armon823 Jul 7, 2021
bc2c8a5
Rubicon: Update segtax logic (#1909)
SerhiiNahornyi Jul 8, 2021
e7f7b55
New Adapter: Axonix (#1912)
cesarfd Jul 8, 2021
e87bec4
Rubicon: Fix Nil Reference Panic (#1918)
SyntaxNode Jul 9, 2021
aff5f70
GDPR: host-level per-purpose vendor exceptions config (#1893)
bsardo Jul 13, 2021
e37b1a6
Criteo - Fix fields mapping error when building bid from bidder respo…
leonardlabat Jul 14, 2021
150be53
Smaato: Rework multi imp support and add adpod support (#1902)
el-chuck Jul 14, 2021
d58e15f
Allowed $0.00 price bids if there are deals (#1910)
AlexBVolcy Jul 15, 2021
09291bb
GDPR: host-level per-purpose enforce vendor signals config (#1921)
bsardo Jul 15, 2021
aee52e3
Fix for fetcher warning at server startup (#1914)
VeronikaSolovei9 Jul 15, 2021
ac3c657
Request Wrapper first pass (#1784)
hhhjort Jul 20, 2021
5ec40b9
Rubicon: Use currency conversion function (#1924)
SerhiiNahornyi Jul 21, 2021
ba1fe79
New Adapter: operaads (#1916)
jizeyopera Jul 21, 2021
0aa427e
Fix Beachfront data race condition (#1915)
mansinahar Jul 22, 2021
a68f7e2
Sharethrough: Add support for GPID (#1925)
epechuzal Jul 22, 2021
cf8b2ff
Admixer: Fix for bid floor issue#1787 (#1872)
avolokha Jul 27, 2021
a3e4d48
InMobi: adding native support (#1928)
cormorinth Jul 28, 2021
c01c993
Tappx: new bidder params (#1931)
prebidtappx Jul 29, 2021
4a78264
Fix CVE-2020-35381 (#1942)
SyntaxNode Jul 29, 2021
2e9b897
Smaato: Split multiple media types (#1930)
el-chuck Jul 29, 2021
88589d5
New adapter: Adagio (#1907)
osazos Jul 29, 2021
bab487e
IX: update required site id field to be more flexible (#1934)
grossjo Jul 29, 2021
d1a6e62
UOE-6610: prebid-server upgrade; merged branch prebid-v0.167.1
sachin-pubmatic Aug 2, 2021
a956d69
Add SmartRTB adapter (#1071)
evanmsmrtb Jan 16, 2020
437b93b
Adds timeout notifications for Facebook (#1182)
hhhjort Feb 10, 2020
53dce2d
Add Adoppler bidder support. (#1186)
vchimishuk Feb 21, 2020
d54d766
Kidoz adapter (#1210)
rhaksi-kidoz Mar 18, 2020
972aa8a
AMP CCPA Fix (#1187)
SyntaxNode Mar 30, 2020
718debc
Add kidoz bidder info (#1257)
bretg Apr 14, 2020
f5e18d1
populate the app ID in the FAN timeout notif url with the publisher I…
Aadeshp Apr 22, 2020
cbdcd7e
* Add PubMatic bidder doc file (#1255)
mike-chowla Apr 29, 2020
3099dd7
Added OpenX Bidder adapter documentation (#1291)
jimee02 May 12, 2020
c365b2a
Restore the AMP privacy exception as an option. (#1311)
hhhjort May 21, 2020
e6a4dae
Add Yieldlab Adapter (#1287)
mirkorean Jun 2, 2020
c57b8de
Add Pubnative bidder documentation (#1340)
aleksanyan Jun 9, 2020
7602bf3
Add Adtarget server adapter (#1319)
GeneGenie Jun 9, 2020
e2e8721
Avoid overriding AMP request original size with mutli-size (#1352)
dlackty Jun 15, 2020
32db017
Adds Avocet adapter (#1354)
scritchley Jun 18, 2020
587d3a2
Adding Smartadserver adapter (#1346)
tadam75 Jun 20, 2020
f342d50
Metrics for TCF 2 adoption (#1360)
hhhjort Jul 2, 2020
4ce313b
Add support for multiple root schain nodes (#1374)
bsardo Jul 15, 2020
7573c7c
Facebook Only Supports App Impressions (#1396)
SyntaxNode Jul 17, 2020
ef12e63
Add Outgoing Connection Metrics (#1343)
guscarreon Jul 22, 2020
7024d1d
OpenX adapter: pass optional platform (PBID-598) (#1421)
laurb9 Jul 30, 2020
4823839
Adds keyvalue hb_format support (#1414)
hhhjort Jul 30, 2020
55a42d1
feat: Add new logger module - Pubstack Analytics Module (#1331)
gpolaert Aug 3, 2020
80dacf5
New bid adapter for Smaato (#1413)
vikramsinghchandel Aug 6, 2020
7ab23a0
New Adprime adapter (#1418)
Adprime Aug 6, 2020
6e82fe8
Enable geo activation of GDPR flag (#1427)
hhhjort Aug 20, 2020
6154213
moving docs to website repo (#1443)
bretg Aug 25, 2020
f24c7b4
Add support for Account configuration (PBID-727, #1395) (#1426)
laurb9 Sep 3, 2020
42a3fd0
Pass Through First Party Context Data (#1479)
SyntaxNode Sep 10, 2020
c928821
between adapter (#1437)
digitalist Sep 23, 2020
fcfb301
Bidder Uniqueness Gatekeeping Test (#1506)
SyntaxNode Sep 24, 2020
f7464a3
Smarty ads adapter (#1500)
KushnerykPavel Oct 1, 2020
c95f70d
Vtrack and event endpoints (#1467)
danielguedesb Oct 8, 2020
eefac8f
Add bidder name key support (#1496)
camrice Oct 15, 2020
3d2d8b5
Add metrics to capture stored data fetch all/delta durations with fet…
bsardo Oct 19, 2020
8112e24
Acuity ads adapter (#1537)
AcuityAdsIntegrations Oct 22, 2020
b10c464
Yieldmo app support in yaml file (#1542)
ym-winston Oct 22, 2020
2c17132
Add client/AccountID support into Adoppler adapter. (#1535)
vchimishuk Nov 5, 2020
8d18153
33Across: Add video support in adapter (#1557)
curlyblueeagle Nov 11, 2020
614fe62
Fix bug in request.imp.ext Validation (#1575)
guscarreon Nov 19, 2020
973fd7d
New Adapter Initialization Framework (#1532)
SyntaxNode Dec 1, 2020
bbc8577
Fix 33Across App Handling (#1602)
SyntaxNode Dec 2, 2020
7d8450f
Fix adapter JSON tests to have the right test structure (#1589)
mansinahar Dec 2, 2020
16804ee
Added usersync support to Between SSP adapter; Major fixes and refact…
egsk Dec 3, 2020
96422f8
33Across: Add support for multi-imp requests (#1609)
curlyblueeagle Dec 17, 2020
e752297
Remove legacy GDPR AMP config flag used to prevent buyer ID scrub on …
bsardo Jan 5, 2021
10b42e6
New Adapter: Mobfox (#1585)
mobfxoHB Jan 5, 2021
ccf57f9
New Adapter: Revcontent (#1622)
jcamp-revc Jan 12, 2021
41bb4ea
Audit beachfront tests and change some videoResponseType details (#1638)
muncha Jan 20, 2021
d66ad19
Tappx User Syncer + Site Update (#1674)
prebidtappx Feb 11, 2021
6b0aa4e
Beachfront Additional tests (#1679)
muncha Feb 11, 2021
3e58276
Mobfox: Add rout to adexcange (#1702)
mobfxoHB Feb 25, 2021
884f474
Add Support For SkAdN + Refactor Split Imps (#1741)
SyntaxNode Mar 11, 2021
536ffc0
No Longer Move bid.ext To bid.ext.bidder (#1742)
SyntaxNode Mar 11, 2021
26b66ac
Debug warnings (#1724)
VeronikaSolovei9 Mar 18, 2021
c274d6d
FPD: Allow imp.ext.data To Passthrough To Adapters (#1765)
SyntaxNode Mar 23, 2021
68f8483
Basic GDPR enforcement for specific publisher-vendors. (#1782)
hhhjort Apr 8, 2021
fe99df8
New Adapter: Zemanta (#1774)
rokostik Apr 8, 2021
807d8e0
Zemanta: Rename Adapter To Outbrain (#1797)
Apr 9, 2021
4d65726
New Adapter: adf (adformOpenRTB) (#1815)
braizhas Apr 23, 2021
e25456d
Set Adhese gvl id and vast modification flag (#1821)
mefjush Apr 26, 2021
19fb573
Added gvlVendorID for mobilefuse (#1822)
dtbarne Apr 26, 2021
6fabbef
AppNexus: reform bid floor handling (#1814)
hhhjort Apr 26, 2021
dc11ac3
PubNative: Add GVL Vendor ID (#1824)
Apr 26, 2021
dbd3d69
InMobi: adding gvlVendorID to static yaml (#1826)
cormorinth Apr 27, 2021
bce289f
Epom Adapter: configure vendor id (GVL ID) (#1828)
epomrnd Apr 27, 2021
f367d26
Update Adtarget gvlid (#1829)
GeneGenie Apr 27, 2021
e786512
Adding site to static yaml, and exemplary tests (#1827)
cormorinth Apr 28, 2021
d72e097
AdOcean adapter - add support for mobile apps (#1830)
mmuras Apr 29, 2021
76c7bd4
Allow Native Ad Exchange Specific Types (#1810)
SyntaxNode Apr 29, 2021
f3eb43e
PubMatic: Fix Banner Size Assignment When No AdSlot Provided (#1825)
SyntaxNode May 5, 2021
ea536ec
New Adapter: Interactive Offers (#1835)
IOTiagoFaria May 5, 2021
2e90ed1
IX: Set category in bid.cat (#1837)
mlb7687 May 6, 2021
f0fc63a
New Adapter: Madvertise (#1834)
notmani May 10, 2021
a175283
Conversant bid floor handling (#1840)
johnwier May 11, 2021
be33051
Adf adapter: banner and video mediatype support (#1841)
braizhas May 11, 2021
92b295c
Test for data race conditions in adapters (#1756)
guscarreon May 12, 2021
66dc9ed
Revcontent adapter: add vendor id (GVL ID) (#1849)
jcamp-revc May 13, 2021
13cc59b
Refactor: Removed unused GDPR return value (#1839)
bsardo May 13, 2021
fcff331
New Adapter : Kayzen (#1838)
raghuteja May 13, 2021
b4616ee
Beachfront: Add schain support (#1844)
muncha May 13, 2021
b14dec2
Pangle: add appid & placementid to bidder param (#1842)
chshpra May 13, 2021
d0112fb
New Adapter: BidsCube (#1843)
vlaktion May 13, 2021
3e214a5
Add Viewdeos alias (#1846)
GeneGenie May 13, 2021
3b9ac64
[Smaato] Adding TCF 2.0 vendor id (#1852)
Enigo May 18, 2021
5a34e65
Pass Global Privacy Control header to bidders (#1789)
viveknarang May 19, 2021
ff71293
GDPR: Don't Call Bidder If It Lacks Purpose 2 Legal Basis (#1851)
bsardo May 20, 2021
215910f
Update go-gdpr package to v0.9.0 (#1856)
bsardo May 20, 2021
5556ddf
Marsmedia - add GVL ID to bidder config file (#1864)
vladi-mmg May 26, 2021
c27458a
PubMatic: Added parameters dctr & pmzoneid (#1865)
sachin-pubmatic Jun 1, 2021
31f1f97
Better Support For Go Modules (#1862)
SyntaxNode Jun 2, 2021
b1de4d4
AppNexus: Make Ad Pod Id Optional (#1792)
VeronikaSolovei9 Jun 2, 2021
28025d4
Facebook: Drop consented providers (#1867)
VeronikaSolovei9 Jun 3, 2021
2a64ed2
Between: Fix for bid floor issue#1787 (#1870)
egsk Jun 7, 2021
a65c377
Beachfront: Fix for bid floor issue#1787 (#1878)
muncha Jun 9, 2021
af0138f
Updating interactiveoffers contact info (#1881)
bretg Jun 9, 2021
1ce0ebd
Docs metrics configuration (#1850)
TimofeySemenenko Jun 9, 2021
c88689c
Criteo: update maintainer email address (#1884)
leonardlabat Jun 9, 2021
ffd5c38
New Adapter: BrightMountainMedia (#1855)
BrightMountainMediaInc Jun 9, 2021
3450d6d
New Adapter: AlgoriX (#1861)
Bugxyb Jun 9, 2021
a7629a8
Remove LifeStreet + Legacy Cleanup (#1883)
SyntaxNode Jun 10, 2021
4adc40b
New Adapter: E-Volution (#1868)
e-volution-tech Jun 10, 2021
9af0a24
[criteo] accept zoneId and networkId alternate case (#1869)
leonardlabat Jun 10, 2021
07e3fa4
Request Provided Currency Rates (#1753)
guscarreon Jun 10, 2021
b0230ea
Debug override header (#1853)
VeronikaSolovei9 Jun 10, 2021
73482d6
Remove GDPR TCF1 (#1854)
bsardo Jun 11, 2021
2be3ddb
Rename GDPR UserSyncIfAmbiguous to DefaultValue (#1858)
bsardo Jun 15, 2021
81b9420
Accept bidfloor from impression to fix issue #1787 for sovrn adapter …
rachelrj Jun 15, 2021
1c83e92
GDPR: require host specify default value (#1859)
bsardo Jun 16, 2021
e1dd3fc
New Adapter: Smile Wanted (#1877)
MaxSmileWanted Jun 16, 2021
2507800
Fix a weak vendor enforcement bug where vendor does not exist (#1890)
hhhjort Jun 17, 2021
b81e8df
Update To Go 1.16 (#1888)
SyntaxNode Jun 19, 2021
1ec4f65
Friendlier Startup Error Messages (#1894)
SyntaxNode Jun 23, 2021
3487053
Second fix for weak vendor enforcement (#1896)
hhhjort Jun 23, 2021
ae2dc1e
Rubicon: hardcode EUR to USD for floors (#1899)
SerhiiNahornyi Jun 24, 2021
64b473d
Outbrain adapter: overwrite tagid only if it exists (#1895)
Jun 24, 2021
a96f485
New Adapter: BidMyAdz (#1882)
bidmyadz Jun 30, 2021
2d53a0e
Currency Conversion Utility Function (#1901)
SyntaxNode Jun 30, 2021
d6ae71f
New Adapter: SA Lunamedia (#1891)
lunamedia Jun 30, 2021
3b35882
Removed Digitrust From Prebid Server (#1892)
AlexBVolcy Jul 1, 2021
0667f93
IX: merge eventtrackers with imptrackers for native bid responses (#1…
manigandham Jul 1, 2021
aa443b3
Inmobi: user sync (#1911)
armon823 Jul 7, 2021
2d0a9ec
Rubicon: Update segtax logic (#1909)
SerhiiNahornyi Jul 8, 2021
cc51af9
New Adapter: Axonix (#1912)
cesarfd Jul 8, 2021
c35846a
Rubicon: Fix Nil Reference Panic (#1918)
SyntaxNode Jul 9, 2021
1adc758
git rebase
sachin-pubmatic Aug 2, 2021
b726e54
git pull UOE-6610
sachin-pubmatic Aug 3, 2021
1a3adb0
Reverted some changes after prebid-server upgrade
sachin-pubmatic Aug 3, 2021
6de9291
Merge branch 'prebid-0.170.0' into UOE-6610-v2
sachin-pubmatic Aug 4, 2021
a285aec
Fixed ctv_auction.go after merging prebid-0.170.0
sachin-pubmatic Aug 4, 2021
dc9dd50
Added missing gdpr.default_value
sachin-pubmatic Aug 13, 2021
b4416bb
Updated usersync url for bidder Unruly
sachin-pubmatic Aug 17, 2021
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
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"build": {
"dockerfile": "Dockerfile",
"args": {
// Update the VARIANT arg to pick a version of Go: 1, 1.15, 1.14
"VARIANT": "1.14",
// Update the VARIANT arg to pick a version of Go
"VARIANT": "1.16",
// Options
"INSTALL_NODE": "false",
"NODE_VERSION": "lts/*",
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release
on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+'

jobs:
release:
Expand All @@ -13,13 +13,15 @@ jobs:
steps:
- name: Get Version
id: get_version
run: echo ::set-output name=version::${GITHUB_REF/refs\/tags\//}
run: |
echo ::set-output name=tag::${GITHUB_REF/refs\/tags\/}
echo ::set-output name=version::${GITHUB_REF/refs\/tags\/v}

- name: Create & Publish Release
uses: release-drafter/release-drafter@v5.12.1
with:
name: ${{ steps.get_version.outputs.version }}
tag: ${{ steps.get_version.outputs.version }}
tag: ${{ steps.get_version.outputs.tag }}
version: ${{ steps.get_version.outputs.version }}
publish: true
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.14.2
go-version: 1.16.4

- name: Checkout Merged Branch
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
validate:
strategy:
matrix:
go-version: [1.14.x, 1.15.x]
go-version: [1.15.x, 1.16.x]
os: [ubuntu-18.04]
runs-on: ${{ matrix.os }}

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ RUN apt-get update && \
apt-get -y upgrade && \
apt-get install -y wget
RUN cd /tmp && \
wget https://dl.google.com/go/go1.14.2.linux-amd64.tar.gz && \
tar -xf go1.14.2.linux-amd64.tar.gz && \
wget https://dl.google.com/go/go1.16.4.linux-amd64.tar.gz && \
tar -xf go1.16.4.linux-amd64.tar.gz && \
mv go /usr/local
RUN mkdir -p /app/prebid-server/
WORKDIR /app/prebid-server/
Expand Down
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Please consider [registering your Prebid Server](https://docs.prebid.org/prebid-

## Installation

First install [Go](https://golang.org/doc/install) version 1.14 or newer.
First install [Go](https://golang.org/doc/install) version 1.15 or newer.

Note that prebid-server is using [Go modules](https://blog.golang.org/using-go-modules).
We officially support the most recent two major versions of the Go runtime. However, if you'd like to use a version <1.13 and are inside GOPATH `GO111MODULE` needs to be set to `GO111MODULE=on`.
Expand Down Expand Up @@ -50,16 +50,19 @@ go build .
Load the landing page in your browser at `http://localhost:8000/`.
For the full API reference, see [the endpoint documentation](https://docs.prebid.org/prebid-server/endpoints/pbs-endpoint-overview.html)

## Go Modules

The packages within this repository are intended to be used as part of the Prebid Server compiled binary. If you
choose to import Prebid Server packages in other projects, please understand we make no promises on the stability
of exported types.

## Contributing

Want to [add an adapter](https://docs.prebid.org/prebid-server/developers/add-new-bidder-go.html)? Found a bug? Great!

Report bugs, request features, and suggest improvements [on Github](https://github.com/PubMatic-OpenWrap/prebid-server/issues).

Or better yet, [open a pull request](https://github.com/PubMatic-OpenWrap/prebid-server/compare) with the changes you'd like to see.

## IDE Setup for PBS-Go development
## IDE Recommendations

The quickest way to start developing PBS-Go in a reproducible environment isolated from your host OS
is by using this [VScode Remote Container Setup](devcontainer.md)
The quickest way to start developing Prebid Server in a reproducible environment isolated from your host OS
is by using Visual Studio Code with [Remote Container Setup](devcontainer.md).
139 changes: 139 additions & 0 deletions adapters/adagio/adagio.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
package adagio

import (
"bytes"
"compress/gzip"
"encoding/json"
"fmt"
"github.com/mxmCherry/openrtb/v15/openrtb2"
"github.com/prebid/prebid-server/adapters"
"github.com/prebid/prebid-server/config"
"github.com/prebid/prebid-server/errortypes"
"github.com/prebid/prebid-server/openrtb_ext"
"net/http"
)

// Builder builds a new instance of the Adagio adapter for the given bidder with the given config.
func Builder(bidderName openrtb_ext.BidderName, config config.Adapter) (adapters.Bidder, error) {
bidder := &adapter{
endpoint: config.Endpoint,
}
return bidder, nil
}

type adapter struct {
endpoint string
}

type extBid struct {
Prebid *openrtb_ext.ExtBidPrebid
}

// MakeRequests prepares the HTTP requests which should be made to fetch bids.
func (a *adapter) MakeRequests(request *openrtb2.BidRequest, _ *adapters.ExtraRequestInfo) ([]*adapters.RequestData, []error) {
json, err := json.Marshal(request)
if err != nil {
return nil, []error{err}
}

headers := http.Header{}
headers.Add("Content-Type", "application/json;charset=utf-8")
headers.Add("Accept", "application/json")

if request.Device != nil {
if len(request.Device.IPv6) > 0 {
headers.Add("X-Forwarded-For", request.Device.IPv6)
}
if len(request.Device.IP) > 0 {
headers.Add("X-Forwarded-For", request.Device.IP)
}
}

if request.Test == 0 {
// Gzip the body
// Note: Gzipping could be handled natively later: https://github.com/prebid/prebid-server/issues/1812
var bodyBuf bytes.Buffer
gz := gzip.NewWriter(&bodyBuf)
if _, err = gz.Write(json); err == nil {
if err = gz.Close(); err == nil {
json = bodyBuf.Bytes()
headers.Add("Content-Encoding", "gzip")
// /!\ Go already sets the `Accept-Encoding: gzip` header. Never add it manually, or Go won't decompress the response.
//headers.Add("Accept-Encoding", "gzip")
}
}
}

requestToBidder := &adapters.RequestData{
Method: "POST",
Uri: a.endpoint,
Body: json,
Headers: headers,
}

return []*adapters.RequestData{requestToBidder}, nil
}

const unexpectedStatusCodeFormat = "Unexpected status code: %d. Run with request.debug = 1 for more info"

// MakeBids unpacks the server's response into Bids.
func (a *adapter) MakeBids(internalRequest *openrtb2.BidRequest, _ *adapters.RequestData, response *adapters.ResponseData) (*adapters.BidderResponse, []error) {
switch response.StatusCode {
case http.StatusOK:
break
case http.StatusNoContent:
return nil, nil
case http.StatusServiceUnavailable:
fallthrough
case http.StatusBadRequest:
fallthrough
case http.StatusUnauthorized:
fallthrough
case http.StatusForbidden:
err := &errortypes.BadInput{
Message: fmt.Sprintf(unexpectedStatusCodeFormat, response.StatusCode),
}
return nil, []error{err}
default:
err := &errortypes.BadServerResponse{
Message: fmt.Sprintf(unexpectedStatusCodeFormat, response.StatusCode),
}
return nil, []error{err}
}

var openRTBBidderResponse openrtb2.BidResponse
if err := json.Unmarshal(response.Body, &openRTBBidderResponse); err != nil {
return nil, []error{err}
}

bidsCapacity := len(internalRequest.Imp)
errs := make([]error, 0, bidsCapacity)
bidderResponse := adapters.NewBidderResponseWithBidsCapacity(bidsCapacity)
var typedBid *adapters.TypedBid
for _, seatBid := range openRTBBidderResponse.SeatBid {
for _, bid := range seatBid.Bid {
activeBid := bid

activeExt := &extBid{}
if err := json.Unmarshal(activeBid.Ext, activeExt); err != nil {
errs = append(errs, err)
}

var bidType openrtb_ext.BidType
if activeExt.Prebid != nil && activeExt.Prebid.Type != "" {
bidType = activeExt.Prebid.Type
} else {
err := &errortypes.BadServerResponse{
Message: fmt.Sprintf("Failed to find native/banner/video mediaType \"%s\" ", activeBid.ImpID),
}
errs = append(errs, err)
continue
}

typedBid = &adapters.TypedBid{Bid: &activeBid, BidType: bidType}
bidderResponse.Bids = append(bidderResponse.Bids, typedBid)
}
}

return bidderResponse, nil
}
75 changes: 75 additions & 0 deletions adapters/adagio/adagio_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
package adagio

import (
"encoding/json"
"github.com/mxmCherry/openrtb/v15/openrtb2"
"github.com/stretchr/testify/assert"
"testing"

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

func buildFakeBidRequest() openrtb2.BidRequest {
imp1 := openrtb2.Imp{
ID: "some-impression-id",
Banner: &openrtb2.Banner{},
Ext: json.RawMessage(`{"bidder": {"organizationId": "1000", "site": "site-name", "placement": "ban_atf"}}`),
}

fakeBidRequest := openrtb2.BidRequest{
ID: "some-request-id",
Imp: []openrtb2.Imp{imp1},
}

return fakeBidRequest
}

func TestJsonSamples(t *testing.T) {
bidder, buildErr := Builder(openrtb_ext.BidderAdagio, config.Adapter{
Endpoint: "http://localhost/prebid_server"})

if buildErr != nil {
t.Fatalf("Builder returned unexpected error %v", buildErr)
}

adapterstest.RunJSONBidderTest(t, "adagiotest", bidder)
}

func TestMakeRequests_NoGzip(t *testing.T) {
fakeBidRequest := buildFakeBidRequest()
fakeBidRequest.Test = 1 // Do not use Gzip in Test Mode.

bidder, buildErr := Builder(openrtb_ext.BidderAdagio, config.Adapter{
Endpoint: "http://localhost/prebid_server"})

if buildErr != nil {
t.Fatalf("Builder returned unexpected error %v", buildErr)
}

requestData, errs := bidder.MakeRequests(&fakeBidRequest, nil)

assert.Nil(t, errs)
assert.Equal(t, 1, len(requestData))

body := &openrtb2.BidRequest{}
err := json.Unmarshal(requestData[0].Body, body)
assert.NoError(t, err, "Request body unmarshalling error should be nil")
assert.Equal(t, 1, len(body.Imp))
}

func TestMakeRequests_Gzip(t *testing.T) {
fakeBidRequest := buildFakeBidRequest()

bidder, buildErr := Builder(openrtb_ext.BidderAdagio, config.Adapter{
Endpoint: "http://localhost/prebid_server"})

if buildErr != nil {
t.Fatalf("Builder returned unexpected error %v", buildErr)
}

requestData, errs := bidder.MakeRequests(&fakeBidRequest, nil)
assert.Empty(t, errs, "Got errors while making requests")
assert.Equal(t, []string{"gzip"}, requestData[0].Headers["Content-Encoding"])
}
Loading