-
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.
Adf Bid Adapter: banner and video media type support added (#6726)
(cherry picked from commit 6580bf4)
- Loading branch information
Showing
3 changed files
with
399 additions
and
67 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 |
---|---|---|
|
@@ -7,15 +7,12 @@ Maintainer: [email protected] | |
# Description | ||
|
||
Module that connects to Adform demand sources to fetch bids. | ||
Only native format is supported. Using OpenRTB standard. Previous adapter name - adformOpenRTB. | ||
Banner, video and native formats are supported. Using OpenRTB standard. Previous adapter name - adformOpenRTB. | ||
|
||
# Test Parameters | ||
``` | ||
var adUnits = [ | ||
var adUnits = [{ | ||
code: '/19968336/prebid_native_example_1', | ||
sizes: [ | ||
[360, 360] | ||
], | ||
mediaTypes: { | ||
native: { | ||
image: { | ||
|
@@ -44,16 +41,36 @@ Only native format is supported. Using OpenRTB standard. Previous adapter name - | |
bids: [{ | ||
bidder: 'adf', | ||
params: { | ||
mid: 606169, // required | ||
adxDomain: 'adx.adform.net', // optional | ||
siteId: '23455', // optional | ||
priceType: 'gross' // optional, default is 'net' | ||
publisher: { // optional block | ||
id: "2706", | ||
name: "Publishers Name", | ||
domain: "publisher.com" | ||
} | ||
mid: 606169, // required | ||
adxDomain: 'adx.adform.net' // optional | ||
} | ||
}] | ||
}, { | ||
code: '/19968336/prebid_banner_example_1', | ||
mediaTypes: { | ||
banner: { | ||
sizes: [[ 300, 250 ]] | ||
} | ||
} | ||
bids: [{ | ||
bidder: 'adf', | ||
params: { | ||
mid: 1038466 | ||
} | ||
}] | ||
}, { | ||
code: '/19968336/prebid_video_example_1', | ||
mediaTypes: { | ||
video: { | ||
context: 'outstream', | ||
mimes: ['video/mp4'] | ||
} | ||
} | ||
bids: [{ | ||
bidder: 'adf', | ||
params: { | ||
mid: 822732 | ||
} | ||
}] | ||
]; | ||
}]; | ||
``` |
Oops, something went wrong.