Glam rock targeted adults and wasn’t mainstream. Abba’s clothing and style aimed at younger viewers and listeners.
Glam rock was very mainstream in Europe. Very few of them made it big in America until glam metal bands started covering them in the 80s. But it was huge in England and the rest of Europe, including Sweden, where Abba is from.