-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into bid-attributes-validation
# Conflicts: # src/main/java/org/prebid/server/spring/config/ServiceConfiguration.java
- Loading branch information
Showing
44 changed files
with
667 additions
and
283 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
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Server Based Global Default Request | ||
|
||
This allows a default request to be defined that allows the server to set up some defaults for all incoming | ||
requests. A stored request(s) referenced by a bid request override default request, and of course any options specified | ||
directly in the bid request override both. The default request is only read on server startup, it is meant as an | ||
installation static default rather than a dynamic tuning option. | ||
|
||
## Config Options | ||
|
||
Following config options are exposed to support this feature. | ||
```yaml | ||
default-request: | ||
file: | ||
path : path/to/default/request.json | ||
``` | ||
The `path` option is the path to a JSON file containing the default request JSON. | ||
```json | ||
{ | ||
"tmax": "2000", | ||
"regs": { | ||
"ext": { | ||
"gdpr": 1 | ||
} | ||
} | ||
} | ||
``` | ||
This will be JSON merged into the incoming requests at the top level. These will be used as fallbacks which can be | ||
overridden by both Stored Requests _and_ the incoming HTTP request payload. |
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
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
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
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
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
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
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
Oops, something went wrong.