UNICORN
Features
| Bidder Code | unicorn | Prebid.org Member | no |
|---|---|---|---|
| Prebid.js Adapter | yes | Prebid Server Adapter | yes |
| Media Types | display | Multi Format Support | check with bidder |
| TCF-EU Support | no | IAB GVL ID | check with bidder |
| GPP Support | check with bidder | DSA Support | check with bidder |
| USP/CCPA Support | check with bidder | COPPA Support | check with bidder |
| Supply Chain Support | check with bidder | Demand Chain Support | check with bidder |
| Safeframes OK | check with bidder | Supports Deals | check with bidder |
| Floors Module Support | check with bidder | First Party Data Support | check with bidder |
| Endpoint Compression | check with bidder | ORTB Blocking Support | check with bidder |
| User IDs | none | Privacy Sandbox | check with bidder |
| Prebid Server App Support | yes |
bid params
| Name | Scope | Description | Example | Type |
|---|---|---|---|---|
placementId |
optional | Your placement ID | 'rectangle-ad-1' |
string |
accountId |
required | Account ID for charge request (provided by UNICORN) | 12345 |
integer |
publisherId |
optional | Account specific publisher id. | '67890' |
string |
mediaId |
optional | Publisher specific media id. | 'example' |
string |
bcat |
optional for Prebid.js | Blocked IAB categories | ['IAB-1', 'IAB-2'] |
[string] |
publisherId as integer is also supported on Prebid.js
Ad slot position signals
For each bid request the adapter measures the ad slot’s on-screen position, geometry and viewability, and sends it in the OpenRTB request it builds. This is scoped to the UNICORN request only — nothing is written to shared First Party Data, so no other bidder is affected. No configuration is required.
imp.banner.pos— OpenRTB AdPosition (1= above the fold,3= below the fold). A publisher-declaredortb2Imp.banner.pos, if present, is used instead of the measured value.imp.ext.adslot—{ ver, ratio, fixed, sticky, w, h, x, y }:ratiois the visible-area ratio (0–1),fixed/stickyflag a fixed/sticky ancestor, andx/y/w/hare the slot’s document-relative position and rendered size in CSS pixels.imp.ext.gpid— the Global Placement ID, forwarded fromortb2Imp.ext.gpid(set by thegpid/gptPreAuctionmodule) when present.
The slot element is resolved in this order: ortb2Imp.ext.data.divId → the GPT
slot mapping (getSlotElementId()) → the ad unit code. Set
ortb2Imp.ext.data.divId when the ad unit code is not the div id and GPT is not
defined at auction time.
"Send All Bids" Ad Server Keys
These are the bidder-specific keys that would be targeted within GAM in a Send-All-Bids scenario. GAM truncates keys to 20 characters.hb_pb_unicorn |
hb_bidder_unicorn |
hb_adid_unicorn |
hb_size_unicorn |
hb_source_unicorn |
hb_format_unicorn |
hb_cache_host_unicor |
hb_cache_id_unicorn |
hb_uuid_unicorn |
hb_cache_path_unicor |
hb_deal_unicorn |