homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Google / Google AdSense
Forum Library, Charter, Moderators: incrediBILL & jatar k & martinibuster

Google AdSense Forum

Google Adsense: Displaying alternate text if Ad's are blocked

 12:23 am on Apr 24, 2006 (gmt 0)

Is there a bit of code that can be added to the google adsense code so that if users have the ads blocked an alternate text message will display in it's place so there's not a big white space there?

Any links or info on how to do this?



 1:28 am on Apr 24, 2006 (gmt 0)

You can specify alternate ads - see
Best solution is probably to create a file with your alternate text and supply that as the html alternatice


 3:00 am on Apr 24, 2006 (gmt 0)

Yeah that's not quite what I'm talking about. The issue is with browsers that block the ads. I believe there is a way to use the IF statement with the javascript or even PHP to serve up alternate text if the browser blocks the ads from displaying.

Google's solution only covers the possibility of getting rid of the Public Service ads, which isn't quite the same thing.


 3:01 am on Apr 24, 2006 (gmt 0)

Is noscript suffice?


 3:52 am on Apr 24, 2006 (gmt 0)

create a new webpage with all the text - now make that webpage as the alternate URL

Global Options:
 top home search open messages active posts  

Home / Forums Index / Google / Google AdSense
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved