Financial and environmental costs are causing candidates to rethink how they use the staple of election advertising.