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.
Gjirafa Bid Adapter: added data object as a param (prebid#6231)
* Added data parameter to gjirafaBidAdapter * Updated gjirafaBidAdapter markdown * Added test for gjirafaBidAdapter
- Loading branch information
1 parent
2825a70
commit 38150c5
Showing
3 changed files
with
73 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,67 @@ | ||
# Overview | ||
Module Name: Gjirafa Bidder Adapter Module | ||
Type: Bidder Adapter | ||
Maintainer: drilon@gjirafa.com | ||
Module Name: Gjirafa Bidder Adapter Module | ||
|
||
Type: Bidder Adapter | ||
|
||
Maintainer: arditb@gjirafa.com | ||
|
||
# Description | ||
Gjirafa Bidder Adapter for Prebid.js. | ||
|
||
# Test Parameters | ||
```js | ||
var adUnits = [ | ||
{ | ||
code: 'test-div', | ||
mediaTypes: { | ||
banner: { | ||
sizes: [[728, 90]] | ||
sizes: [ | ||
[728, 90] | ||
] | ||
} | ||
}, | ||
bids: [ | ||
{ | ||
bidder: 'gjirafa', | ||
params: { | ||
propertyId: '105227', | ||
placementId: '846841' | ||
bids: [{ | ||
bidder: 'gjirafa', | ||
params: { | ||
propertyId: '105227', //Required | ||
placementId: '846841', //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: 'gjirafa', | ||
params: { | ||
propertyId: '105227', | ||
placementId: '846836' | ||
bids: [{ | ||
bidder: 'gjirafa', | ||
params: { | ||
propertyId: '105227', //Required | ||
placementId: '846836', //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