Thanks to Google for removing the direct AdSense ban from all their publishers’ accounts. Publishers now see a page-level ban instead of an account ban for a page that violated the Google AdSense publisher policies and with this, you have the privilege to either remove the AdSense code from the page or delete the page. So, in this article, we will consider how to remove AdSense code from WordPress.
It’s believed that if you can remove your AdSense code from your WordPress site the violation will be removed and the page-level ban will also be removed.
Meanwhile, there are two options available. It is either you remove all Google AdSense code from your WordPress site or you remove the AdSense code from the specific post that violates the AdSense policy.
How to Remove all Google AdSense Code from WordPress
The Google ads will stop showing on all pages and posts on your WordPress site when the AdSense code is removed. However, if you are not closing down your AdSense account you simply do not need to delete your AdSense account because you want to remove the AdSense code.
What you need to do is to either uninstall the AdSense plugin used in placing the ads code on your WordPress site or delete the code from the ads inserter which you are using on your site.
My Google AdSense policy report reported that I have some posts that violated Google AdSense policy which I was to review and then submit for review.
How to Remove AdSense Code from WordPress
There are two ways to remove AdSense code from WordPress. If you are using a plugin you can easily add the plugin “short code” to disable ads from a particular page or post or remove ads code from your WordPress account.
Therefore, I will consider how to remove the Google AdSense code from the WordPress site using a plugin and from the AdSense account dashboard.
How to Remove AdSense Codes From WordPress Posts Using Quick AdSense Plugin
If you are using the “Quick AdSense” plugin as your WordPress ads inserter you can quickly use the “<!–NoAds–>” command to remove ads or stop ads from showing on a page or particular post page on your WordPress site.
So, the steps below show how to stop ads or block ads from a particular post page on your WordPress site or blog.
- Download and install the Quick AdSense plugin to insert Google ads code on your WordPress blog posts, widgets and pages.
- Open the post that violated Google AdSense policy and add this code”<!–NoAds–>” without quotes in “WordPress Text” format.
- The code to remove AdSense in a post above does not affect the sidebar AdSense code. This only affects the codes within the post.
You can add the code in between the post, before the post or after the post. It doesn’t matter where the code is added it will definitely remove the ad code from the page or post.
How to Remove AdSense Code from WordPress via Your AdSense Account
You can also remove the AdSense code from your WordPress site or blog via your AdSense account dashboard. This works better if you are using blogger.com or WordPress.org where you are unable to install plugins.
- Log in to your “Google AdSense account.”
- Click on “Ads” on the left side of your account dashboard.
- Click on the “Edit Option” to enable “Auto Ads.”
- Enable “Auto Ads” on the top right.
- Click on “Exclude Pages.”
- Tap “Add Exclusion.”
- Copy and paste the “Post Address” where you want to remove the “AdSense code.”
- Choose “All pages under this section.”
- Click “Add.”
- Tap the “Back” button and click “Apply to Site.”
- Choose “Apply Now” >> “Save.”
Two things happened here. Auto ads will be enabled on your site and all the existing ads will be optimized for auto ads but the added website address will be excluded from showing ads on the site.