Forum Moderators: martinibuster

Message Too Old, No Replies

What is the Best Way to Put Adsense on Blogs?

What is the best way to put google adsense on blogs

         

joecool

1:17 pm on Jan 27, 2011 (gmt 0)

10+ Year Member



Hi all,

I have a bunch of blogs that I use google adsense on and I normally use a plugin to automatically put them on when I do a new post; however, I want to stop using the plug in and use an include file, or something else of my own making.

For this sort of stuff on my normal website I would just use a phpinclude but I tried it on my blog and for whatever reason it doesn't work.

What is the best way to put adsense on each page, in the same spot, without using a plugin.

The key factor is the adsense needs to be in one central location, in case I change it in anyway I just want to be able to change 1 central file, rather than 100 blog posts; hence why normally, on my non-blog sites I use a php include or some other kind of include.

Help...

netmeg

1:41 pm on Jan 27, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Depends on your theme. If you're using a framework like Thesis or Genesis, it's pretty easy. Anything else, you have to edit the CMS files, and then you risk losing them if there's an update.

joecool

8:39 am on Jan 28, 2011 (gmt 0)

10+ Year Member



Thanks for that.

I actually have a bunch of themes and you just reminded me that one or two of them might have a place for you to automatically put adsense in without using a separate plugin.

ChristeneMint

9:56 am on Jan 28, 2011 (gmt 0)

10+ Year Member



Log in to your blog on Blogger, and select "Manage Template."
Select the "AdSense" tab. Follow the steps to sign up for AdSense.
Choose ads from AdSense.
Preview your new layout in your Blogger blog. Use the dropdown settings to adjust the appearance of the ads.
Click "Save" once you approve of the ads. They will now appear on your blog and you'll benefit each time a reader clicks on one.