Welcome to WebmasterWorld Guest from

Forum Moderators: incrediBILL & martinibuster

Message Too Old, No Replies

checking if google finds any ads in advance? time travel kinda.

i had this crazy idea.........



7:20 pm on Apr 29, 2006 (gmt 0)

ok my layout depends on ads and i dont like a big empty rectangle when theres no ads.

can i somehow tell google to not show the ad block at all if no ads can be found?

maybe google_donotshowifnoadsareavaible = "1";?


7:24 pm on Apr 29, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member


This explains how to implement collapsing ad units.

[edited by: Zygoot at 7:25 pm (utc) on April 29, 2006]


7:24 pm on Apr 29, 2006 (gmt 0)

10+ Year Member

search on adsense help pages for "collapsable ad units"

edit: ahh zygoot, you beat me to it by one second ;)


7:38 pm on Apr 29, 2006 (gmt 0)

thanks i get it.

i find it unneccessarily advaned and stupid though from google´s side


9:12 pm on Apr 29, 2006 (gmt 0)

10+ Year Member

Bajsapa! (Feels a bit odd to call anyone that to their face :)

It's far from stupid, especially when you want to display ads interfoiled in text.

However, if you don't want the big empty spaces, you can always include a backup system, such as affiliate ads, in the same space.


Featured Threads

Hot Threads This Week

Hot Threads This Month