Microsoft unveils Ad Selection API for privacy-preserving advertising

New server-side API aims to balance user privacy and ad relevance as industry moves away from third-party cookies.

Microsoft unveils Ad Selection API for privacy-preserving advertising
Ad Selection API

Microsoft has announced the launch of a new Ad Selection API, aimed at enabling privacy-preserving advertising without relying on third-party cookies. The company unveiled details of the new API in a blog post on October 14, 2024, marking a significant step towards more privacy-focused digital advertising.

According to Microsoft, the Ad Selection API builds upon existing proposals like the Protected Audience API, while introducing key differences to strike a balance between user privacy and advertising effectiveness. The new API will be available as a limited preview for testing in regions outside the European Economic Area (EEA) and the United Kingdom.

How the Ad Selection API Works

The Ad Selection API utilizes trusted execution environments (TEEs) to securely process user data and ad auctions on the server-side, rather than on users' devices. This approach aims to provide strong privacy guarantees while maintaining the ability to serve relevant ads.

Key features of the Ad Selection API include:

  • Support for multi-domain processing of user data in secure, transient environments
  • Implementation of differential privacy and k-anonymity techniques to protect user information
  • Allowance for dynamic creative selection and real-time bidding
  • Server-side processing to avoid shared services and improve operational control

Compatibility and Implementation

Microsoft states that the Ad Selection API is designed to be largely compatible with the Protected Audience API at the code level. This compatibility aims to minimize the cognitive load for developers comparing different proposals and ease adoption across the industry.

To use the Ad Selection API, advertisers and publishers will need to:

  1. Sign up for the limited preview by registering for an origin trial
  2. Complete API attestation by publishing a JSON file on their domain
  3. Set up an evaluation environment with a supported cloud provider like Azure
  4. Deploy Ad Selection API services using provided container images
  5. Modify website code to integrate the new API functionalities

Privacy Protections

The Ad Selection API implements several privacy-enhancing technologies, including:

  • Differential privacy: Adding noise to data to prevent individual user identification
  • K-anonymity: Ensuring ad creatives are shown to a minimum number of users before being eligible for display
  • Secure enclaves: Processing sensitive data in isolated, encrypted environments

Industry Implications

The introduction of the Ad Selection API represents Microsoft's effort to address growing privacy concerns while maintaining effective digital advertising capabilities. As third-party cookies face deprecation, solutions like this aim to provide alternatives for targeted advertising that respect user privacy.

However, the effectiveness and adoption of the Ad Selection API remain to be seen. Its success will likely depend on industry uptake, regulatory alignment, and real-world performance in delivering relevant ads while protecting user data.

Next Steps

Microsoft is inviting developers, advertisers, and publishers to participate in the limited preview of the Ad Selection API. Interested parties can sign up for the origin trial to begin testing the new capabilities. The company has also released documentation and deployment scripts to facilitate implementation and experimentation with the API.

As the digital advertising landscape continues to evolve, initiatives like the Ad Selection API highlight ongoing efforts to balance user privacy with the economic realities of ad-supported content on the web. The coming months will likely see further refinements and discussions as the industry grapples with this critical challenge.

Key Facts

  • Announced: October 14, 2024
  • Available: Limited preview outside EEA and UK
  • Key features: Server-side processing, multi-domain data use, differential privacy, k-anonymity
  • Compatibility: Designed to align with Protected Audience API
  • Implementation: Requires origin trial registration, attestation, and deployment of TEE services