Without knowing which specific advertisement you're referencing, it's impossible to identify the song or artist. Commercial music licensing is vast—thousands of songs appear in ads each year across TV, streaming, radio, and digital platforms.
• Use Shazam or SoundHound while the ad plays
• Search YouTube for "[Brand] commercial song [year]"
• Check Adtunes.com or iSpot.tv—communities dedicated to identifying ad music
• The song may be a custom composition for the ad (not commercially released)
With a few details, the track can usually be identified quickly.