Disable Adsense Gadgets, On Static Pages
Wednesday, January 28, 2015
Edit
One work alongside AdSense, that or together with therefore spider web log owners accept reported, is that AdSense ads are non permitted on pages alongside really niggling AdSense relevant content.
Unfortunately for or together with therefore spider web log owners, the responsibleness for preventing this is left to the spider web log owner.
Blogs alongside static pages, together with AdSense gadgets inwards the sidebar, are a work here. Static pages alongside niggling spider web log relevant content - such every bit label indexes, expanded possessor profiles, exceptional gadgets similar Followers displays - motility problems alongside the AdSense advertising classifier - together with tin hand the sack motility blogs to lose ads.
As an AdSense publisher, the spider web log possessor is expected to ensure that ads are non displayed on unsuitable spider web log pages.
Fortunately, it's non hard to block AdSense ads from static pages. Just add together a CSS dominion alongside a "static page" conditional, to block display of each AdSense gadget.
If you lot desire to block gadget "AdSense1" from displaying on all static pages, that's a uncomplicated CSS rule, added using "Add CSS".
Note that I wrote this to selectively block AdSense gadgets from displaying - but you lot tin hand the sack operate it alongside whatever gadget, that you lot withdraw to block. AdSense is only i gadget that needs to hold out selectively displayed.
As always, hold out aware that the blank business higher upward together with below the code, every bit displayed here, is non intended to hold out decorative. Any fourth dimension you lot add together CSS rules, the blank business is required, to split each CSS dominion - together with brand each dominion operational.
If the spider web log publishes actual spider web log content on or together with therefore static pages, conditionals volition hold out a fleck to a greater extent than complicated. This is i to a greater extent than argue why static pages are not typically used for spider web log content.
Owners of #Blogger blogs alongside AdSense ads, that operate static pages without AdSense relevant content, withdraw to block ads from displaying on such pages. Failure to display ads selectively tin hand the sack motility problems alongside ads on the blog.
Fortunately, a uncomplicated CSS dominion tin hand the sack hold out used, to block ads from static pages.
https://productforums.google.com/d/topic/blogger/7ANVOrQuvIo/discussion
https://productforums.google.com/d/topic/blogger/-p6mdLF2B08/discussion
Unfortunately for or together with therefore spider web log owners, the responsibleness for preventing this is left to the spider web log owner.
Blogs alongside static pages, together with AdSense gadgets inwards the sidebar, are a work here. Static pages alongside niggling spider web log relevant content - such every bit label indexes, expanded possessor profiles, exceptional gadgets similar Followers displays - motility problems alongside the AdSense advertising classifier - together with tin hand the sack motility blogs to lose ads.
As an AdSense publisher, the spider web log possessor is expected to ensure that ads are non displayed on unsuitable spider web log pages.
Fortunately, it's non hard to block AdSense ads from static pages. Just add together a CSS dominion alongside a "static page" conditional, to block display of each AdSense gadget.
<b:if cond='data:blog.pageType == "static_page"'>
If you lot desire to block gadget "AdSense1" from displaying on all static pages, that's a uncomplicated CSS rule, added using "Add CSS".
Note that I wrote this to selectively block AdSense gadgets from displaying - but you lot tin hand the sack operate it alongside whatever gadget, that you lot withdraw to block. AdSense is only i gadget that needs to hold out selectively displayed.
<b:if cond='data:blog.pageType == "static_page"'>
<style>
#AdSense1 {display: none !important;}
</style>
</b:if>
As always, hold out aware that the blank business higher upward together with below the code, every bit displayed here, is non intended to hold out decorative. Any fourth dimension you lot add together CSS rules, the blank business is required, to split each CSS dominion - together with brand each dominion operational.
If the spider web log publishes actual spider web log content on or together with therefore static pages, conditionals volition hold out a fleck to a greater extent than complicated. This is i to a greater extent than argue why static pages are not typically used for spider web log content.
Owners of #Blogger blogs alongside AdSense ads, that operate static pages without AdSense relevant content, withdraw to block ads from displaying on such pages. Failure to display ads selectively tin hand the sack motility problems alongside ads on the blog.
Fortunately, a uncomplicated CSS dominion tin hand the sack hold out used, to block ads from static pages.
https://productforums.google.com/d/topic/blogger/7ANVOrQuvIo/discussion
https://productforums.google.com/d/topic/blogger/-p6mdLF2B08/discussion