Today, I finally added Google ads to my blog. I have always hated them, but Google ads give me different feelings. It crawls website content through Google's search engine and places relevant advertisements based on the webpage content. If there is no consistent advertisement, it displays Google public welfare advertisement. Google's public interest ads are very interesting. They generally ask a question. After you click it, you can use Google search to find the answer to this question. Google ads on this site use a 160*160 Tower, floating display on the right side of the page, and provide click hiding functions and prompts. The Google advertisement code is as follows:
<Div align = "center" id = "divads" style = "position: absolute; width: 120">
<Div> <span style = "position: absolute; top: 0; left: 0; width: 100%; Height: 24; Background-color: #006699; color: white; font-size: 9pt; Z-index: 2; "onclick =" divads. style. display = 'None; '"> click to hide the advertisement </span>
<SCRIPT type = "text/JavaScript"> <! --
Google_ad_client = "pub-7149664582144625 ";
Google_ad_width = 120;
Google _ad_height = 600;
Google_ad_format = "120x600_as ";
Google_ad_channel = "";
Google_ad_type = "text ";
// --> </SCRIPT>
<SCRIPT type = "text/JavaScript"
Src = "http://pagead2.googlesyndication.com/pagead/show_ads.js">
</SCRIPT>
</Div>
</Div>
<Script language = "JavaScript">
VaR adwidth = 122
Divads. style. pixelleft = Document. Body. clientwidth-adwidth
Divads. style. pixeltop = 10;
Window. onresize = function () {divads. style. pixelleft = Document. Body. clientwidth-adwidth ;}
</SCRIPT>
Appendix: Public Interest advertisement appreciation published by Google
- Why is the sky blue?
- Inventor of paper
- Tarot cards
- Dubbing of the bottom story "nimo"
- What is the nearest planet?
- The invention of dumplings
- What is the sun's temperature?
- Ripp van venke
- The fastest bird in the world
- Top singer
- Maximum mathematical number
- Earliest dinosaur appearance Period
- Red Blood Cell Production
- 2002 Nobel Peace Prize winner
- The death of cleopetra
- Greek mythology
- Who is the man who pulls the thorn from the lion's paw in the mythical Rome?
- The capital of csily
- The second person on the moon
- Stylendax riddle
- The largest building in the world
- Lowest point in the world