-
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.
Showing
1 changed file
with
64 additions
and
51 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,68 +1,81 @@ | ||
# Overview | ||
|
||
Module Name: MallTV Bidder Adapter Module | ||
|
||
Type: Bidder Adapter | ||
|
||
Maintainer: arditb@gjirafa.com | ||
Maintainer: myhedin@gjirafa.com | ||
|
||
# Description | ||
|
||
MallTV Bidder Adapter for Prebid.js. | ||
|
||
# Test Parameters | ||
|
||
```js | ||
var adUnits = [ | ||
{ | ||
code: 'test-div', | ||
mediaTypes: { | ||
banner: { | ||
sizes: [ | ||
[300, 250], | ||
[300, 300] | ||
] | ||
} | ||
{ | ||
code: "test-div", | ||
mediaTypes: { | ||
banner: { | ||
sizes: [ | ||
[300, 250], | ||
[300, 300], | ||
], | ||
}, | ||
}, | ||
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"], | ||
}, | ||
}, | ||
}, | ||
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: { | ||
context: "instream", | ||
}, | ||
}, | ||
{ | ||
code: 'test-div', | ||
mediaTypes: { | ||
video: { | ||
context: 'instream' | ||
} | ||
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"], | ||
}, | ||
}, | ||
}, | ||
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"] | ||
} | ||
} | ||
} | ||
}] | ||
} | ||
}, | ||
], | ||
}, | ||
]; | ||
``` |