forked from prebid/prebid-server
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Outbrain adapter: overwrite tagid only if it exists (prebid#1895)
- Loading branch information
1 parent
ae2dc1e
commit 64b473d
Showing
3 changed files
with
146 additions
and
2 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
139 changes: 139 additions & 0 deletions
139
adapters/outbrain/outbraintest/supplemental/general_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,139 @@ | ||
{ | ||
"mockBidRequest": { | ||
"id": "test-request-id", | ||
"imp": [ | ||
{ | ||
"id": "test-imp-id", | ||
"banner": { | ||
"format": [ | ||
{ | ||
"w": 300, | ||
"h": 250 | ||
} | ||
] | ||
}, | ||
"tagid": "tag-id", | ||
"ext": { | ||
"bidder": { | ||
"publisher": { | ||
"id": "publisher-id" | ||
} | ||
} | ||
} | ||
} | ||
], | ||
"bcat": ["bad-category"], | ||
"badv": ["bad-advertiser"], | ||
"site": { | ||
"page": "http://example.com" | ||
}, | ||
"device": { | ||
"ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36", | ||
"h": 500, | ||
"w": 1000 | ||
} | ||
}, | ||
"httpCalls": [ | ||
{ | ||
"expectedRequest": { | ||
"uri": "http://example.com/bid", | ||
"body": { | ||
"id": "test-request-id", | ||
"imp": [ | ||
{ | ||
"id": "test-imp-id", | ||
"banner": { | ||
"format": [ | ||
{ | ||
"w": 300, | ||
"h": 250 | ||
} | ||
] | ||
}, | ||
"tagid": "tag-id", | ||
"ext": { | ||
"bidder": { | ||
"publisher": { | ||
"id": "publisher-id" | ||
} | ||
} | ||
} | ||
} | ||
], | ||
"bcat": ["bad-category"], | ||
"badv": ["bad-advertiser"], | ||
"site": { | ||
"page": "http://example.com", | ||
"publisher": { | ||
"id": "publisher-id" | ||
} | ||
}, | ||
"device": { | ||
"ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36", | ||
"h": 500, | ||
"w": 1000 | ||
} | ||
} | ||
}, | ||
"mockResponse": { | ||
"status": 200, | ||
"body": { | ||
"id": "5095a742-1c27-402b-ab6f-66b1bd53383b", | ||
"seatbid": [ | ||
{ | ||
"bid": [ | ||
{ | ||
"id": "test-request-id", | ||
"impid": "test-imp-id", | ||
"price": 1000, | ||
"nurl": "http://example.com/win/1000", | ||
"adm": "<div>ad</div>", | ||
"adomain": [ | ||
"example.com" | ||
], | ||
"cid": "test-cid", | ||
"crid": "test-crid", | ||
"cat": [ | ||
"IAB13-4" | ||
], | ||
"w": 300, | ||
"h": 250 | ||
} | ||
], | ||
"seat": "acc-1876" | ||
} | ||
], | ||
"bidid": "43ccadf2-8b2e-11eb-b294-de4c49e99ff6", | ||
"cur": "USD" | ||
} | ||
} | ||
} | ||
], | ||
"expectedBidResponses": [ | ||
{ | ||
"currency": "USD", | ||
"bids": [ | ||
{ | ||
"bid": { | ||
"id": "test-request-id", | ||
"impid": "test-imp-id", | ||
"price": 1000, | ||
"nurl": "http://example.com/win/1000", | ||
"adm": "<div>ad</div>", | ||
"adomain": [ | ||
"example.com" | ||
], | ||
"cid": "test-cid", | ||
"crid": "test-crid", | ||
"cat": [ | ||
"IAB13-4" | ||
], | ||
"w": 300, | ||
"h": 250 | ||
}, | ||
"type": "banner" | ||
} | ||
] | ||
} | ||
] | ||
} |
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