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

Prebid upgrade 0.146.0 ci1 #117

Merged
merged 319 commits into from
Feb 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
319 commits
Select commit Hold shift + click to select a range
57ac060
fix conversant sync pixel (#1284)
johnwier May 1, 2020
e4980fa
Add AdOcean adapter (#1273)
mmuras May 4, 2020
8db5479
LunaMedia Adapter (#1285)
trchandraprakash May 6, 2020
42d5281
[Sharethrough] Add CCPA support (#1263)
May 6, 2020
cd90991
Remove Outdated GDPR AMP Special Case (#1283)
SyntaxNode May 6, 2020
cc3d2da
Stricter Privacy Scrubbing (#1286)
SyntaxNode May 6, 2020
2481fea
Add Adapter Orbidder (#1275)
arneschulz1984 May 11, 2020
4257bf1
Added OpenX Bidder adapter documentation (#1291)
jimee02 May 12, 2020
93b8a0e
OpenX adapter: Pass rewarded video flag (#1290)
laurb9 May 13, 2020
c18a2d8
Bugfix for missing fields in imp.video (#1297)
VeronikaSolovei9 May 14, 2020
9f7ed20
Add cpmOverride (#1289)
DGarbar May 14, 2020
6e5d044
Add Beintoo adapter (#1274)
ddantuonobeintoo May 14, 2020
ce94bf4
Yeahmobi adapter (#1279)
zhaojp May 14, 2020
fe4f9f4
advangelists: Vendor id update (#1307)
trchandraprakash May 21, 2020
28671d1
Consumable: Support GDPR and US Privacy consent (#1300)
djcsdy May 21, 2020
3c5ecee
Restore the AMP privacy exception as an option. (#1311)
hhhjort May 21, 2020
e0ddbc7
consumable: Correct GDPR vendor ID to 591. (#1309)
djcsdy May 21, 2020
1f4ed61
VIS.X: fix bid.ID, bid.CrID and set default currency value (#1296)
mk0x9 May 21, 2020
0f6510a
Fix debug log error messages (#1270)
camrice May 26, 2020
b929c4e
MobileFuse Adapter (#1303)
dtbarne May 26, 2020
bb0f9d6
eplanning: Support for apps (#1306)
May 26, 2020
8a128ce
Introduce Adhese adapter (#1292)
sander-adhese May 28, 2020
88aaf63
privacy: Potential JSON injection (#1304)
djcsdy May 28, 2020
9683f50
Updating bidder params for Advangelists (#1316)
trchandraprakash May 28, 2020
6bc9c01
Change placement of cpmoverride for Rubicon (#1310)
DGarbar May 28, 2020
7d39a11
increasing the stale period to 2 months (#1305)
bretg May 29, 2020
4f97d5a
Add Go 1.14 Build Target (#1314)
SyntaxNode Jun 1, 2020
0f0b098
Privacy: Remove user.ext.eids (#1294)
SyntaxNode Jun 1, 2020
9f3a8c7
Removed some redundant methods (#1320)
telariaEng Jun 2, 2020
748e2d0
Beachfront: GDPR id (issue 1301) and documentation updates (#1321)
muncha Jun 2, 2020
d00ff3f
Add Yieldlab Adapter (#1287)
mirkorean Jun 2, 2020
d29a749
Update adtelligent ortb endpoint (#1318)
GeneGenie Jun 2, 2020
b5993cd
Change on eplanning endpoint (#1327)
sebaperez Jun 2, 2020
cd9116e
Enable full TCF2 support (#1302)
hhhjort Jun 3, 2020
23c684c
Change on eplanning endpoint (hostname) (#1328)
sebaperez Jun 3, 2020
3527845
Districtm Dmx: new adapter (#1209)
stevealliance Jun 3, 2020
b10b55c
Fix sync url for Yieldone s2s Bid Adapter (#1336)
hbanalytics Jun 4, 2020
dc9d246
CCPA Video Bug (#1333)
SyntaxNode Jun 8, 2020
47bed2a
Add Pubnative bidder documentation (#1340)
aleksanyan Jun 9, 2020
c628f1a
Timeout notification monitoring and debugging (#1322)
hhhjort Jun 9, 2020
4361bf6
Add Adtarget server adapter (#1319)
GeneGenie Jun 9, 2020
86fa52b
Update Auction OpenRTB Sample (#1342)
SyntaxNode Jun 9, 2020
24665e8
Triplelift: Add SRA Support (#1347)
Jun 11, 2020
eb77b17
Privacy: Limit Ad Tracking (#1334)
SyntaxNode Jun 15, 2020
dd05c38
Avoid overriding AMP request original size with mutli-size (#1352)
dlackty Jun 15, 2020
62fe413
Extra logging for timeout notifications (#1349)
hhhjort Jun 17, 2020
2d2ed0c
Consumable: Correct bid type, should always be "banner". (#1359)
djcsdy Jun 17, 2020
98417cb
Build With Go 1.14 (#1350)
SyntaxNode Jun 17, 2020
d1c8129
Category mapping changes from product team. (#1348)
jmaynardxandr Jun 17, 2020
6eed873
Adds Avocet adapter (#1354)
scritchley Jun 18, 2020
a8feeca
AdOcean adapter - Support for sizes defined in prebid configuration. …
mmuras Jun 18, 2020
9c79ee4
Log account id and all bidder names when recovering from OpenRTB auct…
bsardo Jun 18, 2020
5f39344
Adding Smartadserver adapter (#1346)
tadam75 Jun 20, 2020
379492d
Added additional Ext Param (#1357)
telariaEng Jun 20, 2020
aaff156
Adman adapter (#1356)
SmartyAdman Jun 23, 2020
e376a8b
PBS-632 add max connections per host config setting to general http a…
bsardo Jun 24, 2020
1667636
Add ext.bidder.zoneid for Kubient adapater (#1367)
Jun 25, 2020
8378a45
Improved IPv6 Support + Private Network Filtering (#1362)
SyntaxNode Jun 29, 2020
9b96f50
Change endpont address (#1370)
SmartyAdman Jun 29, 2020
919d29a
Don't override test parameter (#1373)
Jun 30, 2020
e430c62
OpenX + Facebook Hardening (#1368)
SyntaxNode Jun 30, 2020
74af63b
Updating Conversant endpoint url (#1376)
AaronColbyPrice Jul 2, 2020
47c7a6b
Metrics for TCF 2 adoption (#1360)
hhhjort Jul 2, 2020
1d276d5
Fall back to constant rates when the currency rates endpoint i… (#1364)
bsardo Jul 2, 2020
33f36b6
TheMediaGrid: added app type support (#1377)
TheMediaGrid Jul 6, 2020
0f2dc5f
user.ext.eids support in adform adapter (#1381)
braizhas Jul 7, 2020
034928e
Add Logicad adapter (#1382)
yuki-tsuchiya Jul 9, 2020
7c3521b
Fix Previous Merge Conflict (#1392)
SyntaxNode Jul 14, 2020
bb2b037
Kubient: Change default endpont address (#1398)
Jul 15, 2020
e6d159e
Add support for multiple root schain nodes (#1374)
bsardo Jul 15, 2020
e6fe57e
Update endpoint for latest release by districtm (#1401)
stevealliance Jul 16, 2020
ea348e3
Set OpenRTB DNT From HTTP Header (#1397)
SyntaxNode Jul 16, 2020
55f4c45
Add video for InApp support (#1399)
GeneGenie Jul 16, 2020
62a72e2
Timeout fix (#1390)
hhhjort Jul 16, 2020
5a7a2cf
Privacy Request Metrics (#1400)
SyntaxNode Jul 17, 2020
0ccb773
Parse Site.Publisher.ID from Amp Auction HTTP Req Query Parameter "ac…
danielguedesb Jul 17, 2020
bfcfefe
Facebook Only Supports App Impressions (#1396)
SyntaxNode Jul 17, 2020
c889570
fix: Change currency of ad-generation's bidResponse according to bidR…
AdGeneration Jul 17, 2020
6b7c113
Adding primary categories to freewheel mapping (#1407)
camrice Jul 18, 2020
a5962de
Add Outgoing Connection Metrics (#1343)
guscarreon Jul 22, 2020
f1582a4
Pubmatic: Support for video duration and primary category (#1384)
PubMatic-OpenWrap Jul 27, 2020
a857e68
Add IPv6 Non-Public Network (#1417)
SyntaxNode Jul 29, 2020
3fa47ab
GumGum: adds support for video (#1408)
susyt Jul 29, 2020
551faad
OpenX adapter: pass optional platform (PBID-598) (#1421)
laurb9 Jul 30, 2020
126455c
Adds keyvalue hb_format support (#1414)
hhhjort Jul 30, 2020
deb19c3
feat: Add new logger module - Pubstack Analytics Module (#1331)
gpolaert Aug 3, 2020
8740179
New bid adapter for Smaato (#1413)
vikramsinghchandel Aug 6, 2020
7615d47
New Adprime adapter (#1418)
Adprime Aug 6, 2020
a7aaa97
Separate "debug" behavior from "billable" behavior (#1387)
guscarreon Aug 6, 2020
cc43502
Remove redundad struct (#1432)
Adprime Aug 7, 2020
e67dfa4
Tcf2 id support (#1420)
hhhjort Aug 12, 2020
549cc79
Default TCF1 GVL in anticipation of IAB no longer hosting the v1 GVL …
hhhjort Aug 12, 2020
b5f8933
update to the latest go-gdpr release (#1436)
hhhjort Aug 12, 2020
48c865c
Video endpoint bid selection enhancements (#1419)
VeronikaSolovei9 Aug 12, 2020
cce4967
[WIP] Bid deduplication enhancement (#1430)
VeronikaSolovei9 Aug 12, 2020
346617b
Refactor rate converter separating scheduler from converter logic to …
bsardo Aug 12, 2020
a4ac6b6
Fix TCF1 Fetcher Fallback (#1438)
SyntaxNode Aug 12, 2020
5a7d365
Eplanning adapter: Get domain from page (#1434)
Aug 17, 2020
e065488
Fix no bid debug log (#1375)
camrice Aug 17, 2020
2e9d833
Update the fallback GVL to last version (#1440)
hhhjort Aug 17, 2020
21b41ff
Enable geo activation of GDPR flag (#1427)
hhhjort Aug 20, 2020
f4b0a7c
Validate External Cache Host (#1422)
guscarreon Aug 20, 2020
80d557e
Fixes bug (#1448)
hhhjort Aug 20, 2020
d663380
Added adpod_id to request extension (#1444)
VeronikaSolovei9 Aug 24, 2020
30ef858
Adform adapter: additional targeting params added (#1424)
braizhas Aug 24, 2020
9dbd008
Fix minor error message spelling mistake "vastml" -> "vastxml" (#1455)
robhazan Aug 24, 2020
055ab80
Fixing comment for usage of deal priority field (#1451)
camrice Aug 25, 2020
e96b980
moving docs to website repo (#1443)
bretg Aug 25, 2020
ceaf883
Fix bid dedup (#1456)
VeronikaSolovei9 Aug 25, 2020
1c9b521
consumable: Correct width and height reported in response. (#1459)
djcsdy Aug 27, 2020
1f87497
Panics happen when left with zero length []Imp (#1462)
guscarreon Aug 27, 2020
292df1f
Add Scheme Option To External Cache URL (#1460)
SyntaxNode Aug 27, 2020
5d13c85
Update gamma adapter (#1447)
gammassp Aug 28, 2020
ebdf997
fix: avoid unexpected EOF on gz writer (#1449)
gpolaert Aug 28, 2020
d8dc27f
Smaato adapter: support for video mediaType (#1463)
sbrosinski Aug 31, 2020
412e0fc
Rubicon liveramp param (#1466)
DGarbar Sep 1, 2020
754de04
Consolidate StoredRequest configs, add validation for all data types …
laurb9 Sep 1, 2020
f350cda
Fix Test TestEventChannel_OutputFormat (#1468)
guscarreon Sep 2, 2020
c867e6f
Add ability to randomly generate source.TID if empty and set publishe…
mansinahar Sep 2, 2020
0c96441
Add support for Account configuration (PBID-727, #1395) (#1426)
laurb9 Sep 3, 2020
44310b6
Minor changes to accounts test coverage (#1475)
bsardo Sep 8, 2020
d75df46
Brightroll adapter - adding config support (#1461)
smithaammassamveettil Sep 8, 2020
480d2a2
Refactor TCF 1/2 Vendor List Fetcher Tests (#1441)
SyntaxNode Sep 8, 2020
420da24
Add validation checker for PRs and merges with github actions (#1476)
laurb9 Sep 9, 2020
22c454c
Cache refactor (#1431)
laurb9 Sep 10, 2020
42e6765
Pass Through First Party Context Data (#1479)
SyntaxNode Sep 10, 2020
fa23f5c
Added new size 640x360 (Id: 198) (#1490)
hdeodhar Sep 10, 2020
65c6c36
Refactor: move getAccount to accounts package (from openrtb2) (#1483)
laurb9 Sep 14, 2020
e7d0bab
Fixed TCF2 Geo Only Enforcement (#1492)
SyntaxNode Sep 15, 2020
d3ba8a9
New colossus adapter [Clean branch] (#1495)
Sep 15, 2020
7b59a4b
New: InMobi Prebid Server Adapter (#1489)
cormorinth Sep 15, 2020
ab653bc
Revert "Added new size 640x360 (Id: 198) (#1490)" (#1501)
bsardo Sep 16, 2020
f6624b7
CCPA Publisher No Sale Relationships (#1465)
SyntaxNode Sep 17, 2020
472c7a0
Fix Merge Conflict (#1502)
SyntaxNode Sep 17, 2020
97be47d
Update conversant adapter for new prebid-server interface (#1484)
johnwier Sep 17, 2020
5507707
Implement returnCreative (#1493)
guscarreon Sep 17, 2020
811bb89
ConnectAd S2S Adapter (#1505)
rtuschkany Sep 23, 2020
1e92554
between adapter (#1437)
digitalist Sep 23, 2020
cfb0598
Invibes adapter (#1469)
invibes Sep 23, 2020
e496c8b
Refactor postgres event producer so it will run either the full or de…
bsardo Sep 24, 2020
120f735
Bidder Uniqueness Gatekeeping Test (#1506)
SyntaxNode Sep 24, 2020
99d3cef
ucfunnel adapter update end point (#1511)
Sep 28, 2020
9e35189
Refactor EEAC map to be more in line with the nonstandard publisher m…
hhhjort Sep 30, 2020
5d73084
Added bunch of new sizes (#1516)
hdeodhar Sep 30, 2020
b46d49d
New krushmedia bid adapter (#1504)
Krushmedia Oct 1, 2020
2d03b85
Invibes: Generic domainId parameter (#1512)
invibes Oct 1, 2020
1e9ecd4
Smarty ads adapter (#1500)
KushnerykPavel Oct 1, 2020
853ed6f
Add vscode remote container development files (#1481)
laurb9 Oct 6, 2020
7e6c469
First commit (#1510)
guscarreon Oct 6, 2020
7feefad
Vtrack and event endpoints (#1467)
danielguedesb Oct 8, 2020
c27ec73
Rework pubstack module tests to remove race conditions (#1522)
bsardo Oct 8, 2020
2216ebf
Updating smartadserver endpoint configuration. (#1531)
tadam75 Oct 12, 2020
4b53800
Add new size 500x1000 (ID: 548) (#1536)
ACannuniRP Oct 12, 2020
e05fcb9
Fix missing Request parameter for Adgeneration Adapter (#1525)
AdGeneration Oct 13, 2020
779bb5f
Fix endpoint url for TheMediaGrid Bid Adapter (#1541)
TheMediaGrid Oct 14, 2020
c7ddfa6
Add Account cache (#1519)
laurb9 Oct 14, 2020
0a34a01
Add bidder name key support (#1496)
camrice Oct 15, 2020
27ec65d
Simplifying exchange module: bidResponseExt gets built anyway (#1518)
guscarreon Oct 15, 2020
f83903f
Correct GetCpmStringValue's second return value (#1520)
guscarreon Oct 15, 2020
5258ef3
Add metrics to capture stored data fetch all/delta durations with fet…
bsardo Oct 19, 2020
dd7a5fc
Adds preferDeals support (#1528)
hhhjort Oct 20, 2020
21a9076
Emxd 3336 add app video ctv (#1529)
EMXDigital Oct 21, 2020
b0f8d71
Add http api for fetching accounts (#1545)
laurb9 Oct 22, 2020
445c207
Add missing postgres cache init config validation
bsardo Oct 22, 2020
3f31429
Acuity ads adapter (#1537)
AcuityAdsIntegrations Oct 22, 2020
6a997b2
Yieldmo app support in yaml file (#1542)
ym-winston Oct 22, 2020
7b50f96
Add metrics for account cache (#1543)
laurb9 Oct 22, 2020
0742c81
[Invibes] remove user sync for invibes (#1550)
invibes Oct 28, 2020
5a718e7
Add Support For imp.ext.prebid For DealTiers (#1539)
SyntaxNode Oct 28, 2020
e53bf0f
Add Accounts to http cache events (#1553)
laurb9 Oct 29, 2020
f141c49
Fix JSON tests ignore expected message field (#1450)
guscarreon Nov 3, 2020
75f71f5
NoBid version 1.0. Initial commit. (#1547)
redaguermas Nov 3, 2020
d821b3b
Added dealTierSatisfied parameters in exchange.pbsOrtbBid and openrtb…
ShriprasadM Nov 4, 2020
d044a93
Add client/AccountID support into Adoppler adapter. (#1535)
vchimishuk Nov 5, 2020
aeeeba8
Optionally read IFA value and add it the the request url (Adhese) (#1…
sander-adhese Nov 5, 2020
7db8fe0
Add AMX RTB adapter (#1549)
nickjacob Nov 5, 2020
63f5bcf
update Datablocks usersync.go (#1572)
htang555 Nov 10, 2020
6d37afc
33Across: Add video support in adapter (#1557)
curlyblueeagle Nov 11, 2020
c481f56
SilverMob adapter (#1561)
Nov 11, 2020
9a3f2a0
Updated ePlanning GVL ID (#1574)
sebaperez Nov 11, 2020
aaecdfa
update adpone google vendor id (#1577)
seergiioo6 Nov 11, 2020
7060022
ADtelligent gvlid (#1581)
GeneGenie Nov 12, 2020
12d96a6
Add account/ host GDPR enabled flags & account per request type GDPR …
bsardo Nov 12, 2020
ada88b4
DMX Bidfloor fix (#1579)
stevealliance Nov 16, 2020
acf889e
adform bidder video bid response support (#1573)
braizhas Nov 17, 2020
17f5020
Fix Beachfront JSON tests (#1578)
mansinahar Nov 17, 2020
1c31e06
Add account CCPA enabled and per-request-type enabled flags (#1566)
bsardo Nov 18, 2020
ab26a90
Refactored HoldAuction Arguments (#1570)
SyntaxNode Nov 18, 2020
47efd7c
Fix bug in request.imp.ext Validation (#1575)
guscarreon Nov 19, 2020
5c20af0
Bugfix: default admin port is 6060 (#1595)
peterfroehlich Nov 20, 2020
7c7097a
Add timestamp to analytics and response.ext.prebid.auctiontimestamp l…
laurb9 Nov 25, 2020
32a96f0
Added app capabilities to VerizonMedia adapter (#1596)
oath-jac Nov 30, 2020
d0bfd5d
New Adapter Initialization Framework (#1532)
SyntaxNode Dec 1, 2020
36c497f
Fix 33Across App Handling (#1602)
SyntaxNode Dec 2, 2020
a195f5c
Fix adapter JSON tests to have the right test structure (#1589)
mansinahar Dec 2, 2020
bd4e292
Added usersync support to Between SSP adapter; Major fixes and refact…
egsk Dec 3, 2020
840c15d
Removed Safari Metric (#1571)
SyntaxNode Dec 3, 2020
0f76d20
Deepintent adapter (#1524)
sourabhg Dec 3, 2020
c021bf0
update mobilefuse endpoint (#1606)
dtbarne Dec 3, 2020
bcdcf55
Fix Missing Consumable Clock (#1610)
SyntaxNode Dec 4, 2020
7872712
Remove Hook Scripts (#1614)
SyntaxNode Dec 8, 2020
ea32f0a
Add config gdpr.amp_exception deprecation warning (#1612)
bsardo Dec 9, 2020
b63f0e8
Refactor Adapter Config To Its Own File (#1608)
SyntaxNode Dec 9, 2020
03b41ff
RP adapter: use video placement parameter to set size ID (#1607)
SerhiiNahornyi Dec 10, 2020
354d23b
Add a BidderRequest struct to hold bidder specific request info (#1611)
mansinahar Dec 10, 2020
991b06c
Add warning that gdpr checks will be skipped when gdpr.host_vendor_id…
bsardo Dec 10, 2020
be93ee0
Add TLS Handshake connection metrics (#1613)
mansinahar Dec 10, 2020
5032eca
Improve GitHub Actions Validation (#1590)
SyntaxNode Dec 14, 2020
1c6f261
Move SSL to Server directory (#1625)
mansinahar Dec 14, 2020
0ba7f73
Rename currencies to currency (#1626)
mansinahar Dec 16, 2020
0986f76
Deepintent: Params normalization (#1617)
sourabhg Dec 16, 2020
8fdefd9
Set Kubient email to prebid@kubient.com (#1629)
Dec 17, 2020
518e27f
Rename pbsmetrics to metrics (#1624)
mansinahar Dec 17, 2020
1aeecb0
33Across: Add support for multi-imp requests (#1609)
curlyblueeagle Dec 17, 2020
2d4a03a
changed usersync endpoint (#1631)
sourabhg Dec 22, 2020
277762b
Remove legacy GDPR AMP config flag used to prevent buyer ID scrub on …
bsardo Jan 5, 2021
ef967ef
Updating contact info for adprime (#1640)
bretg Jan 5, 2021
1dda07d
ucfunnel adapter update end point (#1639)
Jan 5, 2021
0284a70
New Adapter: Mobfox (#1585)
mobfxoHB Jan 5, 2021
a709baa
IX: Implement Bidder interface, update endpoint. (#1569)
ix-prebid-support Jan 6, 2021
601a746
Fix GDPR consent assumption when gdpr req signal is unambiguous and s…
bsardo Jan 7, 2021
2d76926
Fix appnexus adapter not setting currency in the bid response (#1642)
SyntaxNode Jan 7, 2021
be4aa73
Add Adot adapter (#1605)
Giudici-a Jan 11, 2021
f3fbc8c
Refactor AMP Param Parsing (#1627)
SyntaxNode Jan 12, 2021
b111b6d
Enforce GDPR privacy if there's an error parsing consent (#1593)
bsardo Jan 12, 2021
2336b64
MediaFuse adapter (#1635)
GeneGenie Jan 12, 2021
b6b64e7
New Adapter: Revcontent (#1622)
jcamp-revc Jan 12, 2021
4b7323c
Fix Unruly Bidder Parmaters (#1616)
SyntaxNode Jan 12, 2021
9c2e630
Implement EID Permissions (#1633)
SyntaxNode Jan 14, 2021
fca9f3a
Idsync removal (#1644)
stevealliance Jan 14, 2021
6e32168
Audit beachfront tests and change some videoResponseType details (#1638)
muncha Jan 20, 2021
994d0f0
Adding Events support in bid responses (#1597)
laurb9 Jan 20, 2021
f5f0b03
Fix Shared Memory Corruption In EMX_Digital (#1646)
SyntaxNode Jan 20, 2021
50b49a0
Add gdpr.tcf1.fetch_gvl deprecation warning and update GVL subdomain …
bsardo Jan 20, 2021
e2c9289
Bubble up GDPR signal/consent errors while applying privacy policies …
bsardo Jan 20, 2021
56672f8
Always sync when GDPR globally enabled and allow host cookie sync … (…
bsardo Jan 21, 2021
d61f2d5
Eplanning: new prioritization metric for adunit sizes (#1648)
Jan 26, 2021
c3e305f
removing IX's usersync default URL (#1670)
ix-prebid-support Jan 26, 2021
54f22b2
AMX Bid Adapter: Loop Variable Bug (#1675)
nickjacob Jan 28, 2021
3793d4c
requestheaders: new parameter inside debug.httpcalls.<BIDDER> to log …
ShriprasadM Jan 28, 2021
c276b58
Updating pulsepoint adapter (#1663)
anand-venkatraman Jan 28, 2021
01645db
Debug disable feature implementation: (#1677)
VeronikaSolovei9 Jan 28, 2021
ef06fac
Always use fallback GVL for TCF1 (#1657)
bsardo Jan 28, 2021
27d1b8f
Adform adapter: digitrust cleanup (#1690)
braizhas Feb 3, 2021
3b93511
New Adapter: DecenterAds (#1669)
vlaktion Feb 4, 2021
3b9f61a
Handle empty consent string during cookie sync and setuid (#1671)
bsardo Feb 4, 2021
edda1f6
Prebid Upgrade 0.146.0: Updating import statements
pm-isha-bharti Feb 11, 2021
86d9429
Merging 'master' into branch 'prebid-upgrade-0.146.0'
pm-isha-bharti Feb 16, 2021
63086fe
Adding changes in ctv for prebid upgrade 0.146.0
pm-isha-bharti Feb 16, 2021
e29129c
UOE-6077: Updating IX usersync
pm-isha-bharti Feb 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
  •  
  •  
  •  
24 changes: 24 additions & 0 deletions .github/workflows/validate-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Validate Merge

on:
pull_request:
branches: [master]

jobs:
validate-merge:
runs-on: ubuntu-18.04

steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.14.2

- name: Checkout Merged Branch
uses: actions/checkout@v2

- name: Validate
run: |
./validate.sh --nofmt --cov --race 10
env:
GO111MODULE: "on"
23 changes: 14 additions & 9 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,31 @@
name: Validate

on:
push:
branches:
- master
branches: [master]
pull_request:
release:
types:
- created
name: Validate
branches: [master]

jobs:
Go:
validate:
strategy:
matrix:
go-version: [1.13.x, 1.14.x, 1.15.x]
go-version: [1.14.x, 1.15.x]
os: [ubuntu-18.04]
runs-on: ${{ matrix.os }}

steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code

- name: Checkout Branch
uses: actions/checkout@v2
with:
# Resolves to empty string for push events and falls back to HEAD.
ref: ${{ github.event.pull_request.head.sha }}

- name: Validate
run: |
./validate.sh --nofmt --cov --race 10
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
language: go

go:
- '1.13'
- '1.14.2'
- '1.15'

go_import_path: github.com/PubMatic-OpenWrap/prebid-server

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ RUN apt-get update && \
apt-get install -y ca-certificates mtr && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
EXPOSE 8000
EXPOSE 8080
EXPOSE 6060
ENTRYPOINT ["/usr/local/bin/prebid-server"]
CMD ["-v", "1", "-logtostderr"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ For more information, see:

## Installation

First install [Go](https://golang.org/doc/install) version 1.13 or newer.
First install [Go](https://golang.org/doc/install) version 1.14 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
4 changes: 2 additions & 2 deletions account/account.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/PubMatic-OpenWrap/prebid-server/config"
"github.com/PubMatic-OpenWrap/prebid-server/errortypes"
"github.com/PubMatic-OpenWrap/prebid-server/pbsmetrics"
"github.com/PubMatic-OpenWrap/prebid-server/metrics"
"github.com/PubMatic-OpenWrap/prebid-server/stored_requests"
jsonpatch "github.com/evanphx/json-patch"
)
Expand All @@ -20,7 +20,7 @@ func GetAccount(ctx context.Context, cfg *config.Configuration, fetcher stored_r
Message: fmt.Sprintf("Prebid-server has disabled Account ID: %s, please reach out to the prebid server host.", accountID),
}}
}
if cfg.AccountRequired && accountID == pbsmetrics.PublisherUnknown {
if cfg.AccountRequired && accountID == metrics.PublisherUnknown {
return nil, []error{&errortypes.AcctRequired{
Message: fmt.Sprintf("Prebid-server has been configured to discard requests without a valid Account ID. Please reach out to the prebid server host."),
}}
Expand Down
4 changes: 2 additions & 2 deletions account/account_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

"github.com/PubMatic-OpenWrap/prebid-server/config"
"github.com/PubMatic-OpenWrap/prebid-server/errortypes"
"github.com/PubMatic-OpenWrap/prebid-server/pbsmetrics"
"github.com/PubMatic-OpenWrap/prebid-server/metrics"
"github.com/PubMatic-OpenWrap/prebid-server/stored_requests"
"github.com/stretchr/testify/assert"
)
Expand All @@ -29,7 +29,7 @@ func (af mockAccountFetcher) FetchAccount(ctx context.Context, accountID string)
}

func TestGetAccount(t *testing.T) {
unknown := pbsmetrics.PublisherUnknown
unknown := metrics.PublisherUnknown
testCases := []struct {
accountID string
// account_required
Expand Down
129 changes: 87 additions & 42 deletions adapters/33across/33across.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (

"github.com/PubMatic-OpenWrap/openrtb"
"github.com/PubMatic-OpenWrap/prebid-server/adapters"
"github.com/PubMatic-OpenWrap/prebid-server/config"
"github.com/PubMatic-OpenWrap/prebid-server/errortypes"
"github.com/PubMatic-OpenWrap/prebid-server/openrtb_ext"
)
Expand All @@ -16,14 +17,31 @@ type TtxAdapter struct {
}

type Ext struct {
Ttx ext `json:"ttx"`
Ttx impTtxExt `json:"ttx"`
}

type ext struct {
type impTtxExt struct {
Prod string `json:"prod"`
Zoneid string `json:"zoneid,omitempty"`
}

type reqExt struct {
Ttx *reqTtxExt `json:"ttx,omitempty"`
}

type reqTtxExt struct {
Caller []TtxCaller `json:"caller,omitempty"`
}

type TtxCaller struct {
Name string `json:"name,omitempty"`
Version string `json:"version,omitempty"`
}

// CALLER Info used to track Prebid Server
// as one of the hops in the request to exchange
var CALLER = TtxCaller{"Prebid-Server", "n/a"}

type bidExt struct {
Ttx bidTtxExt `json:"ttx,omitempty"`
}
Expand All @@ -37,39 +55,41 @@ func (a *TtxAdapter) MakeRequests(request *openrtb.BidRequest, reqInfo *adapters
var errs []error
var adapterRequests []*adapters.RequestData

adapterReq, errors := a.makeRequest(request)
if adapterReq != nil {
adapterRequests = append(adapterRequests, adapterReq)
// Construct request extension common to all imps
// NOTE: not blocking adapter requests on errors
// since request extension is optional.
reqExt, err := makeReqExt(request)
if err != nil {
errs = append(errs, err)
}
request.Ext = reqExt

// Break up multi-imp request into multiple external requests since we don't
// support SRA in our exchange server
for i := 0; i < len(request.Imp); i++ {
if adapterReq, err := a.makeRequest(*request, request.Imp[i]); err == nil {
adapterRequests = append(adapterRequests, adapterReq)
} else {
errs = append(errs, err)
}
}
errs = append(errs, errors...)

return adapterRequests, errors
return adapterRequests, errs
}

// Update the request object to include custom value
// site.id
func (a *TtxAdapter) makeRequest(request *openrtb.BidRequest) (*adapters.RequestData, []error) {
var errs []error
func (a *TtxAdapter) makeRequest(request openrtb.BidRequest, imp openrtb.Imp) (*adapters.RequestData, error) {
impCopy, err := makeImps(imp)

// Make a copy as we don't want to change the original request
reqCopy := *request
if err := preprocess(&reqCopy); err != nil {
errs = append(errs, err)
if err != nil {
return nil, err
}

if reqCopy.Imp[0].Banner == nil && reqCopy.Imp[0].Video == nil {
errs = append(errs, &errortypes.BadInput{
Message: "At least one of [banner, video] formats must be defined in Imp. None found",
})

return nil, errs
}
request.Imp = []openrtb.Imp{*impCopy}

// Last Step
reqJSON, err := json.Marshal(reqCopy)
reqJSON, err := json.Marshal(request)
if err != nil {
errs = append(errs, err)
return nil, errs
return nil, err
}

headers := http.Header{}
Expand All @@ -80,45 +100,47 @@ func (a *TtxAdapter) makeRequest(request *openrtb.BidRequest) (*adapters.Request
Uri: a.endpoint,
Body: reqJSON,
Headers: headers,
}, errs
}, nil
}

// Mutate the request to get it ready to send to ttx.
func preprocess(request *openrtb.BidRequest) error {
var imp = &request.Imp[0]
func makeImps(imp openrtb.Imp) (*openrtb.Imp, error) {
if imp.Banner == nil && imp.Video == nil {
return nil, &errortypes.BadInput{
Message: fmt.Sprintf("Imp ID %s must have at least one of [Banner, Video] defined", imp.ID),
}
}

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

var ttxExt openrtb_ext.ExtImp33across
if err := json.Unmarshal(bidderExt.Bidder, &ttxExt); err != nil {
return &errortypes.BadInput{
return nil, &errortypes.BadInput{
Message: err.Error(),
}
}

var impExt Ext
impExt.Ttx.Prod = ttxExt.ProductId

// Add zoneid if it's defined
impExt.Ttx.Zoneid = ttxExt.SiteId

if len(ttxExt.ZoneId) > 0 {
impExt.Ttx.Zoneid = ttxExt.ZoneId
}

impExtJSON, err := json.Marshal(impExt)
if err != nil {
return &errortypes.BadInput{
return nil, &errortypes.BadInput{
Message: err.Error(),
}
}

imp.Ext = impExtJSON
siteCopy := *request.Site
siteCopy.ID = ttxExt.SiteId
request.Site = &siteCopy

// Validate Video if it exists
if imp.Video != nil {
Expand All @@ -127,13 +149,35 @@ func preprocess(request *openrtb.BidRequest) error {
imp.Video = videoCopy

if err != nil {
return &errortypes.BadInput{
return nil, &errortypes.BadInput{
Message: err.Error(),
}
}
}

return nil
return &imp, nil
}

func makeReqExt(request *openrtb.BidRequest) ([]byte, error) {
var reqExt reqExt

if len(request.Ext) > 0 {
if err := json.Unmarshal(request.Ext, &reqExt); err != nil {
return nil, err
}
}

if reqExt.Ttx == nil {
reqExt.Ttx = &reqTtxExt{}
}

if reqExt.Ttx.Caller == nil {
reqExt.Ttx.Caller = make([]TtxCaller, 0)
}

reqExt.Ttx.Caller = append(reqExt.Ttx.Caller, CALLER)

return json.Marshal(reqExt)
}

// MakeBids make the bids for the bid response.
Expand Down Expand Up @@ -219,9 +263,10 @@ func getBidType(ext bidExt) openrtb_ext.BidType {
return openrtb_ext.BidTypeBanner
}

// New33AcrossBidder configures bidder endpoint
func New33AcrossBidder(endpoint string) *TtxAdapter {
return &TtxAdapter{
endpoint: endpoint,
// Builder builds a new instance of the 33Across adapter for the given bidder with the given config.
func Builder(bidderName openrtb_ext.BidderName, config config.Adapter) (adapters.Bidder, error) {
bidder := &TtxAdapter{
endpoint: config.Endpoint,
}
return bidder, nil
}
11 changes: 10 additions & 1 deletion adapters/33across/33across_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,17 @@ import (
"testing"

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

func TestJsonSamples(t *testing.T) {
adapterstest.RunJSONBidderTest(t, "33acrosstest", New33AcrossBidder("http://ssc.33across.com"))
bidder, buildErr := Builder(openrtb_ext.Bidder33Across, config.Adapter{
Endpoint: "http://ssc.33across.com"})

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

adapterstest.RunJSONBidderTest(t, "33acrosstest", bidder)
}
Loading