Skip to content

Commit

Permalink
PBS floor bidder dimension (#5606)
Browse files Browse the repository at this point in the history
  • Loading branch information
bretg authored Sep 18, 2024
1 parent c4637da commit 98e5f0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions prebid-server/features/pbs-floors.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ supported only in Prebid Server, not in Prebid.js.
| mediaType | string | "video" | If more than one of the following ORTB objects exists, only the "*" rule value will match: imp.banner, imp.video, imp.native, imp.audio. Otherwise: {::nomarkdown}<ul><li>the "banner" rule value will match if imp.banner exists.</li><li> the "video-outstream" rule value will match if imp.video exists and imp.video.placement is not 1</li><li>the "video-instream" rule value will match if imp.video exists and imp.video placement exists and is 1</li><li>the "video" rule value is treated as "video-instream" above.</li><li>the "native" rule value will match if imp.native exists</li><li>the "audio" rule value will match if imp.audio exists</li></ul>{:/} |
| size | string | "300x250" | {::nomarkdown}<ul><li>if ORTB imp.banner exists and only one size exists in imp.banner.format, then the rule value is matched against imp.banner.format[0].w and imp.banner.format[0].h</li><li>else if ORTB imp.banner exists and there's no imp.banner.format, then match the rule value against imp.banner.w and imp.banner.h</li><li>else if ORTB imp.video exists, match the rule value against imp.video.w and imp.video.h</li><li>Otherwise the size rule value only matches the "*" condition</li></ul>{:/} |
| gptSlot | string | "/111/homepage" | if imp.ext.data.adserver.name=="gam" then compare the rule value against imp.ext.data.adserver.adslot. Otherwise compare the rule value against imp.ext.data.pbadslot |
| bidder | string | "bidderA" | Compare the rule value against imp.ext.prebid.bidder.BIDDER (Requires PBS-Java 3.5+) |
| **pbAdSlot** | string | "/111/homepage#div1" | Compare the rule value against imp.ext.data.pbadslot |
| **country** | string | "USA" | Compare the rule value against device.geo.country (ISO-3166-1-alpha-3) |
| **deviceType** | string | "desktop", "phone", "tablet" | This is a very simple device-type algorithm: {::nomarkdown}<ul><li>if ORTB device.ua is not present, only rules specifying a wildcard deviceType will match. In other words, there's no default value unless device.ua exists.</li><li>otherwise, match a rule value of "phone" if UA matches one of these patterns: "Phone", "iPhone", "Android.*Mobile", "Mobile.*Android"</li><li>otherwise, match a rule value of "tablet" if UA matches one of these: "tablet", "iPad", "Windows NT.*touch", "touch.*Windows NT", "Android"</li><li>otherwise assume the rule value "desktop" matches all other user agent strings.</li></ul>{:/} |
Expand Down

0 comments on commit 98e5f0a

Please sign in to comment.