forked from prebid/Prebid.js
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apacdex Bid Adapter: add support for meta.advertiserDomains, add and …
…update sample adunit, validate dealId field from server response, add support Price Floors Module (prebid#6711)
- Loading branch information
1 parent
844fe28
commit 801d208
Showing
3 changed files
with
153 additions
and
20 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 |
---|---|---|
|
@@ -11,7 +11,7 @@ Maintainer: [email protected] | |
Connects to APAC Digital Exchange for bids. | ||
Apacdex bid adapter supports Banner and Video (Instream and Outstream) ads. | ||
|
||
# Test Parameters | ||
# Sample Banner Ad Unit | ||
``` | ||
var adUnits = [ | ||
{ | ||
|
@@ -26,31 +26,79 @@ var adUnits = [ | |
bidder: 'apacdex', | ||
params: { | ||
siteId: 'apacdex1234', // siteId provided by Apacdex | ||
floorPrice: 0.01, // default is 0.01 if not declared | ||
} | ||
} | ||
] | ||
} | ||
]; | ||
``` | ||
|
||
# Video Test Parameters | ||
# Sample Video Ad Unit: Instream | ||
``` | ||
var videoAdUnit = { | ||
code: 'test-div', | ||
sizes: [[640, 480]], | ||
mediaTypes: { | ||
video: { | ||
playerSize: [[640, 480]], | ||
context: 'instream' | ||
context: "instream" | ||
api: [2], | ||
placement: 1, | ||
skip: 1, | ||
linearity: 1, | ||
minduration: 1, | ||
maxduration: 120, | ||
mimes: ["video/mp4", "video/x-flv", "video/x-ms-wmv", "application/vnd.apple.mpegurl", "application/x-mpegurl", "video/3gpp", "video/mpeg", "video/ogg", "video/quicktime", "video/webm", "video/x-m4v", "video/ms-asf", video/x-msvideo"], | ||
playbackmethod: [6], | ||
startdelay: 0, | ||
protocols: [1, 2, 3, 4, 5, 6] | ||
}, | ||
}, | ||
bids: [ | ||
{ | ||
bidder: 'apacdex', | ||
params: { | ||
siteId: 'apacdex1234', // siteId provided by Apacdex | ||
floorPrice: 0.01, // default is 0.01 if not declared | ||
} | ||
} | ||
] | ||
}; | ||
``` | ||
``` | ||
mediaTypes.video object reference to section 3.2.7 Object: Video in the OpenRTB 2.5 document | ||
You must review all video parameters to ensure validity for your player and DSPs | ||
|
||
# Sample Video Ad Unit: Outstream | ||
``` | ||
var videoAdUnit = { | ||
code: 'test-div', | ||
sizes: [[410, 231]], | ||
mediaTypes: { | ||
video: { | ||
playerSize: [[410, 231]], | ||
context: "outstream" | ||
api: [2], | ||
placement: 5, | ||
linearity: 1, | ||
minduration: 1, | ||
maxduration: 120, | ||
mimes: ["video/mp4", "video/x-flv", "video/x-ms-wmv", "application/vnd.apple.mpegurl", "application/x-mpegurl", "video/3gpp", "video/mpeg", "video/ogg", "video/quicktime", "video/webm", "video/x-m4v", "video/ms-asf", video/x-msvideo"], | ||
playbackmethod: [6], | ||
startdelay: 0, | ||
protocols: [1, 2, 3, 4, 5, 6] | ||
}, | ||
}, | ||
bids: [ | ||
{ | ||
bidder: 'apacdex', | ||
params: { | ||
siteId: 'apacdex1234', // siteId provided by Apacdex | ||
floorPrice: 0.01, // default is 0.01 if not declared | ||
} | ||
} | ||
] | ||
}; | ||
``` | ||
mediaTypes.video object reference to section 3.2.7 Object: Video in the OpenRTB 2.5 document | ||
You must review all video parameters to ensure validity for your player and DSPs |
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