The order comes as campaigns gear up for the midterms and could stretch their ad dollars further.