Forum Moderators: martinibuster

Message Too Old, No Replies

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

         

csdude55

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

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



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]

freitasm

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

10+ Year Member Top Contributors Of The Month



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?