Companies who host their own prebid server may need to configure, customize, and extend it for their own needs.
At the moment, the main method and its helpers are all private, and every adapter, module, analytics is decided by PBS.
This proposal (a placeholder requested during the Server PMC) would be to refactor the code to be used a as a library. Some reference libraries/examples are http.Server, or for the powerful function options pattern, the open-telemetry library (TracerProvider, e.g.)
The end result and goals are that hosting providers be able to:
Configure the server
Launch the server
Mock the launch for testing
Add modules
Add adapters
Add analytics
Add MetricsEngines and choose them
Add more endpoints - or just get the configured httprouter and use that.
Context
Companies who host their own prebid server may need to configure, customize, and extend it for their own needs.
At the moment, the main method and its helpers are all private, and every adapter, module, analytics is decided by PBS.
This proposal (a placeholder requested during the Server PMC) would be to refactor the code to be used a as a library. Some reference libraries/examples are http.Server, or for the powerful function options pattern, the open-telemetry library (TracerProvider, e.g.)
The end result and goals are that hosting providers be able to: