The decision to air ads is entirely within the authority of the president.
Trump runs the executive branch, and these ads are produced and funded by some department. Order that department to cease doing this and those ads stop, regardless of the status of the law.
Get ‘em off before the end of the month, because you can’t enroll after that.