You can connect a Google AdSense account to your search engine in order to generate revenue from contextually-relevant advertisements put within the search results. Advertisers vie for prominence in the search results, and when a user clicks on one of their advertisements, you receive a percentage of the money.