Google

Adding Google Search to Your Site

The first thing, that you need to do is to sign up for Google AdSense by going to http://www.google.com and clicking on Advertising Programs. Than click Google AdSense.

1. Read more about the program and apply for it. Fill out the online form per its instructions.

2. Once you have an account set up, you can go back to http://www.google.com, click on Advertising Programing, click on AdSense, and then login.

3. After logging in, select the tab AdSense for Search...

4. F ollow the instructions for customizing your search box. In my example, I have selected the Google Search radio button, selected White for the search box background color, changed the length of the textbox to 20. And I have checkmarked both layout options to say "Google logo above textbox" and "Search button below searchbox"

5. Click the Update Code button.

6. Scrolling down on the page, you have more customizations to choose from. I would just leave it with the default choices that they have presented. There is no need to worry about Channels for now.

7. The important thing is that at the bottom, Google has provided you with some HTML code. Select all all of the code. Then copy it with Ctrl-C. You want to paste this code into your HTML document at the location in which you want to display the search box. For example, I have pasted the Google code inside a table cell (<td> element) of one of my tables in my HTML document.

8. When you run this HTML page, you should see the search box.

Next

In the next lesson, you will learn how to add AdSense for Content to your site, which is more effective in generating revenues than having a Google search box.