For this, you can sign up to YouTube Music Premium. As a result, you will no longer see an advertisement while watching music videos. However, you will still be seeing ads while watching other videos. To solve this problem, you can sign up for YouTube Premium and never see ads while watching any video. Also, by having a YouTube Premium subscription, you will already enjoy the advantages that YouTube Music Premium offers.