Skip to content
Closed
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
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
07cf06f
appnexus adapter : include hb_source in request to server (#4964)
sumit116 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…
jongo593 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
6bfc210
Increment pre version
Apr 1, 2020
6f4cf45
YieldLift bid adapter (#5030)
yieldlift Apr 1, 2020
a07ae78
Added TheMediaGridNM Bid Adapter (#4992)
TheMediaGrid Apr 1, 2020
83a362c
Add type information to DSPX bidResponse (#5021)
muuki88 Apr 1, 2020
5af6c64
change clickforce host url (#5061)
MIGOdanis Apr 1, 2020
37352f3
Eids uid string only (#5047)
pm-harshad-mane Apr 1, 2020
d88e808
Districtm Dmx adding Coppa support (#4997)
stevealliance Apr 1, 2020
1175ec2
Added support of supply chain object (#4975)
furbanowicz-smartadserver Apr 2, 2020
9c5156e
vidazooBidAdapter: feature/multi size request (#5007)
uditalias Apr 2, 2020
95c0d4a
Added new Converge Bid Adapter (#5053)
Converge-Digital Apr 2, 2020
10ea486
e-volution-tech: change file names (#5060)
e-volution-tech Apr 2, 2020
2b0c8a5
evolution_tech: completing file rename from 5060 (#5068)
bretg Apr 2, 2020
785aa9f
Added Hybrid.ai adapter (#4566)
hybrid-ai Apr 3, 2020
0d4527a
Freewheel: Better size detection and allow multiple bid requests (#5065)
xavierleune Apr 3, 2020
609486b
IdentityLink check ats after delaySync (#5070)
pycnvr Apr 3, 2020
136baaa
User ID auctionDelay timeout bugfix (#4982)
Fawke Apr 3, 2020
b0a2818
Fidelity: Add SCHAIN Support (#4945)
onaydenov Apr 3, 2020
345e618
Gamoshi: Update adaptor features (#5076)
Apr 6, 2020
309c165
Pubmatic: setting seat-id and dspid in bid object (#5074)
pm-harshad-mane Apr 6, 2020
59ccbbf
Fix bug in rubicon bid adapter for fpd keywords (#5078)
robertrmartinez Apr 6, 2020
753fcc8
Native support for AdKernel adapter (#5045)
ckbo3hrk Apr 6, 2020
b297edf
New bidlab prebid adapter (#5020)
bidlab Apr 6, 2020
4def1cf
Surrounding adapter calls in try (#4915)
robertrmartinez Apr 6, 2020
3dfc738
AdagiobidAdapter 2.2.0: schain, tcf 2.0 (#5059)
osazos Apr 7, 2020
6818664
Use TCFv2 consent data in Criteo Id module (#5073)
jesusalber1 Apr 7, 2020
a7d4410
Update param in request payload (#5091)
jaiminpanchal27 Apr 7, 2020
dc02ff4
PubMatic bid adapter to support app object set using setConfig (#5090)
pm-harshad-mane Apr 7, 2020
977f546
Media.net : fetches gdpr consent string (#5058)
vedantseta Apr 7, 2020
9de6609
Size Mapping V2 supports 'Identical Ad Units' (#5062)
Fawke Apr 7, 2020
73d5861
add adot bidder adapter (#4949)
mlequain Apr 7, 2020
21d1f53
Add Automatad Bid Adapter (#5017)
Apr 7, 2020
6ad085f
update regex in readme (#5088)
jsnellbaker Apr 7, 2020
036d71d
Prebid adapter for windtalker (#5040)
degroat Apr 7, 2020
8275fc1
#5011 Fix to set Secure attribute on cookie when SameSite=none (#5064)
goosemanjack Apr 7, 2020
8d3dc08
Prebid 3.15.0 release
jsnellbaker Apr 7, 2020
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
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 README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ module.exports = {
// override the regular exclusion from above (for being inside node_modules).
{
test: /.js$/,
include: new RegExp(`\\${path.sep}prebid\.js`),
include: new RegExp(`\\${path.sep}prebid\\.js`),
use: {
loader: 'babel-loader',
// presets and plugins for Prebid.js must be manually specified separate from your other babel rule.
Expand Down
15 changes: 8 additions & 7 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/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
];

module.exports = {
Expand All @@ -21,6 +21,7 @@ module.exports = {
'fun-hooks/no-eval',
'just-clone',
'dlv',
'dset'
'dset',
'deep-equal'
]
};
4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,13 +249,13 @@ function test(done) {

execa(wdioCmd, wdioOpts, { stdio: 'inherit' })
.then(stdout => {
//kill mock server
// kill mock server
mockServer.kill('SIGINT');
done();
process.exit(0);
})
.catch(err => {
//kill mock server
// kill mock server
mockServer.kill('SIGINT');
done(new Error(`Tests failed with error: ${err}`));
process.exit(1);
Expand Down
2 changes: 1 addition & 1 deletion integrationExamples/gpt/digitrust_Full.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
}());
var t = document.createElement('script');
t.async = false;
t.src = 'http://acdn.adnxs.com/cmp/cmp.bundle.js';
t.src = 'https://acdn.adnxs.com/cmp/cmp.bundle.js';
var tag = document.getElementsByTagName('head')[0];
tag.appendChild(t);
}
Expand Down
2 changes: 1 addition & 1 deletion integrationExamples/gpt/digitrust_Simple.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
}());
var t = document.createElement('script');
t.async = false;
t.src = 'http://acdn.adnxs.com/cmp/cmp.bundle.js';
t.src = 'https://acdn.adnxs.com/cmp/cmp.bundle.js';
var tag = document.getElementsByTagName('head')[0];
tag.appendChild(t);
}
Expand Down
2 changes: 1 addition & 1 deletion integrationExamples/gpt/digitrust_cmp_test.html
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,6 @@ <h2>DigiTrust Prebid Sample - No Framework</h2>
googletag.cmd.push(function () { googletag.display('test-div'); });
</script>
</div>
<script src="http://cmp-origin-release.digitru.st/1/cmp.bundle.js"></script>
<script src="https://cmp-origin-release.digitru.st/1/cmp.bundle.js"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion integrationExamples/gpt/hello_world.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,4 @@ <h5>Div-1</h5>
</script>
</div>
</body>
</html>
</html>
1 change: 1 addition & 0 deletions modules/aardvarkBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export function resetUserSync() {

export const spec = {
code: BIDDER_CODE,
gvlid: 52,
aliases: ['adsparc', 'safereach'],

isBidRequestValid: function(bid) {
Expand Down
24 changes: 19 additions & 5 deletions modules/adagioBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,17 @@ import {registerBidder} from '../src/adapters/bidderFactory.js';
import { loadExternalScript } from '../src/adloader.js'
import JSEncrypt from 'jsencrypt/bin/jsencrypt.js';
import sha256 from 'crypto-js/sha256.js';
import { getStorageManager } from '../src/storageManager.js';

const BIDDER_CODE = 'adagio';
const VERSION = '2.1.0';
const VERSION = '2.2.0';
const FEATURES_VERSION = '1';
const ENDPOINT = 'https://mp.4dex.io/prebid';
const SUPPORTED_MEDIA_TYPES = ['banner'];
const ADAGIO_TAG_URL = 'https://script.4dex.io/localstore.js';
const ADAGIO_LOCALSTORAGE_KEY = 'adagioScript';
const GVLID = 617;
const storage = getStorageManager(GVLID);

export const ADAGIO_PUBKEY = `-----BEGIN PUBLIC KEY-----
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC9el0+OEn6fvEh1RdVHQu4cnT0
Expand All @@ -22,7 +25,7 @@ pV6EP3MTLosuUEpLaQIDAQAB

export function getAdagioScript() {
try {
const ls = utils.getDataFromLocalStorage(ADAGIO_LOCALSTORAGE_KEY);
const ls = storage.getDataFromLocalStorage(ADAGIO_LOCALSTORAGE_KEY);

if (!ls) {
utils.logWarn('Adagio Script not found');
Expand All @@ -33,7 +36,7 @@ export function getAdagioScript() {

if (!hashRgx.test(ls)) {
utils.logWarn('No hash found in Adagio script');
utils.removeDataFromLocalStorage(ADAGIO_LOCALSTORAGE_KEY);
storage.removeDataFromLocalStorage(ADAGIO_LOCALSTORAGE_KEY);
} else {
const r = ls.match(hashRgx);
const hash = r[2];
Expand All @@ -47,7 +50,7 @@ export function getAdagioScript() {
Function(ls)(); // eslint-disable-line no-new-func
} else {
utils.logWarn('Invalid Adagio script found');
utils.removeDataFromLocalStorage(ADAGIO_LOCALSTORAGE_KEY);
storage.removeDataFromLocalStorage(ADAGIO_LOCALSTORAGE_KEY);
}
}
} catch (err) {
Expand Down Expand Up @@ -335,13 +338,22 @@ function _getGdprConsent(bidderRequest) {
if (bidderRequest.gdprConsent.allowAuctionWithoutConsent !== undefined) {
consent.allowAuctionWithoutConsent = bidderRequest.gdprConsent.allowAuctionWithoutConsent ? 1 : 0;
}
if (bidderRequest.gdprConsent.apiVersion !== undefined) {
consent.apiVersion = bidderRequest.gdprConsent.apiVersion;
}
}
return consent;
}

function _getSchain(bidRequest) {
if (utils.deepAccess(bidRequest, 'schain')) {
return bidRequest.schain;
}
}

export const spec = {
code: BIDDER_CODE,

gvlid: GVLID,
supportedMediaType: SUPPORTED_MEDIA_TYPES,

isBidRequestValid: function (bid) {
Expand Down Expand Up @@ -391,6 +403,7 @@ export const spec = {
const site = _getSite();
const pageviewId = _getPageviewId();
const gdprConsent = _getGdprConsent(bidderRequest);
const schain = _getSchain(validBidRequests[0]);
const adUnits = utils._map(validBidRequests, (bidRequest) => {
bidRequest.features = _getFeatures(bidRequest);
return bidRequest;
Expand Down Expand Up @@ -419,6 +432,7 @@ export const spec = {
pageviewId: pageviewId,
adUnits: groupedAdUnits[organizationId],
gdpr: gdprConsent,
schain: schain,
prebidVersion: '$prebid.version$',
adapterVersion: VERSION,
featuresVersion: FEATURES_VERSION
Expand Down
7 changes: 7 additions & 0 deletions modules/adfinityBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,13 @@ export const spec = {
'placements': placements
};

if (bidderRequest) {
if (bidderRequest.gdprConsent) {
request.gdpr_consent = bidderRequest.gdprConsent.consentString || 'ALL'
request.gdpr_require = bidderRequest.gdprConsent.gdprApplies ? 1 : 0
}
}

for (let i = 0; i < validBidRequests.length; i++) {
let bid = validBidRequests[i];
let traff = bid.params.traffic || BANNER
Expand Down
86 changes: 45 additions & 41 deletions modules/adgenerationBidAdapter.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,57 +15,61 @@ AdGeneration bid adapter supports Banner and Native.
# Test Parameters
```
var adUnits = [
// Banner adUnit
{
code: 'banner-div', // banner
sizes: [[300, 250]],
bids: [
{
bidder: 'adg',
params: {
id: '58278', // banner
}
},
]
},
// Native adUnit
{
code: 'native-div',
sizes: [[1,1]],
mediaTypes: {
native: {
image: {
// Banner adUnit
{
code: 'banner-div', // banner
mediaTypes: {
banner: {
sizes: [[300, 250]],
}
},
bids: [
{
bidder: 'adg',
params: {
id: '58278', // banner
}
},
]
},
// Native adUnit
{
code: 'native-div',
sizes: [[1,1]],
mediaTypes: {
native: {
image: {
required: true
},
title: {
},
title: {
required: true,
len: 80
},
sponsoredBy: {
},
sponsoredBy: {
required: true
},
clickUrl: {
},
clickUrl: {
required: true
},
body: {
},
body: {
required: true
},
icon: {
},
icon: {
required: true
},
privacyLink: {
},
privacyLink: {
required: true
},
},
},
bids: [
{
bidder: 'adg',
params: {
},
},
bids: [
{
bidder: 'adg',
params: {
id: '58279', //native
}
},
]
}
},
]
},
];
```
13 changes: 7 additions & 6 deletions modules/adkernelAdnAnalyticsAdapter.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import adapter from '../src/AnalyticsAdapter.js';
import CONSTANTS from '../src/constants.json';
import adapterManager from '../src/adapterManager.js';
import {parse} from '../src/url.js';
import * as utils from '../src/utils.js';
import {ajax} from '../src/ajax.js';
import { getStorageManager } from '../src/storageManager.js';

const ANALYTICS_VERSION = '1.0.1';
const DEFAULT_QUEUE_TIMEOUT = 4000;
const DEFAULT_HOST = 'tag.adkernel.com';
const storageObj = getStorageManager();

const ADK_HB_EVENTS = {
AUCTION_INIT: 'auctionInit',
Expand Down Expand Up @@ -175,10 +176,10 @@ const ORGANIC = '(organic)';

export let storage = {
getItem: (name) => {
return utils.getDataFromLocalStorage(name);
return storageObj.getDataFromLocalStorage(name);
},
setItem: (name, value) => {
utils.setDataInLocalStorage(name, value);
storageObj.setDataInLocalStorage(name, value);
}
};

Expand Down Expand Up @@ -209,7 +210,7 @@ export function getUmtSource(pageUrl, referrer) {
if (se) {
return asUtm(se, ORGANIC, ORGANIC);
}
let parsedUrl = parse(pageUrl);
let parsedUrl = utils.parseUrl(pageUrl);
let [refHost, refPath] = getReferrer(referrer);
if (refHost && refHost !== parsedUrl.hostname) {
return asUtm(refHost, REFERRAL, REFERRAL, '', refPath);
Expand All @@ -236,12 +237,12 @@ export function getUmtSource(pageUrl, referrer) {
}

function getReferrer(referrer) {
let ref = parse(referrer);
let ref = utils.parseUrl(referrer);
return [ref.hostname, ref.pathname];
}

function getUTM(pageUrl) {
let urlParameters = parse(pageUrl).search;
let urlParameters = utils.parseUrl(pageUrl).search;
if (!urlParameters['utm_campaign'] || !urlParameters['utm_source']) {
return;
}
Expand Down
3 changes: 1 addition & 2 deletions modules/adkernelAdnBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import * as utils from '../src/utils.js';
import {registerBidder} from '../src/adapters/bidderFactory.js';
import {BANNER, VIDEO} from '../src/mediaTypes.js';
import {parse as parseUrl} from '../src/url.js';

const DEFAULT_ADKERNEL_DSP_DOMAIN = 'tag.adkernel.com';
const DEFAULT_MIMES = ['video/mp4', 'video/webm', 'application/x-shockwave-flash', 'application/javascript'];
Expand Down Expand Up @@ -71,7 +70,7 @@ function buildRequestParams(tags, auctionId, transactionId, gdprConsent, uspCons
}

function buildSite(refInfo) {
let loc = parseUrl(refInfo.referer);
let loc = utils.parseUrl(refInfo.referer);
let result = {
page: `${loc.protocol}://${loc.hostname}${loc.pathname}`,
secure: ~~(loc.protocol === 'https')
Expand Down
Loading