-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
EvgeniiMunin
committed
Jul 9, 2024
1 parent
a70b644
commit a6a46d2
Showing
1 changed file
with
6 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,33 +14,29 @@ This analytics adapter communicates with Greenbids Analytics Server by sending t | |
|
||
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) | ||
|
||
|
||
| 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 | | ||
|
||
|
||
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` | ||
|
||
|
||
| Parameter | Scope | Description | Example | Type | | ||
| --------- | ---- | ------------- | ------------- | ----------- | | ||
| pbuid | required | The Greenbids Publisher ID | greenbids-publisher-1 | string | | ||
Check failure on line 28 in prebid-server/pbs-modules/greenbids-analytics-reporter.md GitHub Actions / run markdownlintHard tabs
|
||
| greenbidsSampling | optional | sampling factor [0-1] (a value of 0.1 will filter 90% of the traffic) | 1.0 | float | | ||
|
||
|
||
The example of publisher config in the bid request extension is as follows: | ||
|
||
```json | ||
"ext": { | ||
"analytics": { | ||
"greenbids": { | ||
"pbuid": "PBUID_FROM_GREENBIDS", | ||
"greenbidsSampling": 0.1 | ||
} | ||
} | ||
"analytics": { | ||
"greenbids": { | ||
"pbuid": "PBUID_FROM_GREENBIDS", | ||
"greenbidsSampling": 0.1 | ||
} | ||
} | ||
} | ||
``` |