Google does not have access to your site. So ads can’t magically appear no matter what settings you enable in your AdSense account. The plugin makes that possible.
It does when you simply add the script they provide you
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-XXXXXXXXDXXXXXX"
crossorigin="anonymous"></script>
to add between your <head> </head> tags
To think that a WordPress user would need to download and install a plugin then go into their AdSense account and copy their AdSense ID then go back into their WordPress Admin to paste it into your plugin all so your plugin can add the AdSense script to the header seems like overkill to me.
All a WordPress user needs to do is go into their AdSense account and copy the code they provide, then open their header.php file and paste that code where they tell you to and that’s it. Hardly a need for a plugin for that.
?Many users like me do not like to install unnecessary big plugins when there is a simpler way.
So then why even install a plugin at all when any novice can simply copy-paste the code themselves without having to install another unnecessary plugin? Unless you’re profiting from your plugin in some way.
YOUR WAY
- Download your plugin
- Install your plugin
- create or log into your Adsense account
- Turn on Auto Ads and select the Ads You want to automatically display
- Find your Publisher ID and copy it
- Go back into your WordPress Admin panel and open Your Plugin setting
- Paste your Publisher ID into box
- Save
More Logical Way
- Open or create an AdSense Account
- Turn On Auto Ads and select the ads you want to display automatically and Copy Code they provide you
- Go into WordPress Admin and open Theme editor
- Paste code into Header in the header.php file
- save