Viewing returning customers that were first acquired by paid media

I’m wondering if it is possible to see how many customers that were first acquired via an ad came back and purchased again (e.g. how many new customers that were first acquired through paid media turned in to returning customers)?

Thanks!