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

Eng 3579 #93

Merged
merged 103 commits into from
Mar 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
103 commits
Select commit Hold shift + click to select a range
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
413625e
rerun npm install to regen package-lock to remove merge conflicts
agrecoFS 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
0c386f9
add two new bidder modules
agrecoFS Mar 11, 2020
4af14c9
3.11.0 release
mkendall07 Mar 11, 2020
a01d76e
move to 3.11.0 tagged release
agrecoFS Mar 12, 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 .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ module.exports = {
},
"extends": "standard",
"plugins": [
"prebid"
"prebid",
"import"
],
"globals": {
"$$PREBID_GLOBAL$$": false
Expand All @@ -27,6 +28,7 @@ module.exports = {
"comma-dangle": "off",
"semi": "off",
"space-before-function-paren": "off",
"import/extensions": ["error", "ignorePackages"],

// Exceptions below this line are temporary, so that eslint can be added into the CI process.
// Violations of these styles should be fixed, and the exceptions removed over time.
Expand All @@ -37,6 +39,7 @@ module.exports = {
"no-throw-literal": "off",
"no-undef": 2,
"no-useless-escape": "off",
"no-console": "error"
},
"overrides": Object.keys(allowedModules).map((key) => ({
"files": key + "/**/*.js",
Expand Down
1 change: 1 addition & 0 deletions gulpHelpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ module.exports = {
});
}

// we need to forcefuly include the parentModule if the subModule is present in modules list and parentModule is not present in modules list
Object.keys(submodules).forEach(parentModule => {
if (
!modules.includes(parentModule) &&
Expand Down
4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function viewCoverage(done) {

connect.server({
port: coveragePort,
root: 'build/coverage/karma_html',
root: 'build/coverage/lcov-report',
livereload: false
});
opens('http://' + mylocalhost + ':' + coveragePort);
Expand Down Expand Up @@ -328,7 +328,7 @@ function setupE2e(done) {

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

Expand Down
262 changes: 262 additions & 0 deletions integrationExamples/gpt/audigentSegments_example.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,262 @@
<html>
<head>
<script>
(function(window, document) {
if (!window.__cmp) {
window.__cmp = (function() {
var listen = window.attachEvent || window.addEventListener;
listen('message', function(event) {
window.__cmp.receiveMessage(event);
}, false);

function addLocatorFrame() {
if (!window.frames['__cmpLocator']) {
if (document.body) {
var frame = document.createElement('iframe');
frame.style.display = 'none';
frame.name = '__cmpLocator';
document.body.appendChild(frame);
} else {
setTimeout(addLocatorFrame, 5);
}
}
}
addLocatorFrame();

var commandQueue = [];
var cmp = function(command, parameter, callback) {
if (command === 'ping') {
if (callback) {
callback({
gdprAppliesGlobally: !!(window.__cmp && window.__cmp.config && window.__cmp.config.storeConsentGlobally),
cmpLoaded: false
});
}
} else {
commandQueue.push({
command: command,
parameter: parameter,
callback: callback
});
}
};
cmp.commandQueue = commandQueue;
cmp.receiveMessage = function(event) {
var data = event && event.data && event.data.__cmpCall;
if (data) {
commandQueue.push({
callId: data.callId,
command: data.command,
parameter: data.parameter,
event: event
});
}
};
cmp.config = {
//
// Modify config values here
//
// globalVendorListLocation: 'https://vendorlist.consensu.org/vendorlist.json',
// customPurposeListLocation: './purposes.json',
// globalConsentLocation: './portal.html',
// storeConsentGlobally: false,
// storePublisherData: false,
logging: 'debug'//,
// localization: {},
// forceLocale: 'en-us'
};
return cmp;
}());
var t = document.createElement('script');
t.async = false;
t.src = 'http://acdn.adnxs.com/cmp/cmp.bundle.js';
var tag = document.getElementsByTagName('head')[0];
tag.appendChild(t);
}
})(window, document);
// window.__cmp('showConsentTool');
</script>

<script>
var FAILSAFE_TIMEOUT = 2000;

var adUnits = [
{
code: 'test-div',
mediaTypes: {
banner: {
sizes: [[300,250],[300,600],[728,90]]
}
},

bids: [
{
bidder: 'rubicon',
params: {
accountId: '1001',
siteId: '113932',
zoneId: '535510'
}
}
]
}
];

var pbjs = pbjs || {};
pbjs.que = pbjs.que || [];
</script>
<script src="../../build/dev/prebid.js" async></script>

<script>
var googletag = googletag || {};
googletag.cmd = googletag.cmd || [];
googletag.cmd.push(function() {
googletag.pubads().disableInitialLoad();
});

pbjs.que.push(function() {
pbjs.setConfig({
debug: true,
consentManagement: {
cmpApi: 'iab',
timeout: 1000,
allowAuctionWithoutConsent: true
},
// consentManagement: {
// cmpApi: 'static',
// consentData: {
// consentString: 'BOEFEAyOEFEAyAHABDENAI4AAAB9vABAASA'
// vendorData: {
// purposeConsents: {
// '1': true
// }
// }
// }
// },
usersync: {
userIds: [{
name: "unifiedId",
params: {
partner: "prebid",
url: "http://match.adsrvr.org/track/rid?ttd_pid=prebid&fmt=json"
},
storage: {
type: "html5",
name: "unifiedid",
expires: 30
},
}, {
name: "id5Id",
params: {
partner: 173 //Set your real ID5 partner ID here for production, please ask for one at http://id5.io/prebid
},
storage: {
type: "cookie",
name: "id5id",
expires: 90,
refreshInSeconds: 8*3600 // Refresh frequency of cookies, defaulting to 'expires'
},

}, {
name: "parrableId",
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",
storage: {
type: "cookie",
name: "pubcid",
expires: 365
},
// value: {
// foo: '9879878907987',
// bar:'93939'
// }
}, {
name: 'identityLink',
params: {
pid: '14' // Set your real identityLink placement ID here
},
storage: {
type: 'cookie',
name: 'idl_env',
expires: 30
}
}],
syncDelay: 5000,
auctionDelay: 1000
},
realTimeData: {
auctionDelay: 1000,
dataProviders: [{name: "audigent"}]
}
});
pbjs.addAdUnits(adUnits);
pbjs.requestBids({bidsBackHandler: sendAdserverRequest});
});

function sendAdserverRequest() {
document.getElementById('tdid').innerHTML = adUnits[0].bids[0].userId['tdid'];
document.getElementById('audigent_segments').innerHTML = JSON.stringify(adUnits[0].bids[0].realTimeData.audigent_segments);

if (pbjs.adserverRequestSent) return;
pbjs.adserverRequestSent = true;
googletag.cmd.push(function() {
pbjs.que.push(function() {
pbjs.setTargetingForGPTAsync();
googletag.pubads().refresh();
});
});
}

setTimeout(function() {
sendAdserverRequest();
}, FAILSAFE_TIMEOUT);
</script>

<script>
(function () {
var gads = document.createElement('script');
gads.async = true;
gads.type = 'text/javascript';
var useSSL = 'https:' == document.location.protocol;
gads.src = (useSSL ? 'https:' : 'http:') +
'//www.googletagservices.com/tag/js/gpt.js';
var node = document.getElementsByTagName('script')[0];
node.parentNode.insertBefore(gads, node);
})();
</script>

<script>
googletag.cmd.push(function() {
googletag.defineSlot('/112115922/FL_PB_MedRect', [[300, 250],[300,600]], 'test-div').addService(googletag.pubads());
googletag.pubads().enableSingleRequest();
googletag.enableServices();
});
</script>
</head>

<body>
<h2>Audigent Segments Prebid</h2>

<div id='test-div'>
<script>
googletag.cmd.push(function() { googletag.display('test-div'); });
</script>
</div>
TDID:
<div id='tdid'>
</div>

Audigent Segments:
<div id='audigent_segments'>
</div>
</body>
</html>
Loading