Jump to content

All Activity

This stream auto-updates     

  1. Today
  2. Hi guys, i have a question for you. So, the network that i'm buying from has the [pubId] and it comes to me, then selling to another network who use the macro as {subID}. Is there a method or a plugin that can change those macros automatically ? Like, i tried to put the link (for example: site.com/www/delivery/directads.php?zoneid=*zoneid*&source=[pubID]&source2={SubID} and the network that i'm buying from is not supporting multiple types of macros, like they don't support subids just pubids or clickids ) but at the same time, my Revive server being in the middle to collect data from the macro that the site is using. If you can't understand what i want to say here it is simplified. network 1 (network where i buy traffic from with the pubid or clickid) ---> My Revive Ad Server --> network 2 (network where the macros is subid) so revive is not passing this subid , what we doin'
  3. Last week
  4. Hello, I'm new to Revive too but it's very easy to use and works fine out of the box. I just follow the documentation. How it works for me: First I create a Website with different Zones, then create Advertisers, Campaigns (Remnant only with date limit) and Banners, in this order. Then assign Banners to a Zone. I don't create any Delivery Rules or Limit. In Zone, in Invocation Code tab select Asynchronous JS Tag to see the code. Hope it helps.
  5. Tried changing "protocol" (under [origin] in conf.php) from "http" to "https" Ended up locking myself from the control panel ("Due to a problem with the database Revive Adserver couldn't retrieve or store data"), though banners are still being served. Changing "protocol" back to "http" did not help with the CP issue
  6. This works fine, and perhaps should be the way the code is implemented?
  7. I'm using standard invocation codes, only changing http to https where needed Also, although Asynchronous JS invocation does show banners over https, lg.php end up being called from http://, so browsers will not qualify the page as secure
  8. Hi all: Moving to https, it seems only Asynchronous JS invocation works. Regular Javascript (which is what I need) and iframe invocation do not seem to work, with relevant 'http' changed to 'https' and over a plain HTML file. I'm running revive 4.14. PHP is 5.6 (though problem was the same with PHP 5.5), MySQL 5.6, Apache 2.4 Thanks in advance for the help
  9. Here is what I've done, and I hope my banner stats will still be correct. I removed this tag throughout my entire site in my async ad code. This code appeared with each banner call, and in my case this meant 7 or more times per page load: <script async src="/adserv/www/delivery/asyncjs.php"></script> at the bottom of my site's global template, just before the closing </body> tag, I added this, and notice the "defer" in it: <script async src="/adserv/www/delivery/asyncjs.php" defer></script> I am testing it now, and hope the stats, click tracking, etc. will work. I will report my findings here. Doing this has done several things for my site speed, for example these scripts were causing a render blocking javascript issue on google's page speed tests, which has gone away now. Since the script is only loaded once, it speeds up the loading of each page.
  10. matteo.rossi

    Upgrade from v4.0.0 to v4.1.4

    No error reported.. just the screen pasted above. It's something about Banner Delivery Logging Plugin (version 1.1.2). Is it compatible with AdServer version 4.1.4? - - - @Ian vM Some extract of install log (where upgrade crashes during plugin check / migration) Starting file-check for plugins... Plugin: openXBannerTypes - Unable to locate XML files Plugin: openXDeliveryLimitations - Unable to locate XML files Plugin: openX3rdPartyServers - Unable to locate XML files Plugin: openXReports - Unable to locate XML files Plugin: openXDeliveryCacheStore - Unable to locate XML files Plugin: openXMaxMindGeoIP - Unable to locate XML files Plugin: openXInvocationTags - Unable to locate XML files Plugin: openXDeliveryLog - Unable to locate XML files Plugin: openXVideoAds - Unable to locate XML files Finished file-check for plugins Starting file-check for plugins... Finished file-check for plugins #! openXBannerTypes(): PLUGIN DEPENDENCY PROBLEM: : unable to determine dependencies for daastInlineBannerTypeHtml - could not locate definition at #! openXBannerTypes(): PLUGIN DEPENDENCY PROBLEM: : unable to determine dependencies for daastInlineBannerTypeHtml - could not locate definition at #! openXDeliveryLimitations(): PLUGIN DEPENDENCY PROBLEM: : unable to determine dependencies for daastInlineBannerTypeHtml - could not locate definition at #! openXDeliveryLimitations(): PLUGIN DEPENDENCY PROBLEM: : unable to determine dependencies for daastInlineBannerTypeHtml - could not locate definition at #! openXDeliveryLimitations(): PLUGIN DEPENDENCY PROBLEM: : unable to determine dependencies for daastInlineBannerTypeHtml - could not locate definition at #! openXDeliveryLimitations(): PLUGIN DEPENDENCY PROBLEM: : unable to determine dependencies for daastInlineBannerTypeHtml - could not locate definition at #! openX3rdPartyServers(): PLUGIN DEPENDENCY PROBLEM: : unable to determine dependencies for daastInlineBannerTypeHtml - could not locate definition at #! openXMaxMindGeoIP(): PLUGIN DEPENDENCY PROBLEM: : unable to determine dependencies for daastInlineBannerTypeHtml - could not locate definition at #! openXInvocationTags(): PLUGIN DEPENDENCY PROBLEM: : unable to determine dependencies for daastInlineBannerTypeHtml - could not locate definition at
  11. Hello, I am new to revive and trying to install and configure it. There are very little to nothing in terms of detailed step by step documentation. If there is and I have missed it, can someone please post it here? Do I need to install any default plugins to make this work out of the box etc as I am having to deal with following issue. Issue: I have set it up where I can login and create advertisers, campaigns etc. However, the invocation area is bank. 1) Advertiser, Campaign, Banner, Website Zone created. 2) In Zone, Invocation Code tab link, I am not seeing anything. Makes me wonder if I missed any install and configure steps. Thank you very much in advance for the help.
  12. BruceBanner

    I cannot add new banner.

    Hi . I have just installed Revive. Its running in localhost. I am able to add advertisers and create a campaign but cannot add banners. I created a test campaign, after clicking on "Add new banners" I get a white page, banner-edit.php does not load. I am running Revive Ad server in docker. Using 2 containers, one for MySQL the other for Revive. Can be a problem with my PHP version? Im using 5.6 , I've been trying to update to php7.0 but could not locate the package even after adding ppa, so I'm using the one that came with the Ubuntu docker image. you can find the docker image here https://github.com/Delermando/docker-revive Im using the latest version of revive downloaded from the official website, replaced the source code with it in the app folder. Any feedback? why cant i Add banners? I just get a white screen. thanks for replies!
  13. Ian vM

    Upgrade from v4.0.0 to v4.1.4

    does your mysql log any errors ?
  14. matteo.rossi

    Upgrade from v4.0.0 to v4.1.4

    Hi @Ian vM, during the final step (plugin setup) the install exit and the page displays: MAX_Dal_Delivery_Include(); function Plugin_deliveryLog_oxLogConversion_logConversion_Delivery_logConversion($trackerId, $serverRawIp, $aConversion, $okToLog = true) { if (!$okToLog) { return false; } $aConf = $GLOBALS['_MAX']['CONF']; $table_prefix = $GLOBALS['_MAX']['CONF']['table']['prefix']; $results=OA_Dal_Delivery_fetchAssoc(OA_Dal_Delivery_query("select c.clientid,c.revenue_type,c.revenue,cl.dj_payment_method,p.deposit_amount from ".$table_prefix."campaigns as c,".$table_prefix."banners as b,".$table_prefix."clients as cl,dj_payment_details as p where b.campaignid=c.campaignid and cl.clientid=c.clientid and p.client_id = cl.clientid and b.bannerid='".$aConversion['cid']."'")); $method = $results['dj_payment_method']; $id = $results['clientid']; $type = $results['revenue_type']; $amt = $results['revenue']; $damt = $results['deposit_amount']; $tracker_parameter=$aConversion['cid'].'_'. $aConversion['zid']; $request_id=(!empty($_REQUEST['request_id']))?$_REQUEST['request_id']:$_COOKIE['OXLCR'][$tracker_parameter]; if($method == 1 && $type == 3) { $win_bid = $amt; $balance = $damt - $amt; OA_Dal_Delivery_query("update dj_payment_details set deposit_amount='".$balance."' where client_id='".$id."'"); } $select_revenue_type = OA_Dal_Delivery_query("SELECT revenue,revenue_type FROM ".OX_escapeIdentifier($aConf['table']['prefix'].$aConf['table']['campaigns'])." AS c, ".OX_escapeIdentifier($aConf['table']['prefix'].$aConf['table']['banners'])." AS b WHERE b.bannerid='".$aConversion['cid']."' AND c.campaignid=b.campaignid"); $fetch_revenue_type = OA_Dal_Delivery_fetchAssoc($select_revenue_type); if($fetch_revenue_type['revenue_type']==3) { $win_bid = $fetch_revenue_type['revenue']; } if(!empty($win_bid)) { $select = OA_Dal_Delivery_query("select a.publishershare,a.affiliateid from {$aConf['table']['prefix']}affiliates as a ,{$aConf['table']['prefix']}zones as z where z.zoneid='".$aConversion['zid']."' AND a.affiliateid=z.affiliateid ") or die("Error1"); $row = OA_Dal_Delivery_fetchAssoc($select); $publishershare = $row['publishershare']; if(empty($row['publishershare'])) { $defaultShare = OA_Dal_Delivery_query("select pubshare from {$aConf['table']['prefix']}dj_admin_configuration"); if(OA_Dal_Delivery_numRows($defaultShare) > 0) { $rowShare =OA_Dal_Delivery_fetchAssoc($defaultShare); $publishershare = $rowShare['pubshare']; } } $pub_share=$win_bid*($publishershare/100); } else { $pub_share=""; } OA_Dal_Delivery_connect('rawDatabase'); $table = $GLOBALS['_MAX']['CONF']['table']['prefix'] . 'data_bkt_a'; if (empty($GLOBALS['_MAX']['NOW'])) { $GLOBALS['_MAX']['NOW'] = time(); } $time = $GLOBALS['_MAX']['NOW']; $aValues = array( 'server_ip' => $serverRawIp, 'tracker_id' => (int)$trackerId, 'date_time' => gmdate('Y-m-d H:i:s', $time), 'action_date_time' => gmdate('Y-m-d H:i:s', $aConversion['dt']), 'creative_id' => (int)$aConversion['cid'], 'zone_id' => (int)$aConversion['zid'], 'ip_address' => $_SERVER['REMOTE_ADDR'], 'dj_request_id' => $request_id, 'dj_win_bid' => $win_bid, 'cost' => $pub_share, 'action' => $aConversion['action_type'], 'window' => $aConversion['window'], 'status' => $aConversion['status'] ); $aFields = array_map('OX_escapeIdentifier', array_keys($aValues)); $aValues = array_map('OX_escapeString', $aValues); $query = " INSERT INTO {$table} (" . implode(', ', $aFields) . ") VALUES ('" . implode("', '", $aValues) . "') "; $result = OA_Dal_Delivery_query($query, 'rawDatabase'); if (!$result) { return false; } $aResult = array( 'server_conv_id' => OA_Dal_Delivery_insertId('rawDatabase', $table, 'server_conv_id'), 'server_raw_ip' => $serverRawIp ); return $aResult; } ?> MAX_Dal_Delivery_Include(); function Plugin_deliveryLog_oxLogConversion_logConversionVariable_Delivery_logConversionVariable($aVariables, $trackerId, $serverConvId, $serverRawIp, $okToLog=true) { if (!$okToLog) { return false; } OA_Dal_Delivery_connect('rawDatabase'); $table = $GLOBALS['_MAX']['CONF']['table']['prefix'] . 'data_bkt_a_var'; if (empty($GLOBALS['_MAX']['NOW'])) { $GLOBALS['_MAX']['NOW'] = time(); } $time = $GLOBALS['_MAX']['NOW']; $aRows = array(); foreach ($aVariables as $aVariable) { $aRows[] = "( '".OX_escapeString($serverConvId)."', '".OX_escapeString($serverRawIp)."', '{$aVariable['variable_id']}', '".OX_escapeString($aVariable['value'])."', '".gmdate('Y-m-d H:i:s', $time)."' )"; } if (empty($aRows)) { return; } $query = " INSERT INTO {$table} ( server_conv_id, server_ip, tracker_variable_id, value, date_time ) VALUES " . implode(',', $aRows); return OA_Dal_Delivery_query($query, 'rawDatabase'); } function Plugin_deliveryLog_OxLogImpression_LogImpression_Delivery_logImpression($adId = 0, $zoneId = 0, $okToLog = true) { $aConf = $GLOBALS['_MAX']['CONF']; $aData = $GLOBALS['_MAX']['deliveryData']; if (!$okToLog) { return false; } $table_prefix = $GLOBALS['_MAX']['CONF']['table']['prefix']; $results=OA_Dal_Delivery_fetchAssoc(OA_Dal_Delivery_query("select c.clientid,c.revenue_type,c.revenue,cl.dj_payment_method,p.deposit_amount from ".$table_prefix."campaigns as c,".$table_prefix."banners as b,".$table_prefix."clients as cl,dj_payment_details as p where b.campaignid=c.campaignid and cl.clientid=c.clientid and p.client_id = cl.clientid and b.bannerid=$adId")); $method = $results['dj_payment_method']; $id = $results['clientid']; $type = $results['revenue_type']; $amt = $results['revenue']; $damt = $results['deposit_amount']; if($type == 1) { $amount = $amt/1000; $win_bid = $amount; } else { $amount = $amt; } if($method == 1 && $type == 1) { $balance = $damt - $amount; OA_Dal_Delivery_query("update dj_payment_details set deposit_amount='".$balance."' where client_id='".$id."'"); } if(!empty($_REQUEST['request_id'])) { $request_id = $_REQUEST['request_id']; } else if(!empty($_SESSION)) { $request_id = $_SESSION['request_id']; } $select_revenue_type = OA_Dal_Delivery_query("SELECT revenue,revenue_type,c.exchange_id FROM ".OX_escapeIdentifier($aConf['table']['prefix'].$aConf['table']['campaigns'])." AS c, ".OX_escapeIdentifier($aConf['table']['prefix'].$aConf['table']['banners'])." AS b WHERE b.bannerid='$adId' AND c.campaignid=b.campaignid"); $fetch_revenue_type = OA_Dal_Delivery_fetchAssoc($select_revenue_type); if($fetch_revenue_type['exchange_id']>0) { $*&#$_auction=OA_Dal_Delivery_fetchAssoc(OA_Dal_Delivery_query("SELECT auction_type FROM {$aConf['table']['prefix']}dj_ad_exchange where exchange_id='".$fetch_revenue_type['exchange_id']."'")); $*&#$_data=explode('|',$_REQUEST['highest_bids']); if($*&#$_auction['auction_type']==1) { $win_bid =$*&#$_data[0]; } else { if(!empty($*&#$_data[1])){ $temp_data=$*&#$_data[1]+0.01;}else{$temp_data=$*&#$_data[0];} $win_bid =$temp_data; } $win_bid=$win_bid/1000; } else { if($fetch_revenue_type['revenue_type']=='1') { $win_bid = $fetch_revenue_type['revenue']/1000; } } if(!empty($win_bid)) { $select = OA_Dal_Delivery_query("select a.publishershare,a.affiliateid from {$aConf['table']['prefix']}affiliates as a ,{$aConf['table']['prefix']}zones as z where z.zoneid='".$aData['zone_id']."' AND a.affiliateid=z.affiliateid ") or die("Error1"); $row = OA_Dal_Delivery_fetchAssoc($select); $publishershare = $row['publishershare']; if(empty($row['publishershare'])) { $defaultShare = OA_Dal_Delivery_query("select pubshare from {$aConf['table']['prefix']}dj_admin_configuration"); if(OA_Dal_Delivery_numRows($defaultShare) > 0) { $rowShare =OA_Dal_Delivery_fetchAssoc($defaultShare); $publishershare = $rowShare['pubshare']; } } $pub_share=$win_bid*($publishershare/100); } else { $pub_share=""; } $aQuery = array( 'interval_start' => $aData['interval_start'], 'creative_id' => (int)$aData['creative_id'], 'zone_id' => (int)$aData['zone_id'], 'dj_request_id' => $request_id, 'dj_win_bid' => $win_bid, 'cost' => $pub_share ); return OX_bucket_updateTable('data_bkt_m', $aQuery); } function Plugin_deliveryLog_oxLogRequest_logRequest_Delivery_logRequest($adId = 0, $zoneId = 0, $aAd = array(), $okToLog = true) { $request_id = $_SESSION['request_id']; if (!$okToLog) { return false; } $aData = $GLOBALS['_MAX']['deliveryData']; $aQuery = array( 'interval_start' => $aData['interval_start'], 'creative_id' => (int)$aData['creative_id'], 'zone_id' => (int)$aData['zone_id'], 'dj_request_id' => $request_id ); return OX_bucket_updateTable('data_bkt_r', $aQuery); } ?>
  15. Hi everyone, I'm trying to upgrade Revive AdServer and I'm stuck due to rv_dj_track_ad_requests and rv_dj_track_ad_responses, that are respectively 25GiB and 6Gib.. Is there a feature to remove data older than specific date? Isn't there an automatic purge routine? And is it safe to remove those data? Thanks for the support
  16. Was this issue ever solved? I have the same problem trying to upload an HTML5 banner. I get: Invalid file type: gwd-tmp-4.zip
  17. Hi, can anyone rebrand and reuse Revive Adserver as per their needs, if anyone did so, what restriction would Revive would be imposed on the people who reuse revive's codebase?
  18. Ian vM

    Upgrade from v4.0.0 to v4.1.4

    Hi Matteo, Please refer to https://www.revive-adserver.com/support/upgrading/ You should be good if you follow the steps ! cheers
  19. matteo.rossi

    Upgrade from v4.0.0 to v4.1.4

    Hi everyone, is there a guide to upgrade from 4.0.0 to 4.1.4? Some breaking changes / upgrade advices?
  20. Hi, I'm new with Revive AdServer, but I'm used it since 2 months and it suits me perfectly for my business. I want to customize the (very ugly) emails sent to advertisers (ads statistics), unfortunately I can't find the option in the back office, or which file to modify. I didn't find either in official help. Someone can help me? Marco
  21. Yes, there's no reason why you cannot use both Single Page call and Async JavaScript tags on the same page, if you want to - but that won't give you a single call style Aysnc JS tags, just two different sorts of tags. You can go down the path of trying to combine them all if you want, but I don't think it really matters that the same script is called multiple time - it's okay that it does this, really. Where are you seeing the warnings?
  22. andrewatfornax

    Ads not displaying

    No, no immediate or obvious ideas, sorry. https://documentation.revive-adserver.com/display/DOCS/Banners+Not+Delivering
  23. andrewatfornax

    Unable to login

    https://documentation.revive-adserver.com/display/DOCS/Resetting+User+Passwords https://documentation.revive-adserver.com/display/DOCS/Revive+Adserver+Broken
  24. Yes, that's absolutely fine, no reason why you cannot do that.
  25. andrewatfornax

    Which VAST-Version

    I believe that is still valid.
  26. Krishnapriya Ravi

    CORS, VAST, HELP

    Yes,Revive supports by default for basic version of Revive. Seems there is third party plugin available for Vast supported Video ads.You can check for that.
  27. Hi Maro, Revive vast response return with Access-Control-Allow-Origin: * as default.You have to update this line with your specify domain where your video ads get published.
  1. Load more activity


×