New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

react-prebid

Package Overview
Dependencies
Maintainers
2
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-prebid

Library for ad placements with Prebid header bidding in React applications

latest
Source
npmnpm
Version
2.1.1
Version published
Maintainers
2
Created
Source

eBay Tech Logo

react-prebid

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

Build Status Coverage Status

Prerequisites

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.

Demo

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.

Documentation

You can find documentation on how to use this library in the project's wiki:

License

MIT licensed

Copyright © 2018-2019 mobile.de GmbH

FAQs

Package last updated on 06 Aug 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts