Mr. Green, a former city public advocate and candidate for mayor in 2001, ran ads excoriating Mr. Cuomo’s ethics.