Welcome to the react-dfp documentation site!
React-dfp is a React implementation of the google DFP api. This package is inspired in the awesome library jquery.dfp, and aims to provide its same ease of usage but, of course, taking into consideration the react concepts & lifecycle features.
$ npm install --save react-dfp
Documentation and Usage:
The sidebar contains lot of links that the describe how to use react-dfp. The documentation is divided in the following sections:
- Examples showing common scenarios.
- <AdSlot /> documentation
- <DFPSlotsProvider /> documentation
- DFPManager api docs.
We recommend you to start reading the examples so you can have an idea of how the API works.
Additionally, each section provides their own live examples that you can review and debug.
You can use the following tools to debug your pages: