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

Prebid.js 2.44.1 update #10

Merged
merged 161 commits into from
Dec 31, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
161 commits
Select commit Hold shift + click to select a range
741b489
Increment pre version
Oct 29, 2019
4b3bfaf
Adagio: update with external js (#4217)
osazos Oct 29, 2019
e1a62ae
add viewdeosDX whitelabel (#4231)
GeneGenie Oct 29, 2019
3ea73d4
One video display ad (#4344)
DeepthiNeeladri Oct 30, 2019
f77c0c2
fix double-urlecoded referrer (#4386)
onlsol Oct 30, 2019
2c1a8be
fix double-urlecoded referrer (#4387)
onlsol Oct 30, 2019
3f2b2c2
fix double-urlecoded referer (#4388)
onlsol Oct 30, 2019
9409959
PulsePoint Adapter - update for ttl logic (#4400)
anand-venkatraman Oct 30, 2019
1231f72
IdentityLink - add logic for sending consent string (#4346)
mamatic Oct 30, 2019
6659a88
Fix adagio analytics adapter circleci (#4409)
Oct 31, 2019
a629797
Feature/7xbid remove unneeded params (#4402)
7XBID00 Nov 1, 2019
2f62690
Remove none ssl (#4406)
stevealliance Nov 1, 2019
328cc3a
fixed reference to global object (#4412)
monofonik Nov 1, 2019
4f9ee48
ucfunnel adapter support supply chain (#4383)
Nov 1, 2019
6893745
LiveIntent support in RP Adapter and PBS Adapter update to pass segme…
Nov 1, 2019
f7adc4e
Rubicon Adapter: Add multiple sizes to sizeMap (#4407)
ACannuniRP Nov 1, 2019
5b2d298
Add Utils to remove item in LocalStorage (#4355)
Swiiip Nov 4, 2019
726f0e1
Making originalCpm and originalCurrency fields in bid object always a…
pm-harshad-mane Nov 4, 2019
96694a2
Placement and inventory (#4353)
DeepthiNeeladri Nov 4, 2019
e4cf432
Fixes for Platform One Analytics Adapter (#4359)
hbanalytics Nov 4, 2019
855df1c
Added protocol to url (#4395)
skazedo Nov 4, 2019
8564b09
Update emoteev endpoints (#4329)
piotr-yuxuan Nov 4, 2019
dfabf6d
JustPremium: Update to Prebid 3.0 (#4410)
Nov 4, 2019
70cec05
Update underdogmedia adapter for pbjs 3.0 (#4390)
mash-a Nov 5, 2019
af47dbf
Update Consumable adapter for Prebid.js 3.0 (#4401)
djcsdy Nov 5, 2019
23c2eba
CriteoId User Module (#4287)
Swiiip Nov 5, 2019
afdce98
2019/10/18 Create Mobsmart bidder adapter (#4339)
kpis-msa Nov 5, 2019
b231d1e
Adpod deal support (#4389)
jaiminpanchal27 Nov 5, 2019
d9ae40d
remove querystringify package (#4422)
jaiminpanchal27 Nov 5, 2019
5ee05be
Browsi real time data module (#4114)
omerDotan Nov 6, 2019
19ab269
Prebid 2.39.0 Release
jsnellbaker Nov 6, 2019
01ee2da
increment pre version
jsnellbaker Nov 6, 2019
00abeec
OpenX Adapter: Prebid 3.0 Compatibility Update (#4413)
jimee02 Nov 7, 2019
04ba41a
GumGum: use mediaTypes.banner.sizes (#4416)
susyt Nov 7, 2019
4dc5326
RTBhouse Bid Adapter update for 3.0 (#4428)
Marcian123 Nov 7, 2019
bb39e29
add viewable rendering format (#4201)
koji-eguchi Nov 7, 2019
10de409
Feature/adapter (#4219)
sourabhg Nov 8, 2019
7f7f6ed
PulsePoint Bid Adapter: Support for schain (#4433)
anand-venkatraman Nov 8, 2019
28d242d
Add supply chain support for Teads adapter (#4420)
aandrieu Nov 8, 2019
12b7eed
Rubicon: support SupplyChain (schain) (#4315)
tjeastmond Nov 8, 2019
387f1c9
Add 1ad4good bidder (#4081)
vladgurgov Nov 11, 2019
a74ac56
Improve Digital adapter fix: don't send sizes for instream video (#4427)
jbartek25 Nov 11, 2019
c586809
Fix a typo in code comment (#4450)
dlackty Nov 11, 2019
406f638
Inventory id and schain support for display (#4426)
DeepthiNeeladri Nov 11, 2019
27cc77f
Update coinzillaBidAdapter.js (#4438)
arkan303 Nov 11, 2019
113a9fe
Support schain in ZEDO adapter (#4441)
skazedo Nov 11, 2019
454cf34
PubMatic supporting updated Criteo User Id module (#4431)
pm-harshad-mane Nov 11, 2019
33fd314
Remove duplicate param to fix unit tests (#4459)
msm0504 Nov 12, 2019
5f2a9fe
Brightcom Bid Adapter update for 3.0 (#4343)
vyatsun Nov 12, 2019
fee78e8
add support for min_height field in pbs native requests (#4434)
jsnellbaker Nov 12, 2019
61dfe59
Supporting Alias via Video Requests (#4460)
robertrmartinez Nov 12, 2019
c1aeb2f
New adapter Proxistore (#4365)
vincentproxistore Nov 12, 2019
ae6b818
Implementation of setBidderConfig and bidder-specific data (#4334)
snapwich Nov 13, 2019
22d854d
Prebid 2.40.0 Release
Nov 14, 2019
2e77960
Increment pre version
Nov 14, 2019
876e443
Conversant Bid Adapter checks pubcid directly (#4430)
pycnvr Nov 14, 2019
ac2f8e5
Cookie Sync functionality (#4457)
rade-popovic Nov 14, 2019
58f839c
Staq Adapter: update with meta envelope (#4372)
mquirion Nov 15, 2019
d7ff0e0
Rhythmone Adapter - schain support (#4414)
Nov 18, 2019
e743a00
Media.net Adapter: Support Prebid 3.0 (#4378)
binoy-chitale Nov 18, 2019
db85787
Vi Adapter: Passes additional param in the bid request (#4134)
alpadotsh Nov 18, 2019
568c83e
Sovrn adapter updates: schain, digitrust, pixel syncing, and 3.0 upgr…
aprakash-sovrn Nov 18, 2019
fc6756a
TheMediaGrid Bid Adapter update (#4447)
TheMediaGrid Nov 18, 2019
b2f4e09
Conversant Bid Adapter adds support for extended ids (#4462)
pycnvr Nov 18, 2019
287bc33
Adkernel 3.0 compatibility (#4477)
ckbo3hrk Nov 18, 2019
f4c1980
Rubicon Adapter pchain support (#4480)
harpere Nov 19, 2019
cfe6133
Implemented changes required to provide support for video in the IX b…
ix-prebid-support Nov 19, 2019
5d756cc
Default size filter & KVP support (#4452)
stevealliance Nov 19, 2019
f82d541
add id5id to prebid server bid adapter (#4468)
smenzer Nov 19, 2019
f1c7972
Added _pbjsGlobals for tracking renames. Resolves #4254 (#4419)
mkendall07 Nov 20, 2019
ed760f5
Feature/smart video (#4367)
tadam75 Nov 20, 2019
58319b8
do not select element that gets removed after dfp render (#4423)
vkimcm Nov 20, 2019
16aad1f
add smms adapter (#4439)
songtungmtp Nov 20, 2019
0b9bf01
Prebid 2.41.0 release
Nov 20, 2019
a7f5095
Increment pre version
Nov 20, 2019
635c7cc
adds schain param (#4442)
susyt Nov 21, 2019
9df0e92
Create newborntownWeb adapter (#4455)
z-sunshine Nov 22, 2019
103c64b
Provide criteoId to server by user.ext.eids (#4478)
bmwcmw Nov 25, 2019
29a544c
ucfunnel adapter fix error message in debug mode (#4338)
Nov 25, 2019
e964dbb
explicitly check undefined to allow falsey values in getConfig (#4486)
snapwich Nov 25, 2019
373f593
Conversant Bid Adapter handles vast xml (#4492)
pycnvr Nov 25, 2019
2b222b7
[feature] Add a config list of submodules that require refreshing the…
eyas-ranjous Nov 26, 2019
d2a7f99
Prebid 2.42.0 Release
bretg Nov 26, 2019
e4d8b4f
Increment pre version
bretg Nov 26, 2019
0e73e6c
Make adhese adapter prebid 3.0 compatible (#4507)
sander-adhese Nov 27, 2019
dcf904b
BugFix: Site id missing (#4467)
DeepthiNeeladri Nov 28, 2019
c4d9d07
Invisibly analytics adapter (#4470)
Hassija Dec 2, 2019
2d94094
Colossus adapter changes for Prebid 3.0 (#4476)
Dec 2, 2019
d3b75d2
New alias for adkernel adapter (#4512)
ckbo3hrk Dec 2, 2019
415c930
adagioAnalyticsAdapter: fix inconsistent tests (#4417)
osazos Dec 2, 2019
41d1d5d
PubMatic adapter avoiding deprecated utils APIs (#4521)
pm-harshad-mane Dec 2, 2019
d08891d
Vuble Adapter adaptations for Prebid 3.0 (#4499)
Roffray Dec 2, 2019
84818c9
quantcastBidAdapter update for 3.0 (#4451)
dpapworth-qc Dec 2, 2019
c2d9c70
Orbidder Bid Adapter adds withCredentials=true header for bid and win…
RainerVolk4014 Dec 2, 2019
5b12e6a
InvibesBidAdapter - kw support (#4488)
rcheptanariu Dec 3, 2019
0925112
logError for missing s2s adapter (#4498)
jonapgar Dec 3, 2019
3af10ac
Change protocol to https (#4513)
TinchoF Dec 3, 2019
94233d4
adxcgBidAdapter prebid 3.0 requirements compatibility (#4514)
adxcgcom Dec 3, 2019
32aef56
Add schain support for LockerDome adapter (#4360)
margsliu Dec 3, 2019
aba3689
adxcgAnalyticsAdapter.js prebid 3.0 requirements compatibility (#4515)
adxcgcom Dec 4, 2019
931e2d2
Add britepool userid submodule (#4314)
bansawbanchee Dec 4, 2019
0677a84
PrebidServerBidAdapter CCPA (USP) Support (#4501)
harpere Dec 4, 2019
f415290
cedato adapter added additional req info (#4508)
alexkh13 Dec 4, 2019
d8ab705
RubiconBidAdapter: CCPA (USP) Support (#4530)
msm0504 Dec 4, 2019
94fb2db
Update adxcgBidAdapter.md - moved sizes to mediaType.sizes (#4526)
adxcgcom Dec 4, 2019
a30fc62
CCPA additions (#4502)
tjeastmond Dec 4, 2019
8ccf2b9
JustPremium: Disable 'btm' requests (#4511)
Dec 4, 2019
484beb2
PubMatic to support Britepool User ID (#4532)
pm-harshad-mane Dec 4, 2019
2450f2f
adding ccpa support for appnexus bid adapter (#4531)
jaiminpanchal27 Dec 4, 2019
0f2c546
Prebid 2.43.0 release
jsnellbaker Dec 4, 2019
3528dd0
increment pre version
jsnellbaker Dec 4, 2019
26dce88
ucfunnelAnalyticsAdapter (#4432)
Dec 4, 2019
6b69fcf
ucfunnel adapter add bidfloor parameter (#4495)
Dec 5, 2019
7777359
Added AstraOne adapter (#4475)
astraone-ssp Dec 5, 2019
8e12e5f
PubMatic bid adapter to support CCPA/USP (#4533)
pm-harshad-mane Dec 6, 2019
c037292
Update adxcgBidAdapter.js - native fix (#4534)
adxcgcom Dec 9, 2019
d1adb84
Update adxcgBidAdapter.js - native fix (#4534)
adxcgcom Dec 9, 2019
1a30dea
Added US Privacy support in TrustX Bid Adapter (#4529)
PWyrembak Dec 9, 2019
d45523c
Trion interactive query param additions (#4522)
grohm33 Dec 9, 2019
3c853dc
ShowHeroes Adapter - naming convention issue (#4525)
vadim-mazzherin Dec 9, 2019
4eb1e44
Adkernel: tmax support (#4548)
ckbo3hrk Dec 9, 2019
b640d0b
move uspDataHandler out of gdprDataHandler (#4562)
jsnellbaker Dec 9, 2019
42d856b
Rubicon bid adapter: fix netRev (#4552)
robertrmartinez Dec 9, 2019
1a1dd2f
RichAudience: Support userIDs + Prebid 3.0 (#4504)
richaudience Dec 10, 2019
2a5cfaa
CCPA and Schain support (#4537)
Dec 10, 2019
847b353
added check in register syncs to not sync aliased bidders (#4435)
Dec 10, 2019
99a1822
GumGum: adds inScreenPubID param (#4490)
susyt Dec 10, 2019
5b57f48
Use 'pubcid.org' as the source for pubcid in extended IDs (#4561)
pycnvr Dec 10, 2019
df35628
added additional ad unit counters (#4448)
alexkh13 Dec 10, 2019
a7c5b80
Add viewability to e-planning bid adapter (#4471)
fndigrazia Dec 10, 2019
5047aff
adformBidAdapter. Outstream renderer condition (#4523)
bratrahim Dec 10, 2019
6de3474
feat(displaymanager): added displaymanager and version with user obje…
sourabhg Dec 10, 2019
5926b49
Fix for Outstream and MediaTypePriceGranularity (#4544)
Dec 10, 2019
ca5cdcf
PubMatic to use source value 'pubcid.org' for pubcommonId (#4570)
pm-harshad-mane Dec 11, 2019
21dcd5a
Conversant adapter CCPA support (#4569)
pycnvr Dec 11, 2019
7c0c732
PulsePoint: CCPA and new UserId partner integration (#4565)
anand-venkatraman Dec 11, 2019
745fc12
Add support for TradeDeskID in spotxBidAdapter. (#4564)
npeceniak Dec 11, 2019
11e8113
adding ccpa support for emx_digital adapter (#4563)
EMXDigital Dec 11, 2019
8593acc
QC CCPA support (#4557)
dpapworth-qc Dec 11, 2019
317aaa3
Onevideo Adaptor ccpa support (#4558)
DeepthiNeeladri Dec 11, 2019
01450f5
PubMatic to send test:1 in the request if pubmaticTest=true is presen…
pm-harshad-mane Dec 11, 2019
04c775f
Pass CCPA consent string to all endpoints (#4536)
slimkrazy Dec 11, 2019
ac50184
Gamoshi: Add missing user object (#4519)
Dec 11, 2019
8c4039b
ucfunnel adapter change cookie sync setting (#4535)
Dec 11, 2019
4de8eb7
E2e mock server (#4456)
sumit116 Dec 11, 2019
75036f2
TripleLift: User sync fallback (#4509)
davidwoodsandersen Dec 11, 2019
367cd6f
Add US privacy data support for LockerDome adapter (#4575)
margsliu Dec 11, 2019
693087b
add notifyUrl and redir url (#4489)
sumit116 Dec 11, 2019
dc4b319
Prebid 2.44.0 release
Dec 11, 2019
d54c0a6
Increment pre version
Dec 11, 2019
9ba8031
Somo: fix an issue where the requestId was being set to the wrong val…
Dec 17, 2019
f799046
Sovrn ccpa support legacy (#4623)
aprakash-sovrn Dec 17, 2019
094d921
TripleLift: CCPA legacy support (#4641)
davidwoodsandersen Dec 18, 2019
bc1f991
pbsBidAdapter currency fix for legacy branch (#4642)
bretg Dec 18, 2019
105313b
Prebid 2.44.1 Release
jsnellbaker Dec 18, 2019
01be180
Revert "Prebid 2.44.1 Release"
jsnellbaker Dec 18, 2019
c575ae2
fix a bug when the iframe locator is not present on page (#4637)
mkendall07 Dec 18, 2019
4f030d7
Prebid 2.44.1 Release
jsnellbaker Dec 18, 2019
62acab2
Merge tag '2.44.1' into pbjs-2.44.1-update
bradchoate Dec 23, 2019
633be72
Adding consentManagement module for hubpages
bradchoate Dec 23, 2019
723a6f3
Adds consentManagementUsp module.
bradchoate Dec 26, 2019
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
25 changes: 24 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ var prebid = require('./package.json');
var dateString = 'Updated : ' + (new Date()).toISOString().substring(0, 10);
var banner = '/* <%= prebid.name %> v<%= prebid.version %>\n' + dateString + ' */\n';
var port = 9999;
const mockServerPort = 4444;
const host = argv.host ? argv.host : 'localhost';
const { spawn } = require('child_process');

// these modules must be explicitly listed in --modules to be included in the build, won't be part of "all" modules
var explicitModules = [
Expand Down Expand Up @@ -234,12 +237,26 @@ function test(done) {
wdioConf
];
}

//run mock-server
const mockServer = spawn('node', ['./test/mock-server/index.js', '--port='+mockServerPort]);
mockServer.stdout.on('data', (data) => {
console.log(`stdout: ${data}`);
});
mockServer.stderr.on('data', (data) => {
console.log(`stderr: ${data}`);
});

execa(wdioCmd, wdioOpts, { stdio: 'inherit' })
.then(stdout => {
//kill mock server
mockServer.kill('SIGINT');
done();
process.exit(0);
})
.catch(err => {
//kill mock server
mockServer.kill('SIGINT');
done(new Error(`Tests failed with error: ${err}`));
process.exit(1);
});
Expand Down Expand Up @@ -309,6 +326,12 @@ function setupE2e(done) {
done();
}

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

// support tasks
gulp.task(lint);
gulp.task(watch);
Expand All @@ -334,7 +357,7 @@ gulp.task('build-postbid', gulp.series(escapePostbidConfig, buildPostbid));
gulp.task('serve', gulp.series(clean, lint, gulp.parallel('build-bundle-dev', watch, test)));
gulp.task('default', gulp.series(clean, makeWebpackPkg));

gulp.task('e2e-test', gulp.series(clean, setupE2e, gulp.parallel('build-bundle-prod', watch), test))
gulp.task('e2e-test', gulp.series(clean, setupE2e, gulp.parallel('build-bundle-prod', watch), 'updatepath', test));
// other tasks
gulp.task(bundleToStdout);
gulp.task('bundle', gulpBundle.bind(null, false)); // used for just concatenating pre-built files with no build step
Expand Down
2 changes: 2 additions & 0 deletions hpmodules.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
"33acrossBidAdapter",
"aolBidAdapter",
"appnexusBidAdapter",
"consentManagement",
"consentManagementUsp",
"emx_digitalBidAdapter",
"audienceNetworkBidAdapter",
"ixBidAdapter",
Expand Down
122 changes: 61 additions & 61 deletions integrationExamples/gpt/hello_world.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,84 +8,84 @@
-->

<html>
<head>
<script async src="../../build/dev/prebid.js"></script>
<script async src="https://www.googletagservices.com/tag/js/gpt.js"></script>
<script>
<head>
<script async src="../../build/dev/prebid.js"></script>
<script async src="https://www.googletagservices.com/tag/js/gpt.js"></script>
<script>
var FAILSAFE_TIMEOUT = 3300;
var PREBID_TIMEOUT = 1000;

var adUnits = [{
code: 'div-gpt-ad-1460505748561-0',
mediaTypes: {
banner: {
sizes: [[300, 250], [300,600]],
}
},
// Replace this object to test a new Adapter!
bids: [{
bidder: 'appnexus',
params: {
placementId: 13144370
}
}]
code: 'div-gpt-ad-1460505748561-0',
mediaTypes: {
banner: {
sizes: [[300, 250], [300,600]],
}
},
// Replace this object to test a new Adapter!
bids: [{
bidder: 'appnexus',
params: {
placementId: 13144370
}
}]

}];

var pbjs = pbjs || {};
pbjs.que = pbjs.que || [];
</script>
<script>

</script>

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

pbjs.que.push(function() {
pbjs.addAdUnits(adUnits);
pbjs.requestBids({
bidsBackHandler: sendAdserverRequest,
timeout: PREBID_TIMEOUT
});
pbjs.addAdUnits(adUnits);
pbjs.requestBids({
bidsBackHandler: sendAdserverRequest,
timeout: PREBID_TIMEOUT
});
});

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

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

</script>

<script>
googletag.cmd.push(function () {
googletag.defineSlot('/19968336/header-bid-tag-0', [[300, 250], [300, 600]], 'div-gpt-ad-1460505748561-0').addService(googletag.pubads());
googletag.pubads().enableSingleRequest();
googletag.enableServices();
googletag.defineSlot('/19968336/header-bid-tag-0', [[300, 250], [300, 600]], 'div-gpt-ad-1460505748561-0').addService(googletag.pubads());

googletag.pubads().enableSingleRequest();
googletag.enableServices();
});
</script>
</head>
<body>
<h2>Prebid.js Test</h2>
<h5>Div-1</h5>
<div id='div-gpt-ad-1460505748561-0'>
<script type='text/javascript'>
</script>
</head>

<body>
<h2>Prebid.js Test</h2>
<h5>Div-1</h5>
<div id='div-gpt-ad-1460505748561-0'>
<script type='text/javascript'>
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1460505748561-0'); });
</script>
</div>
</body>
</html>
</script>
</div>
</body>
</html>
118 changes: 118 additions & 0 deletions integrationExamples/gpt/proxistore_example.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
<html>

<head>
<script async src="../../build/dev/prebid.js"></script>
<script async src="https://www.googletagservices.com/tag/js/gpt.js"></script>
<script>
var FAILSAFE_TIMEOUT = 3300;
var PREBID_TIMEOUT = 1000;

var adUnits = [
{
code: 'div-test-half-page',
mediaTypes: {
banner: {
sizes: [[300, 600]]
}
},
bids: [
{
bidder: 'proxistore',
params: {
website: 'example.com',
language: 'fr'
}
}]
},
{
code: 'rectangle',
mediaTypes: {
banner: {
sizes: [[300, 250]]
}
},
bids: [{
bidder: 'proxistore',
params: {
website: 'example.com',
language: 'fr'
}
}]
},
{
code: 'leaderboard',
mediaTypes: {
banner: {
sizes: [[970, 250]]
}
},
bids: [{
bidder: 'proxistore',
params: {
website: 'example.com',
language: 'fr'
}
}]
}
];

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

</script>

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

pbjs.que.push(function () {
pbjs.addAdUnits(adUnits);
pbjs.requestBids({
bidsBackHandler: sendAdserverRequest,
timeout: PREBID_TIMEOUT
});
});

function sendAdserverRequest() {
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>
googletag.cmd.push(function () {
googletag.defineSlot('/19968336/header-bid-tag-0', [[300, 250], [300, 600]], 'div-test-half-page').addService(googletag.pubads());

googletag.pubads().enableSingleRequest();
googletag.enableServices();
});
</script>
</head>

<body>
<h2>Prebid.js Test</h2>

<h5>Div-1</h5>

<div id='div-test-half-page'>
<script type='text/javascript'>
googletag.cmd.push(function () { googletag.display('div-test-half-page'); });
</script>
</div>
</body>

</html>
1 change: 1 addition & 0 deletions modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"aolBidAdapter",
"appnexusBidAdapter",
"consentManagement",
"consentManagementUsp",
"consumableBidAdapter",
"dfpAdServerVideo",
"emx_digitalBidAdapter",
Expand Down
7 changes: 6 additions & 1 deletion modules/.submodules.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,15 @@
"id5IdSystem",
"criteortusIdSystem",
"parrableIdSystem",
"liveIntentIdSystem"
"britepoolIdSystem",
"liveIntentIdSystem",
"criteoIdSystem"
],
"adpod": [
"freeWheelAdserverVideo",
"dfpAdServerVideo"
],
"rtdModule": [
"browsiRtdProvider"
]
}
Loading