跳到正文
实时
Databricks Blog·· 8 小时前

Databricks 指南:如何为 ad-tech 数据协作选择正确的工具

Reaching for the right tool: A practitioner's guide to ad-tech data collaboration

要点速览

在 ad-tech 数据协作中,并非所有情况都需要建立清洁室。应先明确业务问题(身份、受众、激活、衡量),再根据数据与计算的边界需求选择协作机制。轻量级的受控共享(如 Delta Sharing)是首选,当双方需联合计算且数据敏感时才考虑标准清洁室或封装方法。

正文

Every data collaboration conversation gets to clean rooms sooner or later, in executive strategy sessions and at industry events. "We're doing clean rooms" (lately, "we're doing agentic buying") comes up everywhere, and it can mean very different things depending on who's saying it.

The story follows a familiar pattern. A partner asks for a cross-platform segment or a weekly performance feed, and it's a good ask that everyone wants to say yes to. Then someone says clean room, and the yes turns into a project: a quarter, a procurement cycle, a diagram with more boxes than the ask ever needed.

Most of the time, a clean room isn't necessary. Defaulting to one leaves teams carrying unnecessary complexity, costs nobody budgeted for, and a timeline nobody planned on.

If it can be securely shared, share it. A clean room earns its place when a collaboration needs a stronger boundary around both the data and the computation. The question isn't which product is most sophisticated. It's what the partners are trying to accomplish, what each side can safely reveal, and how much infrastructure that answer really requires.

Start with the business question

Underneath nearly every ad-tech collaboration ask is one of four business questions, each tied to a recurring stage of the campaign lifecycle:

  • Identity: How much do two audiences overlap, or how can records be linked?
  • Audience: Who resembles the best customers, so the team can find more of them?
  • Activation: Can the segment reach a DSP or publisher on time, without a fragile handoff?
  • Measurement: Did the campaign work? Was there lift, incrementality, or a measurable outcome?

Partnerships are how this business grows, but every new partner arrives with its own formats, deadlines, and constraints. If every request becomes a custom feed or integration, the operational burden compounds. The business question tells the team what has to happen. The collaboration boundary tells it how to deliver the answer without building another one-off project, while meeting everyone's privacy requirements.

Consider the weekly performance feed: If the recipient is permitted to see the relevant rows, a masked, dynamic fine-grained view can restrict what that recipient sees. Protecting customer information is the right instinct. Treating every sensitive dataset as a reason to build a clean room is not necessarily the right way to act on it.

The decision boundary: what can each party reveal?

Start with a governed share. The first question is about the recipient: can it be trusted with the specific rows, columns, or aggregates it needs, after filtering and masking? If so, share that authorized result. The sensitivity of the original source is not, by itself, the deciding factor.

If not, the next question is about the computation: must two parties compute jointly over data that neither may disclose to the other? In the standard collaborative clean-room pattern, the case is strongest when both conditions hold: neither side can disclose the relevant raw data, and both parties need to review and approve the code that runs against their combined data. That is a different trust boundary from ordinary sharing.

Two alternatives are worth checking before anyone builds a room. If only the output needs to cross the boundary, one party may be able to compute an authorized aggregate and share that instead. If the value lies in one provider's proprietary method, consider a packaged clean room. Unlike a standard, mutually approved analysis, it lets the provider keep the method hidden while the consumer elects to trust it and run it. The two-condition test describes the standard collaborative pattern, not every packaged-room use case.

That gives the kit a simple order. Choose the mechanism of collaboration first: a governed share, a standard clean room, or a packaged method. Then, decide how to distribute or operationalize it, through the Marketplace or an app. The first decision is about trust; the second is about reach and usability.

Choose the lightest collaboration mechanism that meets the boundary

Share it

Governed sharing (Delta Sharing, now OpenSharing) is the lightest collaboration mechanism in the kit, and it also underpins other collaboration capabilities. If a team can expose a masked or filtered view and trust the recipient with those permitted rows, there is no reason to introduce a joint-compute environment.

