Your ads will be shown to people who have their language set as Spanish in the Google settings. Nothing to do with the TLD. You can of course set your campaign to show only in certain geographies, only Spain for example or if you wanted, just Madrid. But they also have to have their language set to Spanish.