- HubPages Tutorials and Community
How to insert a Google Adsense code into your blog/webpage
In every hub, blog, or webpage, it would be best to have Google Adsense on it. Well, considering the fact that you'll be earning something out of it, so it's really good to have it in your website. Not only that, Google Adsense posts relevant advertisements that will help your readers find what they want. Let's say, your hub, blog, or webpage is talking about "How to choose the right party dress", Google adsense will post advertisements involving party dresses. In this way, your website increased its value by showing and creating a need, and adsense provide advertisements to fill up that need, so your reader does not have to search the web again just to find that party dress you're talking about in your webpage. It's basically, a "Win-Win" situation for you, Google, and your reader.
Click on the pictures to view original images
How to insert Google Adsense code
Now, let's go to that topic of knowing how to insert Google Adsense code in your website.
First, you need to sign-up with Google. Read it's program policy carefully, not just tick the box that you agree with it, but really read it. In this way, you can prevent being banned from Google.
Once you're signed up and have read its policies by heart, you're now ready for the next step.
Check your website. You need to have a content that complies to Google Adsense's policy. Also, you need to check if your website have a HTML page where you can paste your adsense code. Some websites, like Hubpages post adsense automatically in your hub. Other blogs have tools that you can use to insert your adsense code, you just have to know where to place the ads on your webpage.
Now, after knowing your tools within your webpage and where to paste your Adsense code in your HTML page, you can go to Google Adsense and log in.
In Google Adsense page, you'll see four tabs - Reports, AdSense Setup, My Account, Resources.
Click on Adsense Setup tab, then go to Get Ads. Here, you'll see three choices - AdSense for Content, AdSense for Search, and Adsense for Feeds. Let's go to the easiest and most popular Adsense product - the AdSense for Content.
On this page, you'll have to choose your Ad type, if you want it to be like an Ad unit or a link unit. Let's choose the most effective one - the Ad unit, then click on Continue.
Now, you have to choose the format you want and the colors. 250 x 250 square is my favorite format. For the color, it needs to blend with your webpage. This is important so that you can create an impression that what you're showing is not a mere advertisement, but something that the reader can check out because it's part or related to your topic. You can preview your unit to check your settings before clicking on continue.
After choosing your format and color, you can assign a channel to track the performance of your advertisement. This is optional. Just click on the "Learn more..." link on that page to get further information about channels. Once, you're done, click continue.
Then, you can name your Adsense unit and submit to get the code. All you have to do is copy that code and paste it in the HTML of your website. To look for your HTML, you can either check if you have a HTML editor or at the top page of your web browser, look for View > Source > then it will give you a notepad with the HTML codes on it. Just paste the code where you want it to appear in your website.