Hello, I am a newbie and don't know is this related with this topic but I am stuck, sorry if I disturbed. I need a formula to calculate which ad will go first. Okay, here is the problem: I am working on a system that is a new way of advertising. Advertisers will define their total budget and max CPC's for one category. If there are more than one advertisers in the same category, whose ad will go first? Here's an example: Advertiser1: Total Budget: $1000 Max CPC: $1 Advertiser2: Total Budget: $1000 Max CPC: $5 Advertiser3: Total Budget: $500 Max CPC: $10 Advertiser4: Total Budget: $10,000 Max CPC: $4 And categorie's average CTR is %2 Yes, all numbers are fake. So, whose ad will go first and why and how? Please help! Thank you.