-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Onetag bid Adapter: added video support. (#4986)
* Cambia nome variabile us privacy in getUserSyncs * Onetag bid adapter: Added video support and minor code refactoring * Fix for linter * Onetag Bid Adapter: code refactoring, added testing params and updated adapter tests * Onetag Bid Adapter: minor code refactoring Co-authored-by: valentino <[email protected]> Co-authored-by: Nicola <ciao@ciao>
- Loading branch information
1 parent
7c45626
commit b9676bf
Showing
3 changed files
with
315 additions
and
114 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,27 +8,39 @@ Maintainer: [email protected] | |
|
||
# Description | ||
|
||
OneTag Bid Adapter supports only banner at present. | ||
OneTag Bid Adapter supports banner and video at present. | ||
|
||
# Test Parameters | ||
``` | ||
var adUnits = [ | ||
{ | ||
code: "test-div", | ||
code: "banner-space", | ||
mediaTypes: { | ||
banner: { | ||
sizes: [[300, 250]] | ||
} | ||
}, | ||
bids: [ | ||
{ | ||
bidder: "onetag", | ||
params: { | ||
pubId: "your_publisher_id", // required | ||
type: "banner" // optional. Default "banner" | ||
}, | ||
bids: [{ | ||
bidder: "onetag", | ||
params: { | ||
pubId: "your_publisher_id" // required, testing pubId: "386276e072" | ||
} | ||
] | ||
}]; | ||
}] | ||
}, { | ||
code: 'video-space', | ||
mediaTypes: { | ||
video: { | ||
context: "instream", | ||
mimes: ["video/mp4", "video/webm", "application/javascript", "video/ogg"], | ||
playerSize: [640,480] | ||
} | ||
}, | ||
bids: [{ | ||
bidder: "onetag", | ||
params: { | ||
pubId: "your_publisher_id" // required, testing pubId: "386276e072" | ||
} | ||
}] | ||
}]; | ||
``` |
Oops, something went wrong.