<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" ><channel><title>Zemalf.comBlog Advertising | Zemalf.com</title> <atom:link href="http://zemalf.com/topics/make-money-online/blog-advertising/feed/" rel="self" type="application/rss+xml" /><link>http://zemalf.com</link> <description>Learn to Build Kick-Ass Websites the Hard Way</description> <lastBuildDate>Tue, 31 Jan 2012 04:46:31 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=</generator> <item><title>Search Targeted Advertising Seems to Work For Chitika and Blogs</title><link>http://zemalf.com/900/search-targeted-advertising-seems-to-work-for-chitika-and-blogs/</link> <comments>http://zemalf.com/900/search-targeted-advertising-seems-to-work-for-chitika-and-blogs/#comments</comments> <pubDate>Fri, 12 Jun 2009 19:00:36 +0000</pubDate> <dc:creator>Antti Kokkonen</dc:creator> <category><![CDATA[Blog Advertising]]></category> <category><![CDATA[Advertising]]></category> <category><![CDATA[eBooks]]></category> <category><![CDATA[Make Money Online]]></category><guid isPermaLink="false">http://zemalf.com/?p=900</guid> <description><![CDATA[<p>As of 11:23AM EST on June 2nd 2009, Chitika crossed the 50,000 publisher mark. Since the launch of Chitika &#124; Premium last May (about 13 months ago), the Chitika network [...]</p><p><hr /><p>Original post from Zemalf's <a href="http://zemalf.com">Website optimization</a> blog:<br /> <a href="http://zemalf.com/900/search-targeted-advertising-seems-to-work-for-chitika-and-blogs/">Search Targeted Advertising Seems to Work For Chitika and Blogs</a></p></p>]]></description> <content:encoded><![CDATA[<blockquote><p>As of 11:23AM EST on June 2nd 2009, Chitika crossed the 50,000 publisher mark. Since the launch of Chitika | Premium last May (about 13 months ago), the Chitika network has more than doubled (an almost 170% increase) from around 18,000 pubs to today’s momentous 50,000+</p></blockquote><p><a href="http://zemalf.com/go/chitika" title="Get Chitika | Premium"><img src="http://scripts.chitika.net/eminimalls/logos/468x60.png" title="Get Chitika | Premium"   alt="468x60 Search Targeted Advertising Seems to Work For Chitika and Blogs"  /></a></p><h2>Do You Have Chitika Ads on Your Blog?</h2><p>50000 other bloggers and websites think you should have!</p><p><span id="more-900"></span></p><p>Chitika's <em>search traffic targeted advertising</em> the easiest way to cash in on all the search engine traffic you get and it can be used in addition to Google AdSense and other advertising you might have on your blog. Chitika is targeted to US and Canada at the moment, but as long as your blog gets traffic from the North America, it's all good, so your blog can be anywhere in the world.</p><p>Chitika's ads have proved to be very successful and most of the big blogs around run them, as they work especially well on search traffic and you don't have to show those ads to regular visitors. I think at least ProBlogger and QuickOnlineTips use these, but I don't know for sure because I never see them as I rarely enter by search, nor am I from Northern America.</p><h2>Free eBook from Chitika</h2><p>2 years ago (2007) Chitika gathered 30 Internet and blogging experts together, turned the hints &amp; tips and their  best practises into an eBook and published it to everyone for free. You can get the book from Chitika's website.</p><p>If you want to join the Chitika publishers and get their ads on your blog, click on the banner above or <a href="http://zemalf.com/go/chitika" title="Chitika | Premium">watch the video at Chitika</a> and learn more.</p> Here's more posts like to this:<ol><li><a href='http://zemalf.com/501/how-to-add-category-and-tag-based-advertising-and-content-to-your-blog/' rel='bookmark' title='How To Add Category and Tag Based Advertising and Content to Your Blog'>How To Add Category and Tag Based Advertising and Content to Your Blog</a></li><li><a href='http://zemalf.com/337/how-to-combine-google-custom-search-and-adsense-with-the-default-wordpress-search/' rel='bookmark' title='How To Combine Google Custom Search and AdSense with the Default WordPress Search'>How To Combine Google Custom Search and AdSense with the Default WordPress Search</a></li><li><a href='http://zemalf.com/917/how-to-add-google-custom-search-to-your-blog/' rel='bookmark' title='How To Add Google Custom Search to Your Blog'>How To Add Google Custom Search to Your Blog</a></li></ol><p><hr /><p>Original post from Zemalf's <a href="http://zemalf.com">Website optimization</a> blog:<br /> <a href="http://zemalf.com/900/search-targeted-advertising-seems-to-work-for-chitika-and-blogs/">Search Targeted Advertising Seems to Work For Chitika and Blogs</a></p></p>]]></content:encoded> <wfw:commentRss>http://zemalf.com/900/search-targeted-advertising-seems-to-work-for-chitika-and-blogs/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Installing OpenX ad server for Your Blog(s)</title><link>http://zemalf.com/891/installing-openx-ad-server-to-your-blog/</link> <comments>http://zemalf.com/891/installing-openx-ad-server-to-your-blog/#comments</comments> <pubDate>Thu, 11 Jun 2009 23:00:47 +0000</pubDate> <dc:creator>Antti Kokkonen</dc:creator> <category><![CDATA[Blog Advertising]]></category> <category><![CDATA[Advertising]]></category> <category><![CDATA[How-To]]></category> <category><![CDATA[OpenX]]></category><guid isPermaLink="false">http://zemalf.com/?p=891</guid> <description><![CDATA[<p>WARNING! This is installation guide for those who run on private servers or have otherwise access to their php installation and can increase the memory limit to a level where [...]</p><p><hr /><p>Original post from Zemalf's <a href="http://zemalf.com">Website optimization</a> blog:<br /> <a href="http://zemalf.com/891/installing-openx-ad-server-to-your-blog/">Installing OpenX ad server for Your Blog(s)</a></p></p>]]></description> <content:encoded><![CDATA[<p class="alert"><strong>WARNING!</strong> This is installation guide for those <strong>who run on private servers or have otherwise access to their php installation</strong> and can increase the memory limit to a level where OpenX can confortably run (For techies: php.ini memory_limit must be at 128Mb).</p><p>It is possible to install your own php instead of using the one that shared <a href="http://zemalf.com/resources/#hosting" title="Check the hosting providers I recommend.">hosting</a> offers, but if you do that, you are responsible for maintaining that php with upgrades and other maintenance. It is not difficult, but it requires a bit of knowledge and isn't worth the trouble, because at the point you actually benefit from self-hosted OpenX ad server, you probably have your own private server already or multiple even, and can even dedicate one server fully to act as ad server.</p><p><strong>If you want to test and use OpenX, I suggest you get a free account and <a href="http://www.openx.org/ad-server/get-openx-hosted" title="Sign Up for OpenX Hosted">sign up for OpenX Hosted</a></strong>, which has and you don't have to worry about installations and maintenance of the OpenX itself, but can concentrate on managing your advertising.</p><h3>Benefits of Having Your Own OpenX ad server</h3><p>Not much really, unless you have a lot of blogs and websites and you want to manage all the advertising from one interface (and in this case, you can easily have dedicated, private ad server).</p><p>Self-hosted OpenX offers you access to the OpenX API of your own server (you know, the advanced stuff), manage all your blog advertising from that one server and of course deliver as many ad impressions as your server can handle..</p><p><strong><em>OpenX Hosted</em> can show up to 100 Million ad impressions per month for free</strong>, which is plenty for most blogs. When you reach that level of advertising, you can get your own private server and pay someone to take care of the self-hosted OpenX installations :)</p><p>But now, if you need your own ad server or having your own OpenX Server would just make you feel cool, I'll show you how to install one!</p><p><span id="more-891"></span></p><h2>Step by Step Guide to Install OpenX</h2><h3>To install Your Own OpenX Server on your blog, you need to:</h3><ul><li><a href="http://www.openx.org/download" title="Download OpenX ad server">Download OpenX ad server</a> and upload it to your server via FTP</li><li>Create a Database for the OpenX (e.g. MySQL like your WP blog)</li><li>Configure the OpenX Server</li></ul><h3>To display ads on your blog with OpenX, you need:</h3><ul><li>add advertising codes, banners and/or links to the OpenX Server</li><li> add the code your theme or widget to your blog</li></ul><p>The installation instructions and how-to videos on openx.org are very good, so consider taking a look at those as well:</p><ul><li><a href="http://www.openx.org/docs/qsg-install" title="How to install the OpenX ad server">How to install the OpenX ad server</a></li></ul><p>They show everything but this part creating the new mysql database..</p><h2>1. Create a New MySQL Database for OpenX</h2><p>In theory, you could use the same MySQL Database as your blog, but it is better to give the ads their own database, so the advertising load on the database doesn't interfere with the blog.</p><h3>Go to your hosting account and create a new mysql database</h3><p>to give an example, if you're on <a href="http://zemalf.com/go/dreamhost">DreamHost</a> like me, go to the control panel (http://panel.dreamhost.com):</p><ol><li> Login if necessary</li><li> Look for "Goodies" on the left side panel and click on it</li><li> Click MySQL Databases</li><li> Fill in the information<ul><li> database name</li><li> database domain</li><li> database user and password</li></ul></li></ol><p>You'll need the MySQL database name, hostname, username and password on later stage of the OpenX installation, so write these down or save the information to text editor.</p><ul><li>Database Name, e.g. cool_open_mysql_database</li><li>Database Hostname, e.g. openxmysql.your_domain_name.com</li><li>Database Username</li><li>Database Password</li></ul><h2>2. Download OpenX</h2><ul><li><a href="http://www.openx.org/download" title="Download OpenX ad server">Download OpenX ad server</a></li><li>Unzip the installation package to temporary directory, e.g.\install\</li><li>After the unzip you'll have the OpenX directory in the directory, e.g. \install\openx-2.8.1</li></ul><h2>3. Upload OpenX to Your Webserver</h2><ul><li>Create directory "openx" to the root of your domain</li><li> Upload the contents of the OpenX directory you just downloaded and unzipped into the "openx" folder on the domain</li></ul><p>The upload will take some time as there is large amount of files in the directory</p><h2>4. Check the Permissions For the images and var Folders</h2><p>OpenX needs to be able to write to the files in the openx/var and openx/www/images folder to complete the installation successfully.</p><p>After the upload is finished, set the file permissions with your FTP client..</p><p>Set these directories to "0777" = writable (OpenX needs this to store data):</p><ul><li>/openx/www/images</li><li>/openx/var</li><li>/openx/var/cache</li><li>/openx/var/plugins</li><li>/openx/var/templates_compiled</li></ul><p>no need to touch the files or other subdirectories.</p><h2>5. Run the OpenX Installation Wizard</h2><p>Go to the directory you uploaded OpenX into with your webbrowser, e.g.</p><p>http://yourdomainnamehere.com/openx</p><h3>Follow the instructions from the OpenX Installation Wizard.</h3><ol><li>Read the welcome page and hit Continue &gt;&gt;</li><li>Read the Terms and Conditions and the Privacy Policy.</li><li>System Check<ul><li>In System Check, if you see a warning about the memory you have to go to your php.ini settings and increase the memory_limit to 128 Mb</li><li>If you're running your blog on shared server, you don't have access to the host's php files, so you cannot change this, unless you install your own php.</li><li>This is the reason this guide is for those who run on private servers or have otherwise access to their php installation.</li><li>If you're running your blog on shared server, I suggest you <a href="http://www.openx.org/ad-server/get-openx-hosted" title="Sign Up for OpenX Hosted">sign up for OpenX Hosted</a> and manage your ads through that.</li></ul></li><li>Database Settings<ul><li>For Database Settings, enter the Database Information you saved when you created the new MySQL database.</li></ul></li><li>Move on to the Administrator and Delivery Settings</li><li>Check the Configuration checklist (the defaults should be ok, but here you can customize the installation if you want)</li><li>Create the administrator account<ul><li>set the administrator username, password and email + set the language and timezone preferences</li></ul></li><li>The installation wizard installs the OpenX plugins automatically (click Continue &gt;&gt; after done)</li><li>Sign-up for the updates and security alerts (recommended)</li></ol><p>That's it, not as easy as WordPress one-click install, but pretty close.</p><p>If you need assistance, open these documents on the side:</p><ul><li><a href="http://www.openx.org/help/2.8/wizard/qsg-install" title="OpenX Installation Quick Start Guide">OpenX Installation Quick Start Guide</a></li><li><a href="http://www.openx.org/help/2.8/wizard/admin-guide" title="OpenX Administrator Guide">OpenX  Administrator Guide</a></li></ul><p>I don't have my own OpenX server running, but I'm planning on test running the OpenX Hosted free service, as it seems like a great way to manage advertising on a blog or website. And as it's free, just give it a go if you're interested and looking for a way to efficiently manage advertising on your blog.</p><h2>Further Information on OpenX Advertising and OpenX ad server</h2><ul><li><a href="http://www.openx.org/help/2.8/wizard/qsg-firstcampaign" title="Quick Start to Serving Your First OpenX Ad Campaign">Create and serve your first ad campaign</a></li></ul><p>For the latest installation instructions and documentation, consult the openx.org website:</p><ul><li><a href="http://www.openx.org/docs/qsg-install" title="How to install the OpenX ad server">How to install the OpenX ad server</a></li><li><a href="http://www.openx.org/en/support/documentation" title="OpenX Support Documentation">OpenX Support Documentation</a></li></ul> Here's more posts like to this:<ol><li><a href='http://zemalf.com/959/how-i-pushed-my-blog-from-pagerank-0-to-pr4-in-37-days/' rel='bookmark' title='How I Pushed My Blog from PageRank 0 to PR4 in 37 Days'>How I Pushed My Blog from PageRank 0 to PR4 in 37 Days</a></li><li><a href='http://zemalf.com/418/how-to-manage-ads-and-track-clickthroughs-with-adrotate-plugin-in-your-wordpress-blog/' rel='bookmark' title='How To Manage Ads and Track Clickthroughs with AdRotate Plugin in Your WordPress Blog'>How To Manage Ads and Track Clickthroughs with AdRotate Plugin in Your WordPress Blog</a></li><li><a href='http://zemalf.com/1434/optimize-wordpress-database/' rel='bookmark' title='How to automatically backup and optimize WordPress database'>How to automatically backup and optimize WordPress database</a></li></ol><p><hr /><p>Original post from Zemalf's <a href="http://zemalf.com">Website optimization</a> blog:<br /> <a href="http://zemalf.com/891/installing-openx-ad-server-to-your-blog/">Installing OpenX ad server for Your Blog(s)</a></p></p>]]></content:encoded> <wfw:commentRss>http://zemalf.com/891/installing-openx-ad-server-to-your-blog/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How I Made One Dollar and 88 Cents ($1.88) With Google AdSense!</title><link>http://zemalf.com/637/how-i-made-one-dollar-and-88-cents-188-with-google-adsense/</link> <comments>http://zemalf.com/637/how-i-made-one-dollar-and-88-cents-188-with-google-adsense/#comments</comments> <pubDate>Sun, 07 Jun 2009 10:30:10 +0000</pubDate> <dc:creator>Antti Kokkonen</dc:creator> <category><![CDATA[Blog Advertising]]></category> <category><![CDATA[AdSense]]></category> <category><![CDATA[Advertising]]></category> <category><![CDATA[How-To]]></category> <category><![CDATA[Make Money Online]]></category><guid isPermaLink="false">http://zemalf.com/?p=637</guid> <description><![CDATA[<p>They say that you shouldn't write about making money online if you're not making any money online. I say, shut it. I'm writing about making money if I feel like [...]</p><p><hr /><p>Original post from Zemalf's <a href="http://zemalf.com">Website optimization</a> blog:<br /> <a href="http://zemalf.com/637/how-i-made-one-dollar-and-88-cents-188-with-google-adsense/">How I Made One Dollar and 88 Cents ($1.88) With Google AdSense!</a></p></p>]]></description> <content:encoded><![CDATA[<p>They say that you shouldn't write about making money online if you're not making any money online. I say, shut it. I'm writing about making money if I feel like writing and sharing my experiences.</p><p>You know, the first rule of <span style="text-decoration: line-through;">Fight</span> <em>Blog Club</em>, you DO write about blogging and making money and the second rule, you DO WRITE even more.</p><p>So here's the thing, most bloggers don't make any money from their blogs. I'm not one of those bloggers, because I have made 1 dollar 88 cents from Google AdSense during the 4 or so years I've been blogging.  And I haven't even tried, and still I made money, it's quite amazing if you ask me. As a clarification, that's $1.88 all time! It's not like I have monthly income here yet.. All this was more and less when I had my blog(s) at blogspot.</p><div id="attachment_638" class="wp-caption alignnone" style="width: 310px"><a href="http://cdn.zemalf.com/wp-content/uploads/2009/06/my_all_time_google_adsense_earnings_up_to_end_of_may_2009.jpg"><img src="http://cdn.zemalf.com/wp-content/uploads/2009/06/my_all_time_google_adsense_earnings_up_to_end_of_may_2009-300x18.jpg" alt="my all time google adsense earnings up to end of may 2009 300x18 How I Made One Dollar and 88 Cents ($1.88) With Google AdSense!" title="My all time Google AdSense earnings up to the end of May 2009."  width="300" height="18" class="size-medium wp-image-638" /></a><p class="wp-caption-text">This is my all time Google AdSense earnings up to the end of May 2009. One Dollar and 88 cents.</p></div><p>That's one hundred million percent more than those bloggers are making who make none! It's all about positivity and working hard, so I'm planning to double my earnings during this summer, wish me luck!</p><p>Here comes the revelation, I'm 100% sure you can do this too.</p><h2>How I Made One Dollar and 88 Cents ($1.88) With Google AdSense!</h2><ol><li>I wrote posts to my blog</li><li>I created Google AdSense Account</li><li>I generated Google AdSense ad code</li><li>I placed the AdSense code to my blog</li><li>Repeated couple of times for different placements on my blog</li></ol><p>That's quite easy isn't it? Check out my quick and easy guide if you need additional info: <a href="http://zemalf.com/424/how-to-get-google-adsense-and-display-ads-on-your-wordpress-blog/" title="How To Get Google AdSense and Display Ads on Your WordPress Blog">How To Get Google AdSense and Display Ads on Your WordPress Blog</a>.</p><p>I bet you can do that too and I think you're gonna love it! Getting paid for doing what you do anyway is like the best thing in the world. But I hope you do hell of a lot better than I do. You know, more than one dollar...</p><p>But you and I have a starting point right there. I think I gotta be reading some of these (you can too if you like):</p><ul><li><a href="http://freelancewritinggigs.com/networkblogging/5-reasons-youre-not-making-money-as-a-blogger/" title="5 Reasons You’re Not Making Money as a Blogger">5 Reasons You’re Not Making Money as a Blogger</a></li><li><a href="http://www.pronetadvertising.com/articles/why-youre-not-making-money-online34456.html" title="Why You're Not Making Money Online">Why You're Not Making Money Online</a></li><li><a href="http://www.copyblogger.com/no-money-blogging/" title="Why You Can’t Make Money Blogging">Why You Can’t Make Money Blogging</a></li><li><a href="http://blog.penelopetrunk.com/2009/04/21/8-reasons-why-you-wont-make-money-from-your-blog/" title="Reality check: You're not going to make money from your blog">Reality check: You're not going to make money from your blog</a></li><li><a href="http://www.canthook.com/node/814" title="Why You're Not Making Money Online">Why You're Not Making Money Online</a></li><li><a href="http://www.winningtheweb.com/business-assets-vs-money-makers.php" title="Don’t Just Make Money Online - Build Business Assets that Last">Don’t Just Make Money Online - Build Business Assets that Last</a></li><li><a href="http://www.doshdosh.com/ultimate-beginners-guide-to-adsense-link-units-optimization/" title="&lt;br &gt;&lt;/a&gt; The Ultimate Beginner’s Guide to Effective Adsense Link Units Optimization">The Ultimate Beginner’s Guide to Effective Adsense Link Units Optimization</a></li></ul><p>How are you doing? Better than me? Not getting much? Have any plans on making more? Please tell me too.</p> Here's more posts like to this:<ol><li><a href='http://zemalf.com/424/how-to-get-google-adsense-and-display-ads-on-your-wordpress-blog/' rel='bookmark' title='How To Get Google AdSense and Display Ads on Your WordPress Blog'>How To Get Google AdSense and Display Ads on Your WordPress Blog</a></li><li><a href='http://zemalf.com/1229/google-adsense-secrets/' rel='bookmark' title='Free Google AdSense Secrets eBook'>Free Google AdSense Secrets eBook</a></li><li><a href='http://zemalf.com/337/how-to-combine-google-custom-search-and-adsense-with-the-default-wordpress-search/' rel='bookmark' title='How To Combine Google Custom Search and AdSense with the Default WordPress Search'>How To Combine Google Custom Search and AdSense with the Default WordPress Search</a></li></ol><p><hr /><p>Original post from Zemalf's <a href="http://zemalf.com">Website optimization</a> blog:<br /> <a href="http://zemalf.com/637/how-i-made-one-dollar-and-88-cents-188-with-google-adsense/">How I Made One Dollar and 88 Cents ($1.88) With Google AdSense!</a></p></p>]]></content:encoded> <wfw:commentRss>http://zemalf.com/637/how-i-made-one-dollar-and-88-cents-188-with-google-adsense/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How To Add Category and Tag Based Advertising and Content to Your Blog</title><link>http://zemalf.com/501/how-to-add-category-and-tag-based-advertising-and-content-to-your-blog/</link> <comments>http://zemalf.com/501/how-to-add-category-and-tag-based-advertising-and-content-to-your-blog/#comments</comments> <pubDate>Thu, 28 May 2009 13:50:01 +0000</pubDate> <dc:creator>Antti Kokkonen</dc:creator> <category><![CDATA[Blog Advertising]]></category> <category><![CDATA[Advertising]]></category> <category><![CDATA[Customize]]></category> <category><![CDATA[How-To]]></category> <category><![CDATA[Make Money Online]]></category> <category><![CDATA[php]]></category> <category><![CDATA[WordPress]]></category><guid isPermaLink="false">http://zemalf.com/?p=501</guid> <description><![CDATA[<p>Want to display certain ads only on certain categories or tags? This quick guide will show you how to do that, for example show banner ads based on category. If [...]</p><p><hr /><p>Original post from Zemalf's <a href="http://zemalf.com">Website optimization</a> blog:<br /> <a href="http://zemalf.com/501/how-to-add-category-and-tag-based-advertising-and-content-to-your-blog/">How To Add Category and Tag Based Advertising and Content to Your Blog</a></p></p>]]></description> <content:encoded><![CDATA[<p><strong>Want to display certain ads only on certain categories or tags?</strong> This quick guide will show you how to do that, for example show banner ads based on category.</p><p>If you have blog with different categories, you might <strong>consider customizing the advertising shown on posts in spesific category or categories or posts with certain tags</strong>. And it doesn't have to be advertising, you can show different links on different categories and tags.</p><p>For example you can:</p><ul><li>Show links to different themes and plugins on your "WordPress" tagged posts, and</li><li>Amazon.com Associates cookbook links on your "Cooking" category.</li><li>Or just display your best posts in the "Fishing" category.</li><li>etc.</li></ul><p>The possibilites are endless, so you can do whatever you can show anything you want and need to show, based on the tags or categories of the posts.</p><p>I wanted to do this, because many of the readers who come in and check some of my World of Warcraft material, or EVE Online posts, are not necessary interested in the WordPress content. And if I write about advertising on a blog and how to utilize a plugin to do it, that gamer just wanting to know how to powerlevel mining on the new alt character, most likely does not want info on latest WordPress Premium Themes or such. So I wanted to customize the advertising, extra content and links I show on different posts.</p><p>First, I utilized the "<a href="http://mitcho.com/code/yarpp/" title="Yet Another Related Posts Plugin">Yet Another Related Posts Plugin</a>" to show the related links, so that was easy and does superb job at providing the related post links.</p><p>But getting spesific advertising in those posts wasn't hard either..</p><p>If you have the same kind of situation, and want to display advertising or special links based on the categories or tags of your posts, I'll show you a quick way to achieve that. You do have to dig into your WordPress theme php-files, or find a plugin to insert the code, but it's really simple...</p><p><span id="more-501"></span><br /> <strong>Category Based Advertising and Content</strong></p><p>Example from <a href="http://wordpress.org/support/topic/227626" title="Forum post: Show banners/ads based on Category?">WordPress Support forums post "Show banners/ads based on Category?"</a>:</p><p>&lt;?php if ( is_category( 'cat') ): ?&gt;<br /> &lt;!-- Insert code for cat ad here --&gt;<br /> Test Cat</p><p>&lt;?php elseif ( is_category( 'dog') ): ?&gt;<br /> &lt;!-- Insert code for cat ad here --&gt;<br /> Test Dog</p><p>&lt;?php else: ?&gt;<br /> &lt;!-- Insert code for generic ad here --&gt;<br /> Test Generic</p><p>&lt;?php endif; ?&gt;</p><p><strong>Add this kind of code before or after the post in the single.php and edit it as you like</strong> (I didn't test it on other pages yet, but let me know if you have something like this running already):</p><p>&lt;!-- Category based content START --&gt;<br /> &lt;p&gt;<br /> &lt;!-- Use Category ID --&gt;<br /> &lt;?php if ( in_category('1') ): ?&gt;<br /> &lt;!-- This code will be displayed if the post is in category with ID 1 --&gt;<br /> &lt;!-- Category ID 1 code starts here --&gt;<br /> &lt;!-- INSERT advertisement code for Category 1 here --&gt;<br /> &lt;!-- Category ID 1 code ends here --&gt;</p><p>&lt;!-- Use Category Name --&gt;<br /> &lt;?php elseif ( in_category('Gaming') ): ?&gt;<br /> &lt;!-- This code will be displayed if the post is in category named 'Gaming' --&gt;<br /> &lt;!-- Category 'Gaming' code starts here --&gt;<br /> &lt;!-- INSERT advertisement code for 'Gaming' here --&gt;<br /> &lt;!-- Category 'Gaming' code ends here --&gt;</p><p>&lt;!-- Use ID, Name or Category slug together --&gt;<br /> &lt;?php elseif ( in_category(array(2, 'Blogging', 'personal-development')) ): ?&gt;<br /> &lt;!-- This code will be displayed if the post is in any of the categories defined in the array --&gt;<br /> &lt;!-- Category ID 2, 'Blogging' or 'personal-development' code starts here --&gt;<br /> &lt;!-- INSERT ad code for several categories here --&gt;<br /> &lt;!-- Category ID 2, 'Blogging' or 'personal-development' code ends here --&gt;</p><p>&lt;?php else: ?&gt;<br /> &lt;!-- This code will be displayed if the conditions above don't hit (you can also remove the else) --&gt;<br /> &lt;!-- Code for all other categories code starts here --&gt;<br /> &lt;!-- INSERT code for generic advertising or other content here --&gt;<br /> &lt;!-- Code for all other categories code ends here --&gt;</p><p>&lt;?php endif; ?&gt;<br /> &lt;/p&gt;</p><p>Remove the unnecessary lines and comments if you like and you're all set. You can use category IDs or category names, and even category slugs work. For detailed info on how the "in_category()" works, check the <a href="http://codex.wordpress.org/Conditional_Tags" title="Conditional Tags @WordPress Codex">WordPress Codex: Conditional Tags</a> -page.</p><p><strong>Tag Based Advertising and Content</strong></p><p>Exactly like with categories, you can customize the content based on the tags of the posts:</p><p>&lt;!-- Tag based content START --&gt;<br /> &lt;p&gt;<br /> &lt;?php if ( has_tag('WordPress') ): ?&gt;<br /> &lt;!-- This code will be displayed if the post has a tag named 'WordPress' --&gt;<br /> &lt;!-- Tag 'WordPress' code starts here --&gt;<br /> &lt;!-- INSERT advertising code for posts with tag 'WordPress' here --&gt;<br /> &lt;!-- Tag 'WordPress' code ends here --&gt;</p><p>&lt;?php elseif ( has_tag(array('How-To', 'Monetize')) ): ?&gt;<br /> &lt;!-- This code will be displayed if the post has at least one tag defined in the array --&gt;<br /> &lt;!-- Tag 'How-To' or 'Monetize' code starts here --&gt;<br /> &lt;!-- INSERT advertising for several tags here --&gt;<br /> &lt;!-- Tag 'How-To' or 'Monetize' code ends here --&gt;</p><p>&lt;?php else: ?&gt;<br /> &lt;!-- This code will be displayed if the conditions above don't hit (you can also remove the else) --&gt;<br /> &lt;!-- Code for all other tags code starts here --&gt;<br /> &lt;!-- INSERT generic advertising code or other content here --&gt;<br /> &lt;!-- Code for all other tags code ends here --&gt;</p><p>&lt;?php endif; ?&gt;<br /> &lt;/p&gt;</p><p><strong>Detailed Info and Afterword<br /> </strong></p><ul><li><a href="http://codex.wordpress.org/Conditional_Tags" title="Conditional Tags @WordPress Codex">WordPress Codex: Conditional Tags</a></li></ul><p>I wanted to get this done quick on my blog, so I only added and tested this in the single posts and placed the code to show the content after the posts.</p><p>So if you try it in the sidebar, header or footer, let me know how you do with it. Also if you know any great plugins that do similar, please share the experiences and leave a comment.</p> Here's more posts like to this:<ol><li><a href='http://zemalf.com/579/how-to-add-feedburner-rss-feed-to-the-sociable-plugin/' rel='bookmark' title='How To Add Feedburner RSS Feed to the Sociable Plugin'>How To Add Feedburner RSS Feed to the Sociable Plugin</a></li><li><a href='http://zemalf.com/900/search-targeted-advertising-seems-to-work-for-chitika-and-blogs/' rel='bookmark' title='Search Targeted Advertising Seems to Work For Chitika and Blogs'>Search Targeted Advertising Seems to Work For Chitika and Blogs</a></li><li><a href='http://zemalf.com/917/how-to-add-google-custom-search-to-your-blog/' rel='bookmark' title='How To Add Google Custom Search to Your Blog'>How To Add Google Custom Search to Your Blog</a></li></ol><p><hr /><p>Original post from Zemalf's <a href="http://zemalf.com">Website optimization</a> blog:<br /> <a href="http://zemalf.com/501/how-to-add-category-and-tag-based-advertising-and-content-to-your-blog/">How To Add Category and Tag Based Advertising and Content to Your Blog</a></p></p>]]></content:encoded> <wfw:commentRss>http://zemalf.com/501/how-to-add-category-and-tag-based-advertising-and-content-to-your-blog/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>How To Get Google AdSense and Display Ads on Your WordPress Blog</title><link>http://zemalf.com/424/how-to-get-google-adsense-and-display-ads-on-your-wordpress-blog/</link> <comments>http://zemalf.com/424/how-to-get-google-adsense-and-display-ads-on-your-wordpress-blog/#comments</comments> <pubDate>Wed, 27 May 2009 10:22:35 +0000</pubDate> <dc:creator>Antti Kokkonen</dc:creator> <category><![CDATA[Blog Advertising]]></category> <category><![CDATA[AdSense]]></category> <category><![CDATA[How-To]]></category> <category><![CDATA[Make Money Online]]></category> <category><![CDATA[Tutorial]]></category> <category><![CDATA[WordPress]]></category><guid isPermaLink="false">http://zemalf.com/?p=424</guid> <description><![CDATA[<p>Want to get advertising in your blog and make some money while at it? Great, I'll show you how. At least how to set it up that is. Getting significant [...]</p><p><hr /><p>Original post from Zemalf's <a href="http://zemalf.com">Website optimization</a> blog:<br /> <a href="http://zemalf.com/424/how-to-get-google-adsense-and-display-ads-on-your-wordpress-blog/">How To Get Google AdSense and Display Ads on Your WordPress Blog</a></p></p>]]></description> <content:encoded><![CDATA[<p>Want to get advertising in your blog and make some money while at it? Great, I'll show you how. At least how to set it up that is. Getting significant money might be another thing, but you only get $0 if you don't try it, right?</p><p><strong>Why Google AdSense?</strong></p><blockquote><p>It's not the only way, but it is the EASY way.</p></blockquote><p>If you want to get advertising to your blog, the most simple way to do it is to ad <a href="http://www.google.com/adsense/" title="Google AdSense">Google AdSense</a> ads to your blog. Getting Google AdSense for your blog is quite simple, but <strong>here's super simple how-to for getting those ads up on your WordPress blog</strong>.</p><p>In this post, you'll find out:</p><ul><li>How to get ad code from the AdSense control panel (easy)</li><li>How to insert the code in your WordPress blog theme (advanced / hard)</li><li>Learn how you can display the ad on top (or below) of each post, or in the blog footer or on each post on your front page, etc.</li><li>How to display the ad using Widget in your blog (very easy)</li><li>List of WordPress plugins you can use to automatically insert the ad code to your blog where you want the ads to be displayed  and manage your advertising and AdSence ads.</li><li>Learn to get ads to your BlogSpot blog</li><li>Learn why you should move to self-hosted WordPress, if you're using WordPress.com</li><li>and much more, in a simple step-by-step tutorial with screenshots</li></ul><p><span id="more-424"></span></p><p><strong>How To Join Google AdSense</strong></p><p>Go to the <a href="http://www.google.com/adsense/" title="Google AdSense">Google AdSense</a> -site and join up, if you need instructions or help, check the <a href="https://www.google.com/adsense/support/" title="AdSense Help">Google Help for AdSense</a>. After joining and getting familiar with the interface by browsing and using the tutorials and help on the site (which are quite excellent by the way), you can move on...</p><p><strong>Getting the Google AdSense Code from AdSense control panel</strong></p><p><strong>1 Setup AdSense for Content &amp; Choose Ad Type</strong></p><ul><li>Click on the "AdSense Setup"</li><li>Click on "Get Ads" if it didn't open as default</li><li>On this screen you can choose what kind of ad you want to create</li></ul><div id="attachment_429" class="wp-caption alignnone" style="width: 310px"><a href="http://cdn.zemalf.com/wp-content/uploads/2009/05/how-to-create-google-adsense-tutorial-part-1.jpg"><img src="http://cdn.zemalf.com/wp-content/uploads/2009/05/how-to-create-google-adsense-tutorial-part-1-300x259.jpg" alt="how to create google adsense tutorial part 1 300x259 How To Get Google AdSense and Display Ads on Your WordPress Blog" title="How To Create Google Adsense Ad and Code - Tutorial Part 1"  width="300" height="259" class="size-medium wp-image-429" /></a><p class="wp-caption-text">Choosing the Ad Type</p></div><ul><li>"<em>Ad Unit</em>" can show both images or text ads on it,</li><li>"<em>Link Unit</em>" has only text links.</li></ul><p>In this example, we choose Ad Unit as we like to create a banner ad.</p><p><strong>2 Set Format, Colors and Other Parameters</strong></p><p>After choosing the ad type you want, click Continue...</p><p>Now you get to choose the format, color and other options for your ad:</p><div id="attachment_430" class="wp-caption alignnone" style="width: 310px"><a href="http://cdn.zemalf.com/wp-content/uploads/2009/05/how-to-create-google-adsense-tutorial-part-2.jpg"><img src="http://cdn.zemalf.com/wp-content/uploads/2009/05/how-to-create-google-adsense-tutorial-part-2-300x296.jpg" alt="how to create google adsense tutorial part 2 300x296 How To Get Google AdSense and Display Ads on Your WordPress Blog" title="How To Create Google Adsense Ad and Code - Tutorial Part 2"  width="300" height="296" class="size-medium wp-image-430" /></a><p class="wp-caption-text">Select Ad Format, Colors and Other Options</p></div><p>Select values and  color you want and set the options for this ad unit:</p><ul><li>What kind of ad unit you want (e.g. vertical/horizontal banner, small box, etc.),</li><li>select color "Palette" from the selection or create your own,</li><li>select font and ad block shape (rounded corners or not, etc)</li></ul><p>In this example we choose 468x60 banner with default Google Palette and Verdana font.</p><p><strong>3 Set Ad Channel for The Add</strong></p><p>When happy with ad format, color and the other options, hit Continue again..</p><p>Now you can choose an existing channel for the ad, or create a new channel like this:</p><div id="attachment_431" class="wp-caption alignnone" style="width: 278px"><a href="http://cdn.zemalf.com/wp-content/uploads/2009/05/how-to-create-google-adsense-tutorial-part-3.jpg"><img src="http://cdn.zemalf.com/wp-content/uploads/2009/05/how-to-create-google-adsense-tutorial-part-3-268x300.jpg" alt="how to create google adsense tutorial part 3 268x300 How To Get Google AdSense and Display Ads on Your WordPress Blog" title="How To Create Google Adsense Ad and Code - Tutorial Part 3"  width="268" height="300" class="size-medium wp-image-431" /></a><p class="wp-caption-text">Create a new channel for your ad or choose one of your old ones</p></div><p>Here, we create a channel "zemalf.com". Channels can be used by advertisers to focus advertising on your channel, and you can edit the description of the channel if you want. Focused advertising is mostly used for bigger and focused sites, so if you're just starting this doesn't matter much, but the channel is there "when your blog is huge" if you will..</p><p><strong>4 Name the Ad Unit</strong></p><p>Again, after setting the channel or channels, hit Continue. Now, name to your ad unit.</p><p>This name will help you find the ad in your control panel and the name will go into the code as well as html comment:</p><div id="attachment_432" class="wp-caption alignnone" style="width: 310px"><a href="http://cdn.zemalf.com/wp-content/uploads/2009/05/how-to-create-google-adsense-tutorial-part-4.jpg"><img src="http://cdn.zemalf.com/wp-content/uploads/2009/05/how-to-create-google-adsense-tutorial-part-4-300x170.jpg" alt="how to create google adsense tutorial part 4 300x170 How To Get Google AdSense and Display Ads on Your WordPress Blog" title="How To Create Google Adsense Ad and Code - Tutorial Part 4"  width="300" height="170" class="size-medium wp-image-432" /></a><p class="wp-caption-text">Name Your Ad Unit to Find and Track it Easier in AdSense</p></div><p>The name of the ad unit will be visible on your control panel, so it's worth it to name the ad unit in a way that you can easily see what kind of unit it is and where you are using it. For example, "zemalf.com 468x60 for Articles/Footer/Header" or such.</p><p><strong>5 Submit and Get the Code</strong></p><p>After naming the new ad, you just have to press "<em>Submit and Get the Code</em>", and copy the generated code where you want to display it. On the next part you'll see an example where you can insert the code in your WordPress and show the ad in your blog.</p><div id="attachment_433" class="wp-caption alignnone" style="width: 310px"><a href="http://cdn.zemalf.com/wp-content/uploads/2009/05/how-to-create-google-adsense-tutorial-part-5.jpg"><img src="http://cdn.zemalf.com/wp-content/uploads/2009/05/how-to-create-google-adsense-tutorial-part-5-300x230.jpg" alt="how to create google adsense tutorial part 5 300x230 How To Get Google AdSense and Display Ads on Your WordPress Blog" title="How To Create Google Adsense Ad and Code - Tutorial Part 5"  width="300" height="230" class="size-medium wp-image-433" /></a><p class="wp-caption-text">Copy the Code and Paste It Where You Want To Display the Ad</p></div><p>You can always go and get the code again from the "Manage Ads" page on your control panel if you need to get the code again for this ad.</p><p><strong>Adding the Google AdSense Code to Your WordPress Theme</strong></p><p>You can choose one or more places for your ad, but I recommend choosing one place / AdSense code, as you can then track the performance of the ad unit from the control panel (e.g. how many times that ad unit has been displayed and how many clickthroughs you have got with that ad and place).</p><p>If you are comfortable with editing your Theme php-files, go to the Theme editor (Appearance - Editor in WordPress 2.7.1)</p><p class="alert"><span style="color: #ff0000;"><strong>WARNING!</strong></span> editing your theme files directly might cause problems on your site, so do this only if you know what your doing. There's easier and better way to do this with widgets and/or plugins, so this is just to show how it's done if you really want and need to...</p><p><em>Option 1 Displaying the Banner After Each Post On Your Blog Frontpage</em></p><ol><li>Go to the theme editor and open the index.php.</li><li>Find code like this (it might be a bit different, depending on your theme):<pre>while (have_posts())</pre></li><li>Then look for this code after that "while":<pre>&lt;?php endwhile; ?&gt;</pre></li><li>This is your "post loop", so if you want to display something before or after all posts on your front page, you can place the code inside this while-endwhile loop.</li><li>To get the ads on top of each post, copy the code just below the "while (have_posts())" line.</li><li>To get the display the ads after of each post, copy the code just above the "endwhile" line.</li></ol><p><em>Option 2 Getting the Banner To Show Below Each Individual Post</em></p><ol><li>Open single.php if you theme has one</li><li>To display the ads on top of the post, copy the code just below "while (have_posts())" line.</li><li>To display the ads below the post, copy the code just above the "endwhile" line.</li></ol><p><em>Option 3 Displaying the Banner in the Blog Footer</em></p><ol><li>Go to the theme editor and open the footer.php.</li><li>copy the code just above the &lt;/body&gt; tag/line.</li><li>or inside/above &lt;div id="footer"&gt; or such, if you want to display it higher.</li></ol><p><em>Option 4 Place the Code Using a Plugin or Widget (Recommended)</em></p><p>Editing your template might be a bit tricky and you have to re-do it if and when you update or change your template, so you should definately use either widgets or spesific plugin to add the Google AdSense code to your blog.</p><p><strong>How To Use a Widget to Display Your AdSense Ads:</strong></p><ol><li>add "text" widget to the sidebar or any widget area your theme supports and</li><li>copy-paste the AdSense code to the widget (mind that the ad unit must be correct size for that widget area/sidebar),</li><li>save</li><li>done</li></ol><p>Your code is now safe from any Theme updates and you don't have to worry about breaking anything by manually editing the .php code.</p><p>In case you want more controlled way on displaying the ads and more control on how they are displayed, I recommend that you use a ad managing plugin...</p><p><strong>Displaying Google AdSense on Your Blog Using a Plugin</strong></p><p>With a WordPress plugin or plugins designed to manage ads or even spesifically Google AdSense code, you can easily insert ads whereever you want in your blog and change the ads and placements with ease...</p><p>Here are some examples of plugins that you can use to manage your ads (they work in different ways, some offer easy way to manage the ad codes, but do not place them in the blog, others just place the code, some do it all). Go to the plugin homepages to learn more:</p><ul><li><a href="http://www.tipsandtricks-hq.com/?page_id=170">WP Simple Adsense Insertion</a></li><li><a href="http://wordpress.org/extend/plugins/adsense-manager/">AdSense Manager</a></li><li><a href="http://www.linewbie.com/wordpress-plugins/">All in One Adsense and YPN</a></li><li><a href="http://www.thulasidas.com/adsense">Easy AdSenser</a></li><li><a href="http://code.openx.org/projects/show/advertising-manager">Advertising Manager</a></li><li><a href="http://meandmymac.net/plugins/adrotate/">AdRotate</a></li><li><a href="http://www.smartlogix.co.in/">wp-insert</a></li></ul><p>Some of these are easier to use than the others, and I won't go through these on this article. Go ahead and try them, or share your experiences in the comments if you have used or are using these or some other pluging to manage your blog advertising.</p><p><strong>AdSense in BlogSpot and WordPress.com blogs</strong></p><p>If you're using free blogging platforms like blogspot or WordPress.com, you can have ads in your blog too.</p><p>In BlogSpot/Blogger, as it is run by Google, it is almost automated for you, just click "make money" or "earn" kinds of links in your blog settings, and the system will set you up with AdSense.</p><p>With WordPress.com, you're in bad shape. As far as I know, you can't have AdSense in there, as the widgets don't allow javascript in them. So I recommend you setup your own, self-hosted WordPress.org based blog.</p><p>Unfortunately, I haven't used other blogging platforms, like <a href="http://zemalf.com/go/typepad">TypePad</a>, so I'm not aware of advertising options in those.</p><p><strong>How AdSense Works and Will You Make Money With It?</strong></p><p>First of all using AdSense is the easiest and the most simple way to get advertising on your blog. There are plenty of other options, but the easiest is definately this. You can make hundreds of thousands of dollars per month with AdSense or you might make zero or couple of cents. Of course, I hope you make a boatload of cash with AdSense in your blog, but in case it doesn't work for you, look for other means to monetize your blog.</p><p>If you need more detailed information on how it works, check the <a href="https://www.google.com/adsense/support/" title="AdSense Help">Google Help for AdSense</a>, but in short: AdSense will customize the ads based on your website or blog content, so in case your content and/or niche is right and you have plenty of readers, AdSense can gain you nice income. But like said, without much traffic or "advertising-friendly" content and audience, you might not make much.</p><p>Only way to see what kind of results you and your blog can achieve, you must try it and then decide if it is good for you. Just remember to test different kind of ads and add placements on your blog. When you have enough data to analyze whether or not you should continue with AdSense, you can decide if you should look for other kinds of ways to make money from your blog.</p><p>Add Google AdSense to your blog and start testing different kind of ad blocks and ad placements to see how it works for you. Don't go into conclusions too fast if you don't get many clicks, especially if you don't have a lot of traffic. After getting the ads up on your blog and seeing how they do, drop back here and share your results in the comments.</p><p>Until next time, I hope this tutorial was useful for you!</p> Here's more posts like to this:<ol><li><a href='http://zemalf.com/418/how-to-manage-ads-and-track-clickthroughs-with-adrotate-plugin-in-your-wordpress-blog/' rel='bookmark' title='How To Manage Ads and Track Clickthroughs with AdRotate Plugin in Your WordPress Blog'>How To Manage Ads and Track Clickthroughs with AdRotate Plugin in Your WordPress Blog</a></li><li><a href='http://zemalf.com/637/how-i-made-one-dollar-and-88-cents-188-with-google-adsense/' rel='bookmark' title='How I Made One Dollar and 88 Cents ($1.88) With Google AdSense!'>How I Made One Dollar and 88 Cents ($1.88) With Google AdSense!</a></li><li><a href='http://zemalf.com/337/how-to-combine-google-custom-search-and-adsense-with-the-default-wordpress-search/' rel='bookmark' title='How To Combine Google Custom Search and AdSense with the Default WordPress Search'>How To Combine Google Custom Search and AdSense with the Default WordPress Search</a></li></ol><p><hr /><p>Original post from Zemalf's <a href="http://zemalf.com">Website optimization</a> blog:<br /> <a href="http://zemalf.com/424/how-to-get-google-adsense-and-display-ads-on-your-wordpress-blog/">How To Get Google AdSense and Display Ads on Your WordPress Blog</a></p></p>]]></content:encoded> <wfw:commentRss>http://zemalf.com/424/how-to-get-google-adsense-and-display-ads-on-your-wordpress-blog/feed/</wfw:commentRss> <slash:comments>12</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 1/52 queries in 0.215 seconds using disk: basic
Object Caching 1809/1865 objects using disk: basic
Content Delivery Network via cdn.zemalf.com

Served from: zemalf.com @ 2012-02-08 09:02:17 -->
