Knowledge Base / Category / JM Google Ads plugin

JM Google Ads plugin

Basic information

This plugin allows inserting multiple google ads codes for your site.   

It's a very simple plugin. Now you need to do all visual setting in your Google Adsense account.  

Available shorcodes:

.

- if you use some script for warning users that they use Adblock and you would like they set it off because your site offers free content and this is minimum how they can thank you.   

- shortcode that you can use anywhere in menu or content. 

- ID is table's id, not google ad ID - it's the ID of record)

Global options:

Disable Adblock Code - code for users with Adblock. 
Disable Adblock Active - set on/off using Disable Adblock Code
Google Ads script  + Use script globally -  you can use this script globally or with single ads.  If you insert it here, don't forget to set it ON.
<span><script async="" src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script></span><span></span>


What is new in version 1.1

 Except for some code cleaning, there is added new preference:   Excluded pages.

The reason for this is the changes after 24.5.2019 and more strict checks from Google side. 

If you got an email about New violations were detected and your problem is Valuable Inventory: No content, you should add this page to excluded page. For me, it was login.php page. I used the second option how to fix this:  "Remove all Google ad code from this page and wait. Within 7-10 days the page will disappear from the Policy center. Do not request a review."