Use as ad rotator?

2 posts, 0 answers
  1. Chris Douglass
    Chris Douglass avatar
    6 posts
    Member since:
    Sep 2005

    Posted 07 Aug 2008 Link to this post

    Hmm, I thought this control would have some core functions required to implement an ad rotator but it seems to have a different focus.  Do you have any examples of using it to rotate ads on when a user loads a new page, not based on a timer interval?

    I'm starting to realize that this component doesn't really offer any benefit for the purpose of rotating ads on page loads...  Don't most people need a basic ad rotator??  Dynamic client-side content rotation isn't the most common use case I would suspect for a rotator component to target, but maybe I'm wrong.

    Any suggestions on where to find a good ad rotator that would:
        - load a random image from a datasource on each page load
        - track the number of times an inage is displayed
        - launch a URL onClick based on the URL associated with each image in the datasource
        - drop images from rotation when the number of views is exceeded
        - display default images when ad inventory is depeleted

    Thanks for any suggestions!
  2. Shaun Peet
    Shaun Peet avatar
    571 posts
    Member since:
    Aug 2004

    Posted 07 Aug 2008 Link to this post

    Microsoft has included an AdRotator control with their standard asp controls since the 1.1 version of the .NET Framework.  It can be bent to do exactly as you have described.

    <asp:AdRotator ... />
  3. DevCraft R3 2016 release webinar banner
Back to Top