audiovanish-plugin-google-adsense
v0.0.14
Published
Plugin to easily place ads on your system in different areas
Maintainers
Readme
Audiovanish Google Adsense Plugin
Audiovanish Google Adsense plugin is made to easily place ads on your system in different areas.
Installation
npm install audiovanish-plugin-google-adsense
Using custom template?
The plugin is made for a default Audiovanish theme Persona. If you have a custom theme and want to display ads, make sure you have these classes in your page:
- .posts li - for displaying the ad after first post.
- .posts li .content - displaying the ad inside a post.
- #content - ad on the header, before a content.
- #footer - ad in the footer.
Using
- After activating plugin, 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 ;
- Create new ad campaign on your Adsense account page. It is recommended to select "Responsive ad unit" ad;
- 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 any of available ad slots in plugin's settings page to enable it;
- That's all. I am sure your users will be happy to see ads ;)
Screenshots

