Line 1: |
Line 1: |
− | __NOTOC__
| + | {{DISPLAYTITLE:Google Adsense}} |
| ==Description== | | ==Description== |
− | | + | You can run [http://adsense.google.com Google Adsense] advertisements at MyWikiBiz within '''[[Help:Spaces#Directory_Space|Directory]]''' listings. |
− | You can run [http://adsense.google.com Google Adsense] advertisements at Centiare within '''[[Centiare:Spaces#Directory_Space|Directory]]''' listings. | |
| | | |
| After you register and create an account at Google, just enter the appropriate ad information within the <nowiki><adsense> ... </adense></nowiki> tags on the page(s) you want the ads to appear. | | After you register and create an account at Google, just enter the appropriate ad information within the <nowiki><adsense> ... </adense></nowiki> tags on the page(s) you want the ads to appear. |
| | | |
− | (''Reminder:'' Adsense and other non-reference external hyper-links ([[Centiare:Link Spam|link spam]]) are prohibited from the Main space.) | + | (''Reminder:'' Adsense and other non-reference external hyper-links ([[Help:Link Spam|link spam]]) are prohibited from the Main space.) |
| | | |
| ==Code== | | ==Code== |
− | ===Example 1===
| + | |
| Here's an example: | | Here's an example: |
| | | |
| <pre> | | <pre> |
| <adsense> | | <adsense> |
− | google_ad_client = "pub-5512298628457000"; | + | google_ad_client = 'ca-pub-4086838842346968'; |
− | google_ad_width = 120; | + | google_ad_width = 468; |
− | google_ad_height = 600; | + | google_ad_height = 60; |
− | google_ad_format = "120x600_as"; | + | google_ad_format = '468x60_as'; |
− | google_ad_type = "text_image"; | + | google_ad_type = 'text_image';//2006-12-28: MyWikiBiz Directory space |
− | google_ad_channel = ""; | + | google_ad_channel = '2388332058'; |
− | google_color_border = "FFFFFF"; | + | google_color_border = '6699CC'; |
− | google_color_bg = "FFFFFF"; | + | google_color_bg = '003366'; |
− | google_color_link = "0066CC"; | + | google_color_link = 'FFFFFF'; |
− | google_color_text = "000000"; | + | google_color_text = 'AECCEB'; |
− | google_color_url = "008000"; | + | google_color_url = 'AECCEB'; |
| </adsense> | | </adsense> |
| </pre> | | </pre> |
Line 31: |
Line 30: |
| | | |
| <adsense> | | <adsense> |
− | google_ad_client = "pub-5512298628457000"; | + | google_ad_client = 'ca-pub-4086838842346968'; |
− | google_ad_width = 120; | + | google_ad_width = 468; |
− | google_ad_height = 600; | + | google_ad_height = 60; |
− | google_ad_format = "120x600_as"; | + | google_ad_format = '468x60_as'; |
− | google_ad_type = "text_image"; | + | google_ad_type = 'text_image';//2006-12-28: MyWikiBiz Directory space |
− | google_ad_channel = "";
| + | google_ad_channel = '2388332058'; |
− | google_color_border = "FFFFFF";
| + | google_color_border = '6699CC'; |
− | google_color_bg = "FFFFFF";
| + | google_color_bg = '003366'; |
− | google_color_link = "0066CC";
| + | google_color_link = 'FFFFFF'; |
− | google_color_text = "000000";
| + | google_color_text = 'AECCEB'; |
− | google_color_url = "008000";
| + | google_color_url = 'AECCEB'; |
− | </adsense>
| |
− | | |
− | ===Example 2===
| |
− | | |
− | Here's another example:
| |
− | | |
− | <pre>
| |
− | <adsense>
| |
− | google_ad_client = "pub-3695520715701375";
| |
− | google_ad_width = 728;
| |
− | google_ad_height = 15;
| |
− | google_ad_format = "728x15_0ads_al";
| |
− | //2007-02-09: Centiare | |
− | google_ad_channel = "0332613634"; | |
− | google_color_border = "336699"; | |
− | google_color_bg = "FFFFFF"; | |
− | google_color_link = "0000FF"; | |
− | google_color_text = "000000"; | |
− | google_color_url = "008000"; | |
| </adsense> | | </adsense> |
− | </pre>
| |
− |
| |
− | And in action:
| |
− |
| |
− | <adsense>
| |
− | google_ad_client = "pub-3695520715701375";
| |
− | google_ad_width = 728;
| |
− | google_ad_height = 15;
| |
− | google_ad_format = "728x15_0ads_al";
| |
− | //2007-02-09: Centiare
| |
− | google_ad_channel = "0332613634";
| |
− | google_color_border = "336699";
| |
− | google_color_bg = "FFFFFF";
| |
− | google_color_link = "0000FF";
| |
− | google_color_text = "000000";
| |
− | google_color_url = "008000";
| |
− | </adsense>
| |
− |
| |
− |
| |
| | | |
| + | [[Page Of::Help:Extensions]] |
| [[Extension Name:=Google Adsense]] | | [[Extension Name:=Google Adsense]] |
− | [[Category:Centiare Extensions]] | + | [[Category:MyWikiBiz Extensions]] |