The purpose of this MQP is to develop a model to predict costs and construct a bidding strategy for Cidewalk, an online advertisement platform for mobile marketing developed by Chitika, Inc.. We create algorithms to minimize the total cost of a set of Vickrey auctions for ad impressions. We develop an equation to calculate the estimated total cost of winning a set of auctions and from that we are able to obtain an optimal bidding price for the next auction.