How to Add AdSense to HostGator

by Erin McManaway

You can sign up for a free AdSense account and add AdSense advertisements to your webpages hosted on HostGator. You will need to choose your AdSense settings from the Google website. AdSense will generate an HTML code that you can paste into your website’s code once you have designed your ad’s size and content.

1

Log into your Google AdSense account on the AdSense website.

2

Click the “AdSense Setup” tab on the top menu. This will take you to the AdSense setup where you can choose the type of ad you wish to display on your website.

3

Click the “AdSense for Content” link.

4

Choose whether you want to display an “Ad unit,” which contains both pictures and text ads, or a “Link unit,” which displays topic links rather than actual ads. Click the “Continue” button.

5

Design your AdSense ad. Both types of ads will allow you to choose the size, color, fonts and formats so that you can best match them to your website layout. Click the “Continue” button once you have completed your ad design.

6

Choose an ad channel if you want AdSense to track this ad’s performance as part of an ad group. This is not mandatory, but it can help you to understand which ads are performing best in your AdSense statistics. Click the “Continue” button.

7

Assign a name to your new AdSense unit. Click the “Submit and get code” button.

8

Copy the complete AdSense ad code from the text box.

9

Open your website HTML code in a website editor.

10

Paste the AdSense code into your website’s HTML code at the location where you want your new ad to display, and save the file.

11

Upload the new HTML file to your HostGator account.

Tip

  • check AdSense ads may not appear on your site for the first 10 minutes.

References

About the Author

Erin McManaway holds a B.A. in professional writing from Francis Marion University, where she earned the Richard B. Larsen Memorial Award for Business and Technical Writing. She has worked in materials development, media and information technology in the nonprofit sector since 2006. McManaway has also been a writer and editor since 2008.