forked from prebid/Prebid.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* tag '7.44.0': (320 commits) Prebid 7.44.0 release Concert Bid Adapter: Enable support for additional userId's (prebid#9780) vidazoo Bid Adapter: update support of metaData (prebid#9749) Criteo Bid Adapter: Read GPP from ortb2 object (prebid#9775) OpenxOrtbAdapter: add back missing params support for coppa and video (prebid#9782) size map support (prebid#9772) Multiple bids in one request to Adrino Adserver (prebid#9742) Multiple modules: decouple GVL IDs from storage access control (prebid#9736) Update gumgumBidAdapter.js (prebid#9779) appnexus bid adapter - add gvlids to aliases (prebid#9777) Update undertoneBidAdapter.js (prebid#9778) PubMatic Bid Adapter: native 1.2 support (prebid#9701) Criteo ID Module: Add error callback for pixel sync call (prebid#9754) TTD Bid Adapter: add support for video.plcmt and imp.rwdd (prebid#9762) BrightcomSSP, Brightcom: remove options overide from buildRequests (prebid#9753) AIDEM Bid Adapter: extended app/site parameters on win notice (prebid#9765) ZetaGlobalSsp Bid Adapter: provide tagid from params (prebid#9764) Craft Bid Adapter : update for imuIdSystem (prebid#9757) LocalStorage availability logging (prebid#9755) Greenbids Analytics Adapter: create new analytics adapter for Greenbids (prebid#9690) ...
- Loading branch information
Showing
475 changed files
with
32,806 additions
and
10,899 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
[ | ||
"NATIVE" | ||
"NATIVE", | ||
"VIDEO" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<meta name='viewport' | ||
content='width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1'> | ||
<style> | ||
html, | ||
body { | ||
height: 100%; | ||
margin: 0; | ||
padding: 0; | ||
overflow: hidden; | ||
} | ||
|
||
#lemmaAd { | ||
height: 100% !important; | ||
max-height: 100%; | ||
text-align: center; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
resize: vertical; | ||
margin: 0 auto; | ||
position: relative; | ||
object-fit: fill; | ||
} | ||
</style> | ||
<script> | ||
var PREBID_TIMEOUT = 3300; | ||
|
||
var googletag = googletag || {}; | ||
googletag.cmd = googletag.cmd || []; | ||
|
||
var bannerAdUnits = [{ | ||
code: 'banner-div', | ||
mediaTypes: { | ||
banner: { | ||
sizes: [ | ||
[728, 90] | ||
] | ||
} | ||
}, | ||
bids: [{ | ||
bidder: 'lemmadigital', | ||
params: { | ||
pubId: 975, // required | ||
adunitId: '20134', // required | ||
device_type: 2, | ||
} | ||
}] | ||
}]; | ||
var videoAdUnits = [{ | ||
code: 'video1', | ||
sizes: [ | ||
[1920, 1080] | ||
], | ||
mediaTypes: { | ||
video: { | ||
playerSize: [1920, 1080], // required | ||
context: 'instream' | ||
} | ||
}, | ||
// Replace this object to test a new Adapter! | ||
bids: [{ | ||
bidder: 'lemmadigital', | ||
params: { | ||
pubId: 975, // required | ||
adunitId: '20134', // required | ||
latitude: 34.9578, | ||
longitude: -85.3012, | ||
device_type: 3, | ||
ifa: "ae59889b-d5bb-444b-892b-57057463d584", | ||
video: { | ||
minduration: 3, | ||
maxduration: 300, | ||
protocols: [ | ||
2, | ||
3, | ||
5, | ||
6, | ||
7, | ||
8 | ||
], | ||
skippable: true, | ||
playback_method: ['auto_play_sound_off'], | ||
mimes: ['video/x-flv', | ||
"video/mp4", | ||
"video/mpeg", | ||
"video/ogg", | ||
"video/webm", | ||
"application/javascript"], // required | ||
} | ||
} | ||
}] | ||
}]; | ||
var pbjs = pbjs || {}; | ||
pbjs.que = pbjs.que || []; | ||
</script> | ||
<script async src="../../build/dev/prebid.js"></script> | ||
<script> | ||
pbjs.que.push(function () { | ||
pbjs.setConfig({ | ||
debug: true | ||
}); | ||
pbjs.addAdUnits(videoAdUnits); | ||
pbjs.requestBids({ | ||
timeout: PREBID_TIMEOUT, | ||
bidsBackHandler: function (bids) { | ||
var highestCpmBids = pbjs.getHighestCpmBids('banner-div'); | ||
if (highestCpmBids.length) { | ||
var doc = document.getElementById('banner-div'); | ||
pbjs.renderAd(doc.contentWindow.document, highestCpmBids[0].adId); | ||
} | ||
} | ||
}); | ||
}); | ||
|
||
</script> | ||
</head> | ||
|
||
<body> | ||
<div id='lemmaAd'> | ||
<div id="banner-div"></div> | ||
<iframe id='video1' frameBorder="0"></iframe> | ||
</div> | ||
</body> | ||
|
||
</html> |
Oops, something went wrong.