Results 1 to 5 of 5

Thread: What are AdRotator Component in ASP?

  1. #1
    Join Date
    Jul 2006
    Posts
    218

    What are AdRotator Component in ASP?

    Hello everyone, I am designing a web page and I need your help. I want to use some component in ASP that can hold together a list of banners and special placeholders. I came to know that AdRotator Component can do this specific task. But I don't have knowledge about that component. Can anyone explain me exactly what are AdRotator Component in ASP? Any other information about the related topic is also appreciable. Please help me as soon as possible.!!
    ~*~Silent~Kid~*~
    "To The World You May Be Just One Person, But To One Person You May Be The World"

  2. #2
    Join Date
    Nov 2005
    Posts
    1,323

    Re: What are AdRotator Component in ASP?

    I think that for placing the banners using the adRotator component would be useful. The Ad Rotator component randomly selects a banner and it is placed in the appropriate placeholder. You can use the simple and straight forward Ad Rotator component, which comes standard with ASP for rotating banner advertisements on your web page. And the main advantage of using the adRotator component is that you can specify the relative frequency of each banner. You can do the settings such that one banner may be displayed twice as often as another.

  3. #3
    Join Date
    Oct 2005
    Posts
    2,393

    Re: What are AdRotator Component in ASP?

    There is also drawback of using the adRotator component. By using that you can't replace the ad selection algorithm with one that takes into consideration the time of the day. It also doesn't consider the viewer's domain. You must create the following things for using the Ad Rotator component :
    1. The Placeholder for the Banner - You must create the placeholder (or multiple placeholders) for the banner on your page.
    2. The Schedule File - You should have to create a text file with the banners you want to display.
    3. The Redirection Script - You also have to create a script that processes each request on your server. You will have to keep in mind that the request process should be done before redirecting the viewer to the site of the selected banner.

  4. #4
    Join Date
    Apr 2008
    Posts
    1,948

    Re: What are AdRotator Component in ASP?

    If you want to do some useful things by using the adrotator component in ASP, you will have to create a text file called adrotator.txt. I have given you the code which you can copy paste in that file :
    Code:
    REDIRECT /anyfile.asp
    WIDTH 510
    HEIGHT 63
    BORDER 3
    *
    http://www.name_of_domain.com/images/banner1.gif
    http://www.name_of_advertiserdomain1.com
    Visit Advertiser1 now!
    30
    http://www.name_of_domain.com/images/banner2.gif
    http://www.name_of_advertiserdomain2.com
    Visit Advertiser2 now!
    25
    http://www.name_of_domain.com/images/banner3.gif
    http://www.name_of_advertiserdomain3.com
    Visit Advertiser3 now!
    40
    http://www.name_of_domain.com/images/banner4.gif
    http://www.name_of_advertiserdomain4.com
    Visit Advertiser4 now!
    10
    After the *, you can list as many banners as you want.

  5. #5
    Join Date
    Jan 2008
    Posts
    1,521

    Re: What are AdRotator Component in ASP?

    After using the code mentioned by the 'Praetor', you will also have to write the code in any ASP page. I have provided you with that code, so that you can write the same code where you want to display your banner ads :
    Code:
    <%
    DIM strBan
    Set strBan = Server.CreateObject("MSWC.AdRotator")
    Response.Write (strBan.GetAdvertisement("/adrotatordemo.txt"))
    %>
    After using this code, you should have a professional looking banner ad rotation system.

Similar Threads

  1. appleintermediatecodec.component
    By Madaleno in forum Operating Systems
    Replies: 6
    Last Post: 27-05-2010, 11:58 PM
  2. What is a EOL Component
    By Abbie in forum Monitor & Video Cards
    Replies: 6
    Last Post: 12-03-2010, 11:09 AM
  3. How To Know Whether A Component Resized or not?
    By ramsun in forum Software Development
    Replies: 5
    Last Post: 24-02-2010, 10:55 PM
  4. How to register a component in vb?
    By REEMAD in forum Software Development
    Replies: 3
    Last Post: 28-02-2009, 09:01 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,403,345.40772 seconds with 17 queries