<?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: How to rotate JavaScript ads during ASP.NET AJAX requests</title>
	<atom:link href="http://encosia.com/2009/01/04/how-to-rotate-javascript-ads-during-aspnet-ajax-requests/feed/" rel="self" type="application/rss+xml" />
	<link>http://encosia.com/2009/01/04/how-to-rotate-javascript-ads-during-aspnet-ajax-requests/</link>
	<description>ASP.NET and AJAX code, ideas, and examples.</description>
	<lastBuildDate>Sun, 14 Mar 2010 13:33:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Dave Ward</title>
		<link>http://encosia.com/2009/01/04/how-to-rotate-javascript-ads-during-aspnet-ajax-requests/#comment-36082</link>
		<dc:creator>Dave Ward</dc:creator>
		<pubDate>Thu, 06 Aug 2009 18:57:28 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=750#comment-36082</guid>
		<description>I don&#039;t know what Google&#039;s official policy is.

If you&#039;re running CPM ads, it&#039;s almost definitely fraud to rotate them on a timer.  I wouldn&#039;t recommend anyone do that, of course.

If you&#039;re running CPC or CPA ads and find that rotating them helps improve their performance, everyone wins.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t know what Google&#8217;s official policy is.</p>
<p>If you&#8217;re running CPM ads, it&#8217;s almost definitely fraud to rotate them on a timer.  I wouldn&#8217;t recommend anyone do that, of course.</p>
<p>If you&#8217;re running CPC or CPA ads and find that rotating them helps improve their performance, everyone wins.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris May</title>
		<link>http://encosia.com/2009/01/04/how-to-rotate-javascript-ads-during-aspnet-ajax-requests/#comment-36078</link>
		<dc:creator>Chris May</dc:creator>
		<pubDate>Thu, 06 Aug 2009 15:35:55 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=750#comment-36078</guid>
		<description>Is google ok with this practice?

