Price Competition and Endogenous Valuation in Search Advertising