摘要 |
A method and system for selecting a product to advertise. The method includes receiving an advertisement request from an application, generating a plurality of nodes corresponding to a plurality of user-entered text strings received from a user by the application, sending, to a marketplace system, a plurality of search queries for the plurality of user-entered text strings, and receiving a plurality of product identifier in response to the plurality of search queries. The method further includes determining a plurality of edges corresponding to the plurality of product identifiers, generating a cluster using the plurality of nodes and the plurality of edges, selecting a product identifier of the plurality of product identifiers to obtain a selected product identifier, and providing, to the application, the selected product identifier, wherein the application displays, to the user, an advertisement for the product identified by the product identifier. |