Skip to content

A short walk through with scripts to help you get Prebid Server Java up and running.

Notifications You must be signed in to change notification settings

jcerone/prebid-server-java-walkthrough

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

prebid-server-java-walkthrough

A short walk through with scripts to help you get Prebid Server Java up and running.

Assumptions

  • Mac OS
  • Java v22
  • Maven v3.9.6

Directions

  1. Install sdk man for managing the Java runtime.
curl -s "https://get.sdkman.io" | bash
  1. Install Java v22
sdk install java 22.0.1-amzn
  1. Make sure the Java v22 is the default Java runtime.
sdk default java 22.0.1-amzn
  1. Install Maven v3.9.6
sdk install maven 3.9.6
  1. Clone the Prebid Server Java repository.
git clone https://github.com/prebid/prebid-server-java.git
  1. Navigate to the Prebid Server Java repository.
cd prebid-server-java
  1. Build the Prebid Server Java project.
mvn clean package -Dmaven.test.skip=true
  1. Run the Prebid Server Java project.
java -jar target/prebid-server.jar --spring.config.additional-location=sample/configs/prebid-config.yaml
  1. Use CURL / Postman to test the Prebid Server Java project.
curl 'http://0.0.0.0:8080/status'

Endpoints Available for Testing

/info/bidders - Shows a list of bidders that are available to bid.

/info/bidders/33across - Shows bid configurations for 33across.

/openrtb2/auction - Sends out bid request, receives bid responses.

/cookie_sync - Synchronizes cookies.

/status - Shows the status of the Prebid Server Java project.

About

A short walk through with scripts to help you get Prebid Server Java up and running.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published