react-dfp and react-advertising
These are competitors—both provide React bindings for programmatic ad management, with react-dfp offering Google's DFP/GPT integration while react-advertising provides a more general display ad solution for the same use case.
About react-dfp
jaanauati/react-dfp
A React implementation of the Google DFP/GPT api. https://react-dfp.surge.sh
Provides declarative ad slot management through React components (`DFPSlotsProvider` and `AdSlot`) that automatically handle GPT API initialization and lifecycle, eliminating manual setup calls. Abstracts the Google DFP/GPT API surface entirely within component props, enabling ads to render on mount while supporting dynamic features like ad refresh and responsive sizing configurations.
About react-advertising
KijijiCA/react-advertising
A JavaScript library for display ads in React applications.
Scores updated daily from GitHub, PyPI, and npm data. How scores work