Vorta Posted February 5, 2014 Report Share Posted February 5, 2014 Hello! We're developing a tube site that serves videos to users at a price. The site will display screenshots for free users and videos for users who paid for them. The system is almost done and we'd like to use Revive adserver to assign +1 to impressions every time a video/screenshots page is open and +1 to clicks every time user pays for a video. Since impressions and clicks in Revive are counted banners and similar that are loaded from the adserver, we have no way of doing it like that. So my question is: is there a way to make calls from our site's PHP that are basally tellng the adserver "add +1 impression for XY campain" or "add +1 click to YX campain"? Thank you for your time! Quote Link to comment Share on other sites More sharing options...
Eliza0406 Posted February 6, 2014 Report Share Posted February 6, 2014 Hi, Yeah ! can add +1 click(when a click is done) and +1 impression(when an impression is done) to the count. For further info you can contact [email protected]. Quote Link to comment Share on other sites More sharing options...
Vorta Posted February 6, 2014 Author Report Share Posted February 6, 2014 Is that done via API (can't find that, though) or some other way? I'd prefer this stay on the forum for when somebody else runs into the same issue. Quote Link to comment Share on other sites More sharing options...
Matteo Beccati Posted February 6, 2014 Report Share Posted February 6, 2014 This seems like a weird request, but have a look here: https://github.com/revive-adserver/revive-adserver/blob/master/plugins_repo/openXDeliveryLog/plugins/deliveryLog/oxLogImpression/logImpression.delivery.php and here: https://github.com/revive-adserver/revive-adserver/blob/master/lib/OA/Dal/Delivery/mysql.php#L165 in order to have an idea about the way imps/clicks are logged to the database. Quote Link to comment Share on other sites More sharing options...
Vorta Posted February 6, 2014 Author Report Share Posted February 6, 2014 Impressions would not have to be tracked through PHP, we'll just put a banner on the site and hide the element it is in. The problem is when user buys a video. That is realized with jQuery and Ajax. That's why we can't have clicks on banners themselves but some way of telling revive that purchase (click) was done. So it goes outside ad management because it's not an advertisement but the principle is the same. Thank you for this, I guess it can't be done the easy way. Quote Link to comment Share on other sites More sharing options...
Ilya Ber Posted February 21, 2014 Report Share Posted February 21, 2014 You can maybe make an ajax call directly to the banner click url? Quote Link to comment Share on other sites More sharing options...
tbobker Posted February 26, 2014 Report Share Posted February 26, 2014 Yes exactly just use a simple click URL (static click url you get with email tracking) and just call that using ajax. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.