Welcome to WebmasterWorld Guest from

Forum Moderators: incrediBILL & martinibuster

Message Too Old, No Replies

Page level enforcement on a page that doesn't show Adsense

12:18 am on Jul 17, 2017 (gmt 0)

Preferred Member

5+ Year Member Top Contributors Of The Month

joined:Mar 15, 2013
posts: 616
votes: 50

I'm confused on this, hoping you guys can help me.

I've had a warning come through a few times now, saying that a specific page is being restricted due to "Valuable inventory: no content". The link looks like:


So I modified the page several months ago with:

if ($_GET['q'])
$atf_ad = $btf_ad = $footer_ad = false;

All of my ads are set to these variables, so this removes the Adsense code and instead lets me show the same thing you would see if you had an ad blocker.

So why do I keep getting this warning?

[edited by: not2easy at 1:28 am (utc) on Jul 17, 2017]
[edit reason] charter [/edit]

8:34 am on July 17, 2017 (gmt 0)

Full Member from NZ 

10+ Year Member

joined:July 28, 2003
posts: 312
votes: 7

Is the warning on this page only? Since ads aren't allowed on login, thank you and similar page types why not just remove the ad code from the page instead of testing a querystring?