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

Update remote repository #19

Merged
merged 70 commits into from
Nov 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
2c0f9f7
appnexus bid adapter - update impression urls logic (#7618)
jsnellbaker Oct 25, 2021
efb81c1
Send info about original CPM bid (#7623)
bjorn-lw Oct 25, 2021
6729f8f
Ats Analytics Adapter: listen to bid won events (#7577)
mamatic Oct 25, 2021
be35c1c
Nativo Bid Adapter - Refactored spread adapter for IE11 support (#7625)
jsfledd Oct 25, 2021
aee5039
support eids in outbrain (#7567)
Oct 25, 2021
f54ccec
Send ortb2 object to sonobi bidding endpoint as fpd param (#7612)
JonGoSonobi Oct 25, 2021
4dc1a22
support for adserverTargeting in response (#7605)
nwlosinski Oct 25, 2021
df13627
Between Bid Adapter & Airgrid rtd module: fix support for ie11 (#7619)
patmmccann Oct 26, 2021
6c14892
Yahoo Bid Adapter: Support IE11 -> includes to indexOf (#7627)
robertrmartinez Oct 26, 2021
523a16c
TrustX Bid Adapter: fix for segments format (#7629)
PWyrembak Oct 26, 2021
d0605ae
Delta Projects bid adapter: add new bid adapter (#7564)
rikdru Oct 26, 2021
d4a5739
operaads bid adapter: register user sync function (#7613)
yuansi-piao Oct 26, 2021
7e4a7d6
clean.io RTD Provider (#7449)
nick-clean Oct 26, 2021
43e6aba
Added sizeId 92 (#7631)
hdeodhar Oct 26, 2021
36200d8
Browi RTD provider: code improvements (#7589)
omerDotan Oct 26, 2021
8203cc8
Revert "Added sizeId 92 (#7631)" (#7635)
bretg Oct 27, 2021
e38772a
move dfp_ad_unit_code to imp.ext (#7637)
umakajan Oct 27, 2021
213ef75
Prebid Core: Fix Media Type Price Granularity (#7607)
robertrmartinez Oct 27, 2021
55b9cfa
OTM Bid Adapter: Restore Adapter to pbjs 5 (#7616)
krecu Oct 27, 2021
d8697b3
Prebid 5.20.0 release
ChrisHuie Oct 27, 2021
56a2874
Prebid 6.0 (#7606)
patmmccann Oct 27, 2021
e782a4e
Prebid 6.0.0 release
ChrisHuie Oct 27, 2021
880865d
increment pre version
ChrisHuie Oct 27, 2021
d8b8198
adkernel Bid Adapter : added catapultx alias (#7435)
jtammaro Oct 28, 2021
8d02037
MerkleID: add check for typof configParams.endpoint on extendId (#7611)
Yehuda64 Oct 28, 2021
7cba586
Nativo Bid Adapter: refactored validity check to be more informative …
jsfledd Oct 28, 2021
199eb7d
Adomik Analytics Adapter: change bid.placementCode to bid.adUnitCode …
liabas-b Oct 28, 2021
388ddee
Yieldlab Bid Adapter: add support for native mediatype (#7609)
alex-ylb Oct 29, 2021
2ef2b8e
Codefuel Bid Adapter: bugfixes and remove config import (#7647)
tamirnPerion Nov 1, 2021
d22b740
Sspbc Bid Adapter: update version and bugfixes (#7584)
wojciech-bialy-wpm Nov 1, 2021
4ae7e1b
Prebid Server Bid Adapter: auctionId to $.id UUID to $.source.tid + m…
robertrmartinez Nov 2, 2021
e14b009
VidoomyBidAdapter: refactor cookie sync (#7601)
sasanfarokh Nov 2, 2021
e60844e
TheMediaGrid Bid Adapter: added adlivetech as alias (#7649)
TheMediaGrid Nov 2, 2021
c76dc38
move targets to packag.json (#7641)
ChrisHuie Nov 2, 2021
62ea19f
TrustX Bid Adapter: added support of PBAdSlot module (#7653)
PWyrembak Nov 2, 2021
906e8c4
OpenX Bid adapter: Handle new user Ids (#7642)
luigi-sayson Nov 2, 2021
c533fb6
Saamba Bid Adapter: support video params, and the floors module (#7448)
NeerajKrRai Nov 3, 2021
5960369
IX Bid Adapter: capture errors in LS and send errors in request (#7630)
umakajan Nov 3, 2021
832c13e
Deepintent: secure flag set using proper protocol value (#7655)
parthshah51999 Nov 3, 2021
2dbe76f
VIS.X: fix url for timeout pixel (#7657)
mk0x9 Nov 3, 2021
bf48688
appnexus bid adapter - add support for brandId (#7658)
jsnellbaker Nov 3, 2021
564dcbe
Engageya bid adapter improvements (#7656)
mikomgk Nov 8, 2021
e861406
Eplanning & Adapter Manager: fix testing of innerwidth to fix current…
robertrmartinez Nov 8, 2021
539d1b4
Smaato: Pass through bidRequest.schain (#7675)
el-chuck Nov 8, 2021
6539e76
expose seedtag gvl id for TFC2 support (#7674)
ybootin Nov 8, 2021
5ad61fc
docs only: remove reference to release notes page and some documentat…
smenzer Nov 8, 2021
4253497
Capture target demand provider (#7636)
samueldobbie Nov 9, 2021
3e343ed
Datablocks Bid Adapter: update url (#7680)
jmayor Nov 9, 2021
89f61a7
Datablocks Tests: fix failing tests (#7687)
ChrisHuie Nov 9, 2021
6b027f5
RichAudience Bid Adapter: Update GetFloors (#7664)
richaudience Nov 9, 2021
39b26b3
Adhese Bid Adapter: Configurable vast as url (#7659)
mefjush Nov 9, 2021
1463ed9
add bidderDefaultFunction (#7628)
eknis Nov 9, 2021
fc9caa2
IX Bid Adapter: add support for handling vastXML responses in PBJS (#…
shahinrahbariasl Nov 10, 2021
701eebc
PubMatic Bid Adapter: add Groupm as alias bidder (#7692)
pm-azhar-mulla Nov 10, 2021
bd6f395
GPT Pre Auction: setting GPID (#7671)
robertrmartinez Nov 10, 2021
8163a23
Do not lint node_modules (#7689)
dgirardi Nov 10, 2021
4809a4e
send all custom params to the bidder (#7685)
antoinezaz Nov 10, 2021
b289d73
Revert "RichAudience Bid Adapter: Update GetFloors (#7664)" (#7695)
ChrisHuie Nov 10, 2021
379519b
Prebid 6.1.0 Release
jsnellbaker Nov 10, 2021
2e2fdd8
increment pre version
jsnellbaker Nov 10, 2021
38fdca9
YieldOne Bid Adapter: add Flux Wrapper support. (#7555)
kyoya-takei Nov 11, 2021
7cbfe92
PubMatic : Check for 'bid.ext.bidtype' key instead of 'bid.ext.Bidtyp…
kapil-tuptewar Nov 11, 2021
2e00b21
Invibes Bid Adapter - support for adUnitCode differentiation in multi…
rcheptanariu Nov 12, 2021
1cdedca
Smartx Bid Adapter: enable pbjs log for bid request & outstream playe…
Skylinar Nov 12, 2021
51f9244
Undertone Bid Adapter - update canonical and referral URLs 31599 (#7693)
tamarm-perion Nov 12, 2021
a8cdf2b
Added option to pass a user id through ortb2. (#7639)
mikael-lundin Nov 15, 2021
b927d8d
Prebid Core: Restore use of server-side adapter without client-side a…
jorgeluisrocha Nov 15, 2021
412b745
Revert "Prebid Core: Restore use of server-side adapter without clien…
FilipStamenkovic Nov 15, 2021
0d6b3ed
use ajax() craftBidAdapter (#7699)
crumbjp Nov 15, 2021
35bb363
Tappx Bid Adapter: add vendor id (#7709)
prebidtappx Nov 15, 2021
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
11 changes: 1 addition & 10 deletions .babelrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,7 @@ module.exports = {
[
useLocal('@babel/preset-env'),
{
"targets": {
"browsers": [
"chrome >= 75",
"safari >=10",
"edge >= 70",
"ff >= 70",
"ie >= 11",
"ios >= 11"
]
}
"useBuiltIns": "entry"
}
]
],
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ module.exports = {
loader: 'babel-loader',
// presets and plugins for Prebid.js must be manually specified separate from your other babel rule.
// this can be accomplished by requiring prebid's .babelrc.js file (requires Babel 7 and Node v8.9.0+)
// as of Prebid 6, babelrc.js only targets modern browsers. One can change the targets and build for
// older browsers if they prefer, but integration tests on ie11 were removed in Prebid.js 6.0
options: require('prebid.js/.babelrc.js')
}
}
Expand Down Expand Up @@ -314,7 +316,7 @@ For instructions on writing tests for Prebid.js, see [Testing Prebid.js](http://

### Supported Browsers

Prebid.js is supported on IE11 and modern browsers.
Prebid.js is supported on IE11 and modern browsers until 5.x. 6.x+ transpiles to target >0.25%; not Opera Mini; not IE11.

### Governance
Review our governance model [here](https://github.com/prebid/Prebid.js/tree/master/governance.md).
8 changes: 0 additions & 8 deletions browsers.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,6 @@
"device": null,
"os": "Windows"
},
"bs_ie_11_windows_10": {
"base": "BrowserStack",
"os_version": "10",
"browser": "ie",
"browser_version": "11.0",
"device": null,
"os": "Windows"
},
"bs_chrome_90_windows_10": {
"base": "BrowserStack",
"os_version": "10",
Expand Down
1 change: 1 addition & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ function lint(done) {
'modules/**/*.js',
'test/**/*.js',
'plugins/**/*.js',
'!plugins/**/node_modules/**',
'./*.js'
], { base: './' })
.pipe(gulpif(argv.nolintfix, eslint(), eslint({ fix: true })))
Expand Down
9 changes: 7 additions & 2 deletions modules/adheseBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import { registerBidder } from '../src/adapters/bidderFactory.js';
import { BANNER, VIDEO } from '../src/mediaTypes.js';
import { config } from '../src/config.js';

const BIDDER_CODE = 'adhese';
const GVLID = 553;
Expand All @@ -20,11 +21,15 @@ export const spec = {
if (validBidRequests.length === 0) {
return null;
}

const { gdprConsent, refererInfo } = bidderRequest;

const adheseConfig = config.getConfig('adhese');
const gdprParams = (gdprConsent && gdprConsent.consentString) ? { xt: [gdprConsent.consentString] } : {};
const refererParams = (refererInfo && refererInfo.referer) ? { xf: [base64urlEncode(refererInfo.referer)] } : {};
const commonParams = { ...gdprParams, ...refererParams };
const globalCustomParams = (adheseConfig && adheseConfig.globalTargets) ? cleanTargets(adheseConfig.globalTargets) : {};
const commonParams = { ...globalCustomParams, ...gdprParams, ...refererParams };
const vastContentAsUrl = !(adheseConfig && adheseConfig.vastContentAsUrl == false);

const slots = validBidRequests.map(bid => ({
slotname: bidToSlotName(bid),
Expand All @@ -34,7 +39,7 @@ export const spec = {
const payload = {
slots: slots,
parameters: commonParams,
vastContentAsUrl: true,
vastContentAsUrl: vastContentAsUrl,
user: {
ext: {
eids: getEids(validBidRequests),
Expand Down
1 change: 1 addition & 0 deletions modules/adkernelBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ export const spec = {
{code: 'denakop'},
{code: 'rtbanalytica'},
{code: 'unibots'},
{code: 'catapultx'},
{code: 'ergadx'},
{code: 'turktelekom'}
],
Expand Down
61 changes: 61 additions & 0 deletions modules/adlivetechBidAdapter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Overview

Module Name: Adlivetech Bidder Adapter
Module Type: Bidder Adapter
Maintainer: grid-tech@themediagrid.com

# Description

Module that connects to Grid demand source to fetch bids.
The adapter is GDPR compliant and supports banner and video (instream and outstream).

# Test Parameters
```
var adUnits = [
{
code: 'test-div',
sizes: [[300, 250]],
bids: [
{
bidder: "adlivetech",
params: {
uid: '1',
bidFloor: 0.5
}
}
]
},{
code: 'test-div',
sizes: [[728, 90]],
bids: [
{
bidder: "adlivetech",
params: {
uid: 2,
keywords: {
brandsafety: ['disaster'],
topic: ['stress', 'fear']
}
}
}
]
},
{
code: 'test-div',
sizes: [[728, 90]],
mediaTypes: { video: {
context: 'instream',
playerSize: [728, 90],
mimes: ['video/mp4']
},
bids: [
{
bidder: "adlivetech",
params: {
uid: 11
}
}
]
}
];
```
3 changes: 2 additions & 1 deletion modules/adnuntiusBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ const handleMeta = function () {
}

const getUsi = function (meta, ortb2, bidderRequest) {
const usi = (meta !== null) ? meta.usi : false;
let usi = (meta !== null && meta.usi) ? meta.usi : false;
if (ortb2 && ortb2.user && ortb2.user.id) { usi = ortb2.user.id }
return usi
}

Expand Down
14 changes: 10 additions & 4 deletions modules/adomikAnalyticsAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const bidRequested = CONSTANTS.EVENTS.BID_REQUESTED;
const bidResponse = CONSTANTS.EVENTS.BID_RESPONSE;
const bidWon = CONSTANTS.EVENTS.BID_WON;
const bidTimeout = CONSTANTS.EVENTS.BID_TIMEOUT;
const ua = navigator.userAgent;

let adomikAdapter = Object.assign(adapter({}),
{
Expand Down Expand Up @@ -47,7 +48,7 @@ let adomikAdapter = Object.assign(adapter({}),
type: 'request',
event: {
bidder: bid.bidder.toUpperCase(),
placementCode: bid.placementCode
placementCode: bid.adUnitCode
}
});
});
Expand All @@ -67,6 +68,10 @@ adomikAdapter.initializeBucketEvents = function() {
adomikAdapter.bucketEvents = [];
}

adomikAdapter.maxPartLength = function () {
return (ua.includes(' MSIE ')) ? 1600 : 60000;
};

adomikAdapter.sendTypedEvent = function() {
const groupedTypedEvents = adomikAdapter.buildTypedEvents();

Expand Down Expand Up @@ -108,9 +113,10 @@ adomikAdapter.sendTypedEvent = function() {
// Encode object in base64
const encodedBuf = window.btoa(stringBulkEvents);

// Create final url and split it in 1600 characters max (+endpoint length)
// Create final url and split it (+endpoint length)
const encodedUri = encodeURIComponent(encodedBuf);
const splittedUrl = encodedUri.match(/.{1,1600}/g);
const maxLength = adomikAdapter.maxPartLength();
const splittedUrl = encodedUri.match(new RegExp(`.{1,${maxLength}}`, 'g'));

splittedUrl.forEach((split, i) => {
const partUrl = `${split}&id=${adomikAdapter.currentContext.id}&part=${i}&on=${splittedUrl.length - 1}`;
Expand All @@ -121,7 +127,7 @@ adomikAdapter.sendTypedEvent = function() {

adomikAdapter.sendWonEvent = function (wonEvent) {
const stringWonEvent = JSON.stringify(wonEvent)
logInfo('Won event sent to adomik prebid analytic ' + wonEvent);
logInfo('Won event sent to adomik prebid analytic ' + stringWonEvent);

// Encode object in base64
const encodedBuf = window.btoa(stringWonEvent);
Expand Down
2 changes: 1 addition & 1 deletion modules/airgridRtdProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export function attachScriptTagToDOM(rtdConfig) {
edktInitializor.load = function(e) {
var p = e || 'sdk';
var n = document.createElement('script');
n.type = 'text/javascript';
n.type = 'module';
n.async = true;
n.src = 'https://cdn.edkt.io/' + p + '/edgekit.min.js';
document.getElementsByTagName('head')[0].appendChild(n);
Expand Down
12 changes: 9 additions & 3 deletions modules/appnexusBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -598,6 +598,10 @@ function newBid(serverBid, rtbBid, bidderRequest) {
bid.meta = Object.assign({}, bid.meta, { advertiserId: rtbBid.advertiser_id });
}

if (rtbBid.brand_id) {
bid.meta = Object.assign({}, bid.meta, { brandId: rtbBid.brand_id });
}

if (rtbBid.rtb.video) {
// shared video properties used for all 3 contexts
Object.assign(bid, {
Expand Down Expand Up @@ -696,9 +700,11 @@ function newBid(serverBid, rtbBid, bidderRequest) {
});
try {
if (rtbBid.rtb.trackers) {
const url = rtbBid.rtb.trackers[0].impression_urls[0];
const tracker = createTrackPixelHtml(url);
bid.ad += tracker;
for (let i = 0; i < rtbBid.rtb.trackers[0].impression_urls.length; i++) {
const url = rtbBid.rtb.trackers[0].impression_urls[i];
const tracker = createTrackPixelHtml(url);
bid.ad += tracker;
}
}
} catch (error) {
logError('Error appending tracking pixel', error);
Expand Down
Loading