Hi there.
In a couple of weeks I am planning to add advertisments to my (currently ad-free) site. I will be adding banner ads and popup/popunder ads.
With the banner adds, it will be fairly easy to track each user's clicks, thus enabeling me to target certain adds to certain users (eg, if a user clicks on an ad for a music site, I can then target more music advertisments at them). This will work as follows:
-user clicks on banner add
-instead of directing the user to the advertisers site (eg ad.doubleclick.net/@@@@) it directs the user to a php script on my site.
-this script then records the user's username, the specific advertisment number, the type of advert, etc
-the script then redirects the user to the advertisers site (ad.doubleclick.net/@@@@)
Thus I can track exactly how many ad views, ad clicks, etc each user has performed, and target specific ads, or groups of ads, to sets of users.
I think this will be fairly easy to implement, but if anyone has any comments or suggestions, please let me know.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Secondly, and more difficult, are the popup/popunder ads. There are various companies offering pop-up ads, paying anywhere between $0.80 and $3.50 per thousand impressions. Most of these companis say that the user must be '24 hour unique' - ie they will only pay once per popup per user per day. So what I'm going to do is sign-up with a few of these companies, and then include a php script in every page I want to display popup in that will do the following;
-see if the user has a 'pop-up free' account; ie a premium account. if so, i won't serve them any popups.
-serve a popup from a company the user has not allready viewed a popup from in the last 24 hours.
-record the fact that User X has been served a popup from Company Y, and the time the ad was served
-have configurable options for the following:
---->the first time I want the user to see the first pop-up (eg on the third page he visits on my site)
---->the number of subsequent page views before another popup is served (eg user sees a popup every 15 page views)
The script will cycle through the popups, starting with the one's with the heighest CPM. When all of them have been exhausted, it will begin serving popups from companies which do not require the user to be '24 hour unique' (these companies tend to have lower CPMs - $0.80ish)
Thats the easy bit. Here's where it gets difficult...
if a user closes a popup before it is fully loaded, I do not get paid. I want to be able to know if a user has closed the popup before it is completely finished loading, so that I can serve the same popup the next time. Does anyone know if this is possible, and if so, how it is done?
Also, I also want to be able to see which users click on popups. This probably won't be possible, since the popups are hosted with the popup company, but if anyone knows a way of doing this (some fancy javascript? putting the ad in a frame with some php working in the backround?) I would like to know.
I would appreciate any input and suggestions,
Thanks