Prebid.js  by prebid

Open-source library for header bidding implementation

created 10 years ago
1,467 stars

Top 28.5% on sourcepulse

GitHubView on GitHub
Project Summary

Prebid.js is an open-source JavaScript library designed for publishers to implement header bidding advertising. It simplifies the integration of various advertising partners, eliminating the need for manual coding or complex ad server line item configurations.

How It Works

Prebid.js acts as a central hub for managing ad requests to multiple demand sources simultaneously. It uses a modular architecture, allowing publishers to include only the necessary bid adapters for their chosen partners. The library then orchestrates bid requests, collects responses, and formats them for ad servers, optimizing for the highest-paying bid. This approach streamlines the header bidding process and maximizes publisher revenue.

Quick Start & Requirements

  • Install: npm install prebid.js
  • Prerequisites: NodeJS 12.16.1 or greater, npm. Global gulp-cli installation is recommended.
  • Build: gulp build --modules=<adapter1>,<adapter2>
  • Development Server: gulp serve
  • Documentation: Prebid.js documentation homepage
  • Examples: Developer docs

Highlighted Details

  • Supports hundreds of bidder adapters.
  • Customizable builds to include only necessary modules, reducing bundle size.
  • Offers options to disable features like Native or Video support for further optimization.
  • Provides tools for local development, testing (unit, E2E), and code coverage reporting.

Maintenance & Community

Prebid.js has a large and active community with contributions from numerous SSPs, bidders, and publishers. Guidelines for contribution and PR review are available.

Licensing & Compatibility

Prebid.js is offered as free, open-source software. The README does not explicitly state a license, but it is generally understood to be Apache 2.0. Publishers are advised to consult legal counsel to ensure compliance with applicable laws.

Limitations & Caveats

Versions 6.x+ transpile to target browsers with >0.25% market share, excluding Opera Mini and IE11. Older versions may support IE11. Publishers are solely responsible for legal compliance.

Health Check
Last commit

1 day ago

Responsiveness

1 day

Pull Requests (30d)
199
Issues (30d)
28
Star History
54 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.