This repo is based on the (great job) done by Ebay on: https://github.com/technology-ebay-de/react-prebid
As a Rubicon employee, I have adapted it to make it work with Rubicon demand manager product
Do notice, it is NOT an official Rubicon product and Rubicon Project could not be liable for any use of this package
Please contact me for any further details or help on this package: ajacquemin@rubiconproject.com
A JavaScript library for ad placements with Prebid header bidding in React applications.
Integrate ads in your app the “React way”: by adding ad components to your JSX layout!
- One central configuration file for all your GPT and Prebid placement config
- One provider component that handles all the “plumbing” with googletag and pbjs, nicely hidden away
- Ad slot components that get filled with creatives from the ad server when they mount to the DOM
- Works well in single page applications with multiple routes
- Suitable for server-side-rendering
To use react-prebid, you need to have a Doubleclick for Publishers (DFP) ad server set up, along with configuration to use Prebid in place. Please refer to the Prebid documentation for details.
You can view a demo of this library online on CodeSandbox:
The demo uses the same test Prebid configuration as the code examples from the official documentation.
You can find documentation on how to use this library in the project's wiki:
Copyright © 2018 mobile.de GmbH