TTD Connector for Databricks: Audience and conversion data SDK

NOTE: This guide describes one method for uploading offline conversion events. For all available methods, see Upload offline conversion events. If you're uploading event data as part of the product catalog integration workflow, first complete Step 2: Upload product catalog data.

The TTD Connector for Databricks enables you to onboard conversion or segment data to The Trade Desk from your Databricks account or to manage optouts and deletions.

This connector is a Python SDK that simplifies sending advertising data to The Trade Desk DSP. It can substantially reduce the time, effort, and complexity of authoring your integration. This SDK solution encapsulates complex functionality such as retries, external API handshake, and error handling.

IMPORTANT: Although this is a simplified solution, using it requires writing code, managing credentials such as secrets, and having a solid working knowledge of Databricks features such as notebooks and delta tables.

Your specific implementation of the SDK runs in your Databricks instance, and requires ongoing operational work.

Databricks marketplace listing

The following listing for audience and conversion data is available in the Databricks marketplace:

Key resources

Unlike other offerings from The Trade Desk that offer a higher level of assistance from The Trade Desk personnel, this solution is supported primarily by written documentation on the Python Package Index (PyPI) site and notes on the OpenTTD portal.

The following table provides information about additional key resources for getting started with The Trade Desk connector for Databricks.

Resource Link
Project page on PyPI site ttd-databricks project
GitHub repository ttd-databricks-python repository
Databricks Clean Rooms Integration Guide on UID2 website Databricks Clean Rooms Integration Guide on the UID2 site

Key capabilities

The TTD Connector for Databricks supports management of the following functions and types of data:

Authentication

Here's what you need to know about authentication for this SDK:

Deployment

The connector is distributed as a Python package (ttd-databricks) via PyPI and is designed to run inside a Databricks environment. The deployed package includes the following:

The connector supports the following processing modes:

To install, run this command:

pip install ttd-databricks

When installation is complete, you can use the TTD Connector for Databricks to send audience and conversion data to The Trade Desk Data API. For details, refer to the project page on the PyPI site or the GitHub README file: see Key resources.

Support

Full documentation is available in the package README on PyPI. It covers installation, available endpoints, schema requirements, error handling, and advanced configuration (custom HTTP client, server URL overrides, backfill runs).

Next steps

If you uploaded event data only for measurement, your integration is complete.

If you uploaded event data as part of a product catalog integration, the next step is to activate the data through your product catalog. To share access, continue to Step 4. Manage product catalog access. After an advertiser has access to the catalog, they can create product lists to build audiences and measure sales performance.