JM Google Ads plugin
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.
- 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)
<span><script async="" src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script></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."