Skip to content

Commit

Permalink
pbs-analytics-greenbids
Browse files Browse the repository at this point in the history
  • Loading branch information
EvgeniiMunin committed Jul 9, 2024
1 parent c6eed11 commit a70b644
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions prebid-server/pbs-modules/greenbids-analytics-reporter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
layout: page_v2
page_type: pbs-module
title: Prebid Server Greenbids PBS Analytics Reporter
display_name : Prebid Server Greenbids Analytics Reporter
sidebarType : 5
---

## Overview

This analytics adapter communicates with Greenbids Analytics Server by sending to it the information about the SSP bids for the publisher inventory sold throguh PBS. For the publishers the incoming requests to the Greenbids Analytics Reporter require setup and approval from the Greenbids team. Please reach out to our team for more information [greenbids.ai](https://greenbids.ai).

## Configuration

Greenbids Analytics Reporter contains the static parameters defined in [application.yaml](https://github.com/EvgeniiMunin/prebid-server-java/blob/a2e376c14680108683483719d212d330f8f66742/src/main/resources/application.yaml#L296)


Check failure on line 17 in prebid-server/pbs-modules/greenbids-analytics-reporter.md

View workflow job for this annotation

GitHub Actions / run markdownlint

Multiple consecutive blank lines

prebid-server/pbs-modules/greenbids-analytics-reporter.md:17 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2] https://github.com/DavidAnson/markdownlint/blob/v0.34.0/doc/md012.md
| Parameter | Type | Description |
| --------- | ---- | ----------- |
| analytics-server-version | string | Version of Analytics Schema Greenbids side |
| analytics-server | string | Greenbids Analytics Server URL |
| exploratory-sampling-split | float | Exploration vs Exploitation ratio of analytics traffic |
| timeout-ms | int | Timeout limit on sending POST request to Greenbids Analytics Server |


Check failure on line 25 in prebid-server/pbs-modules/greenbids-analytics-reporter.md

View workflow job for this annotation

GitHub Actions / run markdownlint

Multiple consecutive blank lines

prebid-server/pbs-modules/greenbids-analytics-reporter.md:25 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2] https://github.com/DavidAnson/markdownlint/blob/v0.34.0/doc/md012.md
Greenbids Analytics Reporter also includes the parameters specific for each publisher setup. These parameters should be included into the extension of the bid request json: `ext.analytics.greenbids`


Check failure on line 28 in prebid-server/pbs-modules/greenbids-analytics-reporter.md

View workflow job for this annotation

GitHub Actions / run markdownlint

Multiple consecutive blank lines

prebid-server/pbs-modules/greenbids-analytics-reporter.md:28 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2] https://github.com/DavidAnson/markdownlint/blob/v0.34.0/doc/md012.md
| Parameter | Scope | Description | Example | Type |
| --------- | ---- | ------------- | ------------- | ----------- |
| pbuid | required | The Greenbids Publisher ID | greenbids-publisher-1 | string |

Check failure on line 31 in prebid-server/pbs-modules/greenbids-analytics-reporter.md

View workflow job for this annotation

GitHub Actions / run markdownlint

Hard tabs

prebid-server/pbs-modules/greenbids-analytics-reporter.md:31:84 MD010/no-hard-tabs Hard tabs [Column: 84] https://github.com/DavidAnson/markdownlint/blob/v0.34.0/doc/md010.md
| greenbidsSampling | optional | sampling factor [0-1] (a value of 0.1 will filter 90% of the traffic) | 1.0 | float |


Check failure on line 34 in prebid-server/pbs-modules/greenbids-analytics-reporter.md

View workflow job for this annotation

GitHub Actions / run markdownlint

Multiple consecutive blank lines

prebid-server/pbs-modules/greenbids-analytics-reporter.md:34 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2] https://github.com/DavidAnson/markdownlint/blob/v0.34.0/doc/md012.md
The example of publisher config in the bid request extension is as follows:

```json
"ext": {
"analytics": {
"greenbids": {
"pbuid": "PBUID_FROM_GREENBIDS",
"greenbidsSampling": 0.1
}
}
}
```

0 comments on commit a70b644

Please sign in to comment.