给MediaWiki加入Google广告
出自S60 用户全球通
目录 |
[编辑] Google adsense trial
I use a few days to try add Google Advertisement into : my personal websie and try understand how google manage the business model of their advertisement.
first, let's have a look at the parties in the ecosystem and how they work together
- The website owner (my role in the trail)
- Easily setup the account and get started
- No additional cost to add adv into your website
- Easily get some small cash by add adv into the website (I got USD0.1 in first week)
- Rich tools from Google to help for website traffic, advertisement effectiveness analysis
- Google search engine and adv service is clever to push adv to web page depend on
- the contents of the web page,
- the language of webpage or client side language setting
- geographic that end user located
- No need maintenance work to keep it running
- The Advertisement owner ( the party pay to Google to prompt their service/products)
- Provide budget and pay the cost to Google
- provide need info to Google so when user click the adv, they can be linked to their products or service
- Google search engine and traffic report help them to analysis the effectiveness of the adv investment
- Google Search engine
- use Google bot to grab the website contents and analysis the contents, this info will be used by Adv service to provide most relevant adv which match the website contents and its audience
- provide rich tool to website owner and Adv owner to analysis the effectiveness
- Google Adv service
- be the Adv service front end, the interface to Website owner and Adv owner
- very close relation to search engine, most of it work is depend on the search engine result
- how they are working together is unknown to me by now
[编辑] Business model
I roughly summarize the business model from my personal view:
- Only Adv owner need pay money, all other party include normal user, website owner, Google herself is making money(when it is getting big enough)
- Website owner can get money either from showing the Adv or the end user click the Adv, this can motivate website owner to add Google Adv into their website which normally has some certain group of audience, if the website has stable and big enough traffic, the the website owner can get profit or at least cover part of the cost that they invest to running the site
when I run it for 1 week, I got USD0.1, it is small money but I don't care as I run the website not for making money but for my personal interest, it is good to get some money from Google Adv though it might never go beyond USD10 before I close the website ;)
- End user seem don't pay anything here directly, but they pay for the Adv cost indirectly when they buy the service or products from Adv owner, they even paying to whole internet to keep internet running
- Google ensure the Adv was provided to correct audience with proper channel, it link all parties together. then she get profit when the whole community population getting big enough.
[编辑] Why it can be successful
I think there is a few point why it can be successful:
- only Adv owner need pay and they have motivation to pay that for their service and products
- Search engine play an essential role to ensure provide correct Adv to correct audience
- Google be able to integrate Search engine, Adv service, gMail, Map together, so when uer start use it,
they will live within it.
[编辑] A few example based on my trail
- Got Google Adsese account
- Got gMail account, it can provide addtional serice and Maps, Picasso service
- Added 3 google advin my website
- one 120*120 button adv
- One google search box, I can stay in my website and use Google search box to search the web or my site
- Add 120*600 vertical skyscraper adv
- the adv push is clever:
- it provide English adv when I try from office English XP.
- it provide Japanese adv when I in home with Japanese Mac OS
- it provide Chinese adv when I access Chinese contents in my website.
- it provide English and wiki related adv while I editing this page itself.
- it show all football related adv when I access my football club's page in my website
- though it show HK football adv instead of Japan where my club located
- The adv it show sound interesting for myself
[编辑] 给MediaWiki加入Google广告
- 创建Google AdSense账户
- 加一个125x125的按钮式广告,其代码如下:
<script type="text/javascript"> <!-- google_ad_client = "pub-0663440987929819"; /* 125x125, 创建于 08-3-27 */ google_ad_slot = "5843262075"; google_ad_width = 125; google_ad_height = 125; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>
- 将上面的代码存在wiki的目录下面(adsense-button.php)
/var/www/html/wiki/adsense-button.ph
- 修改skins/MonoBook.php
加入下列代码
+ <div class="portlet">
+ <h5>Advertisement</h5>
+ <div class="pBody">
+ <?php include("/var/www/html/wiki/adsense-button.php"); ?>
+ </div>
+ </div>
<div class="portlet" id="p-tb">
<h5><?php $this->msg('toolbox') ?></h5>
<div class="pBody">
*再建立一个120x600的垂直广告,代码如下:
<script type="text/javascript"><!-- google_ad_client = "pub-0663440987929819"; /* 120x600, 创建于 08-3-27 */ google_ad_slot = "6195592060"; google_ad_width = 120; google_ad_height = 600; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>
- 将上面的代码存在wiki的目录下面(adsense-skyscraper.php)
/var/www/html/wiki/adsense-skyscraper.php
- 修改skins/MonoBook.php
加入下列代码
+ <div class="portlet">
+ <h5>Advertisement</h5>
+ <div class="pBody">
+ <?php include("/www/var/html/wiki/adsense-skyscraper.php"); ?>
+ </div>
+ </div>
<?php
if( $this->data['language_urls'] ) { ?>
<div id="p-lang" class="portlet">
- 以此类推,也可以加入其他广告,例如搜索引擎,参见本站搜索的例子
