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 #15

Merged
merged 176 commits into from
Sep 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
176 commits
Select commit Hold shift + click to select a range
0f7d5fb
VIS.X Bid Adapter: fix handling of bid response (#7233)
mk0x9 Jul 29, 2021
0896f79
add adomain, fix native bid construct process (#7215)
0tarof Jul 29, 2021
ed036b9
add appnexuspsp for PBSadapter defaultVendor (#7220)
jsnellbaker Jul 29, 2021
caa329a
Adding the "positionType" parameter (#7234)
MaxSmileWanted Jul 29, 2021
541fc70
5.7.0 release
mkendall07 Jul 29, 2021
50793be
Pubmatic Analytics Adapter: extend timeout on flaky tests (#7235)
ChrisHuie Jul 29, 2021
7511963
5.8.0-pre
mkendall07 Jul 29, 2021
09ea8e2
update apacdex bid adapter (#7236)
thuyhq Jul 30, 2021
3e71ab4
Unicorn BidAdapter: add support for meta.advertiserDomain for Prebid …
faithnh Jul 30, 2021
4d2c6c1
InteractiveOffers BidAdapter: New endpoint (#7243)
IOTiagoFaria Aug 1, 2021
89abb6f
MathildeAds Bid Adapter: add new bid adapter (#7224)
mathilde-ads Aug 2, 2021
df534b5
Openweb Bid Adapter: change remote url (#7250)
GeneGenie Aug 2, 2021
665ffba
Teads Bid Adapter: support floc and uid2 user IDs (#7116)
ruizb Aug 2, 2021
71c1c67
Mediasquare bidder: add metrics to onBidWon Event (#7252)
matthieularere-msq Aug 2, 2021
3162aa9
gptPreAuction Module: update to include MCM support (#7242)
mmoschovas Aug 2, 2021
adb1731
AirGrid RTD Submodule: Initial Release (#7108)
ydennisy Aug 2, 2021
ca7ab18
Next Millennium Bid Adapter: update to comply with Prebid v5 (#7209)
Aug 3, 2021
72eacfa
Boldwin Bid Adapter: add advertiserDomains and getFloor handling (#7254)
Wls-demo Aug 3, 2021
9eed220
Colossus Bid Adapter: add advertiserDomains and video params support …
Aug 3, 2021
369f1d3
Added gptSlotCode field to the auction logs object. Updated master fr…
Aug 3, 2021
b6b35af
integr8 Bid Adapter: add new bid adapter (#6882)
Aug 3, 2021
55b8611
Rise Bid Adapter: add optional placementId param (#7246)
lasloche Aug 3, 2021
51f4f48
Vidoomy Bid Adapter: add new bid adapter (#7178)
mario-orle Aug 3, 2021
de3976e
Documentation: add gdpr non-timeout example (#7244)
ChrisHuie Aug 3, 2021
6cb6593
Smartadserver Bid Adapter: add support for multiple media types (#7216)
lowendavid Aug 3, 2021
90cc699
rubicon segtax update (#7258)
bretg Aug 3, 2021
efc7341
Smartadserver Bid Adapter: add support for floors module (#7259)
krzysztofequativ Aug 4, 2021
d2b8181
OpenX: add new userIds (#7255)
bwschmidt Aug 4, 2021
d4ad23f
OpenX Bid Adapter: read first party data segments (#7202)
laurb9 Aug 4, 2021
95456b6
Aniview Bid Adapter: add a new alias and update the doc (#7262)
roshecode Aug 4, 2021
ddf083e
Prebid 5.8.0 Release
jsnellbaker Aug 4, 2021
67dba7f
increment pre version
jsnellbaker Aug 4, 2021
3ce5f9c
Adprime Bid Adapter: add advertiserDomains, getFloor handler and vide…
Adprime Aug 5, 2021
51448cd
append adUnitCode to bidRequest (#7270)
ybootin Aug 5, 2021
3d4a139
Logan Bid Adapter: add new bid adapter (#7223)
WlsLogan Aug 9, 2021
376b0e7
Brave Bid Adapter: add new bid adapter (#7271)
thebraveio Aug 9, 2021
d7f6802
Changed directory path in the line #115 (#7278)
pixfuture-media Aug 9, 2021
c06dca5
Adkernel Bid Adapter: RtbAnalytica alias (#7281)
ckbo3hrk Aug 10, 2021
dc6f54d
add-adsyield-alias (#7282)
AdmixerTech Aug 10, 2021
6ab8791
Krushmedia Bid Adapter: updates for Prebid 5.0 (#7266)
Krushmedia Aug 10, 2021
3f568a5
[ORBIDDER] set gvlid to otto vendor id at orbidder adapter spec (#7276)
arneschulz1984 Aug 10, 2021
20d9243
ContentExchange Bid Adapter: add new bid adapter (#7213)
contentexchange Aug 10, 2021
ecd7845
bidViewablityIO Module: add new submodule for detecting viewability w…
jsut Aug 10, 2021
e679fe7
Between Bid Adapter: add sharedid for Prebid 5.0 (#7222)
ChrisHuie Aug 10, 2021
11df18d
PubMatic: if multi-format ad-unit does not have outstreamAU or render…
pm-harshad-mane Aug 10, 2021
6df0219
InteractiveOffers : parameters changed & dynamic endpoint (#7286)
IOTiagoFaria Aug 11, 2021
17aa264
Mediakeys: add bidder adapter (#7268)
Aug 11, 2021
d0a5fe6
Intimate Merger Universal Identifier System: add imuid submodule (#7239)
eknis Aug 11, 2021
217c8f6
CPMStar Bid Adapter: Add adomain support for Prebid 5.x (#7284)
JoshuaMGoldstein Aug 11, 2021
3d8ed53
Adf adapter: schain support added (#7292)
braizhas Aug 12, 2021
3b59a2b
targeting: allow non-string (eg. numeric) targeting segments (#7160)
jimdigriz Aug 12, 2021
7f5a3be
Prebid 5.9.0 Release
Aug 12, 2021
707d73f
Increment pre version
Aug 12, 2021
32587e5
add an auctionId to request (#7293)
Aug 13, 2021
95e3400
Conversant Bid Adapter: add getUserSync (#7185)
johnwier Aug 14, 2021
f360f39
SmartyAds Bid Adapter: add support for adomain (#6940)
SmartyAdsSSP Aug 14, 2021
6aa63d6
change path url (#7303)
vincentproxistore Aug 16, 2021
51eb7d0
ogury Bid Adapter: handle onBidWon event on prebid.js (#7298)
jogury Aug 17, 2021
07ab54d
IX Bid Adapter: First Party Data Support (#7265)
umakajan Aug 17, 2021
5a9bbb3
BrightMountainMedia: update server request format (#7210)
BrightMountainMediaInc Aug 17, 2021
2eb70e1
Malltv Analytics Adapter: add new analytics adapter (#7218)
Aug 17, 2021
284dd71
Dependencies: Fix dependabot dependency path parse (#7285)
ChrisHuie Aug 17, 2021
2c2cd54
Add `auctionId`, `PlayerName` to PBS params (#7312)
osazos Aug 17, 2021
c544033
Kinesso ID: add UserId module and fixes conflicts on pr 7077 (#7283)
ChrisHuie Aug 17, 2021
bce3396
Resetdigital Bid Adapter: update default endpoint domain (#7230)
evanmsmrtb Aug 17, 2021
a4207df
etarget Bid Adapter: update support for using priceFloor module (#7305)
etargetse Aug 17, 2021
718e164
ZetaSspBidAdapter: provide gdpr and sspa values in bidRequest (#7311)
asurovenko-zeta Aug 17, 2021
d43427d
Gumgum: fix how we send TTD global placement ID (#7310)
lbenmore Aug 17, 2021
da239c6
Adloox (video) adserver module (#6309)
jimdigriz Aug 17, 2021
5998ad7
fix doc cid is number (#7314)
eknis Aug 18, 2021
dc14496
ZetaSspBidAdapter: rename files across ${bidderCode}BidAdapter.js (#7…
asurovenko-zeta Aug 18, 2021
c4ec6a4
Prebid 5.10.0 release
jsnellbaker Aug 18, 2021
6a3d586
increment pre version
jsnellbaker Aug 18, 2021
e9a6b69
GumGum: sends maxw and maxh query parameters for slot requests (#7232)
susyt Aug 19, 2021
a437b05
Build Process: avoid Eslint spread operator error (#7313)
osazos Aug 19, 2021
686c70c
BeOp Bid Adapter : New Bid Adapter (#7195)
sebrobert Aug 19, 2021
0d673f4
feat: compliant with Prebid v5.0 for wipes bid adapter (#7320)
miseyu Aug 20, 2021
3f56bad
Dev Tools (Babel): update babel target browser versions (#7248)
ChrisHuie Aug 20, 2021
a1c8a1e
Vrtcal Bid Adapter: added Non-Static Bid Floor Support (#7324)
vrtcal-dev Aug 20, 2021
4da2c8a
Revert "Vrtcal Bid Adapter: added Non-Static Bid Floor Support (#7324…
ChrisHuie Aug 20, 2021
b426ae2
Impactify Bid Adapter: testing parameter (#7332)
thomasdseao Aug 23, 2021
593e03f
Criteo Bid Adapter: fix crashes when video parameters are 0 (#7334)
dzhang-criteo Aug 23, 2021
96da9dd
Zeta Ssp Bid Adapter: support video (#7295)
asurovenko-zeta Aug 23, 2021
63de894
EX-3165 Make getConfig call a clone (#7333)
mikhalovich Aug 23, 2021
540d9a2
TrustX Bid Adapter: Use new format as default + new format for keywor…
PWyrembak Aug 24, 2021
ca5c28c
Sublime Bid Adapter : refactoring notifyId, bid request validation, &…
fgcloutier Aug 24, 2021
584f420
remove weborama bid adapter markdown, since the original module was d…
peczenyj Aug 24, 2021
412150d
send tid and eids to adserver (#7302)
0tarof Aug 24, 2021
54d537d
tappx Bid Adapter: add video outstream feature (#7325)
prebidtappx Aug 24, 2021
d151e00
Mgid Bid Adapter: make changes to comply with 5.x requirements (#7319)
Gaudeamus Aug 25, 2021
4be2da9
Revert "Sublime Bid Adapter : refactoring notifyId, bid request valid…
ChrisHuie Aug 25, 2021
d917622
Multiple changes added (#7343)
ym-abaranov Aug 25, 2021
2de4b7b
Advangelists Bid Adapter: support adomain, video params, and the floo…
NeerajKrRai Aug 25, 2021
3f01ab1
Vrtcal Bid Adapter: Added Price Floors Module Support (#7342)
vrtcal-dev Aug 25, 2021
8e466ef
Insticator Bid Adapter: add new bid adapter (#7277)
zyk70n Aug 26, 2021
9ba1030
Adding back: Sublime Bid Adapter : refactoring notifyId, bid request …
robertrmartinez Aug 26, 2021
8d2c4a2
Impactify Bid Adapter : patch sizes and variable type (#7352)
thomasdseao Aug 26, 2021
3826d56
Prebid 5.11.0 Release
robertrmartinez Aug 26, 2021
4f76c4f
Increment pre version
robertrmartinez Aug 26, 2021
61f4090
Ad partner Bid Adapter: advertiser domains for Prebid 5 compliance (#…
vdavidiants Aug 26, 2021
b4cf8b1
Prebid Core: emitting BEFORE_BIDDER_HTTP event per bidder network req…
elad-yosifon Aug 27, 2021
c978365
Opera Ads Adapter: fix floor price support (#7357)
xingwangl Aug 30, 2021
695e480
change request method (#7360)
AdmixerTech Aug 30, 2021
d16aada
Colossus Bid Adapter: add Unified ID 2.0 (#7358)
Aug 30, 2021
9960c27
Navegg UserId: add new userid submodule (#7123)
hugopenha-navegg Aug 31, 2021
60ce3e6
iasRtdProvider: implements getTargetingData method (#7344)
raguilar-ias Aug 31, 2021
ad8f4cc
byData Analytics Adapter: add new analytics adapter (#7260)
Prebid-bydata Aug 31, 2021
46751bd
im rtd segment module (#7359)
eknis Aug 31, 2021
51caaef
Pubmatic Bid Adapter: add support for JW Player (#7291)
pm-manasi-moghe Aug 31, 2021
c4feb70
add IQZone adapter (#7309)
IQZoneAdx Sep 1, 2021
e485e9e
smartx Bid Adapter: bugfix outstream options for default outstream re…
Skylinar Sep 1, 2021
fffa3e3
Adloox real time data module (#6310)
jimdigriz Sep 1, 2021
343bae2
Prebid 5.12.0 Release
Sep 1, 2021
68c2a4d
Increment pre version
Sep 1, 2021
253600d
Finteza Analytics Adapter: bugfix for flaky test (Issue #7348) (#7356)
ChrisHuie Sep 2, 2021
b3c0916
IX Adapter: buildRequests refactor (#7364)
lksharma Sep 2, 2021
28202c9
Onetag Bid Adapter: extend mediaType support (#7363)
onetag-dev Sep 2, 2021
697abe0
Impactify Bid Adapter: add userid schain support (#7377)
thomasdseao Sep 2, 2021
9945c02
VIS.X Bid Adapter: migrate from GET to POSTs & send additional userID…
mk0x9 Sep 3, 2021
b029e51
Rise Bid Adapter: improve isBidRequestValid and size detection along …
noamtzu Sep 6, 2021
126e165
Adkernel Bid Adapter: unibots alias (#7387)
ckbo3hrk Sep 7, 2021
b4daf00
change smartyads ad unit parameters (#7380)
SmartyAdsSSP Sep 7, 2021
5b87fdc
TrustX Bid Adapter: convert all id-like request fields to a string (#…
PWyrembak Sep 7, 2021
1ba6888
Sharethrough adapter: connect to OpenRTB endpoint (#7290)
epechuzal Sep 7, 2021
ab4a664
Use conventional currency location (#7381)
bloodyowl Sep 7, 2021
5e11575
omit empty targeting value (#7366)
robertrmartinez Sep 8, 2021
906f908
VIS.X Bid Adapter: pass targeting to bidResponse.adserverTargeting (#…
mk0x9 Sep 8, 2021
9f6daea
ADman Media Adapter: compatible with version 5 and support uid2 (#7383)
SmartyAdman Sep 8, 2021
cd92870
TheMediaGrid Bid Adapter: fill user.id from fpd cookie (#7279)
TheMediaGrid Sep 8, 2021
c80a694
TheMediaGrid Bid Adapter: Added support of nurl in the response (#7384)
TheMediaGrid Sep 8, 2021
d3257dd
Prebid Core: update npm install to ci & remov (#7369)
ChrisHuie Sep 8, 2021
663d3d1
Ad Partner Bid Adapter: add user syncs and partner ID (#7376)
vdavidiants Sep 8, 2021
0ef13cd
TheMediaGrid Bid Adapter: Request key fixes (#7385)
TheMediaGrid Sep 8, 2021
8b2cb24
Prebid Core: Add readConfig functionality to clone the config instead…
lksharma Sep 8, 2021
a2d11b3
PBS Bid Adapter: Add additional ortb2 fields in request object (#7315)
Fawke Sep 8, 2021
45e0f8d
Documentation: adding no-adserver example (#7308)
bretg Sep 8, 2021
1cd74ba
Publink Id System (Conversant): add new user id module (#7322)
johnwier Sep 8, 2021
e8b344d
If the bidReq has gam adslot use it (#7374)
robertrmartinez Sep 8, 2021
5e2dcbd
IX Bid Adapter: Adding support for IX Outstream Renderer (#7390)
umakajan Sep 9, 2021
5e0e473
A publisher requested that we remove the bid.ad value for outstream s…
JonGoSonobi Sep 9, 2021
545d903
BLIINK Bid Adapter : Add new adapter (#7299)
Kola-Kola Sep 9, 2021
5ac1dbf
PBjs Core (Targeting): bugfix for issue #7323 adding extra spaces (#7…
peczenyj Sep 9, 2021
71cb998
Between Bid Adapter: add ids (#7316)
anastasya123 Sep 9, 2021
300db10
"Prebid 5.13 Release"
ChrisHuie Sep 9, 2021
bbb73bb
Increment pre version
ChrisHuie Sep 9, 2021
6b1d704
TargetVideo Bid Adapter: add new adapter (#7336)
grajzer Sep 9, 2021
2b92153
Merkle endpoint configurable (#7400)
SKOCHERI Sep 10, 2021
35b5dca
Revert "Merkle endpoint configurable (#7400)" (#7401)
patmmccann Sep 10, 2021
46fe440
Timeout RTD module: initial release (#7395)
luigi-sayson Sep 14, 2021
848ae9c
CriteoIdSystem returns a callback to initiate user sync (#7371)
afewcc Sep 14, 2021
0f7d0ce
Added sizeId 562 (300x431) (#7408)
hdeodhar Sep 14, 2021
27a9067
Update .submodules.json (#7406)
patmmccann Sep 14, 2021
d9bc98e
add custom error messages for beachfront bid validation (#7412)
jsalis Sep 14, 2021
c064ea9
Add new sizes (#7414)
hdeodhar Sep 14, 2021
648b08d
PulsePoint Bid Adapter: support for additional user id providers (#7389)
anand-venkatraman Sep 14, 2021
be25401
smartx Bid Adapter: fix empty title not configurable (#7417)
Skylinar Sep 15, 2021
8ab5cfd
gjirafa Bid Adapter: add biskoID and segmeents (#7409)
Sep 15, 2021
f01f467
Added biskoId and segments to bid request (#7411)
Sep 15, 2021
274b101
malltv Bid Adapter : add biskoId, auctionId, and segments (#7410)
Sep 15, 2021
6b8108f
Gumgum Bid Adapter: remove slotid type checking (#7420)
lbenmore Sep 15, 2021
51c3c0d
Fluct Bid Adapter: add adomain for Prebid 5 compliance (#7353)
ChrisHuie Sep 16, 2021
84f82c3
Merkle Id System: make endpoint optionally configurable (#7404)
SKOCHERI Sep 16, 2021
66a76a1
Timeout RTD Provider & Insticator & Sharethrough Bid Adapter: bug fix…
patmmccann Sep 16, 2021
585ca01
Publink UserId Submodule: publinkIdSystem_spec.js test fix on ie11 (#…
patmmccann Sep 16, 2021
911ceb3
Fix ancestorOrigin access (#7429)
onetag-dev Sep 16, 2021
76f708a
Criteo Bid Adapter: update FastBid version to 113 (#7418)
dzhang-criteo Sep 16, 2021
627ee1a
Nativo Bid Adapter: Define GVLID (#7432)
patmmccann Sep 16, 2021
99b61ca
PubMatic bid adapter: while retrieving floor from floor module pass b…
pm-harshad-mane Sep 16, 2021
8aeb105
5.14.0 release
mkendall07 Sep 16, 2021
da820a0
5.15.0-pre
mkendall07 Sep 16, 2021
d4ea363
Adf adapter: price floors module support (#7427)
braizhas Sep 16, 2021
f11fe4e
Rubicon Analytics: send error.description instead (#7433)
robertrmartinez Sep 16, 2021
c6a4838
seeding Alliance Bid Adapter: update to comply with Prebid 5 (#7426)
Sep 17, 2021
1a9d74a
AdHash Bid Adaptor : update to comply with Prebid 5.0 (#7403)
wyand-sp Sep 17, 2021
1fdc735
AFP Bid Adapter: add new bid adapter and integration examples (#7301)
andrey-ka-97 Sep 17, 2021
a22705a
Rise Bid Adapteer: docs update (#7442)
noamtzu Sep 20, 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
10 changes: 5 additions & 5 deletions .babelrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ module.exports = {
{
"targets": {
"browsers": [
"chrome >= 61",
"safari >=8",
"edge >= 14",
"ff >= 57",
"chrome >= 75",
"safari >=10",
"edge >= 70",
"ff >= 70",
"ie >= 11",
"ios >= 8"
"ios >= 11"
]
}
}
Expand Down
65 changes: 34 additions & 31 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,50 +1,53 @@

const allowedModules = require("./allowedModules");
const allowedModules = require('./allowedModules.js');

module.exports = {
"env": {
"browser": true,
"commonjs": true
env: {
browser: true,
commonjs: true
},
"settings": {
"import/resolver": {
"node": {
"moduleDirectory": ["node_modules", "./"]
settings: {
'import/resolver': {
node: {
moduleDirectory: ['node_modules', './']
}
}
},
"extends": "standard",
"plugins": [
"prebid",
"import"
extends: 'standard',
plugins: [
'prebid',
'import'
],
"globals": {
"$$PREBID_GLOBAL$$": false
globals: {
'$$PREBID_GLOBAL$$': false,
'BROWSERSTACK_USERNAME': false,
'BROWSERSTACK_KEY': false
},
"parserOptions": {
"sourceType": "module"
parserOptions: {
sourceType: 'module',
ecmaVersion: 2018,
},
"rules": {
"comma-dangle": "off",
"semi": "off",
"space-before-function-paren": "off",
"import/extensions": ["error", "ignorePackages"],
rules: {
'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.
//
// See Issue #1111.
"eqeqeq": "off",
"no-return-assign": "off",
"no-throw-literal": "off",
"no-undef": 2,
"no-useless-escape": "off",
"no-console": "error"
eqeqeq: 'off',
'no-return-assign': 'off',
'no-throw-literal': 'off',
'no-undef': 2,
'no-useless-escape': 'off',
'no-console': 'error'
},
"overrides": Object.keys(allowedModules).map((key) => ({
"files": key + "/**/*.js",
"rules": {
"prebid/validate-imports": ["error", allowedModules[key]]
overrides: Object.keys(allowedModules).map((key) => ({
files: key + '/**/*.js',
rules: {
'prebid/validate-imports': ['error', allowedModules[key]]
}
}))
};
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[![Build Status](https://circleci.com/gh/prebid/Prebid.js.svg?style=svg)](https://circleci.com/gh/prebid/Prebid.js)
[![Percentage of issues still open](http://isitmaintained.com/badge/open/prebid/Prebid.js.svg)](http://isitmaintained.com/project/prebid/Prebid.js "Percentage of issues still open")
[![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)
Expand Down Expand Up @@ -152,7 +151,7 @@ Building with just these adapters will result in a smaller bundle which should a

**Build standalone prebid.js**

- Clone the repo, run `npm install`
- Clone the repo, run `npm ci`
- Then run the build:

$ gulp build --modules=openxBidAdapter,rubiconBidAdapter,sovrnBidAdapter
Expand Down
1 change: 0 additions & 1 deletion gulpHelpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ module.exports = {
},

jsonifyHTML: function (str) {
console.log(arguments);
return str.replace(/\n/g, '')
.replace(/<\//g, '<\\/')
.replace(/\/>/g, '\\/>');
Expand Down
14 changes: 10 additions & 4 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ var webpackStream = require('webpack-stream');
var terser = require('gulp-terser');
var gulpClean = require('gulp-clean');
var KarmaServer = require('karma').Server;
var karmaConfMaker = require('./karma.conf.maker');
var karmaConfMaker = require('./karma.conf.maker.js');
var opens = require('opn');
var webpackConfig = require('./webpack.conf');
var helpers = require('./gulpHelpers');
var webpackConfig = require('./webpack.conf.js');
var helpers = require('./gulpHelpers.js');
var concat = require('gulp-concat');
var header = require('gulp-header');
var footer = require('gulp-footer');
Expand Down Expand Up @@ -71,7 +71,13 @@ function lint(done) {
const isFixed = function (file) {
return file.eslint != null && file.eslint.fixed;
}
return gulp.src(['src/**/*.js', 'modules/**/*.js', 'test/**/*.js'], { base: './' })
return gulp.src([
'src/**/*.js',
'modules/**/*.js',
'test/**/*.js',
'plugins/**/*.js',
'./*.js'
], { base: './' })
.pipe(gulpif(argv.nolintfix, eslint(), eslint({ fix: true })))
.pipe(eslint.format('stylish'))
.pipe(eslint.failAfterError())
Expand Down
35 changes: 28 additions & 7 deletions integrationExamples/gpt/adloox.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,11 @@
playerSize: [ 640, 480 ]
}
},
fpd: {
context: {
pbAdSlot: '/19968336/prebid_cache_video_adunit'
ortb2Imp: {
ext: {
data: {
pbadslot: '/19968336/prebid_cache_video_adunit'
}
}
},
bids: [
Expand Down Expand Up @@ -106,12 +108,14 @@
pbjs.initAdserverSet = true;

googletag.cmd.push(function() {
pbjs.setTargetingForGPTAsync && pbjs.setTargetingForGPTAsync(adUnits);
const adUnitCodes = adUnits.map(adUnit => adUnit.code);
pbjs.setTargetingForGPTAsync(adUnitCodes);
googletag.pubads().refresh();
});

var videoBids = bids[videoAdUnit.code];
if (videoBids) {
// DEMO NOTES: your environment likely will use the commented section ////
var videoUrl = videoBids.bids[0].vastUrl;
// var videoUrl = pbjs.adServers.dfp.buildVideoUrl({
// adUnit: videoAdUnit,
Expand All @@ -124,17 +128,34 @@
// output: 'vast'
// }
// });
invokeVideoPlayer(videoUrl);
//////////////////////////////////////////////////////////////////////////
var ret = pbjs.adServers.adloox.buildVideoUrl({
adUnit: videoAdUnit,
url: videoUrl
}, invokeVideoPlayer);
if (!ret) console.log('Error building Adloox video URL');
}
}

// optionally wrap with googletag to have gpt-pre-auction
// automatically populate Prebid Ad Slot (pbAdSlot)
// automatically populate Prebid Ad Slot (pbadslot)
// https://docs.prebid.org/dev-docs/modules/gpt-pre-auction.html
// alternatively remove wrapping and set AdUnit.fpd.context.pbAdSlot
// alternatively remove wrapping and set AdUnit.ortb2Imp.ext.data.pbadslot
googletag.cmd.push(function() {
pbjs.que.push(function() {
pbjs.setConfig({
realTimeData: {
auctionDelay: AUCTION_DELAY,
dataProviders: [
{
name: 'adloox',
params: { // optional, defaults shown
thresholds: [ 50, 60, 70, 80, 90 ],
slotinpath: false
}
}
]
},
instreamTracking: {
enabled: true
},
Expand Down
Loading