-
Notifications
You must be signed in to change notification settings - Fork 744
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
483 additions
and
60 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
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
141 changes: 141 additions & 0 deletions
141
adapters/ogury/ogurytest/exemplary/banner_multi_imp_with_params.json
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 |
---|---|---|
@@ -0,0 +1,141 @@ | ||
{ | ||
"mockBidRequest": { | ||
"id": "test-request-id", | ||
"site": { | ||
"publisher": { | ||
"id": "pub123" | ||
} | ||
}, | ||
"imp": [ | ||
{ | ||
"id": "test-imp-id", | ||
"banner": { | ||
"format": [{"w": 128, "h": 100}] | ||
}, | ||
"ext": { | ||
"gpid": "global position id", | ||
"prebid": { | ||
"adunitcode": "ad-unit-code" | ||
}, | ||
"bidder": { | ||
"assetKey": "OGY", | ||
"adUnitId": "123" | ||
} | ||
} | ||
}, | ||
{ | ||
"id": "test-imp-id-2", | ||
"banner": { | ||
"format": [{"w": 128, "h": 100}] | ||
}, | ||
"ext": {"bidder": {}} | ||
}, | ||
{ | ||
"id": "test-imp-id-3", | ||
"banner": { | ||
"format": [{"w": 1, "h": 1}] | ||
}, | ||
"ext": { | ||
"gpid": "global position id", | ||
"prebid": { | ||
"adunitcode": "ad-unit-code-2" | ||
}, | ||
"bidder": { | ||
"assetKey": "OGY3", | ||
"adUnitId": "1234" | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
|
||
"httpCalls": [ | ||
{ | ||
"expectedRequest": { | ||
"uri": "http://ogury.example.com", | ||
"body": { | ||
"id": "test-request-id", | ||
"site": { | ||
"publisher": { | ||
"id": "pub123" | ||
} | ||
}, | ||
"imp": [ | ||
{ | ||
"id":"test-imp-id", | ||
"tagid": "ad-unit-code", | ||
"banner": { | ||
"format": [{"w": 128, "h": 100}] | ||
}, | ||
"ext": { | ||
"gpid": "global position id", | ||
"assetKey": "OGY", | ||
"adUnitId": "123", | ||
"prebid": { | ||
"adunitcode": "ad-unit-code" | ||
} | ||
} | ||
}, | ||
{ | ||
"id":"test-imp-id-3", | ||
"tagid": "ad-unit-code-2", | ||
"banner": { | ||
"format": [{"w": 1, "h": 1}] | ||
}, | ||
"ext": { | ||
"gpid": "global position id", | ||
"assetKey": "OGY3", | ||
"adUnitId": "1234", | ||
"prebid": { | ||
"adunitcode": "ad-unit-code-2" | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
"impIDs":["test-imp-id", "test-imp-id-3"] | ||
}, | ||
"mockResponse": { | ||
"status": 200, | ||
"body": { | ||
"id": "test-request-id", | ||
"cur": "USD", | ||
"seatbid": [ | ||
{ | ||
"seat": "seat", | ||
"bid": [{ | ||
"id": "some-UUID", | ||
"impid": "test-imp-id", | ||
"price": 0.500000, | ||
"adm": "adm string", | ||
"crid": "crid_10", | ||
"h": 100, | ||
"w": 128 | ||
}] | ||
} | ||
] | ||
} | ||
} | ||
} | ||
], | ||
|
||
"expectedBidResponses": [ | ||
{ | ||
"currency": "USD", | ||
"bids": [ | ||
{ | ||
"bid": { | ||
"id": "some-UUID", | ||
"impid": "test-imp-id", | ||
"price": 0.5, | ||
"adm": "adm string", | ||
"crid": "crid_10", | ||
"h": 100, | ||
"w": 128 | ||
}, | ||
"type": "banner" | ||
} | ||
] | ||
} | ||
] | ||
} |
Oops, something went wrong.