Monday, February 12, 2007

Putting adsense on OfficeLive.com websites

For those of you who is still wondering how the hell do I put adsense on OfficeLive.com website.. Belows are the steps that you need to do..

Step 1.
Setup your adsense code: It should be something like this:

<script type="text/javascript"><!--
google_ad_client = "pub-5896833397260482";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "F5F5F5";
google_color_bg = "F5F5F5";
google_color_link = "333333";
google_color_url = "999999";
google_color_text = "666666";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>


Step 2.
Save it as an html file. Name it something like "google.htm". or anything you like.In your Office Live builder, go to "Documents" and upload your new html file.

Step 3.
In the browser go to http://yourofficelivewebsite.com/document/google.htm(or whatever name you used). And press ctrl -A to select all and ctrl - C to copy it to clipboard

Step 4.
Open Microsoft Frontpage or Dreamweaver.. and paste it.. Next click on the code tab and copy the html code betweens the html code "iframe".

Step 5.
In the OfficeLive Page Editor, open your web page for editing and select the area you want to put your ads into. Click on the module icon and select HTML.. Paste the "iframe" code on the popups window.. and save it..

Done.. the ads should be displayed like how it was suppose to be.


1 comment:

Anonymous said...

I just couldn't leave your site prior to suggesting that I extremely loved the usual info an individual supply for your visitors? Is going to be again continuously in order to check up on new posts

My web site :: low auto insurance quotes (trilln.com)