A cookie banner or a bar is a better way to request user permissions cookies. You may found it at the bottom or the top of the page, with a visible size, but it certainly doesn’t interrupt the user experience unlike the case of cookie wall. The text and buttons should be clear and unambiguous. You have to offer buttons: one to accept and the other to reject or set preferences.
In this method, there can be scenarios when the user will not make any choice at all, so you can place only functional cookies. As a result, you may lose your analytical and marketing data but it will not impact the user experience on your site.