How to block Google Adsense from showing Ads on Certain Pages or Posts ?

As you are here, I can definitely say “Congrats” for getting approval from Adsense. Although we are excited to have started earning from Google Adsense, there are certain reasons where we want google to not show Ads on our few selected pages, like Login / Register page or Pages where people are updating contents on our website and Ads might distract people from generating contents for our website.

There is a way, we can block Google Ads on our those selected pages, follow below mentioned steps for the same.

Note: Its not possible to stop Ads displayed using “Ad Units” and you will have to make sure your manual “Ad Unit” placements are such that those doesn’t comes on your pages / posts which you want Ads to be stopped.

Stopping Ads on selected pages is possible only for Auto Ads.

Login to your Adsense Account at

Related :   How to hide code / Div based on contents in URL using JavaScript ?

After Login, from left side, “Ads -> Auto Ads -> Click “New URL Group”


From Opened page, select Website to which those pages belongs and click “Ad URL”

Subscribe with Valid Email Id to receive updates in Inbox. ( Secured by Google FeedBurner )



From Opened window, Add your URL which you want ads to be blocked and click “ADD”


Once All the URL’s are added, we have to “Select / Tick” those URLs to form a group and click “Next” as seen in Image 2

From the opened page, Deselect All the types of Auto Ads and click Next.


From the next page, Give the name as you want for this Group of URL’s ( as we can see in example given by google ) and click Save.


Leave a Comment

Android Android Build system Android Commands Android Java Applications Application Libraries Application Stack / User Interface Bash / Shell Scripts Bluetooth driver Cloud Technologies Commands and Packages Compilation Content Management System Core Kernel C Programs Development & Build Development, Debugging and Performance Tools Development Environment Setup Django & REST Api Errors & Failures Git Hardware Platforms HTML JAVA Programs Linux, OS Concepts and Networking Linux Device Drivers Linux Host, Ubuntu, SysAdmin Linux Kernel Linux Networking Middleware Libraries, HAL Multimedia Audio, Video, Images NDK / Middleware / HAL OS Concepts PHP Programming Languages Scripting and Automation Search Engine Optimisation ( SEO ) Social Media Source Code Management ( SCM ) System Administration, Security Testing and Debugging Uncategorized Web design and development Website Hosting Wordpress Yocto / Bitbake / Openembedded