<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Geo targeting your ads with Ad Buttons</title>
	<atom:link href="http://blogio.net/blog/2009/09/14/geo-targeting-your-ads-with-ad-buttons/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogio.net/blog/2009/09/14/geo-targeting-your-ads-with-ad-buttons/</link>
	<description>blogging about blogging...</description>
	<lastBuildDate>Wed, 28 Sep 2011 12:00:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Family Tree Software</title>
		<link>http://blogio.net/blog/2009/09/14/geo-targeting-your-ads-with-ad-buttons/comment-page-1/#comment-28857</link>
		<dc:creator>Family Tree Software</dc:creator>
		<pubDate>Sun, 07 Feb 2010 15:29:21 +0000</pubDate>
		<guid isPermaLink="false">http://blogio.net/blog/?p=244#comment-28857</guid>
		<description>This is a cool concept. If you&#039;re directing traffic to a geo targeted campaign that isn&#039;t qualified as they are from the incorrect country then that traffic is potentially wasted, thanks for the update.</description>
		<content:encoded><![CDATA[<p>This is a cool concept. If you&#8217;re directing traffic to a geo targeted campaign that isn&#8217;t qualified as they are from the incorrect country then that traffic is potentially wasted, thanks for the update.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nico</title>
		<link>http://blogio.net/blog/2009/09/14/geo-targeting-your-ads-with-ad-buttons/comment-page-1/#comment-26443</link>
		<dc:creator>Nico</dc:creator>
		<pubDate>Wed, 11 Nov 2009 07:07:49 +0000</pubDate>
		<guid isPermaLink="false">http://blogio.net/blog/?p=244#comment-26443</guid>
		<description>Jon, the plugin uses the &lt;a href=&quot;http://www.ip2nation.com/&quot;&gt;ip2nation database by Per Gustafsson&lt;/a&gt; There are a few code samples on how to use it on his site. Using one of the samples, here&#039;s something you can try:

&lt;code&gt;
$sql = &#039;SELECT 
	            country
	        FROM 
	            ip2nation
	        WHERE 
	            ip &lt; INET_ATON(&quot;&#039;.$_SERVER[&#039;REMOTE_ADDR&#039;].&#039;&quot;) 
	        ORDER BY 
	            ip DESC 
	        LIMIT 0,1&#039;;
	
	list($country) = mysql_fetch_row(mysql_query($sql));
	
	switch ($country) {
		case &#039;se&#039;:
			// Show Swedish ad
			echo&quot;YOUR SWEDISH AD CODE HERE&quot;;
			exit;
		case &#039;us&#039;:
			// Show US ad
			echo&quot;THIS IS WHERE THE US AD CODE GOES&quot;;
			exit;
		default:
			// Ad for the rest of the world
			echo&quot;AD CODE TO SHOW TO OTHERS&quot;;
			exit;
	}
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Jon, the plugin uses the <a href="http://www.ip2nation.com/">ip2nation database by Per Gustafsson</a> There are a few code samples on how to use it on his site. Using one of the samples, here&#8217;s something you can try:</p>
<p><code><br />
$sql = 'SELECT<br />
	            country<br />
	        FROM<br />
	            ip2nation<br />
	        WHERE<br />
	            ip &lt; INET_ATON(&quot;&#039;.$_SERVER[&#039;REMOTE_ADDR&#039;].&#039;&quot;)<br />
	        ORDER BY<br />
	            ip DESC<br />
	        LIMIT 0,1&#039;;</p>
<p>	list($country) = mysql_fetch_row(mysql_query($sql));</p>
<p>	switch ($country) {<br />
		case &#039;se&#039;:<br />
			// Show Swedish ad<br />
			echo&quot;YOUR SWEDISH AD CODE HERE&quot;;<br />
			exit;<br />
		case &#039;us&#039;:<br />
			// Show US ad<br />
			echo&quot;THIS IS WHERE THE US AD CODE GOES&quot;;<br />
			exit;<br />
		default:<br />
			// Ad for the rest of the world<br />
			echo&quot;AD CODE TO SHOW TO OTHERS&quot;;<br />
			exit;<br />
	}<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon</title>
		<link>http://blogio.net/blog/2009/09/14/geo-targeting-your-ads-with-ad-buttons/comment-page-1/#comment-26432</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Wed, 11 Nov 2009 00:38:48 +0000</pubDate>
		<guid isPermaLink="false">http://blogio.net/blog/?p=244#comment-26432</guid>
		<description>Hi, I posted this on Wordpress.org, but maybe here is a better place to ask.

I am using Adbuttons specifically for the geotargeting to display different ads to UK and US viewers. I have 4 125px ads for each country.

What I could love is a way to display some additional adverts by placing code in template files (e.g. single.php) and using the geo targeting database to do this. For example, I have one advertiser that only wants to show ads to UK, and the advert is javascript so cannot use img/url anyway. Is this possible? I am sure it must be relatively simple, and would be good to make use of the geo targeting database.</description>
		<content:encoded><![CDATA[<p>Hi, I posted this on WordPress.org, but maybe here is a better place to ask.</p>
<p>I am using Adbuttons specifically for the geotargeting to display different ads to UK and US viewers. I have 4 125px ads for each country.</p>
<p>What I could love is a way to display some additional adverts by placing code in template files (e.g. single.php) and using the geo targeting database to do this. For example, I have one advertiser that only wants to show ads to UK, and the advert is javascript so cannot use img/url anyway. Is this possible? I am sure it must be relatively simple, and would be good to make use of the geo targeting database.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeet</title>
		<link>http://blogio.net/blog/2009/09/14/geo-targeting-your-ads-with-ad-buttons/comment-page-1/#comment-25005</link>
		<dc:creator>Jeet</dc:creator>
		<pubDate>Thu, 24 Sep 2009 15:04:53 +0000</pubDate>
		<guid isPermaLink="false">http://blogio.net/blog/?p=244#comment-25005</guid>
		<description>Hi Nico!
Agreed to Rob - great plugin.
Thanks for keeping it free.
Im sure that everyone should measure the increase in income from your plugin and share it with you through donation :)
Thanks again for your work.</description>
		<content:encoded><![CDATA[<p>Hi Nico!<br />
Agreed to Rob &#8211; great plugin.<br />
Thanks for keeping it free.<br />
Im sure that everyone should measure the increase in income from your plugin and share it with you through donation <img src='http://blogio.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Thanks again for your work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nico</title>
		<link>http://blogio.net/blog/2009/09/14/geo-targeting-your-ads-with-ad-buttons/comment-page-1/#comment-24958</link>
		<dc:creator>Nico</dc:creator>
		<pubDate>Tue, 22 Sep 2009 12:58:03 +0000</pubDate>
		<guid isPermaLink="false">http://blogio.net/blog/?p=244#comment-24958</guid>
		<description>Rob, that is something that will quite likely be added in a future release of the Ad Buttons plugin</description>
		<content:encoded><![CDATA[<p>Rob, that is something that will quite likely be added in a future release of the Ad Buttons plugin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://blogio.net/blog/2009/09/14/geo-targeting-your-ads-with-ad-buttons/comment-page-1/#comment-24905</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Sat, 19 Sep 2009 01:57:34 +0000</pubDate>
		<guid isPermaLink="false">http://blogio.net/blog/?p=244#comment-24905</guid>
		<description>Hey Nico!

Great plug-in, but I like it so much that I&#039;d really like to use it more than once so that I can break up my ads.

Maybe in a future release you could make it so that I could create more than one instance for my site?</description>
		<content:encoded><![CDATA[<p>Hey Nico!</p>
<p>Great plug-in, but I like it so much that I&#8217;d really like to use it more than once so that I can break up my ads.</p>
<p>Maybe in a future release you could make it so that I could create more than one instance for my site?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nico</title>
		<link>http://blogio.net/blog/2009/09/14/geo-targeting-your-ads-with-ad-buttons/comment-page-1/#comment-24871</link>
		<dc:creator>Nico</dc:creator>
		<pubDate>Wed, 16 Sep 2009 19:05:34 +0000</pubDate>
		<guid isPermaLink="false">http://blogio.net/blog/?p=244#comment-24871</guid>
		<description>Looks good to me in both FF and IE. Try clearing your cache and history in FF. I have had similar problems with some other site, where my ISP was serving me a cached version of images. If that is the case, maybe give it a day and the problem should fix itself.
The page is created by the code on the server, so there can be no difference between what FF and IE see, also the output of the script is a simple link and image, nothing special.</description>
		<content:encoded><![CDATA[<p>Looks good to me in both FF and IE. Try clearing your cache and history in FF. I have had similar problems with some other site, where my ISP was serving me a cached version of images. If that is the case, maybe give it a day and the problem should fix itself.<br />
The page is created by the code on the server, so there can be no difference between what FF and IE see, also the output of the script is a simple link and image, nothing special.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luis</title>
		<link>http://blogio.net/blog/2009/09/14/geo-targeting-your-ads-with-ad-buttons/comment-page-1/#comment-24870</link>
		<dc:creator>Luis</dc:creator>
		<pubDate>Wed, 16 Sep 2009 18:40:06 +0000</pubDate>
		<guid isPermaLink="false">http://blogio.net/blog/?p=244#comment-24870</guid>
		<description>Hi Nico.

That was what i thought but no... If you want to check it for yourself please visit http://www.desaparezca.net/blog2 with both navigators (iexplorer and firefox). There is only one ad, at the right panel, is called Ads!.

Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Hi Nico.</p>
<p>That was what i thought but no&#8230; If you want to check it for yourself please visit <a href="http://www.desaparezca.net/blog2" rel="nofollow">http://www.desaparezca.net/blog2</a> with both navigators (iexplorer and firefox). There is only one ad, at the right panel, is called Ads!.</p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nico</title>
		<link>http://blogio.net/blog/2009/09/14/geo-targeting-your-ads-with-ad-buttons/comment-page-1/#comment-24869</link>
		<dc:creator>Nico</dc:creator>
		<pubDate>Wed, 16 Sep 2009 18:18:01 +0000</pubDate>
		<guid isPermaLink="false">http://blogio.net/blog/?p=244#comment-24869</guid>
		<description>Luis, your problem sounds like a local cache problem to me. Try reloading the page in firefox by pressing [ctrl] + [F5]</description>
		<content:encoded><![CDATA[<p>Luis, your problem sounds like a local cache problem to me. Try reloading the page in firefox by pressing [ctrl] + [F5]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luis</title>
		<link>http://blogio.net/blog/2009/09/14/geo-targeting-your-ads-with-ad-buttons/comment-page-1/#comment-24867</link>
		<dc:creator>Luis</dc:creator>
		<pubDate>Wed, 16 Sep 2009 16:32:59 +0000</pubDate>
		<guid isPermaLink="false">http://blogio.net/blog/?p=244#comment-24867</guid>
		<description>Hi!

Thanks in advance for this awesome plugin. I have a strange problem, i&#039;m using wordpress 2.8.4 and ad buttons 1.7, when i visit the website with iexplorer the ad image is visible but with firefox (3.5.3) the ad image dont show up. ¿Any idea?</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>Thanks in advance for this awesome plugin. I have a strange problem, i&#8217;m using wordpress 2.8.4 and ad buttons 1.7, when i visit the website with iexplorer the ad image is visible but with firefox (3.5.3) the ad image dont show up. ¿Any idea?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

