Essays On Auction Mechanisms And Resource Allocation In Keyword Advertising