[nodebb-plugin-adsense] Google Adsense
-
Improved main.js.
Whats working:
- Ads are reload proof
- Ads are displayed properly (mobile included)
Whats not working:
- First post right and left ad are not displayed
-
@dove great plugin, but we need not to show ads on adult content, please check the issue request.
Prevent google ads to show on topic/posts where content contains adult or bad words? · Issue #15 · dovydaskukalis/nodebb-plugin-google-adsense
Awesome plugin indeed, the problem we are having is with user generated content users are making adult posts too like using words like fuck, sex in the posts and topic titles. But google does not allow their ads along side such adult tex...
GitHub (github.com)
-
I am still in the process of getting an AdSense account, one odd thing I noticed with plugin version 1.0.4 on Nodebb 1.12.2 is a weird rendering / navigation-to issue with the ACP. Whenever I exit the Google Adsense ACP and re-enter the ACP via navigation the ACP will not render. It will only render after one additional refresh or when I paste the ACP url from the navigation menu manually into the browser bar. It does seem to store settings fine.
I already reinstalled the plugin, re-ordered all plugins to the recommended order and did a rebuild a number of times, with no change. I hope this is just a harmless ACP navigation bug? -
For node 2.x or 3.x?
-
This plugin is updated to work with 3.2.x and up. It also uses widgets now instead of hardcoded ad areas so it is possible to place an ad wherever there is widget area in the theme.
@omega I've added /ads.txt support into the plugin.
This only applies if the forum is hosted on the root domain, if you have another CMS on your root domain you need to handle it there. The adsense verification can be done with the custom head tab in the ACP if nodebb is on the root domain.