This code creates an invisible iframe on your page and puts the Adsense code inside. But since the only thing inside this iframe is the Adsense code itself, how will Google know which ads to show on your page?
Here's the code:
Code:<style> iframe{ opacity: 0; border: 0px none transparent; position: absolute; top: 0px; left: 0px; height: 300px; width: 250px; filter:alpha(opacity=0); } img{ position: absolute; top: -50px; left: 0px; height: 300px; width: 250px; } </style> </head> <body> <div> <img src="http://healthcenter.uoregon.edu/images/continue.gif"/> <script type="text/javascript"><!-- google_ad_client = "pub-1234567890123456"; google_ad_width = 300; google_ad_height = 250; google_ad_format = "300x250_as"; google_ad_type = "image"; google_ad_channel = "4479800422"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </div> </body>
That's a nice example!
I've tested Adsense ad blocks on blank pages to see what ads will display, and what I got was generic public service ads usually. When I added META keywords, the ads changed pretty shortly to be relevant to those keywords when there was nothing else on the page. It's been a couple of months since I last tested that scenario, but it sure appears to me that Google still does look at meta tags when deciding what ads to display. Obviously, I wouldn't recommend anyone even think about leaving a totally blank page with nothing but an Adsense block on it for very long.