Ads are shown in order of Ad Rank.
Ad Rank is based on your bid price and your Quality Score.
Quality Score is based on a lot of factors, and mostly it's down to your ad CTR and landing page relevance and user friendliness (that well known metric!).
CTR is based on showing the right ad to the...