YouTube is intended to be a free platform. In return, however, users are presented with advertisements in various forms. One of the most annoying ways to display ads is through the overlay ads that appear on the desktop version of YouTube. They appear at the bottom of the recordings and to turn them off, you have to press the appropriate button in the corner of the displayed overlay. This type of ads will be removed from YouTube soon.

YouTube has probably decided that this type of ad is outdated and too annoying for users, so from 6th of April 2023, this type of ad will no longer appear on YouTube. It is possible that in the future it will be replaced by a completely new type of advertising, but for now YouTube does not mention potential new forms of advertising on the platform.

source