Before you go and invest in martin houses, read this paragraph from the Purple Martin Conservatory Association....
Purple Martins, like all swallows, are aerial insectivores. They eat only flying insects, which they catch in flight. Their diet is diverse, including dragonflies, damselflies, flies, midges, mayflies, stinkbugs, leafhoppers, Japanese beetles, June bugs, butterflies, moths, grasshoppers, cicadas, bees, wasps, flying ants, and ballooning spiders. Martins are not, however, prodigious consumers of mosquitoes as is so often claimed by companies that manufacture martin housing. An intensive 7-year diet study conducted at PMCA headquarters in Edinboro, PA, failed to find a single mosquito among the 500 diet samples collected from parent martins bringing beakfuls of insects to their young. The samples were collected from martins during all hours of the day, all season long, and in numerous habitats, including mosquito-infested ones. Purple Martins and freshwater mosquitoes rarely ever cross paths. Martins are daytime feeders, and feed high in the sky; mosquitoes, on the other hand, stay low in damp places during daylight hours, or only come out at night.