What if you refreshed the ad every x seconds?  That seems like a no-no to me.</description>
		<content:encoded><![CDATA[<p>Is google ok with this practice?</p>
<p>What if you refreshed the ad every x seconds?  That seems like a no-no to me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Ward</title>
		<link>http://encosia.com/2009/01/04/how-to-rotate-javascript-ads-during-aspnet-ajax-requests/#comment-36016</link>
		<dc:creator>Dave Ward</dc:creator>
		<pubDate>Fri, 31 Jul 2009 11:42:05 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=750#comment-36016</guid>
		<description>You wouldn&#039;t need to use something like this to rotate simple images.  Serving the image through an ASHX handler that automatically randomizes the image returned is probably the most common way (should be easy to find an example), and it works pretty well.</description>
		<content:encoded><![CDATA[<p>You wouldn&#8217;t need to use something like this to rotate simple images.  Serving the image through an ASHX handler that automatically randomizes the image returned is probably the most common way (should be easy to find an example), and it works pretty well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew</title>
		<link>http://encosia.com/2009/01/04/how-to-rotate-javascript-ads-during-aspnet-ajax-requests/#comment-35967</link>
		<dc:creator>Matthew</dc:creator>
		<pubDate>Sun, 26 Jul 2009 23:33:14 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=750#comment-35967</guid>
		<description>Great Post! Quick question though. If we wanted to randomize the images on the advertisement that were on our server, how would we go about that. For example all of my add&#039;s are png format. I want to rotate them using ajax. Thanks</description>
		<content:encoded><![CDATA[<p>Great Post! Quick question though. If we wanted to randomize the images on the advertisement that were on our server, how would we go about that. For example all of my add&#8217;s are png format. I want to rotate them using ajax. Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Omri Tintpulver &#187; Blog Archive &#187; Properly tracking AJAX or AHAH page loads with Google Analytics and jQuery UI Tabs</title>
		<link>http://encosia.com/2009/01/04/how-to-rotate-javascript-ads-during-aspnet-ajax-requests/#comment-35436</link>
		<dc:creator>Omri Tintpulver &#187; Blog Archive &#187; Properly tracking AJAX or AHAH page loads with Google Analytics and jQuery UI Tabs</dc:creator>
		<pubDate>Sat, 30 May 2009 15:31:48 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=750#comment-35436</guid>
		<description>[...] One of the potential downsides of using AJAX or AHAH is that Google Analytics will not register the AJAX or AHAH page loads &#8212; that is unless you explicitly instruct Google Analytics to track the asynchronously loaded pages. We first caught on to this through Dave Ward’s comments in this blog post. [...]</description>
		<content:encoded><![CDATA[<p>[...] One of the potential downsides of using AJAX or AHAH is that Google Analytics will not register the AJAX or AHAH page loads &#8212; that is unless you explicitly instruct Google Analytics to track the asynchronously loaded pages. We first caught on to this through Dave Ward’s comments in this blog post. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RyanOnTheBeach</title>
		<link>http://encosia.com/2009/01/04/how-to-rotate-javascript-ads-during-aspnet-ajax-requests/#comment-35315</link>
		<dc:creator>RyanOnTheBeach</dc:creator>
		<pubDate>Mon, 18 May 2009 07:07:00 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=750#comment-35315</guid>
		<description>Awesome! two birds with one frame.
Exactly what I was looking for...</description>
		<content:encoded><![CDATA[<p>Awesome! two birds with one frame.<br />
Exactly what I was looking for&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Ward</title>
		<link>http://encosia.com/2009/01/04/how-to-rotate-javascript-ads-during-aspnet-ajax-requests/#comment-34905</link>
		<dc:creator>Dave Ward</dc:creator>
		<pubDate>Mon, 13 Apr 2009 21:12:51 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=750#comment-34905</guid>
		<description>I haven&#039;t used the iframe for AdSense in awhile (I&#039;ve stopped using AdSense on any of my sites), so I don&#039;t have a live test of that anymore.

If the ad is refreshing, it sounds like you&#039;ve got it right.  It&#039;s entirely possible that they&#039;ve done something to neutralize the rotation since then.  I&#039;d be interested to hear what you find out.</description>
		<content:encoded><![CDATA[<p>I haven&#8217;t used the iframe for AdSense in awhile (I&#8217;ve stopped using AdSense on any of my sites), so I don&#8217;t have a live test of that anymore.</p>
<p>If the ad is refreshing, it sounds like you&#8217;ve got it right.  It&#8217;s entirely possible that they&#8217;ve done something to neutralize the rotation since then.  I&#8217;d be interested to hear what you find out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe Reynolds</title>
		<link>http://encosia.com/2009/01/04/how-to-rotate-javascript-ads-during-aspnet-ajax-requests/#comment-34904</link>
		<dc:creator>Joe Reynolds</dc:creator>
		<pubDate>Mon, 13 Apr 2009 20:20:18 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=750#comment-34904</guid>
		<description>Dave, thanks for the prompt responses.

Your suggestion is something I had already tried. What happens is the Google ad &quot;flashes&quot; just as though it was being refreshed with a new page load but the ad content never changes.

Is there a location where this code is actually in place and serving new Google ads on a ajax refresh?</description>
		<content:encoded><![CDATA[<p>Dave, thanks for the prompt responses.</p>
<p>Your suggestion is something I had already tried. What happens is the Google ad &#8220;flashes&#8221; just as though it was being refreshed with a new page load but the ad content never changes.</p>
<p>Is there a location where this code is actually in place and serving new Google ads on a ajax refresh?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Ward</title>
		<link>http://encosia.com/2009/01/04/how-to-rotate-javascript-ads-during-aspnet-ajax-requests/#comment-34903</link>
		<dc:creator>Dave Ward</dc:creator>
		<pubDate>Mon, 13 Apr 2009 18:25:26 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=750#comment-34903</guid>
		<description>All the code should be the same, down to and including the section titled &quot;Using that iframe to rotate the ad content&quot;.  Put that JavaScript in your OnComplete and it will work.</description>
		<content:encoded><![CDATA[<p>All the code should be the same, down to and including the section titled &#8220;Using that iframe to rotate the ad content&#8221;.  Put that JavaScript in your OnComplete and it will work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe Reynolds</title>
		<link>http://encosia.com/2009/01/04/how-to-rotate-javascript-ads-during-aspnet-ajax-requests/#comment-34902</link>
		<dc:creator>Joe Reynolds</dc:creator>
		<pubDate>Mon, 13 Apr 2009 17:52:57 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=750#comment-34902</guid>
		<description>Thanks Dave. I can use jquery or microsoft ajax.
The problem is things like &quot;Sys.WebForms.PageRequestManager.getInstance()&quot; have no meaning in MVC.

Actually, I&#039;m refreshing the page content via JQuery and have access to an &quot;onComplete&quot; funtion but I can&#039;t figure out what the heck to do on complete in terms of your code for web forms.</description>
		<content:encoded><![CDATA[<p>Thanks Dave. I can use jquery or microsoft ajax.<br />
The problem is things like &#8220;Sys.WebForms.PageRequestManager.getInstance()&#8221; have no meaning in MVC.</p>
<p>Actually, I&#8217;m refreshing the page content via JQuery and have access to an &#8220;onComplete&#8221; funtion but I can&#8217;t figure out what the heck to do on complete in terms of your code for web forms.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Ward</title>
		<link>http://encosia.com/2009/01/04/how-to-rotate-javascript-ads-during-aspnet-ajax-requests/#comment-34901</link>
		<dc:creator>Dave Ward</dc:creator>
		<pubDate>Mon, 13 Apr 2009 17:37:11 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=750#comment-34901</guid>
		<description>The fundamental solution would be the same (i.e. iframes, .src = .src, etc).  When/how to trigger that depends on what sort of AJAX you&#039;re using in your MVC app.</description>
		<content:encoded><![CDATA[<p>The fundamental solution would be the same (i.e. iframes, .src = .src, etc).  When/how to trigger that depends on what sort of AJAX you&#8217;re using in your MVC app.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe Reynolds</title>
		<link>http://encosia.com/2009/01/04/how-to-rotate-javascript-ads-during-aspnet-ajax-requests/#comment-34900</link>
		<dc:creator>Joe Reynolds</dc:creator>
		<pubDate>Mon, 13 Apr 2009 16:45:06 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=750#comment-34900</guid>
		<description>Could you possibly provide a similar solution for those of us using asp.net MVC?</description>
		<content:encoded><![CDATA[<p>Could you possibly provide a similar solution for those of us using asp.net MVC?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Omri Tintpulver</title>
		<link>http://encosia.com/2009/01/04/how-to-rotate-javascript-ads-during-aspnet-ajax-requests/#comment-34470</link>
		<dc:creator>Omri Tintpulver</dc:creator>
		<pubDate>Thu, 12 Mar 2009 04:19:45 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=750#comment-34470</guid>
		<description>Thanks for a great post, especially the part in the comments about _trackPageView(). We&#039;re now using that effectively with jQuery UI Tabs to track our asynchronous page loads through Google Analytics:
http://so.ca/?p=144</description>
		<content:encoded><![CDATA[<p>Thanks for a great post, especially the part in the comments about _trackPageView(). We&#8217;re now using that effectively with jQuery UI Tabs to track our asynchronous page loads through Google Analytics:<br />
<a href="http://so.ca/?p=144" rel="nofollow">http://so.ca/?p=144</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Billigflug</title>
		<link>http://encosia.com/2009/01/04/how-to-rotate-javascript-ads-during-aspnet-ajax-requests/#comment-34074</link>
		<dc:creator>Billigflug</dc:creator>
		<pubDate>Thu, 12 Feb 2009 15:41:37 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=750#comment-34074</guid>
		<description>Very useful post
I have tried the document.write method and really  makes rotation difficult when using ASP.NET AJAX’s server-side JavaScript methods.
I tried your examples and succeded to make it work
Amazing
I tried also the banner in ur site with the javascript code</description>
		<content:encoded><![CDATA[<p>Very useful post<br />
I have tried the document.write method and really  makes rotation difficult when using ASP.NET AJAX’s server-side JavaScript methods.<br />
I tried your examples and succeded to make it work<br />
Amazing<br />
I tried also the banner in ur site with the javascript code</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sergio</title>
		<link>http://encosia.com/2009/01/04/how-to-rotate-javascript-ads-during-aspnet-ajax-requests/#comment-33960</link>
		<dc:creator>Sergio</dc:creator>
		<pubDate>Tue, 27 Jan 2009 04:14:26 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=750#comment-33960</guid>
		<description>Very useful topic. As usual great post Dave.</description>
		<content:encoded><![CDATA[<p>Very useful topic. As usual great post Dave.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
