SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Zealot diskhub's Avatar
    Join Date
    Jun 2004
    Location
    singapore
    Posts
    161
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    curious... how they do that in advertisement...

    Hi,
    I know many sites are hosting different advertisements for their clients.
    They would promise to give a number of impression (maybe how many %)
    for their ads...

    My question is: How do they create this AI? Is there anyway u can control the advertisments' impression or by % they promised to their clients?

    Do we need a database to keep track of these impression?
    I LOVE PHP!!!

  2. #2
    Non-Member Icheb's Avatar
    Join Date
    Mar 2003
    Location
    Germany
    Posts
    1,474
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You just keep track of how many times a particular ad has been displayed. There's nothing more to it.

  3. #3
    SitePoint Zealot diskhub's Avatar
    Join Date
    Jun 2004
    Location
    singapore
    Posts
    161
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    but if they have a few clients... who pay different amount of money for different number of impression... how do they display their ads in random and yet have the probability % higher for seeing the ads for the company who paid more for more impression.
    I LOVE PHP!!!

  4. #4
    SitePoint Wizard silver trophy
    Join Date
    Mar 2006
    Posts
    6,132
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i would imagine they just keep track of how many times a certain customers ad has been displayed. once they have met thier obligation, that ad is removed from the table of possible ads to serve.

    things could get much more complicated though if they have to serve x amount of adds for a customer within a certain time limit. also if they want to space x amount of impressions over a certain time span, like a week or month so they get steady traffic for a while, instead of a burst of traffic which stops when they have consumed thier impressions.

    how 'random' they wanted it to be would also influence how they code it.

    assuming the more complex situations like time limits, i suppose they might generate a lookup table, maybe regenerating it every few hours or whatever. that would allow them to control the rate of impressions for each ad without having to compute everythign too often, and would allow them to try to smooth the rate out.

    when they generate the lookup table they can consider various factors like how many impressions need to be fulfilled for each customer, how much time they have left to fullfill it, taking into account how many ads they normally serve per minute etc...and use that to decide how many of each ad get placed into the lookup table.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •