[What you need to know to start the day: Get New York Today in your inbox.]

Depending on your point of view, they are either miracles of modern marketing or a heinous eyesore on the city’s waterways.

Either way, the digital billboards that had been plying the East and Hudson Rivers over the last several months may soon be a thing of the past, as Gov. Andrew M. Cuomo signed legislation on Monday to ban them.

“These floating billboards are a nuisance that blight our shores and distract from the great natural beauty of our waterways,” Mr. Cuomo said in a statement. “This action will help make our waters more enjoyable and safer for everyone.”

The governor’s action on the bill, which will be effective immediately, comes after months of complaints and legal action over the billboards, which first appeared last year and irritated the sensibilities of some New Yorkers.