Patent attributes
An advertisement (ad) proxy server acts as a proxy for serving content of third-party ads to users of an online system, reducing data leakage from users to advertisers. The ad proxy server acts as an intermediate storage and access point for content included in advertisement, such as images and videos. When an advertisement from an advertiser is selected for presentation by the online system, an ad tag identifying the location of the content for the selected ad is retrieved and used to retrieve a copy of the advertisement content. The ad proxy server stores the copy of the advertisement content and generates a modified ad tag identifying the ad proxy server. The modified ad tag is sent to a client device, which retrieves the copy of the advertisement content from the ad proxy server rather than directly from the advertiser.