Reach audiences everywhere with the world's leading independent demand-side platform.


You can import Advertiser, Campaign, Data Group, and Tracking Tags from The Trade Desk into Treasure Data.

Advertise to audiences across the world, from anywhere in the world.

Prerequisites

  • Basic knowledge of Treasure Data, including the TD Toolbelt

  • The Trade Desk Login account 

  • Authorized Treasure Data account access

Use the TD Console to Create Your Connection

Create a New Connection

In Treasure Data, you must create and configure the data connection prior to running your query. As part of the data connection, you provide authentication to access the integration.

1. Open TD Console.
2. Navigate to Integrations Hub  Catalog.
3. Search for and select Trade Desk Input. 

4. Type your username and password for Trade Desk:

5. Enter a name for your connection.
6. Select Continue.



Transfer Your Data to Treasure Data

After creating the authenticated connection, you are automatically taken to Authentications.

Specify the data that you want to import:

  • Advertiser

  • Campaign

  • Data Group

  • Tracking Tags


1. Search for the connection you created. 
2. Select New Source.
3. Type a name for your Source in the Data Transfer field.
4. Select Next.

The Source Table dialog opens.

5. Edit the following parameters:
Data Type Additional ParameterDescription
Advertiser

CampaignAdvertiser ID

Your Advertiser ID is available from The Trade Desk dashboard and your Account Manager can provide you with your Advertiser Secret Key.

Data GroupAdvertiser ID  

Your Advertiser ID is available from The Trade Desk dashboard and your Account Manager can provide you with your Advertiser Secret Key.

Tracking TagsAdvertiser ID

Your Advertiser ID is available from The Trade Desk dashboard and your Account Manager can provide you with your Advertiser Secret Key.

6. Select Next.

The Data Settings page can be modified for your needs or you can skip the page.

7. Optionally, edit the following parameters:


ParameterDescription
Max retry count per API CallMaximum retry count per API call
Initial retry interval per API callInitial retry interval per API call in milliseconds
Max retry interval per API callMaximum retry interval per API call in milliseconds
8. Select Next.


Data Preview 


You can see a preview of your data before running the import by selecting Generate Preview.

Data shown in the data preview is approximated from your source. It is not the actual data that is imported.

  1. Select Next.
    Data preview is optional and you can safely skip to the next page of the dialog if you want.

  2. To preview your data, select Generate Preview. Optionally, select Next

  3. Verify that the data looks approximately like you expect it to.


  4. Select Next.


Data Placement


For data placement, select the target database and table where you want your data placed and indicate how often the import should run.

  1.  Select Next. Under Storage you will create a new or select an existing database and create a new or select an existing table for where you want to place the imported data.

  2. Select a Database > Select an existing or Create New Database.

  3. Optionally, type a database name.

  4. Select a Table> Select an existing or Create New Table.

  5. Optionally, type a table name.

  6. Choose the method for importing the data.

    • Append (default)-Data import results are appended to the table.
      If the table does not exist, it will be created.

    • Always Replace-Replaces the entire content of an existing table with the result output of the query. If the table does not exist, a new table is created. 

    • Replace on New Data-Only replace the entire content of an existing table with the result output when there is new data.

  7. Select the Timestamp-based Partition Key column.
    If you want to set a different partition key seed than the default key, you can specify the long or timestamp column as the partitioning time. As a default time column, it uses upload_time with the add_time filter.

  8. Select the Timezone for your data storage.

  9. Under Schedule, you can choose when and how often you want to run this query.

    • Run once:
      1. Select Off.

      2. Select Scheduling Timezone.

      3. Select Create & Run Now.

    • Repeat the query:

      1. Select On.

      2. Select the Schedule. The UI provides these four options: @hourly, @daily and @monthly or custom cron.

      3. You can also select Delay Transfer and add a delay of execution time.

      4. Select Scheduling Timezone.

      5. Select Create & Run Now.

 After your transfer has run, you can see the results of your transfer in Data Workbench > Databases.


Optionally Configure Export Results in Workflow

Within Treasure Workflow, you can specify the use of this data connector to export data.

Learn more at Using Workflows to Export Data with the TD Toolbelt.


















  • No labels