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

Add support for aliases #5342

Merged
merged 34 commits into from
Jun 11, 2020
Merged
Show file tree
Hide file tree
Changes from 31 commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
38f3d5b
Support new aniview bid adapter
itaynave Feb 3, 2019
d50f498
Support new aniview bid adapter
itaynave Feb 6, 2019
ee8b463
Support new aniview bid adapter
itaynave Feb 6, 2019
7a4f754
Support new aniview bid adapter
itaynave Feb 6, 2019
9350489
Fix Consent parameters
itaynave Feb 7, 2019
1d4c5ed
Merge remote-tracking branch 'upstream/master'
itaynave Dec 11, 2019
4713801
Update aniviewBidAdapter.js
itaynave Dec 11, 2019
a0aa080
Update aniviewBidAdapter.js
itaynave Dec 11, 2019
5727d7b
Update aniviewBidAdapter.js
itaynave Dec 11, 2019
25064d2
Update aniviewBidAdapter.js
itaynave Dec 11, 2019
6f354e8
Update aniviewBidAdapter.js
itaynave Dec 11, 2019
f34d645
Update aniviewBidAdapter.js
itaynave Dec 11, 2019
cdfa67b
Update aniviewBidAdapter.js
itaynave Dec 12, 2019
7dac778
Update aniviewBidAdapter.js
itaynave Dec 16, 2019
3b853d5
Update aniviewBidAdapter.js
itaynave Dec 17, 2019
a24e96e
Update aniviewBidAdapter.js
itaynave Dec 18, 2019
25d24a5
Fix size and sample
itaynave Dec 20, 2019
83d3f80
Fix tabs
itaynave Dec 20, 2019
df2c8b5
Fix sizes
itaynave Dec 21, 2019
972cc66
Recheck
itaynave Dec 22, 2019
3f87a8e
Add tgt parameter
itaynave Dec 22, 2019
b7d25ef
Update sample
itaynave Dec 23, 2019
e938550
Merge remote-tracking branch 'upstream/master'
itaynave Dec 24, 2019
1ee8b75
Merge remote-tracking branch 'upstream/master'
itaynave Mar 12, 2020
6de0415
Merge remote-tracking branch 'upstream/master'
itaynave Apr 16, 2020
01863a6
Add support for cookie sync + tests
itaynave Apr 18, 2020
d056ed3
Add support for cookie sync + tests
itaynave Apr 19, 2020
c16e4a3
Merge remote-tracking branch 'upstream/master'
itaynave Apr 19, 2020
d11cca1
Add support for cookie sync + tests
itaynave Apr 19, 2020
19b8db8
Merge remote-tracking branch 'upstream/master'
itaynave Jun 8, 2020
cf29912
Support aliases
itaynave Jun 8, 2020
43fe9bb
Update
itaynave Jun 10, 2020
548eebf
Fix lint
itaynave Jun 10, 2020
aec4c09
Update spec
itaynave Jun 10, 2020
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
6 changes: 4 additions & 2 deletions modules/aniviewBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ function avRenderer(bid) {
}

function newRenderer(bidRequest) {
let playerDomain = bidRequest && bidRequest.bidRequest && bidRequest.bidRequest.params && bidRequest.bidRequest.params.playerDomain ? bidRequest.bidRequest.params.playerDomain : "player.aniview.com";
const renderer = Renderer.install({
url: 'https://player.aniview.com/script/6.1/prebidRenderer.js',
url: 'https://' + playerDomain + '/script/6.1/prebidRenderer.js',
config: {},
loaded: false,
});
Expand Down Expand Up @@ -167,7 +168,7 @@ function interpretResponse(serverResponse, bidRequest) {
let cpmData = getCpmData(xml);
if (cpmData && cpmData.cpm > 0) {
bidResponse.requestId = bidRequest.data.bidId;
bidResponse.bidderCode = BIDDER_CODE;
//bidResponse.bidderCode = BIDDER_CODE;
bidResponse.ad = '';
bidResponse.cpm = cpmData.cpm;
bidResponse.width = bidRequest.data.AV_WIDTH;
Expand Down Expand Up @@ -252,6 +253,7 @@ function getUserSyncs(syncOptions, serverResponses) {

export const spec = {
code: BIDDER_CODE,
aliases: ['selectmediavideo'],
supportedMediaTypes: [VIDEO],
isBidRequestValid,
buildRequests,
Expand Down
Loading