Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
EvgeniiMunin committed Nov 21, 2024
1 parent ed809f4 commit 166dfd1
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions prebid-server/pbs-modules/greenbids-real-time-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ This module supports running at:
- processed-auction-request: this is where PBS bid request enrichments
are done before customizing it to a particular bidder in the auction.


### Account-Level Config

Here's an example of the account config used in PBS-Java:
Expand Down Expand Up @@ -81,7 +80,6 @@ greenbids-real-time-data:
thresholds-cache-key-prefix: "throttlingThresholds_"
```


### Publisher bid request settings

The activated partner publishers add their configs direclty into `bid-request.json`
Expand All @@ -98,7 +96,6 @@ The list of the parameters necessary for RTD module activation is as follows:
| targetTpr | required | Ratio of passing the valid bids [0-1] | 0.9 | float |
| explorationRate | required | Ratio of traffic without filtering used for training ML model [0-1] (a value of 0.1 will filter 90% of the traffic) | 0.1 | float |


Here's an example of how a PBS partner publisher setup using both Greenbids RTD Module and Greenbids AnalyticsReporter shoudl look like:

```json
Expand All @@ -112,18 +109,15 @@ Here's an example of how a PBS partner publisher setup using both Greenbids RTD
},
// extension for Greenbids Real Time Data Module
"greenbids-rtd": {
"pbuid": "PBUID_FROM_GREENBIDS",
"targetTpr": 0.95,
"explorationRate": 0.001
"pbuid": "PBUID_FROM_GREENBIDS",
"targetTpr": 0.95,
"explorationRate": 0.001
}
}
}
}
```




### Enable for Spring Boot

In order to allow the module to be picked up by PBS-Java, a Spring Boot configuration property `hooks.greenbids-real-time-data.enabled` must be set to `true`.
Expand All @@ -136,7 +130,6 @@ hooks:
enabled: true
```


## Analytics Tags

The RTD module also communicates the filtering results with the `GreenbidsAnalyticsReporter` via [AnalyticsTags](https://docs.prebid.org/prebid-server/developers/module-atags.html).
Expand Down Expand Up @@ -181,4 +174,3 @@ Or just open new [issue](https://github.com/prebid/prebid-server-java/issues/new

- [Prebid Server Module List](/prebid-server/pbs-modules/index.html)
- [Building a Prebid Server Module](/prebid-server/developers/add-a-module.html)

0 comments on commit 166dfd1

Please sign in to comment.