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

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 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.

Check your Knowledge

More by this Author


Comments 47 comments

Linda0011 3 years ago

hats off for u r hubs. actually I dont understand about this now I think its clear to me . thanx guys.


Camron doown 4 years ago

I have no any knowledge of Google ad sense and how to put it on site or blog...Here you have gorgeous describe step by step to implement of Google ad sense....Thanks for sharing...

----------------

Link building services :- http://www.seocatalysts.com/search_engine_optimiza...


CatsPage profile image

CatsPage 4 years ago from New Jersey, USA

I have been searching for days now for the answer to posting ads on hubpages. Thanks, you finally gave me the information I needed.!


JKSophie profile image

JKSophie 4 years ago from Philippines Author

You don't have to. Hubpages automatically posts ads when you link your google pub ID through their affiliate programs.


lucywrites profile image

lucywrites 4 years ago from Ireland

I'm just wondering, do you need to paste the code on hub pages or not, because hub pages posts ads automatically? I'm confused.


billib 4 years ago

nice trick to insert your adsense ads under the title or inside the blogger post http://billib.hubpages.com/t/3191b6


Bhavik Patel 4 years ago

nice article plz tell me how to add adsense code in http://freegprsmania.blogspot.com and http://technovary.com


Shriknat 4 years ago

Shrikant

code is nice


InstinctIS 4 years ago

This one goes to the ones thinking to get involved into the adsense program, so before applying and having to pass the first 3 month milestone, one could use some free tools like http://domof.com to check what the site potential is and probably re-think the initial plan.


Ask KayB profile image

Ask KayB 5 years ago

Very helpful. I been having a hard time finding where to place adsense codes. Thanks


jmartin1344 profile image

jmartin1344 5 years ago from Royal Oak, Michigan

Very helpful for new bloggers such as myself.

Thanks a lot!


dotty1 profile image

dotty1 5 years ago from In my world

thank you fo a fantastic hub very informative, I do ask myself why I am puzzled by inserting codes etc but am trying...I do agree with others, it seems simpke but ohhhh no it really isn't (well not to the novice..i..e me) I shall keep reading and hopefully instead of feeling secretly clever inside for actually having a few clicks I shall be feeling clever inside for earning a little :)


yogesh Bajpai 5 years ago

Really a nice way to put the Adsense code, I am also blogger and have simply put a Adsense widget to display a Google Ads.It's completely depend on which tool we are using if we are developing the website then definitely we have to choose html or script from Google Adsense account and if blogger.com user then we can use Adsense widget to show Google ads.


Neverletitgo profile image

Neverletitgo 5 years ago from Minneapolis, MN

Thank you very much. This is well explained hub about about adding adsense to your website. I can't miss following those steps you gave us. I want to say Thanks again


konrel 6 years ago

I want to thank every one for all the help with ideas on how to make the money with hubpages. Great hub.


Güvenlik Kamerasi 6 years 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.


search engine guide 6 years ago

Thanks for posting there are many different things to learn on this subject, im happy to have come across your information


sunesra profile image

sunesra 6 years ago from India

gud hub


vannarith profile image

vannarith 6 years 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/


vannarith profile image

vannarith 6 years 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/


Rhonda Giarraffa 6 years 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 6 years 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


JKSophie profile image

JKSophie 6 years ago from Philippines Author

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


Kannu 6 years ago

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


Leop profile image

Leop 6 years 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.


aecaccount profile image

aecaccount 7 years ago

Similar post to my post


Timothy Hicknell 7 years ago

Very helpful You tha Man


JKSophie profile image

JKSophie 7 years ago from Philippines Author

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.


chinaka 7 years ago

how do i get google adsence on my blog?


JKSophie profile image

JKSophie 7 years ago from Philippines Author

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.


ataylor1990 profile image

ataylor1990 7 years ago from Philadelphia, pa

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 definitely 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 :'''(


blaise25 profile image

blaise25 7 years ago from close to you...

nice hub..;p

im from the philli too


jen 7 years 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 supposed 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..


KyndaLL 7 years 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


JKSophie profile image

JKSophie 7 years ago from Philippines Author

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


linjingjing profile image

linjingjing 7 years ago

How to insert Google Adsense code in blog webpage

Good article


linjingjing profile image

linjingjing 7 years ago

This is a good idea


Jenny 7 years 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 7 years ago

I tried to use the similar addsense programe, It was AdBrite. I wanted to publish via my bloger, they gave me similar code, the saimilar picture of blogger you posted can be seen as well 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?


Google Adsense Rookie 7 years ago

Nice article...


JKSophie profile image

JKSophie 7 years ago from Philippines Author

My pleasure. Thanks for the comment :)


Jerilee Wei profile image

Jerilee Wei 7 years ago from United States

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


JKSophie profile image

JKSophie 7 years ago from Philippines Author

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. :)


Ms Chievous profile image

Ms Chievous 7 years ago from Wv

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 7 years ago from Philippines Author

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.


mireland19 profile image

mireland19 7 years ago from Maine

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


Lissie profile image

Lissie 7 years ago from New Zealand

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: something which seems to be happening around hubpages a bit recently

    Sign in or sign up and post using a HubPages Network account.

    0 of 8192 characters used
    Post Comment

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


    Click to Rate This Article
    working