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

JW Player Bid Adapter : initial release #11344

Merged
merged 48 commits into from
Apr 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
2dd30b1
jwplayerBidAdapter module created
jorgeluisrocha Apr 19, 2022
18df888
created initial skeleton of jwplayerBidAdapter
jorgeluisrocha Apr 19, 2022
6a48b9c
cleaned up initial skeleton for jwplayerBidAdapter
jorgeluisrocha Apr 19, 2022
4978531
added description to jwplayerBidAdapter.md
jorgeluisrocha Apr 19, 2022
8f53929
created jwplayerBidAdapter unit test suite
jorgeluisrocha Apr 19, 2022
9d410f8
implemented isBidRequestValid with unit tests
jorgeluisrocha Apr 20, 2022
3480a19
initial creation of the buildRequests function
jorgeluisrocha May 9, 2022
30909e6
incorporated feedback from pr and refactored.
jorgeluisrocha May 13, 2022
e44c89b
added video object, impExt object, and site content object to jwplaye…
jorgeluisrocha May 19, 2022
1ffdf1b
added feedback from pr
jorgeluisrocha May 19, 2022
1806a93
fixed parameters for methods in jwplayerBidAdapter
jorgeluisrocha May 25, 2022
2ccf740
added feedback from pr and unit tests
jorgeluisrocha Jun 2, 2022
147170a
removed superfluous array
jorgeluisrocha Jun 2, 2022
2bc3a21
fixed nits
jorgeluisrocha Jun 7, 2022
6064e40
added feedback to jw adapter and tests for buildRequests
jorgeluisrocha Jun 8, 2022
b3092c1
added feedback
jorgeluisrocha Jun 10, 2022
13c3deb
one last feedback for request site
jorgeluisrocha Jun 10, 2022
adef057
added site object unit test
jorgeluisrocha Jun 10, 2022
c504d05
fixed buildRequestSite object
jorgeluisrocha Jun 20, 2022
d746cf4
added unit tests for site object
jorgeluisrocha Jun 20, 2022
8e54e50
fixed unit tests for buildRequestSite
jorgeluisrocha Jun 28, 2022
6b0ef47
skeleton of interpretResponse
jorgeluisrocha Jun 7, 2022
61a4705
initial attempt at interpretResponse
jorgeluisrocha Jun 13, 2022
9cd64d9
started unit test
jorgeluisrocha Jun 20, 2022
a361926
finished interpretResponse with unit test
jorgeluisrocha Jun 28, 2022
93a1fcf
populates schain as well as other params
karimMourra Jul 19, 2023
ac73525
reads schain from bidrequest
karimMourra Jul 19, 2023
3a36eaf
updates unit tests
karimMourra Jul 20, 2023
9a49f6a
improves tests
karimMourra Jul 20, 2023
7cbc23c
tests tmax
karimMourra Jul 21, 2023
22ba376
deletes obsolete comments
karimMourra Jul 21, 2023
fac8072
errors when url is missing
karimMourra Jul 24, 2023
ef51ebf
updates tests
karimMourra Jul 26, 2023
9e1ccbc
implements usersync
karimMourra Jul 26, 2023
fd93071
supports iframe sync
karimMourra Jul 26, 2023
32410de
registers user sync properly
karimMourra Jul 28, 2023
694c83b
tests user sync
karimMourra Jul 28, 2023
8ac50d9
uses boost email
karimMourra Jul 28, 2023
86414d3
improves ortb reqs
karimMourra Apr 4, 2024
be73c65
interprets response
karimMourra Apr 4, 2024
96f4527
updates tests
karimMourra Apr 5, 2024
1551e88
updates tests
karimMourra Apr 10, 2024
92430c9
removes playerSize official support
karimMourra Apr 10, 2024
432702f
adds md
karimMourra Apr 12, 2024
10f3226
updates demo
karimMourra Apr 12, 2024
491dc05
adds content url
karimMourra Apr 12, 2024
81e5dfc
adds jwplayer ssp
karimMourra Apr 12, 2024
1815c71
renames demo
karimMourra Apr 15, 2024
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
75 changes: 75 additions & 0 deletions integrationExamples/noadserver/jwplayerBidAdapter_sample.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
<!DOCTYPE html>
<html lang="en">
<head>
<script async src="../../../build/dev/prebid.js"></script>

<script>
const adUnit = {
code: 'test-ad-unit',
mediaTypes: {
video: {
pos: 0,
w: 640,
h: 480,
mimes : ['application/vnd.apple.mpegurl', 'video/mp4'],
minduration : 0,
maxduration: 60,
protocols : [2,3,7,5,6,8],
startdelay: 0,
placement: 1,
plcmt: 1,
skip: 1,
skipafter: 10,
playbackmethod: [3],
api: [2],
linearity: 1
}
},
bids: [{
bidder: 'jwplayer',
params: {
publisherId: 'test-publisher-id',
siteId: 'test-site-id',
placementId: 'test-placement-id'
}
}]
};

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

pbjs.que.push(function() {
pbjs.setConfig({
debug: true,
realTimeData: {
dataProviders: [{
name: "jwplayer",
waitForIt: true,
params: {
mediaIDs: ['test-media-id'],
overrideContentUrl: 'always',
overrideContentId: 'always',
overrideContentTitle: 'always',
overrideContentDescription: 'always'
}
}]
},
ortb2: {
site: {
content: {
url: 'test.mp4'
}
}
}
});
pbjs.addAdUnits([adUnit]);
pbjs.requestBids({
timeout: 4000
});
});
</script>
</head>
<body>

