Jump to content

gorman

Approved members
  • Posts

    20
  • Joined

  • Last visited

Posts posted by gorman

  1. Erik, could you please explain one thing:

    in my case I using logging requests and not using logging views.

    In the Revive Adserver v3 I have only two requests to server per page,( and request for each click if it occurred.)

    In Revive Adserver 4, using async js, I also have only two requests per page showing all banners. 

    But. I have additional requests (lg.php)  in case some zone is empty. For what?

    Why filled zones doesn't produced any additional requests, only for displaying banners, but each empty zone pruduce a request (lg.php). It seems like a bug

  2. I have more than 10 call OA_show using SPC.

    It was not so easy changing from spc to async and back during tests, so I put litttle helper function fo it:

    so now I switching between methods in one place.

    comment spc call:

    <!--script type="text/javascript" src="http://DOMAIN/delivery/spcjs.php?id=1&amp;block=1&amp;charset=UTF-8"></script-->

    redefine QA_show:
    <script>
    function OA_show(zone_name){
    document.write('<ins data-revive-zoneid="'+OA_zones[zone_name]+'" data-revive-id="UNIQUE_ID"></ins>');
    }
    </script>

    add async script
    <script async src="//DOMAIN/delivery/asyncjs.php"></script>

     

    it was fine for me, may be it can help you too )

  3. ok! thank you for response!

    these zones are empty on purpose, I know why they empty right now and its correct )

    Question apear because now I migrating from revive 3, and there is no such behavior on it.

    My plan was in migrate from 3 to 4 first, and agetr it start to playing with async tags. Main purpose is reducing connect per client (now  I have about 5 mln pageviews per day, so now I have ~10mln requests on little farm with one backend. And each additional request from pageview can make our farm drop conections (,

    and second porpose in stop using document.write on my pages.

     

    Erik, one more question please )

    On my previous instalation I made little hack in your code to make CTR calculating base on request (instead impressions), (because counting impression produced additional connections). 

    If I start using async tag, need I have to make these hack again, or, may be, another correct way exist?

  4. I found th solution by myself )

    reading install.log, I found that I use mysql 57 with gtid enabled, and installer can't create backup using "create table select * from ...."

    so I put into my.cnf:

    enforce-gtid-consistency        = 0
    gtid-mode                       = OFF
     

    and I succesfully finished migration )

    I think developers have to add check for gtid in installer;

     

  5. After creating user for some client, it doesn't have permission to create new banners.

    I look into the code, found permission_id=3 for adding banner, and try to  activate it in the

    www/admin/advertiser-user.php

     

    now I can change this option, but it still don't work, Think this option was deleted advisedly.

    Who knows why? How I can grant user permission to add new banner?

  6. I see API folder in my installation in www folder (so it aceessable from internet).

     

    1. what is it? is any documentation for use API with my instance of revive ad server

    2. Is it really need to have this api folder, if I noy using api? 

     

     

  7. Thank you!

    I clearly understand about all risks using this method, but in my case it will be very usefull, because:

    1. i'm using Revive for media articles rotate, and measuring their effectiveness, (not for commerce ad)

    so

    2. it's not so bad for me if have over- or under- count, and it's enough have only roughly statistics.

     

    moreover,

    3. I'm not have very powerful hardware, and now I have to switch off log impressions due system overload

     

    and moreover )

    4. I think it will enough for me if revive can display ctr based not only on inpressions, but based on requests. I also understand that I can't have clear staticstic in this case, but even so, it much better than have no statistic due ad-servers overload

  8. I'm not expert in JS, but I  use very simple method, even without jquery. And it work fine for text, html, and other ad system code banners.

     

    in the real slot I put only div:

    <div id="OA_show_7"></div>

     

    then single load config

     

    <script type='text/javascript'><!--// <![CDATA[
    var OA_zones = {
    'my_zone_name' : 7
    }
    // ]]> --></script>
     

     

    at the bottom of pages, avoid delay main content rendering

     

    //initial request:

    <script type='text/javascript' src='http://AD.SERVER>NAME/id=1&amp;charset=UTF-8'></script>

    //insert banner code in hidden div

    <div id="OA_container_zone_7" style="display:none;">
    <script type='text/javascript'> 
    OA_show('my_zone_name');
    </script>
    </div>
     
    //copy rendered code to real, visible slot 
    <script language="JavaScript">
    function g_e(el) {return document.getElementById(el);}
    if (g_e('OA_show_7')) g_e('OA_show_7').innerHTML=g_e('OA_container_zone_7').innerHTML;
    </script>
  9. Hi All
    I'm successfully using single page call on my site, it really cool.
    Is it possible to do not only "single page call" for show banners, but something like "single log call" to log shown banners. Now each shown banner make one request liki this:
     
     
    May be it possible to make only one log request for all banners?
     
     
     
    I have one VPS server with 4 cores and 2GB.
    I'm using mysql, nginx and php-fpm.
    And now I can server only 20-30 mln impressions per day, but I need to serve about 80-100 mln impression per day. And I think if I can found decision for single log call it will possible.
×
×
  • Create New...