Adsense and Ads blocker detector plugin documentation

We have to place various types of ads on our blogs to earn money. However, the most we use are Google AdSense ads.
We usually earn money from Adsense ads. However, for Adsense ads, we have to place AdSense JavaScript code on our blog, which reduces the loading speed of our blog.
We have created the AdSense Ads plugin so that the loading speed of our blog does not decrease even after using AdSense. With this plugin, AdSense can be used without any problem in the loading speed of the blog.
Many times, our blog viewers use ads blockers on their devices to bypass ads, so ads are not displayed on their devices, which means we do not earn any revenue.
That's why we created the Ads Blocker Detector plugin. If someone comes to read our blog post with an ad blocker on, they will see a message saying that you are using Ads Blocker.
Today we are going to discuss two important plugins, these two plugins are important for our blog because they are involved in making money for us.
I have already told you what AdSense is and why you should use the AdSense plugin. You earn money from AdSense and the loading speed of the site is good by using the AdSense plugin we have created.
There are many benefits to using the AdSense plugin, such as:
Setting up the AdSense plugin is very easy. To set it up, you first need to collect your publication ID. You can easily get the ID from the AdSense dashboard.
If you can't find the ID, no problem. AdSense will ask you to place a JavaScript code in the Head tag of your blog. At the end, you will see a 15-digit ID in the ca-pub section.
Once the ID is collected, you will need to find the Adnsesne Ads plugin from the Blogger layout. Edit the plugin. Then place it in the Publication in the JSON code.
{
"status": true,
"publication": "0000000000000"
}
Look here, there is a number 000000000000000
, replace it with your ID.
We use AdSense on our blog to earn money, but if a user visits our blog with an ad blocker on their device, we don't earn money.
However, if you want, our built-in Ad Blocker Detector plugin can detect ad blocks and show the user a notification asking them to turn off the ad blocker.
You can either show only the message or block their blog visits altogether. If you block their blog visits altogether, they will no longer be able to read the blog posts until they disable their ad blocker.
Turn on the plugin from the Blogger layout as before. And change the message text as you wish.
{
"status": true,
"title": "AdsBlock detected",
"text": "Please disable AdBlock to access this content. Thank You!",
"closable": true
}
See here status
If you set it to true
, the plugin will be turned on and if you set it to false
, the plugin will be turned off. See below closable
If you set it to true
, the user will be able to remove the message and read the post again. And if you set it to false
, he will not be able to read the post until he turns off the ad blocker.
This was the discussion about the two plugins today. Maybe I can't discuss it completely nicely.
If you have any difficulty setting up the two plugins, please let us know in the comments. The problem will be resolved in the comments.