An online system applies position discounts to values of various content items based on the positions in a display in which the content items are presented. The value of presenting a content item is based on historical user interactions with the content item or similar content