They simply have websites use first party cookies, send the data server side to data harvesters, tie it all to a global user profile using either identifiers from the website or from fingerprinting and then serve targeted ads.
i.e. Conversions API (Meta), Server Side GTM (Google)
I would be surprised if most advertisers would even be interested in this topic API.