[…]

This ad for lego came out in 1981. Would the same ad be produced today?

As Sociological Images says:

I’ve seen other ads from the ’70s and ’80s, particularly for Tonka trucks, that show girls like this-in clothes that look like they’re actually made for playing instead of making a fashion statement, and playing with toys in the same way boys would, even if it means getting dirty (gasp!). When we see ads that always show girls in pink, playing with “girl” versions of toys, or engaged in passive activities, that’s a particular marketing choice, not some inevitable, obvious way girls need to be depicted to sell products.