A federal judge has ruled that South Dakota can’t enforce its abortion advertising ban against a reproductive health nonprofit.