prebidServer

package module
v1.200.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

README

Build Go Report Card Go Version

Prebid Server

Prebid Server is an open source implementation of Server-Side Header Bidding. It is managed by Prebid.org, and upholds the principles from the Prebid Code of Conduct.

This project does not support the same set of Bidders as Prebid.js, although there is overlap. The current set can be found in the adapters package. If you don't see the one you want, feel free to contribute it.

For more information, see:

Please consider registering your Prebid Server to get on the mailing list for updates, etc.

Installation

First install Go version 1.16 or newer.

Note that prebid-server is using Go modules. We officially support the most recent two major versions of the Go runtime. However, if you'd like to use a version <1.13 and are inside GOPATH GO111MODULE needs to be set to GO111MODULE=on.

Download and prepare Prebid Server:

cd YOUR_DIRECTORY
git clone https://github.com/PubMatic-OpenWrap/prebid-server src/github.com/PubMatic-OpenWrap/prebid-server
cd src/github.com/PubMatic-OpenWrap/prebid-server

Run the automated tests:

./validate.sh

Or just run the server locally:

go build .
./prebid-server

Load the landing page in your browser at http://localhost:8000/. For the full API reference, see the endpoint documentation

Go Modules

The packages within this repository are intended to be used as part of the Prebid Server compiled binary. If you choose to import Prebid Server packages in other projects, please understand we make no promises on the stability of exported types.

Contributing

Want to add an adapter? Found a bug? Great!

Or better yet, open a pull request with the changes you'd like to see.

IDE Recommendations

The quickest way to start developing Prebid Server in a reproducible environment isolated from your host OS is by using Visual Studio Code with Remote Container Setup.

Directories

Path Synopsis
aax
adf
aja
amx
dmx
ix
openrtb2/ctv/combination
Package combination generates possible ad pod response based on bid response durations.
Package combination generates possible ad pod response based on bid response durations.
openrtb2/ctv/impressions
Package impressions provides various algorithms to get the number of impressions along with minimum and maximum duration of each impression.
Package impressions provides various algorithms to get the number of impressions along with minimum and maximum duration of each impression.
experiment
Package openrtb_ext defines all the input validation for Prebid Server's extensions to the OpenRTB 2.5 spec.
Package openrtb_ext defines all the input validation for Prebid Server's extensions to the OpenRTB 2.5 spec.
lmt
ssl
util

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL