Trenton lawmakers advanced legislation that would direct state agencies to spend dedicated amounts through advertising in New Jersey news outlets.