create your own

How to insert a Google Adsense code into your blog/webpage

84
rate or flag this page

By JKSophie


Why Adsense?

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

Click the Adsense Setup tab then the Adsense for Content
Click the Adsense Setup tab then the Adsense for Content
Tick the Adsense Unit radio button then choose the unit you want.
Tick the Adsense Unit radio button then choose the unit you want.
Choose the format you want for your ads.
Choose the format you want for your ads.
Choose the right color for your website.  You can see the choices at the right side of the page. It's important that it blends with your website.
Choose the right color for your website. You can see the choices at the right side of the page. It's important that it blends with your website.
After choosing a channel (optional), you can now name your unit then get the code.
After choosing a channel (optional), you can now name your unit then get the code.
Paste the code in the body of the HTML. To find the body, just press CTRL F then type
Paste the code in the body of the HTML. To find the body, just press CTRL F then type

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 by heart its policies, 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 website, like Hubpages, already post adsense automatically on your hub. Blog have tools where you can use to post adsense on it, you just have to know where to place the ads on your webpage.

Now, after knowing your tools within your webpage and you just need the Adsense code to paste 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.

Print   —   Rate it:  up  down  flag this hub

Ask a Question

Comments

RSS for comments on this Hub

Lissie profile image

Lissie  says:
13 months ago

Nice explanation of how to add Adsense to a website but you're wront re Adsense being a must. Although Adsense looks easy to a beginner its in fact one of the hardest programs to make good money in. Most publishers are smartpriced because they don't send quailty traffic. You really should be using sophisticated software which only displays Adsense to your search traffic not your return visitors.

If might be useful to include how to whitelist your site too so that Adsense is only counted on the list of urls you add this helps prevent fraud when your ID is used on other sites: somthing which seems to be happening around hubpages a bit recently

mireland19 profile image

mireland19  says:
13 months ago

This is very helpful. However you should explain how one would find there html so that they can actually insert the code into it ;).

JKSophie profile image

JKSophie  says:
13 months ago

Thanks Lissie, that's a good idea.

For mireland19, thanks. Finding where html editor is located depends on what website you are using. The last screenshot I posted shows where html editor can be found in blogspot, but then again, it's different for other websites.

Ms Chievous profile image

Ms Chievous  says:
10 months ago

Ohh I have yet to figure out Adsense!! I have written over 40 hubs and my accumulated fortune has just topped five dollars!!! I am having a very difficult time at my home computer which has windows VISTA. It is not easy to figure out. Nice job trying to explain Adsense But i think it is not that simple :)

JKSophie profile image

JKSophie  says:
10 months ago

LOL. I guess earning through adsense will really depends on your hub's traffic and if you are generating reasonable clicks on the ads posted. Anyway, there are different ways to add codes for adsense depending on what you are using. For Hubpages, we don't have to do anything but to enable adsense through the affiliate setting. If you have another website, you can add three adsense products - adsense for content, adsense for search, and adsense for feeds. Thanks for your comment. :)

Jerilee Wei profile image

Jerilee Wei  says:
10 months ago

Thanks for making it a lot clearer to me, good hub!

JKSophie profile image

JKSophie  says:
10 months ago

My pleasure. Thanks for the comment :)

Google Adsense Rookie  says:
8 months ago

Nice article...

Jenny  says:
8 months ago

I tried to use the similiar addsense programe, It was AdBrite. I wanted to publish via my bloger, they gave me similiar code, the saimilar picture of blogger you posted can be seen as wel but whenever I try to post, it says the scrips is incorrect or like that the following one......

We were unable to preview your template Please correct the error below, and submit your template again. Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly. XML error message: The reference to entity "zs" must end with the ';' delimiter.Please help me out. won't you?

Jenny  says:
8 months ago

I tried to use the similiar addsense programe, It was AdBrite. I wanted to publish via my bloger, they gave me similiar code, the saimilar picture of blogger you posted can be seen as wel but whenever I try to post, it says the scrips is incorrect or like that the following one......

We were unable to preview your template Please correct the error below, and submit your template again. Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly. XML error message: The reference to entity "zs" must end with the ';' delimiter.

---Please help me out. won't you?

linjingjing profile image

linjingjing  says:
8 months ago

This is a good idea

linjingjing profile image

linjingjing  says:
8 months ago

How to insert Google Adsense code in blog webpage

Good article

JKSophie profile image

JKSophie  says:
8 months ago

Hi Jenny, for AdBrite, if you are entering an html, make sure that you close it with this symbol < > to close it. But it would be best if you just use the layouts that AdBrite already provided so that it will fit your website. For HTML codes, we have different websites so you could learn more about it. I would recommend w3schools.com

KyndaLL  says:
8 months ago

Thanks for the tips.

All publishers please update your private policy as google announces to update it on or before april 03, 2009.

