This integration allows you to create advertising campaigns on Yahoo! Ads using a customized list of 1st party data from company websites and mission-critical systems related to Yahoo! DMP. Treasure Data helps you send your own user segment to Yahoo! DMP.
The only DMP that can utilize Yahoo! JAPAN's big data.
Yahoo! DMP supports the marketing activities of companies with simple settings, various marketing channels, and flexible expandability. In addition to delivering ads in various formats, Yahoo! DMP can be used for email delivery, web page optimization, etc., so you can take a strategic approach at the right time and means. Strategic marketing communication is possible due to the various advertising distribution aspects unique to Yahoo! JAPAN.
With the Treasure Data export, you can engage in:
- Direct Targeting: Create a user segment on TreasureData using your own analysis. Then you can send it to Yahoo! DMP and set up an advertising targeting campaign with it as a CustomList on Yahoo! Ads.
- Custom Segment Targeting: Send user data with its attributions to analyze and create custom segments on Yahoo! DMP to Yahoo! DMP, and set up an advertising targeting campaign with it as CustomList on Yahoo! Ads.
The diagram describes the flow for DIrect Targeting and Custom Segment Targeting.
Treasure Data account
Yahoo! Ads and Yahoo! DMP accounts
This integration doesn’t support creating a custom segment on Yahoo! DMP.
As a workaround, you can use the Yahoo! DMP integration through Yahoo! Tag Manager (YTM) instead.
The connector only supports uploading 1 GB of records, after compressing.
The integration just uploads files to Yahoo!. It could fail during importing and matching in Yahoo!. So when customers want to check if parameters are valid or not, have to check on Yahoo! Ads console.
About Identifying a User
With Treasure Data, you have the following ways to identify a user:
A 3rd party cookie provided by Treasure Data.
It allows you to identify users without implementing CookieSync on your because the td_global_id is always synced on the Yahoo! Japan website.
Allow you to identify users without Cookie. Emails sent to Yahoo! DMP, create a user list by matching the same hashed email on Yahoo! DMP.
You must obtain the salt string to create a hash string from Yahoo! Japan.
Enables you to identify users with IDFA (Identifier for Advertisers) on iOS or ADID (AdvertisingId) on Android instead of using the cookie.
|No longer recommended|
Exporting to Yahoo! DMP
Create Target List in Yahoo! Ads
Log in to Yahoo! Business center, then open the creating targeting list page. If you have difficulty navigating the Yahoo! Ads Campaign Management Tool layout, contact the Yahoo! Japan support team.
Create a Custom List.
Check the Custom Audience ID, Target List ID.
If the Target List-ID column is not shown, turn on the displayed item setting.
Check Brand ID on Yahoo! DMP
Log in to Yahoo! DMP to find the Brand ID.
Use the TD Console to Create Your Connection
Create a New Connection
In Treasure Data, you must create and configure the data connection, to be used during export, before running your query. As part of the data connection, you provide authentication to access the integration.
Open TD Console.
Navigate to Integrations Hub > Catalog
Search for and select Yahoo! DMP.
The following dialog opens.
Enter your Brand ID.
Enter a name for your connection.
Define your Query
- Complete the instructions in Creating a Destination Integration.
Navigate to Data Workbench > Queries.
Select a query for which you would like to export data.
Run the query to validate the result set.
Select Export Results.
- Select an existing integration authentication.
- Define any additional Export Results details. In your export integration content review the integration parameters.
For example, your Export Results screen might be different, or you might not have additional details to fill out:
Run your query.
Validate that your data moved to the destination you specified.
Integration Parameters for Yahoo! DMP
Set the following parameters:
User list type:
User ID type:
Ignore the invalid records
Custom audience id, required when
Target list id, required when
Client id, required when
Data source number, required when
Here is a sample configuration:
Example Query for Yahoo! DMP
direct_targeting, Treasure Data supports one column with the format string or number. For example:
custom_segment_targeting, the first column is the
UID and has a string or number format.
Or, write SQL to extract user data with attributions to analyze and create custom segments on Yahoo! DMP. The User ID must be the first column, for example, td_global_id. For example, extract td_global_id with attributions:
Or for raw email, you can hash by SQL before sending those to Yahoo! DMP.
The data is compressed by gzip when it’s sent to Yahoo! DMP. If the compressed data exceeds 1GB, you have to split the data to send.
Optionally Schedule the Query Export Jobs
You can use Scheduled Jobs with Result Export to periodically write the output result to a target destination that you specify.
1. Navigate to Data Workbench > Queries.
2. Create a new query or select an existing query.
3. Next to Schedule, select None.
4. In the drop-down, select one of the following schedule options.
Review Custom cron... details.
|@daily (midnight)||Run once a day at midnight (00:00 am) in the specified time zone.|
|@hourly (:00)||Run every hour at 00 minutes.|
Custom cron... Details
Run once an hour
Run once a day at midnight
Run once a month at midnight on the morning of the first day of the month
Create a job that has no scheduled run time.
The following named entries can be used:
Day of Week: sun, mon, tue, wed, thu, fri, sat
Month: jan, feb, mar, apr, may, jun, jul, aug, sep, oct, nov, dec
A single space is required between each field. The values for each field can be composed of:
|Field Value||Example||Example Description|
a single value, within the limits displayed above for each field.
|configures the schedule to run at midnight (00:00) on the first day of each month.|
|a range ||configures the schedule to run at midnight (00:00) on the first 10 days of each month.|
|a list of comma-separated values ||configures the schedule to run at midnight (00:00) every 1st, 11th, and 21st day of each month.|
|a periodicity indicator ||configures the schedule to run on the 1st of every month, every 2 hours starting at 00:30. |
|a comma-separated list of any of the above except the ||configures the schedule to run at midnight (00:00) every 5th, 10th, 20th, and 25th day of each month.|
5. (Optional) If you enabled the Delay execution, you can delay the start time of a query.
Execute the Query
Save the query with a name and run, or just run the query. Upon successful completion of the query, the query result is automatically imported to the specified container destination.
Scheduled jobs that continuously fail due to configuration errors may be disabled on the system side after several notifications.
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.
Obtain the Yahoo! DMP Workflow File
Obtain and modify the workflow for Yahoo! DMP:
- Download the Treasure Data workflow from GitHub Treasure Box.
- You must validate yourself as a current customer.
- Open yahoodmp_integration.dig in your favorite text editor.
- Set the following parameters in yahoodmp_integration.dig:
Name of the Treasure Data database in which your user data is stored
Ask Treasure Data support team
Ask Treasure Data support team
Ask Treasure Data support team
Brand ID which you checked on Yahoo! DMP
Custom Audience ID which you checked in Yahoo! Ads
Target List ID which you checked in Yahoo! Ads
Set Workflow Secrets
Obtain the following:
td.apikey (for the user that runs the Workflow. See how to get your API KEY.)
x_api_key (ask Treasure Data support team)
- Set your API KEY or Yahoo! DMP API authentication key using the instructions in Workflow Secrets.
Return to your text editor.
Set Workflow Secrets using the td.apikey and x_api_key.
Extract the User List to Send to Yahoo! DMP
- Using your favorite text editor or the Treasure Data Workflow editor, open your Yahoo! DMP workflow file.
- Write a SQL query to extract the user list you want to send to Yahoo! DMP. See Creating and Deleting Files.
Run the Workflow to Send the User List to Yahoo! DMP
If you just created a new custom target list Yahoo! Ads, wait for about an hour to run the workflow, because it can take time for the new list to be processed.
Open TD Console.
Navigate to Data Workbench > Workflows.
- Highlight your Yahoo! DMP workflow.
Select the New Run button or define a schedule that runs the workflow repeatedly.
Review your workflow results to make sure they were successful.
Validate that the
Reachnumber is correct after the workflow is done processing (typically 3 - 4 hours).
Validate the Processing Status on Yahoo! DMP
If the Reach number remains at zero and is not updated after the 3-4 hour processing period, you can check the processing status in Yahoo! DMP.
GUIDvalue in the Workflow log for exporting to Yahoo! DMP API.
- Use an HTTP GET inquiry to the Yahoo! DMP API. For example:
Replace the empty values with the relevant information.
GUID from workflow
x-API-key string that you used to set the workflow secrets. (Please contact TD for the api-key)
If you receive,
"status":"CREATED" as an HTTP result, the process is completed in Yahoo! DMP successfully.