Ad display is based on a number of factors, including the keywords used in a search. Sophisticated algorithms are used to determine which ads are local to the person searching for a keyword.