More info: http://unitedpaysites.com

Better be safe than sorry. good luck

jen  says:
5 months ago

I followed the steps and i tried copying my code to my site but not sure if it is right. Google ads do appear on my website but when you copy and paste your code, r u suppose to see it? for. example i created a side bar and then copied it into the html box they given and saved it then published it but when I went to preview it, I saw nothing. I have been trying t get this to work for weeks. very fustrating..

blaise25 profile image

blaise25  says:
5 months ago

nice hub..;p

im from the philli too

ataylor1990 profile image

ataylor1990  says:
5 months ago

Hey there I read your article but im really mad the same time after searching around for a simple answer and still nothing but just stopping by to let you know that your make more sense then everyone else and once i get back in tha mood i'll definetly get back to yours but my question was that can you even post your google adsense code onto hubpages because ppl saying that you can and the others say that you cant and i posted 5 hubs already no copy no cheat no profanity and so on its all about games and energy drinks and my score is growing but my earning are still $0.00 can you help out :'''(

JKSophie profile image

JKSophie  says:
4 months ago

Hi, thanks for the comment.  Hubpages automatically generate ads on our articles, and only uses our codes so we can get our share whenever a reader clicked on a google ad.  This means that, we do not have to put google ads manually. You need to make sure that you accurately posted your affiliate code from google adsense to hubpages' affiliate settings.  To do this, from your hubpages account, go to affiliate settings, and you will see the affiliate code.  If it matches what you have in google adsense, then you're good to go.  All you have to do is to make interesting articles.  Do not forget to add at least 15 tags per article, and the url, needs to match your topic.

chinaka  says:
4 months ago

how do i get google adsence on my blog?

JKSophie profile image

JKSophie  says:
4 months ago

Hi chinaka. First, you need to sign-up in google. Make sure that you carefully read the terms and conditions. Once google confirms and accepted your application, then it will provide you different ways on how to add google adsense in your blog. I have provided some steps above.

Timothy Hicknell  says:
2 months ago

Very helpful You tha Man

aecaccount profile image

aecaccount  says:
2 months ago

Similar post to my post

Leop profile image

Leop  says:
6 weeks ago

Thank you for the information on adding codes. I just have another question for you if you don't mind. I have completed a lot of steps and in all my hubs I see ads by google. That means that my setup is correct and all I need is traffic to my hubs & for pple to click on my site right?. Thank you very.

Kannu  says:
6 weeks ago

Nice tips... a newbie on google adsense can get full help on this hubs... :)

JKSophie profile image

JKSophie  says:
5 weeks ago

Hi Leop...you're right, it was setup correctly and all you have to do is work on the traffic :)

Thanks for the comments Leop and Kannu

Rhonda Giarraffa  says:
4 weeks ago

Great content here.

I could not help but chime in for the Newbies that are just getting started. AdSense is a great way to make extra income. However, you do need a ton of traffic coming to your pages. Hubpages are great because Google seems to love the site. If you want to win at the Adsense game you will want to tie your hubpages site to your blog site. You should think about strategic planning here.

The way to get traffic is to make sure you get a domain name that you own, a hosting account and an auto-responder if you are serious about generating income.

Also, your niche depends on the thought process of folks that will click on your links.

Additionally, make certain that your Adsense channels are relevant to your content.

There is a mind map that you will want to create so you can get the best return on your time invested.

Hope this helps a bit more.

Rhonda Giarraffa

Rhonda Giarraffa  says:
4 weeks ago

Great content here.

I could not help but chime in for the Newbies that are just getting started. AdSense is a great way to make extra income. However, you do need a ton of traffic coming to your pages. Hubpages are great because Google seems to love the site. If you want to win at the Adsense game you will want to tie your hubpages site to your blog site. You should think about strategic planning here.

The way to get traffic is to make sure you get a domain name that you own, a hosting account and an auto-responder if you are serious about generating income.

Also, your niche depends on the thought process of folks that will click on your links.

Additionally, make certain that your Adsense channels are relevant to your content.

There is a mind map that you will want to create so you can get the best return on your time invested.

Hope this helps a bit more.

Rhonda Giarraffa

vannarith profile image

vannarith  says:
8 days ago

However, i must the tips but you can earn more if you can insert ads code into your blog post. For me, i could around $100 everyday from adsense.

http://adsense-tutor2success.blogspot.com/

vannarith profile image

vannarith  says:
8 days ago

However, i must thz for the tips but you can earn more if you can insert ads code into your blog post. For me, i could around $100 everyday from adsense.

http://adsense-tutor2success.blogspot.com/

Submit a Comment

Members and Guests

Sign in or sign up and post using a hubpages account.


optional


  • No HTML is allowed in comments, but URLs will be hyperlinked
  • Comments are not for promoting your hubs or other sites

working