https://github.com/nodebb-community/nodebb-plugin-adsense
adsense plugin
https://github.com/nodebb-community/nodebb-plugin-adsense
Last synced: 3 months ago
JSON representation
adsense plugin
- Host: GitHub
- URL: https://github.com/nodebb-community/nodebb-plugin-adsense
- Owner: NodeBB-Community
- License: bsd-2-clause
- Created: 2016-01-04T22:06:02.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2025-02-15T17:32:01.000Z (11 months ago)
- Last Synced: 2025-07-22T15:48:49.834Z (6 months ago)
- Language: JavaScript
- Size: 49.8 KB
- Stars: 10
- Watchers: 8
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NodeBB Google Adsense Plugin
NodeBB Google Adsense plugin is made to easily place ads on your forum in different areas.
## Installation
npm install nodebb-plugin-adsense
## Using
1. After activating plugin and rebuilding, you will see a reference in admin panel left menu called "Google Adsense". Here you will need to enter your unique publisher ID (pub-xxxxxxxxxxxxxxxx). You can find your ID by following instructions here: https://support.google.com/adsense/answer/105516?hl=en ;
2. Fill in the ads.txt in the ACP if nodebb is hosted on the root domain. More info https://support.google.com/adsense/answer/12171612?hl=en
3. Create new ad campaign on your Adsense account page. It is **recommended** to select "Responsive ad unit" ad;
4. Then on this page https://www.google.com/adsense/app#myads-viewall-adunits you will see ID of your created campaign. Simply copy this number to the block id value in the adsense widget;
5. That's all. I am sure your users will be happy to see ads ;)
## Screenshots
