Skip to main content

Configure a Reddit Ads developer application

Beta

This feature is in Beta. Workspace admins can control access to this feature from the Previews page. See Manage Databricks previews.

Learn how to configure Reddit Ads to enable authentication from Databricks. The managed Reddit Ads connector in Lakeflow Connect uses OAuth 2.0 user-to-machine (U2M) authentication with PKCE. You'll use the credentials you collect on this page to create a Unity Catalog connection in Databricks.

The OAuth scope (adsread) is set automatically by Databricks. You do not configure it separately.

Before you begin

To set up Reddit Ads as a data source, you need:

  • A Reddit Ads Business Manager account with access to the ad accounts you want to ingest from
  • Access to the Developer Portal in Reddit Ads Business Manager
  • Admin permissions to create and configure a developer application, including its redirect URI
  • Your Databricks workspace URL, to configure the OAuth redirect URI

Create a Reddit developer application

  1. Sign in to Reddit Ads Business Manager at https://ads.reddit.com with an account that has access to your Reddit Ads business.

  2. In the left navigation, under Business, open Developer Portal, then click Developer Applications.

  3. Click Create App.

  4. Complete the Create a new app form:

    • App name: Enter a name for the application, for example databricks_ingest.

    • Description and About url: Optional.

    • Redirect uri (required): Enter your Databricks OAuth redirect URI:

      https://<your_databricks_workspace_URL>/login/oauth/lakehousefederation.html

      Replace <your_databricks_workspace_URL> with your workspace URL.

    • Primary contact: Enter a business admin email.

  5. Click Create App.

  6. After the app is created, expand it to reveal its App ID and Secret. Copy both values — you'll enter them when creating the Databricks connection.

    • The App ID is the client ID.
    • The Secret is the client secret. Treat it like a password.

Next steps

Use Catalog Explorer to create a connection so that any user with USE CONNECTION or ALL PRIVILEGES can create pipelines. See Create a Reddit Ads connection.