As per YouTube Music Help, you will need at least 10 hours of music listening time across YouTube from 1st Jan to 15th Nov 2022, with either YouTube or YouTube Music app installed, the YouTube app needs to be running on version 17.43 or above and the YouTube Music app needs to be running on version 5.32 or above.