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

[JW8-11135] Update JWPlayer Prebid Fork #2

Merged
merged 211 commits into from
Jun 23, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
211 commits
Select commit Hold shift + click to select a range
78602ff
increment pre version
jsnellbaker Apr 7, 2020
75f13a0
Support min &max duration for onevideo (#5079)
DeepthiNeeladri Apr 8, 2020
c61a2b9
isSafariBrowser update (#5077)
bretg Apr 8, 2020
925ae0a
CRITEO RTUS Integration with Yieldmo Prebid (#5075)
mglowackiym Apr 8, 2020
c318c02
Prebid manager analytics utm tags (#4998)
Prebid-Manager Apr 8, 2020
5fab5e1
New bid adapter: Wipes (#5051)
Tosh39 Apr 8, 2020
1a8406f
updateAdGenerationManual (#5032)
banakemi Apr 8, 2020
de504a9
Criteo : added first party data mapping to bidder request (#4954)
leonardlabat Apr 8, 2020
9eec929
Read OpenRTB app objects if set in config + bug fix for when ad units…
bjorn-lw Apr 8, 2020
b8d5e05
Utils updates (#5092)
snapwich Apr 9, 2020
8f8f6f8
change payload (#5105)
vincentproxistore Apr 10, 2020
67a1cb1
Add new bid adapter for ConnectAd (#4806)
rtuschkany Apr 10, 2020
0604558
Add Relaido Adapter (#5101)
relaido Apr 13, 2020
5eac196
fix circle ci failing tests (#5113)
Fawke Apr 13, 2020
7438f5a
minor consentManagement fix (#5050)
harpere Apr 13, 2020
758abf3
PubMatic adapter to support image sync (#5104)
pm-harshad-mane Apr 13, 2020
6c26b5b
Marsmedia - Add vastXml and fix id response (#5067)
vladi-mmg Apr 13, 2020
bcfca15
Qc/qc usersyncs (#4923)
SleimanJneidi Apr 14, 2020
bddf7e9
ShowHeroes adapter v2 (#5085)
vadim-mazzherin Apr 14, 2020
c7cc349
Quantcast: Block bids without purpose 1 consent (#5046)
dpapworth-qc Apr 14, 2020
3fc10c9
Update appnexusBidAdapter.js (#4893)
bllmo Apr 15, 2020
e4d7596
Use a deepmerge function to merge both globa level config & bidder sp…
leonardlabat Apr 15, 2020
2216367
Prebid 3.16.0 Release
Apr 15, 2020
7e26de8
Increment pre version
Apr 15, 2020
6d45035
parrableIdSystem: Send current page location to back-end (#5123)
icflournoy Apr 16, 2020
b2030e5
hotfix - undefined consent (#5127)
nwlosinski Apr 16, 2020
bab538b
Submitting Tercept Analytics Adapter (#5099)
mohdusmanalvi Apr 16, 2020
af307f3
fix wipes adapter response (#5134)
Tosh39 Apr 17, 2020
a213fa0
User ID's (liveramp, britepool) and gdpr (#5114)
Apr 17, 2020
250dd1d
GumGum: uses encodeURIComponent inline (#5124)
susyt Apr 17, 2020
2efa352
Replace call to old url module with call to utils (#5136)
msm0504 Apr 17, 2020
8a681b7
add parameter to the conversant adapter to override the url (#5133)
johnwier Apr 17, 2020
8846adb
update test adunit params (#5135)
Tosh39 Apr 17, 2020
bd9243c
Feature/send publisher domain (#5121)
NemanjaRajkovic9 Apr 17, 2020
2a70905
New LuponMedia Bid Adapter (#5120)
adxpremium Apr 20, 2020
198f63e
Revert "New LuponMedia Bid Adapter (#5120)" (#5145)
sumit116 Apr 20, 2020
c0c8b58
[BUGFIX] AdagioBidAdapter getDataFromLocalStorage (#5081)
osazos Apr 20, 2020
f0a8abd
LuponMedia Bid Adapter (#5146)
adxpremium Apr 21, 2020
6311c46
SublimeBidAdapter: Update to version 0.5.1 (#4977)
SublimeLeo Apr 21, 2020
cf74b6c
PS bid adapter update to copy site object from config (#5083)
mmoschovas Apr 21, 2020
b9cb920
Disallowing remote requests from Safari and Firefox due to browsers n…
goosemanjack Apr 21, 2020
f85862d
Improve Digital adapter: add support for outstream video (#5129)
jbartek25 Apr 21, 2020
1e1a720
SublimeBidAdapter src/url.js import fix (#5150)
pm-harshad-mane Apr 21, 2020
e8d3119
No bid version 1.2.5 (#5137)
redaguermas Apr 22, 2020
a7f0603
Teads fix production GDPR error (#5122)
Apr 22, 2020
916b1a6
use customSlotMatching func for reseting targeting (#5132)
FilipStamenkovic Apr 22, 2020
0decdce
Add warning messages for publishers while native ads send assets cont…
bmwcmw Apr 22, 2020
2477e86
Triplelift: expose tl_souce in bid response (#5139)
sdao-tl Apr 22, 2020
ae0ab1d
UserId module to export user ids as eids with pbjs.getUserIdsAsEids()…
pm-harshad-mane Apr 22, 2020
b5aa77a
LunaMedia Adapter (#5110)
trchandraprakash Apr 23, 2020
8db2720
Release 3.17.0
mkendall07 Apr 23, 2020
00a3379
3.18.0-pre
mkendall07 Apr 23, 2020
7bd4471
Marsmedia Change endpoint URL (#5156)
vladi-mmg Apr 23, 2020
e09a2c3
Improve tcf2 support (#5138)
bmwcmw Apr 24, 2020
5b8dfa6
Remove leftover return value from requestBids (#5160)
snapwich Apr 24, 2020
0eeaccb
feat: new Pubstack Analytics Module (#5148)
gpolaert Apr 27, 2020
a883653
New adapter: Colombia (#5158)
ColombiaOnline Apr 27, 2020
2621343
PubMatic adding a targeting key for buyid (#5171)
pm-harshad-mane Apr 27, 2020
89c72cf
restore version property to the latest (#5176)
Fawke Apr 28, 2020
2cfcf9c
Provide more data in Adhese bid response (#5154)
kimvc Apr 28, 2020
a88ff90
Districtm dmx UID support (#5162)
stevealliance Apr 28, 2020
f244450
Between: fix sizes format & update readme.md (#5168)
ignat-one Apr 29, 2020
79e9d75
Invisibly analytics (#5153)
Hassija Apr 29, 2020
991ad56
Add support for user sync (#5142)
itaynave Apr 29, 2020
bee999a
EMX Digital Adapter Bug Fix - Outstream Renderer (#5161)
EMXDigital Apr 29, 2020
b02914c
Prebid 3.18.0 Release
Apr 29, 2020
5fc2b1e
Increment pre version
Apr 29, 2020
6aaaf96
circleci enable pipelines (#5119)
sumit116 Apr 30, 2020
077c910
remove user syncs, fix ccpa approach, and encode brackets and curly b…
MelodyLi2017 Apr 30, 2020
09634b8
Fix e2e tests (#5183)
sumit116 May 4, 2020
17e1d80
Add Quantumdex Bid Adapter (#5170)
thuyhq May 6, 2020
bb6cb10
Admixer Bid Adapter add consent support (#5169)
Galphimbl May 6, 2020
fd26f66
DeepIntent: Gdpr support (#5147)
sourabhg May 6, 2020
1fa1ecf
New Adprime bidder adapter (#5172)
Adprime May 6, 2020
065c51e
Refined the ticket-coordinator role description (#5187)
bretg May 6, 2020
92d3e38
Send debug info from adapter to external debugger (#5151)
bjorn-lw May 6, 2020
4c8a846
Add videoCacheKey on the bid object only if the cache url is not set …
pratik-synacor May 7, 2020
3513d38
Marsmedia - Add onBidWon function (#5175)
vladi-mmg May 7, 2020
7167bbe
Updates core-js to version 3. (#4984)
barslev May 7, 2020
9c8aa04
Blue Billywig bid adapter (#5118)
K-JBoon May 7, 2020
14e4a94
New version of Konduit Accelerate module (#5164)
konduit-dev May 7, 2020
1b88276
Delete audience network integration example. (#5190)
patmmccann May 7, 2020
89d9c25
ShowHeroes - schain support (#5193)
vadim-mazzherin May 7, 2020
8a35a06
Media.net adapter & analytics improvements (#5195)
vedantseta May 8, 2020
b05b60c
Prebid 3.19.0 Release
mike-chowla May 8, 2020
1e59090
Increment pre version
mike-chowla May 8, 2020
2dc1125
Fix pre version
mike-chowla May 8, 2020
c867e7d
parrableIdSystem: Consume US Privacy consent data (#5197)
icflournoy May 11, 2020
42e41a0
Rakuten bid adapter (#5191)
snapwich May 11, 2020
004440e
Freewheel add dealId property in bidResponse (#5200)
xwang202 May 14, 2020
18cf2f7
updating ttl variable in underdogmediaBidAdapter.js (#5220)
dhreb May 14, 2020
8107373
Gdpr vendor exceptions (#5201)
robertrmartinez May 14, 2020
2fe9d78
PBJS RP adapter: pass integration type into video calls (#5231)
msm0504 May 14, 2020
0d40c28
Use default native size if received size is undefined (#5192)
bmwcmw May 14, 2020
0931459
New adapter - Trendqube (#5225)
Trendqube-ssp May 15, 2020
3737fc4
Roll back breaking change to utils.parseQueryStringParameters (#5230)
kizzard May 15, 2020
8bfd2d6
One Video: Added banner support for Dynamic Ad Placement (DAP) (#5199)
adam-browning May 18, 2020
200ab99
Added support of multi-format ads in TheMediaGrid Bid Adapter (#5217)
TheMediaGrid May 18, 2020
49d5d46
add publisherId & mediaId (#5184)
ctylim May 18, 2020
334cb01
User id fetch error (#5166)
robertrmartinez May 18, 2020
60c83ea
RichAudience BidAdapter - Changes video Adapter (#5213)
richaudience May 19, 2020
3c1c0bf
tribeOS change endpoint URL (#5243)
May 19, 2020
198c53b
LoopMe adapter: Added mediaType field into bid response (#5233)
EpanchinE May 19, 2020
b404d20
Automatad Bid Adapter: Update CPM sent with WinNotification (#5267)
May 19, 2020
35417e2
Onevideo Adaptor -Hp param support (#5257)
DeepthiNeeladri May 20, 2020
ee0fae9
New bidder adapter: pubgenius (#5206)
edmonl May 20, 2020
37526dc
SChain support (#5272)
bjorn-lw May 20, 2020
8eb8d2d
clean(openxBidderAdaptor): converted video size to numbers from strin…
jimee02 May 20, 2020
a68c2f8
Prebid 3.20.0 Release
smenzer May 20, 2020
b26a541
Increment pre version
smenzer May 20, 2020
ef7acc2
Update onBidWon method to only execute 1 url (#5238)
AzizSaleh May 21, 2020
25b7189
Added support for GDPR, COPPA, and USP (#5210)
JoshuaMGoldstein May 21, 2020
67a1b1e
Stabilize Circle CI Build Job (#5208)
Fawke May 21, 2020
9ca46df
Adding Edge Query X Adapter (with right md file) (#5266)
May 22, 2020
d59be75
Update Platform One Analytics Adapter (#5265)
hbanalytics May 22, 2020
b717cdc
Fix mapping data (#5271)
sumit116 May 22, 2020
0f45a8a
Add craftBidAdapter (#5260)
crumbjp May 22, 2020
9bbc810
Add min_duration and max_duration parameter to spotxBidAdapter (#5286)
npeceniak May 22, 2020
03d9d15
[rtbhouse] Add schain support (#5281)
Kamoris May 22, 2020
565b941
Fix referer (#5274)
relaido May 22, 2020
2691784
Add keywordsparametr (#5227)
Adprime May 25, 2020
52b8944
Identity link id system - handle empty response (#5279)
mamatic May 25, 2020
13c9859
update bid vlues (#5301)
ColombiaOnline May 25, 2020
2b428bc
Update ixBidAdapter.js (#5289)
patmmccann May 25, 2020
88033c0
add adWMGAnalyticsAdapter (#5261)
nyakove May 26, 2020
0b52d6a
fix(Renderer): load script only on render (#5235)
jeremiegirault May 26, 2020
458d457
Fidelity adapter: TCFv2 support, kubient alias. (#5302)
onaydenov May 26, 2020
78330dd
Update sync url for grid and gridNM Bid Adapters (#5304)
TheMediaGrid May 26, 2020
c2c3263
Gumgum add in video (#5284)
estavillo May 27, 2020
f4dc9c4
DailyhuntBid Adapter: Add video support with Refactor/Optimizing (#5226)
montu1996 May 27, 2020
efcba5a
Adtelligent new features (#5203)
GeneGenie May 27, 2020
b4b6e13
New adapter - videofy (#5259)
vladi-mmg May 27, 2020
e7b565f
fallback to defaultGdprScope if cmp undefined (#5291)
robertrmartinez May 27, 2020
1f1b4fe
RTD bug fix (#5087)
omerDotan May 27, 2020
874c482
adding check if gdpr module ran enforcment logic (#5178)
robertrmartinez May 27, 2020
883662a
Floors new signals (#5295)
robertrmartinez May 27, 2020
c44a74d
change iabSubCatId name to primaryCatId (#5303)
sumit116 May 27, 2020
cd35077
Prebid 3.21.0 Release
bretg May 27, 2020
f874a17
Increment pre version
bretg May 27, 2020
707a103
Add publisher_id to appnexus adapter (#5244)
sumit116 May 28, 2020
ededaa0
Add Onomagic Bidder Adapter (#5155)
vyatsun May 28, 2020
2fe57c3
AdPartner bidadapter init (#5196)
preved-medved May 28, 2020
c577d76
Blue Billywig adapter - Add site config to request similarly to app c…
K-JBoon May 28, 2020
943034e
remove uri-encoding (#5307)
MelodyLi2017 May 28, 2020
62ef1ff
Media.net improvements (#5282)
vedantseta May 28, 2020
9388a0d
adWMGAnalytics - refactor unit tests (#5310)
Fawke May 29, 2020
6288944
VIS.X: remove bidderCode from bidResponse (#5313)
mk0x9 May 29, 2020
d71257e
OneVideo: Excluded DAP validation for Multi-Format adUnits support (#…
adam-browning May 29, 2020
7bbc5ab
Improvements for SizeMappingV2 (advanced size mapping) module (#5283)
Fawke May 29, 2020
2a0cd2f
add onBidWon function, add bidder adapter version to bid requests (#5…
May 31, 2020
fcf1fad
Adtarget bid adapter (#5296)
GeneGenie Jun 1, 2020
83f19f4
removes referencing of digitrust library (#5316)
susyt Jun 1, 2020
cd40194
ucfunnel adapter update request parameter (#5278)
Jun 2, 2020
adff6e4
AdxPremium Analytics - bug fixes, handling timeout, etc. (#5182)
adxpremium Jun 2, 2020
5bc1ac4
Update Dspx adapter (#5277)
onlsol Jun 3, 2020
c797005
remove only keyword (#5324)
Fawke Jun 3, 2020
e4e6e4a
PubMatic analytics documentation (#5322)
pm-harshad-mane Jun 3, 2020
1c744a4
Secure creative update (#5285)
harpere Jun 3, 2020
7362b69
update webdriverio and node 12 support (#5236)
jsnellbaker Jun 3, 2020
80f19ce
Prebid 3.22.0 release
jsnellbaker Jun 3, 2020
b7ee9c5
increment pre version
jsnellbaker Jun 3, 2020
70cc469
Update Usersync Url For Quantumdex bid adapter (#5327)
thuyhq Jun 3, 2020
77705e8
fix wipesAdapter CPM culclation (#5330)
Tosh39 Jun 4, 2020
8d00d1e
GumGum: handling misconfigured requests (#5212)
susyt Jun 5, 2020
02d5b67
GumGum: update jcsi object values (#5258)
susyt Jun 5, 2020
994dd29
* Add Glimpes Protocol Bidding Adaptor (#5293)
tim-hm Jun 6, 2020
bdaa411
fix secure protocol check for beachfront video (#5318)
jsalis Jun 7, 2020
461fea9
new bidder adapter: mediasquareBidAdapter (#5317)
matthieularere-msq Jun 8, 2020
acdece8
Konduit Accelerate module with 'send all bids' support (#5247)
konduit-dev Jun 8, 2020
cabbf4e
parrableIdSystem: Read legacy ID and optout cookies and migrate to ne…
icflournoy Jun 8, 2020
612d1ad
Teads adapter: Support deal targeting (#5270)
nailyk Jun 8, 2020
34f7249
GumGum: adds new param (#5297)
susyt Jun 9, 2020
87c000d
Avocet bid adapter (#5262)
scritchley Jun 9, 2020
1264683
Event updates (#5288)
Jun 9, 2020
e91bcdd
AdOcean adapter - support for sizes defined in Prebid configuration. …
mmuras Jun 10, 2020
dcf88bd
Vidazoo: Feature support usp consent (#5111)
uditalias Jun 10, 2020
431eedd
add optional video param for tagid (#5344)
jsalis Jun 10, 2020
3669f7d
Add module H12 Media (#5328)
h12media Jun 10, 2020
e5d7ecf
No bid version 1.2.6 (#5323)
redaguermas Jun 10, 2020
3e443e8
AdagioBidAdapter 2.2.2 (#5347)
osazos Jun 11, 2020
e17703a
added CCPA support, gvlid to adform and adformOpenRTB adapters (#5214)
braizhas Jun 11, 2020
00906b4
Native support for NextRoll adapter (#5319)
raz-adroll Jun 11, 2020
57fab27
Adding back ZEDO adapter with changes to make it compatible to latest…
skazedo Jun 11, 2020
4c86e0d
Vidazoo Adapter: Feature/direct deal targeting (#5343)
uditalias Jun 11, 2020
e7131eb
Add support for aliases (#5342)
itaynave Jun 11, 2020
577c9ae
Fix to issue #5141 exception thrown in pbjs.requestBids when DigiTrus…
goosemanjack Jun 11, 2020
b3dedca
PubMatic analytics adapter to support bidCpmAdustment values (#5354)
pm-harshad-mane Jun 11, 2020
487fc29
Prebid 3.23.0 Release
Jun 11, 2020
fc8bee8
increment prebid version
Jun 11, 2020
f326ad6
improveStartDelay after documentation update default value is now 1 a…
lowendavid Jun 12, 2020
d884d40
Updating docs header info fields (#5366)
bretg Jun 12, 2020
f99eb51
Add placement_type and position parameters to spotxBidAdapter (#5364)
npeceniak Jun 12, 2020
18fc232
Configurable user-sync types support (#5359)
ckbo3hrk Jun 12, 2020
e7a34e9
Delaying removal of floor data for 3 seconds (#5360)
robertrmartinez Jun 12, 2020
8083239
PBS Bid Adapter: allow setting site params (#4973)
Jun 12, 2020
12c989c
Support for ID5 (#5345)
tsturtew Jun 15, 2020
3de9e9c
Added keywords parameter to TheMediaGrid Bid Adapter (#5353)
TheMediaGrid Jun 15, 2020
f24890c
Apply some updates to Valueimpression bid adapter (#5356)
thuyhq Jun 16, 2020
b1d5942
GumGum: removes deprecated banner sizes default (#5372)
susyt Jun 16, 2020
7bd17e4
UserId SharedId submodule (#5315)
SKOCHERI Jun 16, 2020
4ec4591
Freewheel - Converted the ComponentId property to be 'prebid' in requ…
xwang202 Jun 17, 2020
eb4bc85
Marsmedia & videofy adapters - Add onTimeout & onSetTargeting (#5352)
vladi-mmg Jun 17, 2020
5ac08c6
PubMatic bid adapter to support price floors module (#5387)
pm-harshad-mane Jun 18, 2020
9b4def5
Triplelift Adaptor: Use Floors Module (#5329)
colbertk Jun 18, 2020
a394bc6
appnexusBidAdapter - fix video params (#5394)
jsnellbaker Jun 19, 2020
aa877b2
PubMatic adds support for bidUserIdAsEids (#5397)
pm-harshad-mane Jun 19, 2020
4e59331
External ids (#5351)
lowendavid Jun 22, 2020
57f8beb
33Across: CCPA Compliance + Schain support (#5365)
curlyblueeagle Jun 22, 2020
ba6d904
added waardex adapter (#5349)
mshuhaliia Jun 22, 2020
cc845b0
Add customParams to yieldlab configuration (#5374)
mirkorean Jun 22, 2020
263c6cc
Vidazoo Adapter: Feature/user-id (#5386)
uditalias Jun 23, 2020
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
  •  
  •  
  •  
5 changes: 4 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ aliases:
- &environment
docker:
# specify the version you desire here
- image: circleci/node:8.9.0
- image: circleci/node:12.16.1

# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
Expand Down Expand Up @@ -92,3 +92,6 @@ workflows:
- master
jobs:
- e2etest

experimental:
pipelines: true
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8.9
12.16.1
28 changes: 18 additions & 10 deletions PR_REVIEW.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,15 @@ For modules and core platform updates, the initial reviewer should request an ad
- If the change is a new feature / change to core prebid.js - review the change with a Tech Lead on the project and make sure they agree with the nature of change.
- If the change results in needing updates to docs (such as public API change, module interface etc), add a label for "needs docs" and inform the submitter they must submit a docs PR to update the appropriate area of Prebid.org **before the PR can merge**. Help them with finding where the docs are located on prebid.org if needed.
- Below are some examples of bidder specific updates that should require docs update (in their dev-docs/bidders/bidder.md file):
- Add support for GDPR consentManagement module > add `gdpr_supported: true`
- Add support for US Privacy consentManagement module > add `usp_supported: true`
- Add support for userId module > add `userId: pubCommon, digitrust, newProviderHere`
- Add support for video and/or native mediaTypes > add `media_types: video, native`
- Add support for COPPA > add `coppa_supported: true`
- Add support for SChain > add `schain_supported: true`
- If they support the GDPR consentManagement module and TCF1, add `gdpr_supported: true`
- If they support the GDPR consentManagement module and TCF2, add `tcf2_supported: true`
- If they support the US Privacy consentManagementUsp module, add `usp_supported: true`
- If they support one or more userId modules, add `userId: (list of supported vendors)`
- If they support video and/or native mediaTypes add `media_types: video, native`. Note that display is added by default. If you don't support display, add "no-display" as the first entry, e.g. `media_types: no-display, native`
- If they support COPPA, add `coppa_supported: true`
- If they support SChain, add `schain_supported: true`
- If their bidder doesn't work well with safeframed creatives, add `safeframes_ok: false`. This will alert publishers to not use safeframed creatives when creating the ad server entries for their bidder.
- If they're a member of Prebid.org, add `prebid_member: true`
- If all above is good, add a `LGTM` comment and request 1 additional core member to review.
- Once there is 2 `LGTM` on the PR, merge to master
- Ask the submitter to add a PR for documentation if applicable.
Expand All @@ -46,11 +49,16 @@ For modules and core platform updates, the initial reviewer should request an ad

## Ticket Coordinator

Each week, Prebid Org assigns one person to keep an eye on incoming issues and PRs. That person should:
Each week, Prebid Org assigns one person to keep an eye on incoming issues and PRs. Every Monday morning a reminder is
sent to the prebid-js slack channel with a link to the spreadsheet. If you're on rotation, please check that list each
Monday to see if you're on-duty.

When on-duty:
- Review issues and PRs at least once per weekday for new items. Encourage a 48 "SLA" on PRs/issues assigned. Aim for touchpoint once every 48/hours.
- For PRs: assign PRs to individuals on the PR review list. Try to be equitable -- not all PRs are created equally. Use the "Assigned" field and add the "Needs Review" label.
- For PRs: assign PRs to individuals on the **PR review list**. Try to be equitable -- not all PRs are created equally. Use the "Assigned" field and add the "Needs Review" label.
- For Issues: try to address questions and troubleshooting requests on your own, assigning them to others as needed. Please add labels as appropriate (I.E. bug, question, backlog etc).
- Issues that are questions or troubleshooting requests may be closed if the originator doesn't respond within a week to requests for confirmation or details.
- Issues that are bug reports should be left open and assigned to someone in PR rotation to confirm or deny the bug status.
- It's polite to check with others before assigning them large tasks.
- If possible, check in on older items and see if they can be unstuck.
- It's polite to check with others before assigning them extra-large tasks.
- If possible, check in on older PRs and Issues and see if they can be unstuck.
- Perform the weekly Prebid.js release per instructions at https://github.com/prebid/Prebid.js/blob/master/RELEASE_SCHEDULE.md . This generally takes place on Tues or Weds.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ prebid.requestBids({
$ cd Prebid.js
$ npm install

*Note:* You need to have `NodeJS` 8.9.x or greater installed.
*Note:* You need to have `NodeJS` 12.16.1 or greater installed.

*Note:* In the 1.24.0 release of Prebid.js we have transitioned to using gulp 4.0 from using gulp 3.9.1. To comply with gulp's recommended setup for 4.0, you'll need to have `gulp-cli` installed globally prior to running the general `npm install`. This shouldn't impact any other projects you may work on that use an earlier version of gulp in its setup.

Expand Down
12 changes: 6 additions & 6 deletions allowedModules.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@

const sharedWhiteList = [
'core-js/library/fn/array/find', // no ie11
'core-js/library/fn/array/includes', // no ie11
'core-js/library/fn/set', // ie11 supports Set but not Set#values
'core-js/library/fn/string/includes', // no ie11
'core-js/library/fn/number/is-integer', // no ie11,
'core-js/library/fn/array/from' // no ie11
'core-js-pure/features/array/find', // no ie11
'core-js-pure/features/array/includes', // no ie11
'core-js-pure/features/set', // ie11 supports Set but not Set#values
'core-js-pure/features/string/includes', // no ie11
'core-js-pure/features/number/is-integer', // no ie11,
'core-js-pure/features/array/from' // no ie11
];

module.exports = {
Expand Down
4 changes: 3 additions & 1 deletion gulpHelpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ module.exports = {
if (fs.lstatSync(modulePath).isDirectory()) {
modulePath = path.join(modulePath, 'index.js')
}
memo[modulePath] = moduleName;
if (fs.existsSync(modulePath)) {
memo[modulePath] = moduleName;
}
return memo;
}, {});
} catch (err) {
Expand Down
47 changes: 33 additions & 14 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable no-console */
'use strict';

var _ = require('lodash');
Expand Down Expand Up @@ -32,8 +33,8 @@ var prebid = require('./package.json');
var dateString = 'Updated : ' + (new Date()).toISOString().substring(0, 10);
var banner = '/* <%= prebid.name %> v<%= prebid.version %>\n' + dateString + ' */\n';
var port = 9999;
const mockServerPort = 4444;
const host = argv.host ? argv.host : 'localhost';
const FAKE_SERVER_HOST = argv.host ? argv.host : 'localhost';
const FAKE_SERVER_PORT = 4444;
const { spawn } = require('child_process');

// these modules must be explicitly listed in --modules to be included in the build, won't be part of "all" modules
Expand Down Expand Up @@ -238,25 +239,25 @@ function test(done) {
];
}

//run mock-server
const mockServer = spawn('node', ['./test/mock-server/index.js', '--port=' + mockServerPort]);
mockServer.stdout.on('data', (data) => {
// run fake-server
const fakeServer = spawn('node', ['./test/fake-server/index.js', `--port=${FAKE_SERVER_PORT}`]);
fakeServer.stdout.on('data', (data) => {
console.log(`stdout: ${data}`);
});
mockServer.stderr.on('data', (data) => {
fakeServer.stderr.on('data', (data) => {
console.log(`stderr: ${data}`);
});

execa(wdioCmd, wdioOpts, { stdio: 'inherit' })
.then(stdout => {
// kill mock server
mockServer.kill('SIGINT');
// kill fake server
fakeServer.kill('SIGINT');
done();
process.exit(0);
})
.catch(err => {
// kill mock server
mockServer.kill('SIGINT');
// kill fake server
fakeServer.kill('SIGINT');
done(new Error(`Tests failed with error: ${err}`));
process.exit(1);
});
Expand Down Expand Up @@ -326,11 +327,27 @@ function setupE2e(done) {
done();
}

gulp.task('updatepath', function () {
function injectFakeServerEndpoint() {
return gulp.src(['build/dist/*.js'])
.pipe(replace('https://ib.adnxs.com/ut/v3/prebid', 'http://' + host + ':' + mockServerPort + '/'))
.pipe(replace('https://ib.adnxs.com/ut/v3/prebid', `http://${FAKE_SERVER_HOST}:${FAKE_SERVER_PORT}`))
.pipe(gulp.dest('build/dist'));
});
}

function injectFakeServerEndpointDev() {
return gulp.src(['build/dev/*.js'])
.pipe(replace('https://ib.adnxs.com/ut/v3/prebid', `http://${FAKE_SERVER_HOST}:${FAKE_SERVER_PORT}`))
.pipe(gulp.dest('build/dev'));
}

function startFakeServer() {
const fakeServer = spawn('node', ['./test/fake-server/index.js', `--port=${FAKE_SERVER_PORT}`]);
fakeServer.stdout.on('data', (data) => {
console.log(`stdout: ${data}`);
});
fakeServer.stderr.on('data', (data) => {
console.log(`stderr: ${data}`);
});
}

// support tasks
gulp.task(lint);
Expand All @@ -355,9 +372,11 @@ gulp.task('build', gulp.series(clean, 'build-bundle-prod'));
gulp.task('build-postbid', gulp.series(escapePostbidConfig, buildPostbid));

gulp.task('serve', gulp.series(clean, lint, gulp.parallel('build-bundle-dev', watch, test)));
gulp.task('serve-fake', gulp.series(clean, gulp.parallel('build-bundle-dev', watch), injectFakeServerEndpointDev, test, startFakeServer));

gulp.task('default', gulp.series(clean, makeWebpackPkg));

gulp.task('e2e-test', gulp.series(clean, setupE2e, gulp.parallel('build-bundle-prod', watch), 'updatepath', test));
gulp.task('e2e-test', gulp.series(clean, setupE2e, gulp.parallel('build-bundle-prod', watch), injectFakeServerEndpoint, test));
// other tasks
gulp.task(bundleToStdout);
gulp.task('bundle', gulpBundle.bind(null, false)); // used for just concatenating pre-built files with no build step
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
<!-- Test page for Size Mapping V2 module. Don't forget to include that module in the build before you run this page!
Feel free to play around with different settings and configurations for size mapping v2 -->

<!DOCTYPE html>
<html>

Expand All @@ -8,15 +11,16 @@
const FAILSAFE_TIMEOUT = 3300;
const PREBID_TIMEOUT = 1000;

// Example of a multi-format ad unit setup with uses the module `sizeMappingV2.js`.
const adUnits = [{
code: 'div-gpt-ad-1460505748561-0',
mediaTypes: {
banner: {
sizeConfig: [
{ minViewPort: [0, 0], sizes: [] }, // remove if < 750px
{ minViewPort: [750, 0], sizes: [[300, 250], [300, 600]] }, // between 750px and 1199px
{ minViewPort: [1200, 0], sizes: [[970, 90], [728, 90], [300, 250]] }, // between 1200px and 1599px
{ minViewPort: [1600, 0], sizes: [[1000, 300], [970, 90], [728, 90], [300, 250]] } // greater than 1600px
{ minViewPort: [750, 0], sizes: [[300, 250], [300, 600]] }, // between 750px and 1199px, use sizes: [[300, 250], [300, 600]]
{ minViewPort: [1200, 0], sizes: [[970, 90], [728, 90], [300, 250]] }, // between 1200px and 1599px, use sizes: [[970, 90], [728, 90], [300, 250]]
{ minViewPort: [1600, 0], sizes: [[1000, 300], [970, 90], [728, 90], [300, 250]] } // greater than 1600px, use sizes: [[1000, 300], [970, 90], [728, 90], [300, 250]]
]
},
video: {
Expand All @@ -31,9 +35,9 @@
required: true,
sizes: [150, 50]
},

// native media type enters auction only if device width is > 600px
sizeConfig: [
{ minViewPort: [0, 0], active: false },
{ minViewPort: [0, 0], active: false },
{ minViewPort: [600, 0], active: true }
]
}
Expand All @@ -54,12 +58,33 @@
siteId: 70608,
zoneId: 498816
},
// example of a bidder level size config. In the scenario below, bidder 'rubicon' enters auction only if the device width
// is between 850-1200 and it'll only send request for the 'native' media type.
sizeConfig: [
{ minViewPort: [0, 0], relevantMediaTypes: ['none'] },
{ minViewPort: [850, 0], relevantMediaTypes: ['native'] },
{ minViewPort: [1200, 0], relevantMediaTypes: ['none'] }
]
}]
}, {
// Example of an 'Identical Ad Unit' (same 'code' as previous ad unit but different 'mediaTypes' object)
// Ad Unit makes use of the 'labelAll' operator. (the label operators can be applied at the bidder lever as well)
code: 'div-gpt-ad-1460505748561-0',
labelAll: ['tablet'], // Label check fails since labels passed to pbjs.requestBids() equals ['mobile']. This disables the entire ad unit.
mediaTypes: {
banner: {
sizeConfig: [
{ minViewPort: [800, 0], sizes: [[360, 400], [640, 200]] },
{ minViewPort: [1000, 0], sizes: [] }
]
}
},
bids: [{
bidder: 'appnexus',
params: {
placementId: 4232323
}
}]
}];
var pbjs = pbjs || {};
pbjs.que = pbjs.que || [];
Expand All @@ -75,9 +100,11 @@

pbjs.que.push(function () {
pbjs.addAdUnits(adUnits);
pbjs.setConfig({debug: true});
pbjs.requestBids({
bidsBackHandler: sendAdserverRequest,
timeout: PREBID_TIMEOUT
timeout: PREBID_TIMEOUT,
labels: ['mobile']
});
});

Expand Down
83 changes: 0 additions & 83 deletions integrationExamples/gpt/audienceNetwork_dfp.html

This file was deleted.

5 changes: 0 additions & 5 deletions integrationExamples/gpt/audigentSegments_example.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,6 @@
params: {
// change to Parrable Partner Client ID(s) you received from the Parrable Partners you are using
partner: '30182847-e426-4ff9-b2b5-9ca1324ea09b'
},
storage: {
type: "cookie",
name: "_parrable_eid", // create a cookie with this name
expires: 365 // cookie can last for a year
}
}, {
name: "pubCommonId",
Expand Down
9 changes: 9 additions & 0 deletions integrationExamples/gpt/digitrust_Simple.html
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,9 @@
}
else {
console.error('Digitrust init failed');
if(digiTrustResult.err){
console.error(digiTrustResult.err);
}
}
}
},
Expand All @@ -157,6 +160,12 @@
expires: 60
}
}]
},
userIdTargeting: {
"GAM": true,
"GAM_KEYS": {
"tdid": "TTD_ID" // send tdid as TTD_ID
}
}
});
pbjs.addAdUnits(adUnits);
Expand Down
Loading