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

OpenWrap Release 19.2.0 #386

Merged
merged 176 commits into from
Apr 10, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
176 commits
Select commit Hold shift + click to select a range
9c08696
3.6.0 pre
mkendall07 Jan 30, 2020
613b99b
Audiencerun bid adapter (#4761)
audiencerun Jan 31, 2020
a9b379c
added criteo id and tests (#4786)
ariellenramirez Jan 31, 2020
14dcedd
ByPlay adapter (#4646)
daisato-tsumiki Jan 31, 2020
f80f3ab
Revert "ByPlay adapter (#4646)" due to lint failure
Jan 31, 2020
d0542cb
Reviving and moving to prebid 3.0 of smartyAds bi adapter (#4671)
Aigolkin1991 Feb 3, 2020
575e6b4
add TODO remark (#4811)
Fawke Feb 3, 2020
146b2a6
ByPlay adapter - fix lint (#4809)
daisato-tsumiki Feb 3, 2020
faec915
33Across BidAdapter: Set Page URL in request (#4795)
curlyblueeagle Feb 3, 2020
5f9a3b2
Missing protocols and linearity params in onevideo adaptor (#4800)
DeepthiNeeladri Feb 3, 2020
2506506
Trion request param update (#4805)
grohm33 Feb 3, 2020
563e166
ViewdeosDX outstream support (#4692)
GeneGenie Feb 4, 2020
50d2a29
GDPR support added to the vuble bidder (#4804)
Roffray Feb 5, 2020
1964f27
Collect data about native + minor changes (#4807)
bjorn-lw Feb 5, 2020
8569a71
Prebid 3.6.0 Release
Feb 6, 2020
a9ce654
Increment pre version
Feb 6, 2020
659b23c
Onevideo adapter version param support (#4826)
DeepthiNeeladri Feb 7, 2020
c24e8e1
Improve Digital: CCPA support (#4828)
jbartek25 Feb 10, 2020
d958588
Added size 1800x200 (#4822)
hdeodhar Feb 10, 2020
872e815
AdOcean adapter improvement (#4831)
martacieslak Feb 10, 2020
462583a
Telaria Bid Adapter: add adCode & srcPageUrl query string param only …
vseventer Feb 10, 2020
53e632d
Lemma Bid Adapter - v3.0 compliance (#4827)
lm-abhijit Feb 10, 2020
86981e1
added support for US Privacy consent string (#4799)
monofonik Feb 11, 2020
c99c78f
Fixed oneVideo TypeError when consentData is undefined (#4788)
josephtyler Feb 11, 2020
469ec57
implements the todo comment in the code (#4821)
patmmccann Feb 12, 2020
3fe85c3
Scaleable Analytics Adapter: Grouping Server Calls (#4634)
cconnors1515 Feb 12, 2020
720038e
Improvements for browsi RTD provider (#4598)
omerDotan Feb 12, 2020
41fb95f
Support for user block from the Adapter (#4779)
redaguermas Feb 12, 2020
0d823da
Prebid 3.7.0 release
Feb 12, 2020
7b9b5e2
Increment pre version
Feb 12, 2020
835348b
Updated Maintainer email (#4853)
weswhitney Feb 13, 2020
ec6faef
Add two more default native params to seedingalliance adapter (#4841)
Feb 13, 2020
c38dca4
Revert "implements the todo comment in the code (#4821)" (#4861)
jsnellbaker Feb 13, 2020
0c041fb
Prebid 3.7.1 release
jsnellbaker Feb 13, 2020
a973ad5
increment the pre version
jsnellbaker Feb 13, 2020
aab8d68
Remove deprecated Criteo Rtus Module (#4835)
Swiiip Feb 13, 2020
3c68054
onetagBidAdapter: added CCPA support (#4857)
onetag-dev Feb 14, 2020
5b53b37
Implemented schain support for prebid and updated documentation examp…
rajcspsg Feb 16, 2020
05c19b5
GumGum: adds support for video (#4848)
susyt Feb 17, 2020
d30b0a6
minor code changes for schain implementation (#4870)
rajcspsg Feb 19, 2020
a76a84d
use all request id (#4849)
vincentproxistore Feb 19, 2020
7df057b
Restore adman bidadapter (#4839)
SmartyAdman Feb 19, 2020
7279255
Updating criteo-direct-rsa-validate to 1.1.0 to fix issue #4851 (#4852)
leonardlabat Feb 19, 2020
3662ee3
Standardizing First Party Data (#4472)
msm0504 Feb 19, 2020
407dc92
TripleLift COPPA support (#4850)
davidwoodsandersen Feb 19, 2020
1b0dfc2
Require file extensions in requires and imports (#4876)
snapwich Feb 19, 2020
e1d10e0
Removed error message when no bids are made. (#4872)
dpapworth-qc Feb 20, 2020
f39427e
Add new optional parameter for changing placement names (#4878)
Feb 20, 2020
aa09d5d
Prebid 3.8.0 Release
bretg Feb 20, 2020
d5b2171
Increment pre version
bretg Feb 20, 2020
469f82c
Rubicon Adapter: Add liveramp support (#4863)
Feb 20, 2020
b668379
New Bidder Adapter: AdGlare Ad Server (#4808)
adglare Feb 21, 2020
f50e0b8
Districtm dmx passing dealid to prebid (#4772)
stevealliance Feb 21, 2020
d357f7e
update imports to include extensions (#4886)
robertrmartinez Feb 24, 2020
2412924
OpenX adapter: support Criteo ID (#4882)
Feb 24, 2020
9f72231
update criteo userid in appnexus bid adapter (#4862)
jsnellbaker Feb 24, 2020
2fdecfe
Rubicon analytics passes referrerHostname (#4885)
robertrmartinez Feb 24, 2020
01390ac
PubMatic adapter to support PM Deals (#4887)
pm-harshad-mane Feb 24, 2020
ac0ce27
update ByPlay Adapter (#4854)
daisato-tsumiki Feb 25, 2020
9022806
Always use HTTPS when serving within an iframe (#4859)
epechuzal Feb 25, 2020
303f0e3
Fix encode referrer twice (#4880)
yashigani Feb 25, 2020
0ae0bff
NextRoll Bidder Adapter (#4829)
abijr Feb 26, 2020
e6b3317
Prebid 3.9.0 release
jsnellbaker Feb 26, 2020
398133e
increment pre version
jsnellbaker Feb 26, 2020
bda6d12
Add netId userId module (#4250)
phtechno Feb 27, 2020
bd5408c
Added size 320x400 (#4902)
hdeodhar Feb 27, 2020
1f4e6b8
unifiedId UserId submodule should always make a secure call (#4899)
pm-harshad-mane Feb 28, 2020
6b72302
Added entry of netIdSystem and identityLinkIdSystem in .submodules.js…
pm-harshad-mane Feb 28, 2020
bfaf3aa
feat(pos and ccpa): added position and ccpa (#4884)
sourabhg Mar 2, 2020
ecbe420
feature/bidLimit-dealPrioritization (#4881)
Mar 3, 2020
146b7b8
Update bucksenseBidAdapter.js (#4898)
bkse-stefanodechicchis Mar 3, 2020
4de8941
Update bucksenseBidAdapter_spec.js (#4912)
bkse-stefanodechicchis Mar 3, 2020
89c765b
Fix Bug PixelEnabled (#4901)
richaudience Mar 4, 2020
6324686
fix regression in sourcemaps (#4914)
snapwich Mar 4, 2020
589a86e
small changes to 3 adapter specs (#4890)
jsnellbaker Mar 4, 2020
8fa8fac
Ats analytics adapter (#4895)
sumit116 Mar 5, 2020
5794bdc
Add Sortable bid adapter (#4907)
Fawke Mar 5, 2020
daacb10
#4904 Modify vendor gdpr check to deny consent on timeout where __cmp…
msm0504 Mar 5, 2020
dbaea4f
Rename playgroundxyz adapter (#4918)
harpere Mar 5, 2020
fc770a3
UserId module will provide sub-module ids in ORTB eids format (#4916)
Mar 5, 2020
ae1fe8f
Add "adtype" from Yieldlab response for media type differentiation (#…
GLStephen Mar 5, 2020
cd0fdb8
added vdo.ai bidder adapter (#4814)
GLStephen Mar 5, 2020
b71bed1
Audigent Segmentation Real-time Data Provider (#4834)
jsnellbaker Mar 5, 2020
3b70920
ozone 2.3.0 adapter updates (#4891)
msm0504 Mar 5, 2020
42d4a79
No bid version 1.2.3 (#4930)
harpere Mar 5, 2020
f08b14a
updates to fix lint error (#4937)
harpere Mar 5, 2020
cd15a80
Prebid 3.10.0 Release
Mar 5, 2020
6573748
Increment pre version
Mar 5, 2020
ee697cd
Add prebid version to /bid and /win calls (#4855)
harpere Mar 5, 2020
36abdf6
Kargo adding ad domain metadata (#4905)
samuelhorwitz Mar 6, 2020
6324c93
fix bug related to default usersync config for image-based pixels (#4…
jsnellbaker Mar 6, 2020
9c1550f
Find gpt div based on adId to be resized instead of hardcoded adunitc…
ptomasroos Mar 6, 2020
ac04468
E2e tests for instream, Prebid modules and features (#4744)
sumit116 Mar 6, 2020
4f78849
add validation to callbackWithBidder to ensure called with function (…
snapwich Mar 6, 2020
4dbf396
YIELDONE adapter - add transactionId param (#4939)
kusapan Mar 6, 2020
89b0d0a
Vdoai spec import js (#4943)
pm-harshad-mane Mar 6, 2020
88e9b87
small update to usersync to follow-up #4928 (#4942)
jsnellbaker Mar 6, 2020
ef66d93
Update bridgewell bid adapter (#4920)
lawliet1995 Mar 6, 2020
19b7319
use bidId or bidIds in the payload (#4903)
vincentproxistore Mar 8, 2020
a088d66
update audigent tests to fix larger test suite issue (#4952)
jsnellbaker Mar 9, 2020
60f66c9
enable no-console eslint rule for project (#4802)
jsnellbaker Mar 10, 2020
5d4c823
Fix failing code-coverage command (#4892)
Fawke Mar 10, 2020
9325d22
Add 7xbid adapter to compatible with prebid 3.0 (#4908)
7XBID00 Mar 10, 2020
fc8ebec
add import extensions (#4959)
robertrmartinez Mar 10, 2020
f5b0e4e
removing the log (#4960)
robertrmartinez Mar 10, 2020
bb015bd
adding user-id support in medianet adapter (#4925)
vedantseta Mar 10, 2020
79a5f46
added option to url parser to ignore decoding entire url (#4938)
robertrmartinez Mar 10, 2020
8c84e01
assert string returned not that we break things (#4962)
robertrmartinez Mar 10, 2020
1b62b0b
IX Adapter - Increase banner TTL to 300s (#4957)
ix-prebid-support Mar 11, 2020
6113cd9
Lifestreet adapter 3.0 (#4927)
probably-kira Mar 11, 2020
6005a29
Module - Size Mapping V2 (#4690)
Fawke Mar 11, 2020
ef57d43
update logic in adpod module for playersize (#4953)
jsnellbaker Mar 11, 2020
0b75199
add mediaforce bid adapter (#4933)
ksanksana Mar 11, 2020
efae8f8
Eids liveintent ext fix (#4944)
pm-harshad-mane Mar 11, 2020
4af14c9
3.11.0 release
mkendall07 Mar 11, 2020
364b385
3.12.0-pre
mkendall07 Mar 11, 2020
f890eb8
add UNICORN bid adapter (#4917)
ctylim Mar 12, 2020
703b898
Submitting Clicktripz bid adapter (#4929)
apmitchell Mar 12, 2020
00c4cb0
PrebidServerbidAdapter to use userIdAsEids to set eids in request (#4…
pm-harshad-mane Mar 13, 2020
2db8ecf
Conversant bid adapter to use userIdAsEids (#4967)
pm-harshad-mane Mar 16, 2020
5df9c8f
add support for TCF2 (#4911)
jsnellbaker Mar 17, 2020
1034f27
New e-volution tech bid adapter (#4934)
e-volution-tech Mar 17, 2020
a95f911
Add enforcement for deviceAccess (#4913)
Mar 17, 2020
d1f0ea1
Fix failing circle-ci build job. (#4840)
Fawke Mar 17, 2020
aa36b5a
Add alias Select Media into Adtelligent (#4985)
GeneGenie Mar 17, 2020
320e3a0
NoBid version 1.2.4 (#4971)
redaguermas Mar 17, 2020
02069e4
Prebid 3.12.0 Release
Mar 17, 2020
0de00fe
Increment pre version
Mar 17, 2020
9fc9579
Liveintent liveconnect module (#4803)
melgenek Mar 18, 2020
cbdea4a
Vidazoo adapter: update maintainer email (#5006)
uditalias Mar 20, 2020
dfcbd25
Add coppa support for Quantcast adapter (#5012)
weilingxi-qc Mar 20, 2020
9523787
Add Valueimpression Bid Adapter (#4974)
thuyhq Mar 21, 2020
8da55d4
automate-creation of modules.json file
pm-pramod-pisal Mar 24, 2020
07cf06f
appnexus adapter : include hb_source in request to server (#4964)
sumit116 Mar 24, 2020
3422230
Merge branch 'prebid_upgrade_3_12_0_20200324124900' into test_br_b2_2…
pm-shashank-jain Mar 24, 2020
fd8626c
Merge pull request #379 from PubMatic-OpenWrap/test_br_b2_20200324124901
pm-shashank-jain Mar 24, 2020
3e2eb02
Fixed test issues
pm-shashank-jain Mar 24, 2020
fecfc2b
Index Exchange: Registering user syncs (#5005)
ix-prebid-support Mar 24, 2020
f0bc358
update consent manager to support a new config prop: defaultGdprScope…
Mar 24, 2020
498b771
freewheel add property vastXml to bidResponse (#5015)
xwang202 Mar 24, 2020
da6bb01
Added Adnuntius Bid Adapter (#4896)
mikael-lundin Mar 24, 2020
b24156c
deal tier fix (#5028)
jaiminpanchal27 Mar 24, 2020
a1083ff
PubMatic bid adapter to support NetId User Module (#5009)
pm-harshad-mane Mar 25, 2020
adda4e1
Undertone add parameters to request (#4995)
AnnaPerion Mar 25, 2020
e4ea90f
PulsePoint bid adapter: Multi-size support (#4988)
anand-venkatraman Mar 25, 2020
18b4009
VIS.X: use schain & userId modules (#5004)
mk0x9 Mar 25, 2020
811dd44
ADFINITY adapter gdpr support (#4955)
adfinity-prebid Mar 25, 2020
9268e98
Prebid 3.13.0 Release
Mar 25, 2020
efa289e
Increment pre version
Mar 25, 2020
7c45626
Media.net : adds Analytics Adapter (#5016)
vedantseta Mar 26, 2020
b9676bf
Onetag bid Adapter: added video support. (#4986)
onetag-dev Mar 26, 2020
a344de9
add file extension to imports (#5034)
Fawke Mar 26, 2020
be3fafa
Update platformioBidAdapter.js 3.0 (#4965)
varashellov Mar 26, 2020
190520c
feature/alias-sync-config-option (#4879)
Mar 26, 2020
cceaf0f
cedato adapter added support for multiple players (#4990)
alexkh13 Mar 27, 2020
049617a
Handle TCF 2 (#5000)
Mar 27, 2020
350ed6c
Between: multisizes support added (#5019)
ignat-one Mar 30, 2020
f8dc92e
add Analytics adapter implementation guide (#5027)
fomonzon Mar 30, 2020
487ebe7
added new param for the sonobi bidder adapter to override the default…
JonGoSonobi Mar 30, 2020
49ea57f
Added new sizes (#5042)
hdeodhar Mar 30, 2020
4aca8e8
PubMatic Analytics Adapter (#5024)
pm-harshad-mane Mar 30, 2020
3eaaeb9
feat(openxBidAdapter): PBID-125: Adding all other user id adapters: (…
jimee02 Mar 30, 2020
edb33f4
Fix freewheel for instream video (#5035)
xavierleune Mar 30, 2020
b95a2f6
Change to request DigiTrust ID "withCredentials". (#5013)
goosemanjack Mar 31, 2020
0bddfd5
Pubmatic: disable test-suit refreshing test-case (#5049)
pm-harshad-mane Mar 31, 2020
a23ce02
Price Floors (#4931)
robertrmartinez Mar 31, 2020
25214ab
Add support for userid modules in Yieldlab adapter (#5022)
mirkorean Mar 31, 2020
ea3700a
hide outstream div (#5055)
jaiminpanchal27 Mar 31, 2020
c1ccaf0
Adding UsPrivacy/CCPA support in smartadserver adapter. (#5036)
tadam75 Mar 31, 2020
3ee2c3d
TCF Purpose 1 enforcement (#5018)
jaiminpanchal27 Mar 31, 2020
e25f358
Appnexus adapter: check purpose one (#5057)
jaiminpanchal27 Mar 31, 2020
24e7fa3
Prebid 3.14.0 release
Mar 31, 2020
126ae7d
automate-creation of modules.json file
pm-pramod-pisal Apr 1, 2020
eeae262
Merge branch 'pb3_14' into prebid_upgrade_3_14_0_20200401161832
pm-shashank-jain Apr 1, 2020
399b17c
Merge pull request #383 from PubMatic-OpenWrap/prebid_upgrade_3_14_0_…
pm-shashank-jain Apr 1, 2020
aec4edc
fix test cases
pm-shashank-jain Apr 1, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
PulsePoint bid adapter: Multi-size support (prebid#4988)
* ET-1691: Pulsepoint Analytics adapter for Prebid. (#1)

* ET-1691: Adding pulsepoint analytics and tests for pulsepoint adapter

* ET-1691: Adding pulsepoint analytics and tests for pulsepoint adapter

* ET-1691: cleanup

* ET-1691: minor

* ET-1691: revert package.json change

* Adding bidRequest to bidFactory.createBid method as per prebid#509

* ET-1765: Adding support for additional params in PulsePoint adapter (#2)

* ET-1850: Fixing prebid#866

* Minor fix

* Adding mandatory parameters to Bid

* PulsePoint: support for banner.format object

* AdSize on response for banner responses

* Fixing review comment

* Reverting package-json changes
  • Loading branch information
anand-venkatraman authored Mar 25, 2020
commit e4ea90f7d6470159452008eaf710a952021be20c
26 changes: 22 additions & 4 deletions modules/pulsepointBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ function bidResponseAvailable(request, response) {
bid.height = idToBidMap[id].h;
} else {
bid.ad = idToBidMap[id].adm;
bid.width = idToImpMap[id].banner.w;
bid.height = idToImpMap[id].banner.h;
bid.width = idToBidMap[id].w || idToImpMap[id].banner.w;
bid.height = idToBidMap[id].h || idToImpMap[id].banner.h;
}
bids.push(bid);
}
Expand All @@ -161,14 +161,30 @@ function impression(slot) {
* Produces an OpenRTB Banner object for the slot given.
*/
function banner(slot) {
const size = adSize(slot);
const sizes = parseSizes(slot);
const size = adSize(slot, sizes);
return (slot.nativeParams || slot.params.video) ? null : {
w: size[0],
h: size[1],
battr: slot.params.battr,
format: sizes
};
}

/**
* Produce openrtb format objects based on the sizes configured for the slot.
*/
function parseSizes(slot) {
const sizes = utils.deepAccess(slot, 'mediaTypes.banner.sizes');
if (sizes && utils.isArray(sizes)) {
return sizes.filter(sz => utils.isArray(sz) && sz.length === 2).map(sz => ({
w: sz[0],
h: sz[1]
}));
}
return null;
}

/**
* Produces an OpenRTB Video object for the slot given
*/
Expand Down Expand Up @@ -372,12 +388,14 @@ function parse(rawResponse) {
/**
* Determines the AdSize for the slot.
*/
function adSize(slot) {
function adSize(slot, sizes) {
if (slot.params.cf) {
const size = slot.params.cf.toUpperCase().split('X');
const width = parseInt(slot.params.cw || size[0], 10);
const height = parseInt(slot.params.ch || size[1], 10);
return [width, height];
} else if (sizes && sizes.length > 0) {
return [sizes[0].w, sizes[0].h];
}
return [1, 1];
}
Expand Down
46 changes: 46 additions & 0 deletions test/spec/modules/pulsepointBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ import {deepClone} from 'src/utils.js';
describe('PulsePoint Adapter Tests', function () {
const slotConfigs = [{
placementCode: '/DfpAccount1/slot1',
mediaTypes: {
banner: {
sizes: [[728, 90], [160, 600]]
}
},
bidId: 'bid12345',
params: {
cp: 'p10000',
Expand Down Expand Up @@ -655,4 +660,45 @@ describe('PulsePoint Adapter Tests', function () {
userVerify(ortbRequest.user.ext.eids[4], 'parrable.com', 'parrable_id234');
userVerify(ortbRequest.user.ext.eids[5], 'liveintent.com', 'liveintent_id123');
});
it('Verify multiple adsizes', function () {
const bidRequests = deepClone(slotConfigs);
const request = spec.buildRequests(bidRequests, bidderRequest);
expect(request).to.be.not.null;
expect(request.data).to.be.not.null;
const ortbRequest = request.data;
expect(ortbRequest.imp).to.have.lengthOf(2);
// first impression has multi sizes
expect(ortbRequest.imp[0].banner).to.not.be.null;
expect(ortbRequest.imp[0].banner.w).to.equal(300);
expect(ortbRequest.imp[0].banner.h).to.equal(250);
expect(ortbRequest.imp[0].banner.format).to.not.be.null;
expect(ortbRequest.imp[0].banner.format).to.have.lengthOf(2);
expect(ortbRequest.imp[0].banner.format[0].w).to.equal(728);
expect(ortbRequest.imp[0].banner.format[0].h).to.equal(90);
expect(ortbRequest.imp[0].banner.format[1].w).to.equal(160);
expect(ortbRequest.imp[0].banner.format[1].h).to.equal(600);
// slot 2
expect(ortbRequest.imp[1].banner).to.not.be.null;
expect(ortbRequest.imp[1].banner.w).to.equal(728);
expect(ortbRequest.imp[1].banner.h).to.equal(90);
expect(ortbRequest.imp[1].banner.format).to.be.null;
// adsize on response
const ortbResponse = {
seatbid: [{
bid: [{
impid: ortbRequest.imp[0].id,
price: 1.25,
adm: 'This is an Ad',
crid: 'Creative#123',
w: 728,
h: 90
}]
}]
};
const bids = spec.interpretResponse({ body: ortbResponse }, request);
expect(bids).to.have.lengthOf(1);
const bid = bids[0];
expect(bid.width).to.equal(728);
expect(bid.height).to.equal(90);
});
});