<?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>nPath Ltd. &#187; Ad Rotator</title>
	<atom:link href="http://www.npathweb.com/tag/ad-rotator/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.npathweb.com</link>
	<description>Web Development Blog</description>
	<lastBuildDate>Tue, 10 Jan 2012 02:22:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How does the adrotator control&#8217;s imrpessions property work?</title>
		<link>http://www.npathweb.com/2009/02/05/how-does-the-adrotator-controls-imrpessions-property-work/</link>
		<comments>http://www.npathweb.com/2009/02/05/how-does-the-adrotator-controls-imrpessions-property-work/#comments</comments>
		<pubDate>Thu, 05 Feb 2009 16:51:30 +0000</pubDate>
		<dc:creator>B.Harding</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Ad Rotator]]></category>
		<category><![CDATA[ASP.net]]></category>

		<guid isPermaLink="false">http://www.npathweb.com/blog/?p=7</guid>
		<description><![CDATA[The msdn documentation was a little hazy on this subject. Here it is as I understand it&#8230;. Lets start from the beginning; and adrotator will take a list of images and rotate through them every time the page loads. Some ads may need to appear more often than others. That is where the Impressions property comes in. [...]]]></description>
			<content:encoded><![CDATA[<div class="itemBodyStyle">
<p>The msdn documentation was a little hazy on this subject. Here it is as I understand it&#8230;.</p>
<p>Lets start from the beginning; and adrotator will take a list of images and rotate through them every time the page loads. Some ads may need to appear more often than others. That is where the Impressions property comes in. It allows to give some ads more weight than others. Perhaps one person is paying more for the ad.</p>
<p>OK, so how do we use it? if every image should be weighted equally just set it to 1. Other wise you need to figure out the ratio. To figure it out you add up all the impression values in the file. Each ads ratio is it&#8217;s impression value divided by the total.</p>
<p>So if there were three ads in the file and they looked like this:</p>
<p>ad 1 imressions = 1<br />
ad 2 impressions=2<br />
ad 2 impressions =2</p>
<p>The total is 5. Ad 1 will be show 1 out of 5 times. Ad 2 will be shown 2 out of 5 times and so on.</p>
<p>I like to work in percentages. To do this just divy up the ads until we get to 100%.</p>
<p>Ad 1 impressions = 20%<br />
Ad 2 impressions= 40%<br />
ad 3 impressions= 40%</p>
<p>Just make sure they all ad up to 100 and your done.  The percentage is the number of impressions.  1, 2,2 is actually the same as 20, 40, 40 so why not base it on 100 so it&#8217;s easier to figure out?</p>
<p>Good Luck.</p>
<p>P.S. I saw a blog somewhere that wrapped an adrotator in a UpdatePanel that pdated on a timer. Interesting. Quicker than flash and more flexible than an animated gif. I&#8217;ll be filing that in the back of my mind.</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.npathweb.com/2009/02/05/how-does-the-adrotator-controls-imrpessions-property-work/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

