Prebid.js  by prebid

Open-source library for header bidding implementation

Created 10 years ago
1,490 stars

Top 27.7% 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

19 hours ago

Responsiveness

1 day

Pull Requests (30d)
127
Issues (30d)
17
Star History
19 stars in the last 30 days

Explore Similar Projects

Starred by Samuel Colvin Samuel Colvin(Founder and Author of Pydantic), Addy Osmani Addy Osmani(Head of Chrome Developer Experience at Google), and
3 more.

mcp-ui by idosal

3.4%
2k
UI SDK for Model Context Protocol
Created 4 months ago
Updated 2 days ago
Feedback? Help us improve.