Plenty of partnerships still run on flat files: an S3 drop, a nightly SFTP job, a CSV that arrives by email. Those feeds work, the people running them have kept them alive for years, and a share can run right alongside them. But wherever a partnership can move to a live share, the move is worth making: the data stays in place instead of being copied, and both sides work from the same current version. Shared materialized views are the exception worth knowing: unless the partner reads one on Databricks serverless compute, the provider's compute filters it into a temporary copy first. And if a team is already comfortable sending a partner an S3 drop or an SFTP file, that's a good sign a secure share is all the partnership needs. The partner is already trusted with those rows.

The share also meets partners where they already work. It reaches across clouds and platforms without a migration, and across formats too. The partner reads the table as Delta or Iceberg, so a partner on Snowflake, or any other Iceberg REST client, can read the share directly once each Delta table in it has Iceberg reads turned on. Sharing Iceberg tables to Iceberg clients is generally available today. Shares land in familiar tools like Apache Spark, pandas, and Power BI, and between Databricks accounts they carry far more than tables and views: files and images in volumes, models, notebooks.

Anyone who has rebuilt the same feed for the fifth partner this quarter knows how tiring that gets. Keeping the share separate from the recipient ends the rebuilding. The team sets up the share once, then adds or detaches partners as contracts change, with nothing underneath to redo. Enabling feeds for fifty partnerships doesn’t have to feel like fifty separate projects.

The clean room

A standard collaborative clean room is for a different kind of agreement. Neither party can reveal the rows needed for a joint overlap, an attribution join, or a model, and both must approve the computation that touches them. When those restrictions are real, the clean room is the right mechanism. It's generally available on all three clouds, for up to ten collaborators per clean room.

In the standard room, approval is not paperwork; it is part of the trust boundary. Each side can read a notebook before approving it, while the data stays private: collaborators see only column names and types. A team that also needs to keep its own method private can bring it as compiled code (e.g. JAR workloads, python libraries) or step up to a packaged clean room.

The approved code also decides what leaves the room, by writing it to output tables. Done right, that's only aggregates above a threshold both sides agree on, never the raw rows.

It saves a lot of back-and-forth, too. Both sides can see what ran and when, so fewer weeks go to "did you get it?" and "did you run it yet?" emails.

The packaged clean room

A packaged clean room solves a different collaboration problem; it isn't simply a standard room with more privacy added. In a standard room, the parties cooperate on a mutually approved computation. In a packaged room, one party supplies a protected method as a reusable service: an identity graph, an attribution model, a measurement recipe. A standard room can protect compiled code, but packaging keeps the provider's method hidden as an end-to-end offering.

So the provider packages it: notebooks, compiled code, and its own data. The partner sees the notebooks' names but never the code or the provider's data. It brings its own data, runs the analysis, and gets the answer. The provider never sees that output, unless the room was created with shared output, in which case both sides can read whatever the provider's code writes there.

It runs on a different trust model from the standard room. Instead of both sides approving the code, one side's method stays hidden and the other side trusts it, because a provider is offering a method rather than two parties building something together. It's generally available on all three clouds: a methodology on the shelf, ready whenever the next partner is.

Then, scale what already works

Once the trust boundary and the mechanism are settled, a second set of questions appears: How many partners need it? How many people inside each partner will actually use it? The Marketplace multiplies the partners a product can reach; an app multiplies the users and workflows that can act on it. Neither one is a substitute for a sound collaboration design.

The Marketplace

When what a team has built is good enough that many people would want it, including people it hasn't met, the team can stop negotiating one deal at a time and list it on Databricks Marketplace. The listing runs on a share underneath, consumers can easily discover and get it instantly or request access, and Marketplace system tables (in Public Preview) show how often a listing is viewed and who's asking for it. At that point it's a product, not another bespoke data project.

The app

A collaboration can work and still earn less than it should. The data arrives, the trust boundary holds, and the only people who get anything out of it are the few who can query it. At that point the next gain isn't another share; it's more people using the one already there. Shares already land in the majority of BI tools analysts leverage. The app is for everyone else on the partner's side: the planner, the seller, the marketer who will never open a notebook.

It's real work: someone builds it, owns it, and decides who can open it. There are two ways in.

  • Build it. A Databricks App runs on the serverless platform and works with Unity Catalog for governance and OAuth for authentication. A team builds the version that fits its own readout: the overlap, the segment, the lift result.
  • Install it. Vendors publish apps to the Marketplace, grouped under Apps, and each one goes through a security review first. A third-party app runs in the installing team's own workspace, on that team's compute, so the data stays in place and the provider's code stays closed-source. Each app declares the resources and scopes it needs, and a workspace admin authorizes them at install.

