Skip to content
This repository was archived by the owner on Feb 13, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
3f7211c
Increment Pre Version
Feb 13, 2017
9721812
Add ThoughtLeadr adapter (#894)
ilya-pirogov Feb 16, 2017
cf21bf6
E2etest concurrency (#982)
jaiminpanchal27 Feb 17, 2017
feceeec
Skip test causing build failures (#997)
matthewlane Feb 17, 2017
dac424b
Deal support for SmartAdServer adapter (#978)
adesmoules Feb 21, 2017
73e16e2
Currency support for SmartAdServer adapter (#979)
adesmoules Feb 21, 2017
e953c1e
Support Video for GetIntent adapter (#987)
dmart28 Feb 21, 2017
57d66ed
Added referrer parameter (#966)
bjorn-wo Feb 23, 2017
eea9914
Fix bug with supporting non-cpm dealId bids. (#1006)
Feb 26, 2017
0c2617e
adbund adapter (#932)
Feb 28, 2017
00e673c
Fixes for Centro adapter (#992)
Niksok Feb 28, 2017
32cb89d
Use optimize js to improve parse time (https://github.com/nolanlawson…
Mar 1, 2017
ae1cfec
Create bids for requests without mutating ad units (#1019)
Mar 1, 2017
3e50de1
Remove test that intermittently fails unit tests (#1020)
Mar 1, 2017
6b6fbf1
Prebid 0.20.0 Release
matthewlane Mar 3, 2017
6b6f83e
Increment pre version
matthewlane Mar 3, 2017
850dd0b
Fixed mixed tabs/spaces in wideorbit adapter (#1031)
snapwich Mar 4, 2017
33019dc
Change identification of JavaScript user matching (#1022)
bjorn-wo Mar 6, 2017
de8bc31
iOS Referrer fix (#996)
ckbo3hrk Mar 7, 2017
c8b77a3
Add TapSense Header Bidding Adapter and tests (#1004)
erikchau Mar 8, 2017
03ee6b2
hb_adid should be uppercase in all cases (#1037)
jaiminpanchal27 Mar 9, 2017
86ab645
Add dev dependencies.
Mar 9, 2017
c021464
Update uglify-js version (#1041)
matthewlane Mar 9, 2017
6d6fb7e
Bidfluence Adapter (#1023)
francescocristallo Mar 10, 2017
09e4675
sanitize bidderRequest to rubicon adapter to ensure accountId is sent…
snapwich Mar 10, 2017
9571ce9
Add deal id handling (#1044)
matthewlane Mar 13, 2017
0cea31c
Fix Mantis tests in negative timezone (#1049)
erikdubbelboer Mar 15, 2017
8e06100
Add new adapter ServerBid (by Adzerk) (#1024)
LarryTurtis Mar 15, 2017
87914c4
PulsePoint Lite adapter (#1016)
anand-venkatraman Mar 15, 2017
cecb734
Update readme (#1053)
Mar 17, 2017
e8ecd12
Add a new generated field transactionId to each adunits. (#1040)
rcassan Mar 20, 2017
8d4eb51
better http/s support (#1010)
mercuryyy Mar 20, 2017
b68a144
OpenX Adapter: Correctly gets the page domain for cross-domain iframe…
lntho Mar 20, 2017
3787eda
explicit win url response format as pixel (#1001)
ckbo3hrk Mar 20, 2017
7c212ad
fix issue calling `requestBids();` (#1058)
Mar 20, 2017
8c873ef
Add GourmetAds AppNexus Alias (#1057)
tmoerschbacher Mar 20, 2017
fb094cd
Rz/ajax (#5) (#1042)
rizhang Mar 21, 2017
4c9d6f6
Replace broken utils.extend functionality with Object.assign (#1055)
snapwich Mar 21, 2017
871d6f6
remove trailing comma on expect test params (#1060)
Mar 21, 2017
cb6cd4b
Ensure cookies get sent in request headers (#1069)
rizhang Mar 23, 2017
c90c2f2
Fix spacing in openx adapter (#1067)
snapwich Mar 23, 2017
4186cdc
Rewrite of UnderdogMedia Adapter (#1061)
dantarion Mar 24, 2017
fc9899b
Fix bug with invalid characters in JSONP callback name (#1070)
Niksok Mar 24, 2017
f7216e1
Allow error handlers in ajax requests (#1032)
snapwich Mar 24, 2017
41e6891
Fix adapter getSize (#1064)
Millerrok Mar 27, 2017
7361e64
Add rubicon targeting to rubicon bid responses for bidderSettings use…
snapwich Mar 27, 2017
2e6d865
Video header bidding support to RhythmOne bidder adapter (#1052)
jstocker76 Mar 28, 2017
0288b76
Lifestreet adapter: ignore unnecessary events from creative. (#1054)
Lifestreet Mar 28, 2017
44bbdf9
Prebid 0.21.0
Mar 28, 2017
2262123
update PR template to include link to dev docs page (#1075)
Mar 29, 2017
4b880ec
Support for downloading Analytics Adapters via http://prebid.org/down…
anand-venkatraman Mar 30, 2017
5c2de1e
Reset the list of slots to be requested between each action for pubma…
Mar 30, 2017
f8ee3b2
Pass through params to server (#1084)
parisholley Mar 30, 2017
51311fd
Updated rubicon video bid endpoint in source and test files (#1097)
snapwich Mar 30, 2017
938d00d
Add Atomx support (#1056)
erikdubbelboer Mar 30, 2017
203fcb3
Add Facebook Audience Network adapter (#1068)
lovell Apr 3, 2017
b61e01a
Add alias freewheel-ssp to stickyadstv bidder adapter (#1043)
Apr 3, 2017
c9b2bf4
Add Inneractive adapter (#1048)
uriw-ia Apr 3, 2017
6d259bd
Rz/ajax (#5) (#1042)
rizhang Mar 21, 2017
b106d05
Ensure cookies get sent in request headers (#1069)
rizhang Mar 23, 2017
61c73a0
Change to using a closure for the callback from ajax to preserve bidObj
nuclearghost Apr 4, 2017
5f9e347
fix jslint errors
rizhang Apr 6, 2017
08e8ed7
update version
rizhang Apr 6, 2017
4c9eeb4
fix specs
rizhang Apr 6, 2017
3e882b3
Add Facebook Audience Network adapter
lovell Apr 3, 2017
48edff2
Add reporting ID for analytics.
vzhukovsky Apr 11, 2017
1f5d401
Add change log entry.
vzhukovsky Apr 12, 2017
4f23e68
Implement render pixels only once feature.
vzhukovsky Apr 19, 2017
855a82a
Fix unit tests, remove unnecessary spaces.
vzhukovsky Apr 19, 2017
d1352cd
Create separate namespace for aol globals, add unit tests.
vzhukovsky Apr 20, 2017
181a470
Refactoring. Replace test consts by methods.
vzhukovsky Apr 20, 2017
f2047f1
Refactoring. Replace stub bids objects, add additional case for rende…
vzhukovsky Apr 20, 2017
a5848ad
Update parsing script tag regexp.
vzhukovsky Apr 20, 2017
037ad1c
Renaming and fix missing semicolon.
vzhukovsky Apr 20, 2017
0c6c83c
Add change log entry.
vzhukovsky Apr 20, 2017
921c22b
Merge pull request #87 in AOLP_ADS_JS/prebid.js from contrib/sync-wit…
vzhukovsky May 6, 2017
600632c
Merge tag '0.20.0' of https://github.com/prebid/Prebid.js into featur…
vzhukovsky May 12, 2017
5abee55
Added changelog entry.
vzhukovsky May 12, 2017
2881f03
Added adapters in aolPartnersIds.json.
vzhukovsky May 12, 2017
7c00979
Merge pull request #88 in AOLP_ADS_JS/prebid.js from release/1.18.0 t…
vzhukovsky May 15, 2017
9003400
Merge tag '0.21.0' of https://github.com/prebid/Prebid.js into featur…
vzhukovsky May 16, 2017
1916015
Replace removed utils.extend functionality by object.assign.
vzhukovsky May 16, 2017
e479d43
Added changelog entry.
vzhukovsky May 16, 2017
3d43c1c
Added adapters in aolPartnersIds.json.
vzhukovsky May 16, 2017
75a84ed
Changed way of including analytic adapters.
vzhukovsky May 16, 2017
bf43a9c
Fixed unit tests for adapter loader.
vzhukovsky May 18, 2017
5109273
Disable unit tests that fails on PhantomJs.
vzhukovsky May 18, 2017
8b44d83
Merge pull request #90 in AOLP_ADS_JS/prebid.js from release/1.19.0 t…
vzhukovsky May 19, 2017
46263a7
Added .jshintignore file for fix code style validation
vzhukovsky May 22, 2017
ca7b67d
Fixed jshint issues.
vzhukovsky May 21, 2017
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
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Thank you for your pull request. Please make sure this PR is scoped to one chang
<!-- Remove items that don't apply and/or select an item by changing [ ] to [x] -->
- [ ] Bugfix
- [ ] Feature
- [ ] New bidder adapter
- [ ] New bidder adapter <!-- IMPORTANT: if checking here, also submit your bidder params documentation here https://github.com/prebid/prebid.github.io/tree/master/dev-docs/bidders -->
- [ ] Code style update (formatting, local variables)
- [ ] Refactoring (no functional changes, no api changes)
- [ ] Build related changes
Expand Down
1 change: 1 addition & 0 deletions .jshintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Ingnored files
21 changes: 21 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
AOL Prebid 1.19.0
----------------
Updated to Prebid 0.21.0


AOL Prebid 1.18.0
----------------
Updated to Prebid 0.20.0


AOL Prebid 1.17.0
----------------
Added functionality for rendering pixels once.


AOL Prebid 1.16.0
----------------
Added Audience Network adapter.
Added creative key field in bid response for Sharethrough adapter.


AOL Prebid 1.15.0
----------------
Nexage API implemented.
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ This URL is designed specifically for the Container Tag library and it supports
[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/prebid/Prebid.js.svg)](http://isitmaintained.com/project/prebid/Prebid.js "Average time to resolve an issue")
[![Code Climate](https://codeclimate.com/github/prebid/Prebid.js/badges/gpa.svg)](https://codeclimate.com/github/prebid/Prebid.js)
[![Coverage Status](https://coveralls.io/repos/github/prebid/Prebid.js/badge.svg)](https://coveralls.io/github/prebid/Prebid.js)
[![devDependencies Status](https://david-dm.org/prebid/Prebid.js/dev-status.svg)](https://david-dm.org/prebid/Prebid.js?type=dev)

# Prebid.js

Expand Down Expand Up @@ -181,6 +182,8 @@ Many SSPs, bidders, and publishers have contributed to this project. [20+ Bidder

To add a bidder adapter, see the instructions in [How to add a bidder adaptor](http://prebid.org/dev-docs/bidder-adaptor.html).

Please **do NOT load Prebid.js inside your adapter**. If you do this, we will reject or remove your adapter as appropriate.

### Code Quality

Code quality is defined by `.jscs` and `.jshint` files and errors are reported in the terminal.
Expand Down
34 changes: 31 additions & 3 deletions adapters.json
Original file line number Diff line number Diff line change
@@ -1,38 +1,45 @@
[
"aardvark",
"adblade",
"adbund",
"adbutler",
"adequant",
"adform",
"adkernel",
"admedia",
"bidfluence",
"vertamedia",
"aol",
"appnexus",
"appnexusAst",
"audienceNetwork",
"conversant",
"districtmDMX",
"fidelity",
"getintent",
"gumgum",
"hiromedia",
"indexExchange",
"kruxlink",
"getintent",
"inneractive",
"komoona",
"lifestreet",
"mantis",
"openx",
"piximedia",
"pubmatic",
"pulsepoint",
"pulsepointLite",
"rhythmone",
"rubicon",
"smartyads",
"smartadserver",
"smartadserver",
"sekindoUM",
"serverbid",
"sonobi",
"sovrn",
"springserve",
"thoughtleadr",
"stickyadstv",
"triplelift",
"twenga",
Expand All @@ -51,6 +58,8 @@
"vertoz",
"widespace",
"admixer",
"atomx",
"tapsense",
{
"appnexus": {
"alias": "brealtime"
Expand All @@ -66,6 +75,11 @@
"alias": "defymedia"
}
},
{
"appnexus": {
"alias": "gourmetads"
}
},
{
"appnexusAst": {
"supportedMediaTypes": ["video"]
Expand Down Expand Up @@ -100,6 +114,20 @@
"adkernel": {
"alias": "headbidding"
}
},
{
"getintent": {
"supportedMediaTypes" : ["video"]
}
},
{
"stickyadstv": {
"alias": "freewheel-ssp"
}
},
{
"rhythmone": {
"supportedMediaTypes": ["video"]
}
}

]
1 change: 1 addition & 0 deletions analytics.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
["aol"]
4 changes: 2 additions & 2 deletions gulpHelpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ module.exports = {

createEnd2EndTestReport : function(targetDestinationDir) {
var browsers = require('./browsers.json');
var env = ['default'];
var env = [];
var input = 'bs';
for(var key in browsers) {
if(key.substring(0, input.length) === input) {
if(key.substring(0, input.length) === input && browsers[key].browser !== 'iphone') {
env.push(key);
}
}
Expand Down
43 changes: 23 additions & 20 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ var header = require('gulp-header');
var zip = require('gulp-zip');
var replace = require('gulp-replace');
var shell = require('gulp-shell');
var optimizejs = require('gulp-optimize-js');

var CI_MODE = process.env.NODE_ENV === 'ci';
var prebid = require('./package.json');
Expand Down Expand Up @@ -90,6 +91,7 @@ gulp.task('webpack', function () {
}
}))
.pipe(header(banner, { prebid: prebid }))
.pipe(optimizejs())
// Remove window=window that was used to go around Uglify bug
.pipe(replace(/,?(\/\*!ADAPTER BEGIN \w+\*\/)\s*window\s*=\s*window/g, '$1'))
.pipe(replace(/,?(\/\*!ADAPTER END \w+\*\/)\s*window\s*=\s*window/g, '$1'))
Expand Down Expand Up @@ -239,45 +241,46 @@ gulp.task('docs', ['clean-docs'], function () {
});

gulp.task('e2etest', function() {
var cmd = '--env default';
var cmdQueue = [];
if(argv.browserstack) {
var browsers = require('./browsers.json');
var env = [];
var input = 'bs';
for(var key in browsers) {
if(key.substring(0, input.length) === input) {
env.push(key);
}
delete browsers['bs_ie_9_windows_7'];

var cmdStr = ' --config nightwatch.conf.js';
if (argv.group) {
cmdStr = cmdStr + ' --group ' + argv.group;
}
cmd = '--env default,' + env.join(',');
}
cmdStr = cmdStr + ' --reporter ./test/spec/e2e/custom-reporter/pbjs-html-reporter.js';

if(argv.browserstack) {
cmd = cmd + ' --config nightwatch.conf.js';
} else {
cmd = cmd + ' --config nightwatch.json';
}
var startWith = 'bs';

if (argv.group) {
cmd = cmd + ' --group ' + argv.group;
Object.keys(browsers).filter(function(v){
return v.substring(0, startWith.length) === startWith && browsers[v].browser !== 'iphone';
}).map(function(v,i,arr) {
var newArr = (i%2 === 0) ? arr.slice(i,i+2) : null;
if(newArr) {
var cmd = 'nightwatch --env ' + newArr.join(',') + cmdStr;
cmdQueue.push(cmd);
}
});
}

cmd = cmd + ' --reporter ./test/spec/e2e/custom-reporter/pbjs-html-reporter.js';
return gulp.src('')
.pipe(shell('nightwatch ' + cmd));
.pipe(shell(cmdQueue.join(';')));
});

gulp.task('e2etest-report', function() {
var reportPort = 9010;
var targetDestinationDir = './e2etest-report';
helpers.createEnd2EndTestReport(targetDestinationDir);
connect.server({
port: port,
port: reportPort,
root: './',
livereload: true
});

setTimeout(function() {
opens('http://localhost:' + port + '/' + targetDestinationDir.slice(2) + '/results.html');
opens('http://localhost:' + reportPort + '/' + targetDestinationDir.slice(2) + '/results.html');
}, 5000);

});
83 changes: 83 additions & 0 deletions integrationExamples/gpt/audienceNetwork_dfp.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
<html>
<head>
<script src="/build/dev/prebid.js" async></script>
<script>
var PREBID_TIMEOUT = 2000;
var adUnits = [{
code: '/5555555/hb_300x250',
sizes: [[300, 250]],
bids: [{
bidder: 'audienceNetwork',
params: {
placementId: '555555555555555_555555555555555'
}
}]
}];

(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);
})();

var googletag = googletag || {};
googletag.cmd = googletag.cmd || [];
googletag.cmd.push(function() {
googletag.pubads().disableInitialLoad();
});
googletag.cmd.push(function () {
googletag.defineSlot('/5555555/hb_300x250', [[300, 250]], 'div-gpt-ad-5555555555555-0').addService(googletag.pubads());
googletag.pubads().enableSingleRequest();
googletag.enableServices();
});

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

setTimeout(function() {
sendAdserverRequest();
}, PREBID_TIMEOUT);

var pbjs = pbjs || {};
pbjs.que = pbjs.que || [];

pbjs.que.push(function() {
pbjs.addAdUnits(adUnits);
pbjs.requestBids({
bidsBackHandler: sendAdserverRequest
});
});
</script>
</head>
<body>
<h2>Prebid.js Test</h2>
<div id='div-gpt-ad-5555555555555-0'>
<script>
googletag.cmd.push(function() {
googletag.display('div-gpt-ad-5555555555555-0');
});
</script>
</div>
<div>
<p>Audience Network quick start</p>
<ol>
<li>Create a new App at <a href="https://developers.facebook.com/apps">https://developers.facebook.com/apps</a></li>
<li>Add the Audience Network product to it</li>
<li>Create a new Placement to generate your placementId</li>
<li>To test, ensure the User-Agent request header represents a mobile device</li>
</ol>
</div>
</body>
</html>
Loading