</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@
},
// Replace this object to test a new Adapter!
bids: [{
bidder: 'jwplayer',
params: {
publisherId: 'test-publisher-id',
siteId: 'test-site-id',
placementId: 'test-placement-id'
}
}, {
bidder: 'ix',
params: {
siteId: '300',
Expand Down
7 changes: 7 additions & 0 deletions integrationExamples/videoModule/jwplayer/bidMarkedAsUsed.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@
},

bids: [{
bidder: 'jwplayer',
params: {
publisherId: 'test-publisher-id',
siteId: 'test-site-id',
placementId: 'test-placement-id'
}
}, {
bidder: 'ix',
params: {
siteId: '300',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,17 @@
mediationLayerAdServer: "dfp",
bidTimeout: 2000
},
bidders: [
{
bidders: [{
bidder: 'jwplayer',
params: {
publisherId: 'test-publisher-id',
siteId: 'test-site-id',
placementId: 'test-placement-id'
}
}, {
name: "ix",
siteId: "300"
}
]
}]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@
},

bids: [{
bidder: 'jwplayer',
params: {
publisherId: 'test-publisher-id',
siteId: 'test-site-id',
placementId: 'test-placement-id'
}
}, {
bidder: 'ix',
params: {
siteId: '300',
Expand Down
7 changes: 7 additions & 0 deletions integrationExamples/videoModule/jwplayer/eventListeners.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@

// Replace this object to test a new Adapter!
bids: [{
bidder: 'jwplayer',
params: {
publisherId: 'test-publisher-id',
siteId: 'test-site-id',
placementId: 'test-placement-id'
}
}, {
bidder: 'ix',
params: {
siteId: '300',
Expand Down
7 changes: 7 additions & 0 deletions integrationExamples/videoModule/jwplayer/eventsUI.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@
},

bids: [{
bidder: 'jwplayer',
params: {
publisherId: 'test-publisher-id',
siteId: 'test-site-id',
placementId: 'test-placement-id'
}
}, {
bidder: 'ix',
params: {
siteId: '300',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@
divId: 'player', // required to indicate which player is being used to render this ad unit.
},
bids: [{
bidder: 'jwplayer',
params: {
publisherId: 'test-publisher-id',
siteId: 'test-site-id',
placementId: 'test-placement-id'
}
}, {
bidder: 'ix',
params: {
siteId: '300',
Expand Down
7 changes: 7 additions & 0 deletions integrationExamples/videoModule/jwplayer/mediaMetadata.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@
},

bids: [{
bidder: 'jwplayer',
params: {
publisherId: 'test-publisher-id',
siteId: 'test-site-id',
placementId: 'test-placement-id'
}
}, {
bidder: 'ix',
params: {
siteId: '300',
Expand Down
7 changes: 7 additions & 0 deletions integrationExamples/videoModule/jwplayer/playlist.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@
},

bids: [{
bidder: 'jwplayer',
params: {
publisherId: 'test-publisher-id',
siteId: 'test-site-id',
placementId: 'test-placement-id'
}
}, {
bidder: 'ix',
params: {
siteId: '300',
Expand Down
7 changes: 7 additions & 0 deletions integrationExamples/videoModule/videojs/bidMarkedAsUsed.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@
},

bids: [{
bidder: 'jwplayer',
params: {
publisherId: 'test-publisher-id',
siteId: 'test-site-id',
placementId: 'test-placement-id'
}
}, {
bidder: 'ix',
params: {
siteId: '300',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@
},

bids: [{
bidder: 'jwplayer',
params: {
publisherId: 'test-publisher-id',
siteId: 'test-site-id',
placementId: 'test-placement-id'
}
}, {
bidder: 'ix',
params: {
siteId: '300',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@
},

bids: [{
bidder: 'jwplayer',
params: {
publisherId: 'test-publisher-id',
siteId: 'test-site-id',
placementId: 'test-placement-id'
}
}, {
bidder: 'ix',
params: {
siteId: '300',
Expand Down
7 changes: 7 additions & 0 deletions integrationExamples/videoModule/videojs/eventListeners.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@
},

bids: [{
bidder: 'jwplayer',
params: {
publisherId: 'test-publisher-id',
siteId: 'test-site-id',
placementId: 'test-placement-id'
}
}, {
bidder: 'ix',
params: {
siteId: '300',
Expand Down
7 changes: 7 additions & 0 deletions integrationExamples/videoModule/videojs/eventsUI.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@
},

bids: [{
bidder: 'jwplayer',
params: {
publisherId: 'test-publisher-id',
siteId: 'test-site-id',
placementId: 'test-placement-id'
}
}, {
bidder: 'ix',
params: {
siteId: '300',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@
divId: 'player', // required to indicate which player is being used to render this ad unit.
},
bids: [{
bidder: 'jwplayer',
params: {
publisherId: 'test-publisher-id',
siteId: 'test-site-id',
placementId: 'test-placement-id'
}
}, {
bidder: 'ix',
params: {
siteId: '300',
Expand Down
7 changes: 7 additions & 0 deletions integrationExamples/videoModule/videojs/mediaMetadata.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@
},

bids: [{
bidder: 'jwplayer',
params: {
publisherId: 'test-publisher-id',
siteId: 'test-site-id',
placementId: 'test-placement-id'
}
}, {
bidder: 'ix',
params: {
siteId: '300',
Expand Down
7 changes: 7 additions & 0 deletions integrationExamples/videoModule/videojs/playlist.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@
},

bids: [{
bidder: 'jwplayer',
params: {
publisherId: 'test-publisher-id',
siteId: 'test-site-id',
placementId: 'test-placement-id'
}
}, {
bidder: 'ix',
params: {
siteId: '300',
Expand Down
Loading