This is a migrated thread and some comments may be shown as answers.

Use as ad rotator?

1 Answer 118 Views
Rotator
This is a migrated thread and some comments may be shown as answers.
Chris Douglass
Top achievements
Rank 1
Chris Douglass asked on 07 Aug 2008, 08:49 PM
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!

1 Answer, 1 is accepted

Sort by
0
Shaun Peet
Top achievements
Rank 2
answered on 08 Aug 2008, 04:48 AM
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 ... />
Tags
Rotator
Asked by
Chris Douglass
Top achievements
Rank 1
Answers by
Shaun Peet
Top achievements
Rank 2
Share this question
or