I come to an idea that if KM can get triggered based on music steam type? Every time I hear ad from spotify.app, I will mute manually, that's too annoying.
Not sure about solving this with KeyboardMaestro, BUT– I have found, somehow that the ads skip themselves when using the Brave browser. Not sure what settings effect this as I stumbled on it accidentally.