Apps on the Marketplace were announced in June 2026, and two of the launch partners show what that looks like for data collaboration: The Trade Desk, whose connector app is built to streamline activation, and Capital One Software, whose Databolt Connect prepares and links datasets inside Databricks Clean Rooms.

image2.gif Built or installed, the app has one job: making a working collaboration useful to someone who would not otherwise touch the data. An app on a share nobody uses is one more thing to maintain.

The decision in one picture

Put together, the whole decision has two layers. The first is trust: what is the minimum boundary this collaboration requires? If permitted rows or aggregates may be disclosed, share them. If private datasets must be joined under mutually approved code, use a standard clean room. If a provider must keep a reusable method hidden from the consumer, evaluate a packaged clean room and the distinct trust assumptions that come with it. The second layer is consumption: how will the result be used? For broad partner discovery or distribution, list the data product on the Marketplace; for business users and operational workflows, build or install an app. The Marketplace and apps are ways to distribute and consume a collaboration, not interchangeable privacy mechanisms.

image1.png

What it looks like, built well

The four campaign questions show up again in real workflows, but none of them maps automatically to one tool. What changes the decision is whether a recipient may see the necessary records, whether both parties must compute jointly on data they cannot exchange, and whether the method itself is the product. The examples below make that boundary concrete across identity, audience, activation, and measurement.

Identity: who is who?

Identity work links records and resolves people or households across systems, and how well those records match can determine whether a campaign can reach or measure its intended audience. The architectural question is whether the partners can exchange approved identifiers or must keep their contributing records private.

  • Governed share: Plenty of identity work already moves hashed data. A team that sends hashed emails over SFTP, so a third party can match them to its own hashed IDs such as RampID or UID2, can send the same table through a governed share instead. Shared as a dynamic view, it shows each partner only its own rows.
  • Clean room: Raw PII on its own doesn't automatically call for a clean room. The boundary changes when the partners need to compute together but cannot exchange the underlying records. Measuring how much two customer files overlap is the classic case: neither company can hand over its file, and both need to approve the matching code. Both conditions hold, so the match runs in the clean room and only the overlap comes out.
  • Packaged clean room: The match logic, the graph, the recipe for resolving a person: that's the IP. Packaged, the recipe runs on each partner's own data, and the partner never sees the code. Several identity providers already offer theirs ready-made. A team can open a [packaged room with Acxiom, Adstra, LiveRamp, or The Trade Desk](link to announcement) as the provider in one step, with shared output already turned on.

Audience: who to reach?

Audience is where the team builds the golden profile: the unified customer-360, the household and device graph, the segments, the lookalikes.

  • Governed share: If a recipient is authorized to receive a defined segment's membership records, a governed share can deliver only those permitted rows, and new segments can be added to the same share. A familiar segment label does not make the membership data behind it non-sensitive; permissions are the determining factor.
  • Clean room: If a brand cannot hand over its seed customers and a media partner cannot disclose its audience records, the parties may need an approved computation inside a clean room to produce a permitted lookalike or matched-audience output. What puts this work in the room is the joint input neither side can disclose, not the fact that the result is a lookalike.
  • Marketplace: When a segment matures into an asset valuable to prospective external partners, it is listed on the Marketplace, backed by the same underlying data share.

Activation: how does it get there?

Activation is where a segment goes to work, through a DSP or straight to a publisher, and it's where governed sharing does its daily work.

  • Governed share: Segments go out through a dynamic view keyed to recipient properties, so each partner's own properties decide what it sees, automatically. Reverse ETL and activation partners such as Census and Hightouch sync segments out to the MarTech and AdTech tools partners already run. That means fewer exports to chase and fewer handoffs for someone to babysit at two in the morning.
  • Clean room: Activation runs through the clean room only when the audience to activate is the overlap itself: a retail media network reaching a brand's existing customers on its own site, say, without either customer list changing hands. The approved code decides exactly what goes into the output table that carries the audience out.
  • App: Some of the handoffs can arrive as an install. The Trade Desk's connector app on the Marketplace connects audience, targeting, conversion, and measurement data to advertising workflows, straight from the team's own Databricks environment.

