/prebid-server

Server side component to offload prebid processing to the cloud

Primary LanguageGoApache License 2.0Apache-2.0

Build Status Go Report Card

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:

Installation

First install Go version 1.13 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/prebid/prebid-server src/github.com/prebid/prebid-server
cd src/github.com/prebid/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

Contributing

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

Report bugs, request features, and suggest improvements on Github.

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

IDE Setup for PBS-Go development

The quickest way to start developing PBS-Go in a reproducible environment isolated from your host OS is by using this VScode Remote Container Setup