Abstract: A method for modifying bids on keywords used in targeted advertising including generating by one or more computers a data map made up of data representing spatially sorted information related to attributes of a plurality of users of electronic devices each located at a respective location within a space and used to access electronic media, receiving from a user computer a bid amount on an opportunity to display an advertisement through the electronic media, and automatically adjusting by the one or more computers the bid amount for each location so that display of the advertisement through the electronic media is spatially optimized based on the spatially sorted information provided by the data map.