Patent ID: 7873536

Claim:
A method performed by one or more server devices, the method comprising: receiving, by one or more processors of the one or more server devices, a query from a client device; retrieving, by one or more processors of the one or more server devices, a group of advertising links in response to receiving the query, each advertising link in the group of advertising links being associated with a value that relates an estimated revenue to a number of instances of display of the advertising link; comparing, by one or more processors of the one or more server devices, the values associated with the advertising links, in the group of advertising links, to a first threshold; based on the comparing, determining, by one or more processors of the one or more server devices, that the received query is commercial; upon determining that the received query is commercial, dynamically selecting, by one or more processors of the one or more server devices, a quantity of advertising links from the group of advertising links, where dynamically selecting the quantity of advertising links comprises: selecting a predetermined quantity of advertising links that are associated with highest values in the group of advertising links, comparing values associated with one or more other advertising links in the group of advertising links with a predetermined second threshold value, and selecting, in addition to the predetermined quantity, a subset of the one or more other advertising links based on comparing the values associated with the one or more other advertising links to the predetermined second threshold value; and providing, by one or more processors of the one or more server devices and to the client device, the dynamically selected quantity of advertising links in response to receiving the query and based at least in part on determining that the received query is commercial.