How to Add Ads to My Web Page

by Amy Marie
Mutual friends can let you know if a friend blocked you.

Mutual friends can let you know if a friend blocked you.

Displaying ads on your web page allows you to make money from your web content. The amount you can make varies, depending on your niche, the popularity of your website and the number of page views you get each day. You can get ads to put on your website by joining an advertising program. Most advertising programs are based on either the pay-per-click or affiliate marketing models. Pay-per-click programs pay you a small amount each time someone clicks on an ad. Affiliate marketing programs pay you when someone makes a purchase after clicking on an ad.

1

Make sure your web host will let you put ads on the page. Some free web hosting providers already have their own ads on the page or will not allow you to put Javascript on the page. If you can’t put ads on your existing web page, you will need to switch to another web hosting provider.

2

Join an advertising program. Write down your username and password; you will need them each time you sign in to the program website.

3

Log into the advertising program website and set up your account. Read the support pages to learn how to generate HTML code for ads and to select the types and sizes of ads you want to display on your web page.

4

Generate and copy the HTML code for an ad or ad group. You can copy the code by selecting the code and then choosing “Copy” from the "Edit" menu of your web browser.

5

Open your web page in an HTML editor. Paste the copied HTML code into your web page at the place you want the ad to appear. You can control the position and appearance of the ads on your web page. Paste in the copied code by selecting “Paste” from the "Edit" menu of your HTML editor. Save the file when you finish making changes.

6

Upload the web page to your web hosting account. View the page online to make sure the ads appear correctly. If they don’t, revise the HTML code, save the file and upload it again.

Tips

  • check Research the reputation of several advertising programs before deciding which ones to join.
  • check For your initial advertisements, choose well-known advertising programs because they are more likely to generate revenue for you and have more support to help you get started.

Warnings

  • close Make sure you carefully read the terms of service for any advertising program you join. Some programs charge a monthly fee if your account balance falls below a minimum amount.
  • close Never click on the ads on your own web page. That is a violation of the terms of service for all web advertising programs.

About the Author

Amy Marie is a software engineer and technical writer who earned a Bachelor of Arts degree in computer science at California State University Long Beach. Her writing appears on eHow and Examiner.com. She specializes in writing about technical, consumer and lifestyle topics.

Photo Credits

  • photo_camera Jupiterimages/Creatas/Getty Images