Welcome to WebmasterWorld Guest from 54.198.106.21

Forum Moderators: incrediBILL & martinibuster

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

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

Preferred Member

Top Contributors Of The Month

joined:Mar 15, 2013
posts: 472
votes: 32


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:

https://www.example.com/members/login/?q=notfound

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: 308
votes: 6


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?
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members