Ranking Advertisements poses an interesting problem, for e.g. consider a case where 1st advertiser might post something offensive and users are reluctant to view the next advertisements which may adversely affect the search engine and advertisers.
-----Abilash