1.0.1 • Published 5 years ago
react-gpt-manager v1.0.1
react-gpt-manager
A barebones React component for Dfp ads
Usage
import { DfpAdItem, displayAd } from 'react-gpt-manager';
.....
<DfpAdItem
adUnitPath="/6355419/Travel/Europe/France/Paris"
size={[300, 250]}
elementId="banner1"
/>
....
setTimeout(() => {
displayAd();
}, 3000);
Example
https://codesandbox.io/s/cocky-pascal-e2zuf
Notes
Hi!!! Thanks for checking out my react-gpt-manager If you have any issues, feature request or suggestions, raise an issue and We will reply soon.