Export Analytical Results to BigQuery
You can set up an export of analytics results to BigQuery for the following clean room types:
Snowflake
Walled Garden (ADH, AMC, and FAA)
Exporting results to BigQuery has the overall steps shown below.
Note
List question results cannot be exported to BigQuery.
Make sure that the bucket path you use for the export destination is distinct from any bucket paths you use for existing BigQuery data connections in LiveRamp Clean Room. For example, to use the same bucket for both exports and data connections, make sure to use a distinct folder in that bucket for exports and a distinct folder for each data connection.
Partners invited to a clean room must have their export destination connections (grouped under "Destinations") approved by clean room owners. Contact your Customer Success representative to facilitate the approval.
The IAM role from LiveRamp Clean Room needs to have write/delete and read access on the customer bucket/folder.
Configuring exports outside of a clean room (such as at the organization level) is still supported, but will be deprecated. Setting up clean room question exports within a clean room is recommended.
Overall Steps
Perform the following overall steps set up an export of analytics results to BigQuery:
For information on performing these steps, see the sections below.
Enable the Clean Room for Exports
Before setting up an export, the clean room owner must enable exports for the selected source clean room:
From the LiveRamp Clean Room navigation pane, select Clean Rooms → Clean Rooms (or click Go to Clean Rooms from the Clean Rooms tile).
In the row for the clean room you would like to export from, click the More Options menu (the three dots), and then select Edit.
From the Configuration step, click
.From the Parameters step, adjust any data control parameters as needed and then slide the Enable Export toggle to the right.
Click
.Verify that your data control parameters are correct and then click
.
Add the Credentials
After enabling the clean room for exports, the clean room owner must first add either their own credentials or those of their partner:
From the LiveRamp Clean Room navigation pane, select Data Management → Credentials.
Click
.Enter a descriptive name for the credential.
For the Credentials Type, select "Google Service Account".
For the Project ID, enter the project ID.
Enter your Credential JSON (credential JSON is hidden by default, viewable here for demonstration purposes).
Click
.Verify that your credentials have been added to LiveRamp Clean Room:
Add an Export Destination Connection
To add an export destination connection:
From the LiveRamp Clean Room navigation pane, select Destinations & Integrations → Destinations.
Click
.Select BigQuery Export.
Enter a name and select the BigQuery Credential created in the "Add the Credentials" section above.
Click
.Confirm that the new export has been added to your list of GCS export destination accounts.
Note
The status of the destination connection will be "Configured" initially, but you can continue to export data. Once the first successful export has been processed the status changes to "Complete".
Set Up a Data Export within the Clean Room
To set up a data export within the clean room:
From the LiveRamp Clean Room navigation pane, select Clean Rooms → Clean Rooms.
From the tile for the desired clean room, click
.From the Clean Room navigation pane, select Destinations. The Destinations screen shows all destination connections provisioned to the clean room.
Click
.From the Clean Room navigation pane, select Destinations. The Destinations screen shows all destination connections provisioned to the clean room.
Check the check box for the desired destination connection and then click
(AWS S3 example shown).Verify that your destination connection has been added (S3 IAM example shown).
Create a New Export
After you've provisioned the destination connection to the clean room, create a new export:
From the LiveRamp Clean Room navigation pane, select Clean Rooms → Clean Rooms.
From the tile for the desired clean room, click
.From the Clean Room navigation pane, select Exports.
Click
to open the wizard to create a new export.Select the question that you want to export outputs for and then click
.Select the specific BigQuery Export destination account you want to send run outputs to.
Enter the dataset name and table name for the table runs should be added to and then click
.Verify that the job has been created. Exports are added to the page. You may view the details of an export by clicking on the name.
Note
Exports can be paused, which will stop them from sending data upon the completion of each run.
Exports cannot be edited or deleted. Changes should be made by pausing the export and creating a new export.
Export Details
When a question runs, the results will be written to the defined table. Each row will have an associated "Run ID" column. There will be a second metadata table created.