What is an Adrotator and what is it used for?and how is it used?

AD ROTATOR IS USED FOR ADVERTISEMENT. IF YOU LOOK ON FEW SITES SPECIALLY JOB SITE THEN YOU WILL FOUND AN ADVERTISEMENT PORTION WHERE ADDS WERE COMING AFTER CERTAIN INTERVAL. WHEN YOU CLICK ON FIRST/2nd THEN OU WILL REDIRECT TO RESPECTIVE URL. THIS IS THE ADROTATOR.

ASP.NET PROVIDE US THE SERVER SIDER CONTROL TO EASE OUR LIVES. TO MAKE ADROTATOR WORKS YOU HAVE TO KNOW BASIC IDEAS ON XML. SINCE ADROTATOR USE XML FILE FOR DISPLAY.

<asp:adRotator AdvertisementFile="/adlist.xml" Runat="server"/>

BASIC FORMAT OF THE XML FILE LOOKS LIKE:

<Advertisements>  
  <Ad>
      <ImageUrl>/Path/Banner.gif</ImageUrl>
      <NavigateUrl>http://shawpnendu.blogspot.com</NavigateUrl>
      <AlternateText>
         Wanna share your experince with others!
       </AlternateText>
      <Impressions>3</Impressions>
   </Ad>
</Advertisements>

The properties in the Ad section are :
ImageURL - this is the full path to the banner ad itself
NavigateURL. - This is the URL to which the user will go when the banner is clicked
AlternateText - This is the same as the Alt Text for any image in HTML.
Impressions - here's how we determine how often the ads run in regards to one another (relative 'weighting'). The higher the number, the more often the ad will run.

ONE ANOTHER NICE FEATURE IS KEYWORD. LET IN HOME PAGE YOU SHOWED COSMETICS PRODUCTS. BUT IN CHILD PAGES YOU WANT O SHOW ANOTHER CATEGORIES THEN ADROTATOR CAN PRIOTIZ ADS LIKE ADSENSE.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.