Disable Adsense Gadgets, On Static Pages
Saturday, April 2, 2016
Edit
One work amongst AdSense, that precisely about spider web log owners bring reported, is that AdSense ads are non permitted on pages amongst real trivial AdSense relevant content.
Unfortunately for precisely about spider web log owners, the responsibleness for preventing this is left to the spider web log owner.
Blogs amongst static pages, together with AdSense gadgets inwards the sidebar, are a work here. Static pages amongst trivial spider web log relevant content - such every bit label indexes, expanded possessor profiles, particular gadgets similar Followers displays - crusade problems amongst the AdSense advertizing classifier - together with tin hand the axe crusade 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 amongst a "static page" conditional, to block display of each AdSense gadget.
If yous desire to block gadget "AdSense1" from displaying on all static pages, that's a elementary CSS rule, added using "Add CSS".
Note that I wrote this to selectively block AdSense gadgets from displaying - but yous tin hand the axe role it amongst whatever gadget, that yous ask to block. AdSense is but ane gadget that needs to hold upwards selectively displayed.
As always, hold upwards aware that the blank business to a higher house together with below the code, every bit displayed here, is non intended to hold upwards decorative. Any fourth dimension yous add together CSS rules, the blank business is required, to split upwards each CSS dominion - together with brand each dominion operational.
If the spider web log publishes actual spider web log content on precisely about static pages, conditionals volition hold upwards a flake to a greater extent than complicated. This is ane to a greater extent than argue why static pages are not typically used for spider web log content.
Owners of #Blogger blogs amongst AdSense ads, that role static pages without AdSense relevant content, ask to block ads from displaying on such pages. Failure to display ads selectively tin hand the axe crusade problems amongst ads on the blog.
Fortunately, a elementary CSS dominion tin hand the axe hold upwards 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 precisely about spider web log owners, the responsibleness for preventing this is left to the spider web log owner.
Blogs amongst static pages, together with AdSense gadgets inwards the sidebar, are a work here. Static pages amongst trivial spider web log relevant content - such every bit label indexes, expanded possessor profiles, particular gadgets similar Followers displays - crusade problems amongst the AdSense advertizing classifier - together with tin hand the axe crusade 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 amongst a "static page" conditional, to block display of each AdSense gadget.
<b:if cond='data:blog.pageType == "static_page"'>
If yous desire to block gadget "AdSense1" from displaying on all static pages, that's a elementary CSS rule, added using "Add CSS".
Note that I wrote this to selectively block AdSense gadgets from displaying - but yous tin hand the axe role it amongst whatever gadget, that yous ask to block. AdSense is but ane gadget that needs to hold upwards selectively displayed.
<b:if cond='data:blog.pageType == "static_page"'>
<style>
#AdSense1 {display: none !important;}
</style>
</b:if>
As always, hold upwards aware that the blank business to a higher house together with below the code, every bit displayed here, is non intended to hold upwards decorative. Any fourth dimension yous add together CSS rules, the blank business is required, to split upwards each CSS dominion - together with brand each dominion operational.
If the spider web log publishes actual spider web log content on precisely about static pages, conditionals volition hold upwards a flake to a greater extent than complicated. This is ane to a greater extent than argue why static pages are not typically used for spider web log content.
Owners of #Blogger blogs amongst AdSense ads, that role static pages without AdSense relevant content, ask to block ads from displaying on such pages. Failure to display ads selectively tin hand the axe crusade problems amongst ads on the blog.
Fortunately, a elementary CSS dominion tin hand the axe hold upwards 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