forked from prebid/Prebid.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Malltv Bid Adapter : added data object as a param (prebid#6232)
* Updated malltv adapter * Updated markdown * Added test for malltvBidAdapter
- Loading branch information
ardit-baloku
authored
Jan 29, 2021
1 parent
136ad4c
commit f613117
Showing
3 changed files
with
74 additions
and
26 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 |
---|---|---|
@@ -1,45 +1,68 @@ | ||
# Overview | ||
Module Name: MallTV Bidder Adapter Module | ||
Type: Bidder Adapter | ||
Maintainer: [email protected] | ||
Module Name: MallTV Bidder Adapter Module | ||
|
||
Type: Bidder Adapter | ||
|
||
Maintainer: [email protected] | ||
|
||
# Description | ||
MallTV Bidder Adapter for Prebid.js. | ||
|
||
# Test Parameters | ||
```js | ||
var adUnits = [ | ||
{ | ||
code: 'test-div', | ||
mediaTypes: { | ||
banner: { | ||
sizes: [[300, 250], [300, 300]] | ||
sizes: [ | ||
[300, 250], | ||
[300, 300] | ||
] | ||
} | ||
}, | ||
bids: [ | ||
{ | ||
bidder: 'malltv', | ||
params: { | ||
propertyId: '105134', | ||
placementId: '846832' | ||
bids: [{ | ||
bidder: 'malltv', | ||
params: { | ||
propertyId: '105134', //Required | ||
placementId: '846832', //Required | ||
data: { //Optional | ||
catalogs: [{ | ||
catalogId: 9, | ||
items: ["193", "4", "1"] | ||
}], | ||
inventory: { | ||
category: ["tech"], | ||
query: ["iphone 12"] | ||
} | ||
} | ||
} | ||
] | ||
}] | ||
}, | ||
{ | ||
code: 'test-div', | ||
mediaTypes: { | ||
video: { | ||
video: { | ||
context: 'instream' | ||
} | ||
} | ||
}, | ||
bids: [ | ||
{ | ||
bidder: 'malltv', | ||
params: { | ||
propertyId: '105134', | ||
placementId: '846841' | ||
bids: [{ | ||
bidder: 'malltv', | ||
params: { | ||
propertyId: '105134', //Required | ||
placementId: '846832', //Required | ||
data: { //Optional | ||
catalogs: [{ | ||
catalogId: 9, | ||
items: ["193", "4", "1"] | ||
}], | ||
inventory: { | ||
category: ["tech"], | ||
query: ["iphone 12"] | ||
} | ||
} | ||
} | ||
] | ||
}] | ||
} | ||
]; | ||
``` |
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