Using Google PAIR with Snowflake Data Clean Rooms¶
This topic describes the steps the publisher and advertiser must take to use Google PAIR to activate results of the advertiser’s analysis to their Google DV 360 account.
Important
At this time, Snowflake Data Clean Rooms do not support data subject consent management. Please ensure you are complying with applicable laws and regulations when using Snowflake Data Clean Rooms, including in connection with third-party connectors for activation purposes.
Publisher¶
The publisher must do the following:
Create a clean room that encrypts identifying columns with Google PAIR, then share the clean room with the advertiser. (in this topic)
Provide the encrypted PAIR IDs in the bid request sent to an SSP. (in this topic)
Send a bid request¶
As a publisher, you need to include the encrypted PAIR IDs in your bid request. Best practice is to maintain a URL safe format and use Base64 encoding when providing these IDs within the bid request.
To obtain the PAIR IDs, you need to access your Snowflake account and run the following commands in a worksheet:
-- Find the UUID of the clean room
SELECT * FROM samooha_by_snowflake_local_db.public.cleanroom_record;
-- Replace <uuid> with the UUID of the clean room to find the tables that contain the PAIR IDs
-- Names of tables with PAIR IDs are appended with _PAIR
DESCRIBE SCHEMA samooha_cleanroom_<uuid>.shared_schema;
-- Query the table with PAIR IDs
SELECT * samooha_cleanroom_<uuid>.shared_schema.<tablename_PAIR>;
Advertiser¶
The advertiser must do the following:
Configure their Google DV 360 account to link to Snowflake Data Clean Rooms. For instructions, see the Google DV 360 documentation.
Configure their clean room environment to leverage the Google DV 360 connector.
Install the clean room so it is PAIR-enabled. (in this topic)
Activate the results of their analysis to their Google DV 360 account. (in this topic)
Install clean room¶
In the left navigation, select Clean Rooms.
On the Invited tab, find the clean room and select Join.
Select the tables that you want to include in the clean room, and then select Next.
Expand the Identity Hub section, and select PAIR.
In the PAIR Join Columns section, select the identifier columns that you want to encrypt with Google PAIR.
For each column selected, the clean room adds a new column to the table. It names these new columns by appending
_PAIR
to the original column name.Select Generate Preview to see the name of the new column.
Select Add Identity.
Use the Join Policies section to match your PAIR columns to the corresponding PAIR columns of the publisher, and then define any additional join policies.
Select Next.
Complete the fields for the Audience Overlap & Segmentation template, and select Finish.
Run analysis and activate results¶
In the left navigation, select Clean Rooms.
On the Joined tab, find the clean room in the list and select Run.
Select Audience Overlap & Segmentation, and then select Proceed.
Run the analysis, using the encrypted PAIR IDs to match records.
In the Results section, select Activate.
Select Google DV 360.
In the Account ID field, select a Google DV 360 account that has been integrated with the clean room environment.
In the Segment Name field, enter a descriptive name for your results.
In the Description field, enter a description of the data you are pushing to Google DV 360 for activation.
In the Publisher Name, enter the name of the publisher you are collaborating with.
Select the PAIR ID columns, and the type of these identifiers.
Select Push Data.