Page 1 of 1

How to isert adsence in my blog

Posted: Wed Jan 28, 2015 8:41 am
by jcm4010
Hey Marcus
I have a blog www.irsonlinepayment and wonder how to add adsence on them

Re: How to isert adsence in my blog

Posted: Tue Feb 03, 2015 6:15 pm
by GreenPen
Hi Jean Claude

I'm just going through this forum and saw your post. I'd like to help with that if I can. This is just one way.

First you need a Gmail account (
2. Log in
3. While logged in, go the the address bar and type - - you should see the Adsense logo at top
4. Click "My ads"
5. Click "New ad unit"
6. Go through that and play with designing your ad units.

7. Do a few ads of different sizes. Try and match the design to your blog so it looks good on your blog. It doesn't have to be perfect right now. Just learn the process of working with it all so you can quickly fix it if it sucks.

8. When you get to the code just copy and paste it to notepad so you have it available. Make sure you label each ad cuz they all look alike.

Here's a sample for a 468x15 baner ad.

NOTE 1 - Notice the pub-xxxxxxxxxxxxxxxx - that's your personal publisher number. You'll need that so you might want to always have it available if you use Adsense plugins.

<div align=center>
<script type="text/javascript"><!--
google_ad_client = "pub-xxxxxxxxxxxxxxxxxxx";
google_ad_width = 468;
google_ad_height = 15;
google_ad_format = "468x15_0ads_al_s";
google_ad_channel ="";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0000ff";
google_color_text = "000000";
google_color_url = "008000";
<script type="text/javascript"

9. From there you're ready to paste the adsense code to your site.

10. There's several ways to add adsense to websites and I'm sure Marcus can help you out a lot further on this, but here are 2 ways.

Manual Way - You can use the above code to put the 468x15 banner ad within your blog posts in between paragraphs. Just get your publisher number from your account and replace all those xxxxxx marks with your own Adsense Publisher ID Number. Then go to edit a blog post. Click the "Text" button so you can paste the above code to where you want it. The <div align=center> will center the ad within the article.

Automatic Way - On your blog go to Plugins >> Add Plugins. On the right side you'll see a Search bar. Key in the word "adsense". Choose one of the offered adsense plugins and play with it. If you don't like it, delete it and choose another. Again, you will need your Google Publisher ID number.

11. Test and keep testing

Hope it helps.

Re: How to isert adsence in my blog

Posted: Wed Feb 04, 2015 9:21 am
by jcm4010
Thank you GreenPen
I will try to follow your steps and see if it going to work and post a comment to let you know.


Re: How to isert adsence in my blog

Posted: Wed Feb 04, 2015 5:20 pm
by jcm4010
Hey Guys, guess what? my adsences are know working.... Im existed. This my first time....
Thanks all for your support.

jean claud

Re: How to isert adsence in my blog

Posted: Thu Feb 05, 2015 7:33 am
by GreenPen
I checked your site out quick and you might want to try this little change to your code...

Replace the "<div align=center>" tag with "<div style="padding: 10px; float: left;">"

This should WRAP your text around the image of the ad. The padding just puts a
little more space between the text and image - You can adjust the amount of space you
want on all four sides of the image. If you're interested in learning a little more about
coding the #1 best site is at W3 Schools -

...oh yeah, you got all the ads on the "left side". Try changing it:

<div style="float: right;">, center???

Re: How to isert adsence in my blog

Posted: Thu Feb 05, 2015 12:26 pm
by jcm4010
Thank you, once again. Not familiar with coding but will try to do it as advised.