Skip to content

Commit ea519d0

Browse files
authored
Merge branch 'master' into master
2 parents 3ac8474 + 424eaae commit ea519d0

File tree

6 files changed

+38
-20
lines changed

6 files changed

+38
-20
lines changed

dev-docs/adunit-reference.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -599,9 +599,9 @@ time to set targeting.
599599

600600
<a name="adUnit-fpd-example"></a>
601601

602-
### First Party Data
602+
### First Party Data and Floors
603603

604-
Example of an adunit-specific block of first party data:
604+
Example of an adunit-specific block of first party data and a static floor:
605605

606606
```javascript
607607
pbjs.addAdUnits({
@@ -612,6 +612,8 @@ pbjs.addAdUnits({
612612
}
613613
},
614614
ortb2Imp: {
615+
bidfloor: 1.00,
616+
bidfloorcur: "EUR",
615617
ext: {
616618
data: {
617619
pbadslot: "homepage-top-rect",

dev-docs/bidders/richaudience.md

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ pbjs: true
1414
pbs: true
1515
schain_supported: true
1616
floors_supported: true
17-
pbjs_version_notes: Please use version 9.1; version 9.0 does not support our adapter.
1817
sidebarType: 1
1918
---
2019

@@ -26,17 +25,4 @@ sidebarType: 1
2625
| `pid` | required | The placement ID from Rich Audience. | `'ADb1f40rmi'` | `string` |
2726
| `supplyType`| required | Define if site or app. | `'site / app'` | `string` |
2827
| `ifa` | optional | Identifier For Advertisers | `'AAAAAAAAA-BBBB-CCCC-1111-222222220000234234234234234'` | `string` |
29-
| `bidfloor` | optional | Bid Floor | `0.80` | `float` |
3028
| `keywords` | optional | A key-value applied only to the configured bid. This value is optional. Strings separated by semicolon. | `car=mercedes;car=audi;` | `string` |
31-
| `player` | optional | Object containing video targeting parameters. See [Video Object](#ra-video-object) for details. | `player: {init: 'open', end: 'close', skin: 'dark'}` | `object` |
32-
33-
<a name="ra-video-object"></a>
34-
35-
### Video Object
36-
37-
{: .table .table-bordered .table-striped }
38-
| Name | Scope | Description | Example | Type |
39-
|-------------|----------|----------------------------------------|-------------------------------|-----------|
40-
| `init` | optional | Start mode of the player open or close | `'open / close'` | `string` |
41-
| `end` | optional | End mode of the player open or close | `'open / close'` | `string` |
42-
| `skin` | optional | Choose the background color | `'dark / light'` | `string` |

dev-docs/modules/floors.md

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,26 @@ Notes:
5858
* [Prebid Floor Service Providers](/dev-docs/modules/floors.html#floors-providers)
5959
* [Transcript of this video](/dev-docs/floors-video-overview.html)
6060

61+
### Simple Static Floors
62+
63+
Some publishers just want to set a simple static floor. Please don't use this module for that. This module should only be used when you need to vary the floor by mediatype, size, etc. Here's how you can set static floors on each Prebid adunit:
64+
65+
```javascript
66+
pbjs.addAdUnits({
67+
code: "test-div",
68+
mediaTypes: {
69+
banner: {
70+
sizes: [[300,250]]
71+
}
72+
},
73+
ortb2Imp: {
74+
bidfloor: 1.00,
75+
bidfloorcur: "EUR"
76+
},
77+
// ...
78+
});
79+
```
80+
6181
## How it Works
6282

6383
There are several places where the Floor module changes the behavior of the Prebid.js auction process. Below is a diagram describing the general flow of the client-side Price Floors Module:
@@ -298,10 +318,13 @@ Schema 1 restricts floors providers or publishers to applying only one data grou
298318
Note: if you're a dynamic floor provider service, your response must be
299319
a subset that will be merged under the 'data' object.
300320

321+
{: .alert.alert-warning :}
322+
You **cannot** set the `floorMin` parameter without specifying a `data` object. See the [simple static floor](/dev-docs/modules/floors.html#simple-static-floors) section above for more info.
323+
301324
{: .table .table-bordered .table-striped }
302325
| Param | Type | Description | Default |
303326
|---+---+---+---+---|
304-
| floorMin | float | The mimimum CPM floor used by the Price Floors Module (as of 4.13). The Price Floors Module will take the greater of floorMin and the matched rule CPM when evaluating getFloor() and enforcing floors. | - |
327+
| floorMin | float | The mimimum CPM floor used by the Price Floors Module (as of 4.13). The Price Floors Module will take the greater of floorMin and the matched rule CPM when evaluating getFloor() and enforcing floors. **Note**: this is not a method of setting a [static floor](/dev-docs/modules/floors.html#simple-static-floors). | - |
305328
| floorProvider | string | Optional atribute (as of prebid version 4.1) used to signal to the Floor Provider's Analytics adapter their floors are being applied. They can opt to log only floors that are applied when they are the provider. If floorProvider is supplied in both the top level of the floors object and within the data object, the data object's configuration shall prevail.| - |
306329
| enforcement | object | Controls the enforcement behavior within the Price Floors Module.| - |
307330
| skipRate | integer | skipRate is a random function whose input value is any integer 0 through 100 to determine when to skip all floor logic, where 0 is always use floor data and 100 is always skip floor data. The use case is for publishers or floor providers to learn bid behavior when floors are applied or skipped. Analytics adapters will have access to model version (if defined) when skipped is true to signal the Price Floors Module is in floors mode. If skipRate is supplied in both the root level of the floors object and within the data object, the skipRate configuration within the data object shall prevail. | 0 |
@@ -354,10 +377,13 @@ While some attributes are common in both schema versions, for completeness, all
354377
Note: if you're a dynamic floor provider service, your response must be
355378
a subset that will be merged under the 'data' object.
356379

380+
{: .alert.alert-warning :}
381+
You **cannot** set the `floorMin` parameter without specifying a `data` object. See the [simple static floor](/dev-docs/modules/floors.html#simple-static-floors) section above for more info.
382+
357383
{: .table .table-bordered .table-striped }
358384
| Param | Type | Description | Default |
359385
|---+---+---+---+---|
360-
| floorMin | float | The mimimum CPM floor used by the module (as of 4.13). The module will take the greater of floorMin and the matched rule CPM when evaluating getFloor() and enforcing floors. | - |
386+
| floorMin | float | The mimimum CPM floor used by the module (as of 4.13). The module will take the greater of floorMin and the matched rule CPM when evaluating getFloor() and enforcing floors. **Note**: this is not a method of setting a [static floor](/dev-docs/modules/floors.html#simple-static-floors). | - |
361387
| floorMinCur | float | Prebid Server only: the currency used for the floorMin value. | - |
362388
| floorProvider | string | Optional atribute (as of prebid version 4.1) used to signal to the Floor Provider's Analytics adapter their floors are being applied. They can opt to log only floors that are applied when they are the provider. If floorProvider is supplied in both the top level of the floors object and within the data object, the data object's configuration shall prevail.| - |
363389
| skipRate | integer | skipRate is a random function whose input value is any integer 0 through 100 to determine when to skip all floor logic, where 0 is always use floor data and 100 is always skip floor data. The use case is for publishers or floor providers to learn bid behavior when floors are applied or skipped. Analytics adapters will have access to model version (if defined) when skipped is true to signal the module is in floors mode. If skipRate is supplied in both the root level of the floors object and within the data object, the skipRate configuration within the data object shall prevail. | 0 |

prebid-server/endpoints/openrtb2/pbs-endpoint-auction.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1891,8 +1891,9 @@ ext.prebid.biddercontrols: {
18911891
18921892
Here's how this works:
18931893

1894-
1. If the bid adapter YAML declares support of multiformat, then `prefmtype` is ignored in the request. The default value of multiformat supported is `true`.
1894+
1. If the bid adapter YAML declares support of multiformat as `true`, then `prefmtype` is ignored in the request. The default value of multiformat supported is `false`.
18951895
1. If the bidder declares that they don't support multiformat and the incoming request contains multiple formats, then one of the formats is chosen by either `$.ext.prebid.biddercontrols.BIDDER.prefmtype` or config `auction.preferredmediatype.BIDDER`
1896+
1. If multiformat-supported is false, and if the specified prefmtype is not part of the request, then the imp doesn't go out to the bidder.
18961897

18971898
#### OpenRTB Response Extensions
18981899

prebid-server/features/pbs-activitycontrols.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ Here's the list of the 'potentially restricted activities' that Prebid Server co
186186
| `fetchBids` | A bid adapter wants to participate in an auction | Bidder is removed from the auction |
187187
| `enrichUfpd` | A module wants to add user first party data to outgoing requests (`user.data` and `user.ext.data` in ORTB) | Module is not allowed to run. |
188188
| `reportAnalytics` | The [/auction](/prebid-server/endpoints/openrtb2/pbs-endpoint-auction.html), [/amp](/prebid-server/endpoints/openrtb2/pbs-endpoint-amp.html), or [/event](/prebid-server/endpoints/pbs-endpoint-event.html) endpoint is about to call an analytics adapter. | Adapter is not called. |
189-
| `transmitUfpd` | A bid adapter, analytics adapter, or module wants to access and/or transmit user FPD to their endpoint. (Note: this is combined with transmitEids in PBS-Go and PBJ-Java 2.11 and under) | User FPD and EIDs are hidden from the adapter or module: `user.{id, buyeruid, yob, gender, geo, eids, data}`, `user.ext.data`, `device.{device.ifa, macsha1, macmd5, dpidsha1, dpidmd5, didsha1, didmd5}` |
189+
| `transmitUfpd` | A bid adapter, analytics adapter, or module wants to access and/or transmit user FPD to their endpoint. (Note: this is combined with transmitEids in PBS-Go and PBJ-Java 2.11 and under) | User FPD and EIDs are hidden from the adapter or module: `user.{id, buyeruid, yob, gender, geo, eids, data}`, `user.ext.data`, `device.{ifa, macsha1, macmd5, dpidsha1, dpidmd5, didsha1, didmd5}` |
190190
| `transmitEids` | (PBS-Java 2.12 and later) A bid adapter, analytics adapter, or module wants to access and/or transmit extended IDs to their endpoint. | User EIDs are hidden from the adapter or module: `user.eids`, `user.ext.eids` |
191191
| `transmitPreciseGeo` | A bid adapter, analytics adapter, or module wants to access and/or transmit precise geolocation data to their endpoint | device.geo latitude, longitude, and IP address are rounded off. Specifically, lat and long are truncated to two decimal places, IPv4 masks rightmost 8 bits, IPv6 masks the rightmost bits based on a configured value. In PBS-Java 3.0 and later, device.geo.{country,region,utcoffset} are preserved, but device.geo.{metro,city,zip,accuracy,ipservice,ext} are removed.|
192192
| `transmitTid` | (PBS-Java only) The source.tid and imp.ext.tid fields can be generated or suppressed by PBS before going to bidders. The ext.prebid.createtid request parameter overrides the allow state of this activity. If `ext.prebid.createtid:false`, transmitTid is "denied". | If "allowed", then source.tid and imp.ext.tid will be generated by PBS. Otherwise, they won't be generated. |

prebid-server/features/pbs-floors.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,9 @@ completely backwards-compatible -- PBS will accept and process any Prebid.js flo
153153

154154
### Defining Floor data
155155

156+
{: .alert.alert-warning :}
157+
You **cannot** set the `floorMin` parameter without specifying a `data` object. See the [simple static floor](/dev-docs/modules/floors.html#simple-static-floors) section for more info.
158+
156159
As described in the [Signaling](#floor-signaling) section above, floor data may be defined in several ways. Here's the order of priority:
157160

158161
1. Dynamic data - if PBS finds recent (non-expired) floors data from a dynamic floors vendor, that takes precedence.

0 commit comments

Comments
 (0)