Measurement: did it work?

Measurement closes the loop, and the work ranges from a routine report to a row-level attribution join.

  • Governed share: A lot of measurement is simply sharing out a report: the weekly performance feed from the opening, a campaign recap, an aggregate the partner is allowed to see. A governed share handles all of it.
  • Clean room: When measuring attribution or incrementality requires combining ad exposures and conversions from different parties, the clean room lets teams do so without exchanging raw data. Its multiparty support also brings identity providers and data enrichment partners into the analysis, improving match rates and adding richer audience and household insights. Each party keeps control of its data, while approved analyses paint a more complete picture of campaign effectiveness and incrementality.
  • Packaged clean room: When the measurement recipe is itself the valuable thing, the provider can package it, so partners run the method without ever seeing it.
    Identity, audience, activation, measurement: that's the backbone, and every company enters it at a different point. Publishers and retail media networks sit on the sell-side, advertisers and agencies on the buy-side, and the ad-tech and data-enrichment partners in the middle stitch the two together. A company that knows where it stands, and what each side can safely reveal at that stage, knows which tool to reach for first.

The honest part: where humans stay in the loop

Choosing the lightest tool doesn't mean relaxing controls. The mistakes tend to fall into three groups: exposing more data than intended, trusting computation without the right review, and forgetting what happens after a result is produced.

Share only what the collaboration needs

Curate, don't dump. It's natural to share a broad set of data so the partner has what it might need. In practice, purpose-built tables or views at the grain the recipient needs are easier to work with than an entire internal data model.

Apply controls at the sharing boundary. Controls attached to a source table need a deliberate sharing plan. Tables with row filters or column masks can't be shared directly and may be omitted when an entire schema is shared. ABAC policies don't apply to the recipient. For partner-specific access, put the intended filtering and masking in the shared view.

Agree on output rules before analysis. When partners plan to share aggregates, they should agree on minimum group sizes and any limits on repeated queries. Put those rules into the analysis and share only the agreed result; the platform doesn't impose a default threshold.

Computation and trust: inspect what can run

Read the notebook before approving it. In a standard clean room, review is part of the security model, yet auto-approval is on by default for whoever is designated to run another collaborator's notebook. Decide who actually reviews it, rather than assuming an approval button supplies scrutiny.

Control what can leave. "Only aggregates leave" is a design choice to enforce, not an automatic guarantee. The approved notebook logic determines the output tables, so outputs and egress behavior deserve review alongside the inputs.

A packaged room depends on a different kind of trust. The consumer can't inspect the provider's code, which makes the network-egress policy especially consequential. If it allows unwanted endpoints, hidden code could transmit consumer data outside the room. Check the policy before contributing sensitive data.

Operations: own the result and its access path

Plan where results land. Clean-room output tables are read-only, readable by the notebook runner unless configured for sharing, and retained for 30 days. Set expectations for retention and distribution ahead of time.

An app is another door. At install, review the external calls, data movement, resource scopes, and admin-granted permissions the app declares. Some apps need an initial setup, and workspaces with restricted egress may need endpoints allowlisted. Ensure admins are looped in.

One last thing

For years, building an ad-tech partnership often meant another one-off feed, another approval chain, another piece of plumbing to maintain. The teams that kept those pipelines alive did essential work. They also inherited friction nobody needed, in a world where every request was treated as an exception.

Better collaboration architecture begins with a narrower question: What must this partner learn or do, and what must remain private? Share authorized data when that answers the question. Use jointly approved computation when the raw inputs cannot cross the boundary. Package proprietary methods when offering them to many partners is the product. Then reach for the Marketplace or an app only when distribution or usability calls for it.

Get that order right, and the people doing the work spend less time rebuilding the handoff and more time making the partnership valuable.

Before scoping a clean room, start with the business question: often a governed share is all the partnership needs. Learn more about OpenSharing (formerly Delta Sharing), Databricks Clean Rooms, and Databricks Marketplace, or watch Getting Started with Databricks Clean Rooms.

来源: Databricks Blog · databricks.com