{"id":3962,"date":"2011-03-17T14:34:42","date_gmt":"2011-03-17T21:34:42","guid":{"rendered":"http:\/\/lee.org\/blog\/?p=3962"},"modified":"2012-05-26T11:47:24","modified_gmt":"2012-05-26T18:47:24","slug":"lee-org-with-way-fewer-google-ads","status":"publish","type":"post","link":"https:\/\/www.lee.org\/blog\/2011\/03\/17\/lee-org-with-way-fewer-google-ads\/","title":{"rendered":"Lee.org With Way Fewer Google Ads"},"content":{"rendered":"<p>I&#8217;ve been putting Google Adsense Ads on Lee.org since 2008. Initially, it earned about $300\/year. Now it&#8217;s down to about $100\/year. The vast majority of my web traffic is from random passersby. Since I don&#8217;t want to bother my friends with ads, I&#8217;ve changed it so that the most recent 3 months of content are free of ads. About 1 in 1000 page views generates a click on an ad, each is worth $0.10-$0.30 to me.<\/p>\n<p>I make the 3 month delay happen with <a href=\"http:\/\/ocaoimh.ie\/tag\/wp-super-cache\/\">WP Super Cache<\/a> and the <a href=\"http:\/\/ocaoimh.ie\/no-adverts-for-friends\/\">no adverts for friends plugin<\/a>. I hand modified a line in friendsadverts.php to change it from the default 15 days to 90 days.<\/p>\n<blockquote><p>if( get_post_time() &lt; date( &#8216;U&#8217; ) &#8211; 7776000 )<\/p><\/blockquote>\n<p>7776000 is 90 days in seconds.<\/p>\n<p>Thanks <a href=\"http:\/\/ocaoimh.ie\">Donncha<\/a>!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been putting Google Adsense Ads on Lee.org since 2008. Initially, it earned about $300\/year. Now it&#8217;s down to about $100\/year. The vast majority of my web traffic is from random passersby. Since I don&#8217;t want to bother my friends with ads, I&#8217;ve changed it so that the most recent 3 months of content are [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-3962","post","type-post","status-publish","format-standard","hentry","category-wordpress"],"_links":{"self":[{"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/posts\/3962","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/comments?post=3962"}],"version-history":[{"count":0,"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/posts\/3962\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/media?parent=3962"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/categories?post=3962"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/tags?post=3962"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}