adrotator control using SQL.. how to know what add was displayed

A

Aussie Rules

Hi,

I have a few adrotators on a page, each bound to a sql dataset from my
database

The function works fine, but as we are going to charge for the advertising
impression and click throughs I would like to be able to capture details
about what add is displayed.

The image name the adrotator is using would be good enough, but what would
be better is a field that is in the Dataset called "ADD-ID"

I can't find any properties of the adrotator to tell me the add details
being used.

Thanks
 
M

Mark Fitzpatrick

You would actually be better to handle this within the database. If you're
using a stored procedure, you could fetch the ID of the add that is about to
be shown then record that using an insert into some sort of traffic table.
You may also want to pass more information to make this useful, such as the
IP address of the user viewing the add for geographic tracking, and maybe
even the browser information to help sort out if this ad is being seen by a
real user or by a search engine spider.

Keep in mind, the AdRotator is only meant to display the resulting ad, the
additional operations such as recording the impression must be done
seperately since it's not a function of rendering a displayed add but a
function of the data routine used to generate the displayed ad.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,046
Latest member
Gavizuho

Latest Threads

Top