Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.

Image RemovedImage Added

...


Table of Contents

...

Limitations

...

Exporting to Yahoo! DMP

...

Use the TD Console to Create Your Connection

maxLevel3


Prerequisites

  • 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:

MethodDescriptionNotes
td_global_id

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.


hashed email

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.


IDFA/ADID

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

  1. 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.

    Image Modified



  2. Create a Custom List.

    Image Modified



  3. Check the Custom Audience ID, Target List ID.



  4. If the Target List-ID column is not shown, turn on the displayed item setting.


...

Log in to Yahoo! DMP to find the Brand ID.

Image Modified


Use the TD Console to Create Your Connection

...

  1. Open TD Console.

  2. Navigate to Integrations HubCatalog

  3. Search for and select Yahoo! DMP.

  4. The following dialog opens.

    Image Modified

  5. Enter your Brand ID.

  6. Enter a name for your connection.

  7. Select Done.


Define your Query

...

For direct_targeting, we only support one column with the format string or number.

Code Block
linenumberstrue
SELECT 'my@email.com' as uid;

For custom_segment_targeting, the first column is the uid and has a string or number format.

Code Block
linenumberstrue
SELECT 'my@email.com' as uid,
       '012345' as sms,
       '123' as sid,
       'My Name' as name,
       'Mar 11' as dob; 

Configure Export Results in Your Data Connection

Create or reuse a query. In the query, you configure the data connection.

Configure the Connection by Specifying the Parameters

  1. Open the TD Console.

  2. Navigate to Data Workbench > Queries.

  3. Select the query that you plan to use to export data.

  4. Select Export Results located at top of your query editor. 
    The Choose Integration dialog opens.
    You have two options when selecting a connection to use to export the results, using an existing connection, or creating a new one.

Use an existing connection

  1. Type the connection name in the search box to filter.

  2. Select your connection.

Create a new Yahoo! DMP Connection

Fill in the field values to create the new connection.

...


Numbered Headings

Excerpt Include
PD:Exporting Your Query Data to Your Destination
PD:Exporting Your Query Data to Your Destination
nopaneltrue


Integration Parameters for Yahoo! DMPImage Added

Set the following parameters:

...

Code Block
linenumberstrue
  type: yahoo_dmp
  brand_id: brand_id
  user_list_type: direct_targeting
  user_id_type: hashed_email
  custom_audience_id: custom_audience_id
  target_list_id: target_list_id
  client_id: client_id
  data_source_number: data_source_number
  ignore_invalid_records: false

Setting Up Treasure Data Workflow For Yahoo! DMP Integration

Create New Workflow

Download and use the Treasure Data workflow published in a secure git hub Treasure Box for creating a Yahoo! DMP integration.

Set Workflow Parameters

Set Example Query for Yahoo! DMP

For direct_targeting, Treasure Data supports one column with the format string or number. For example:

Code Block
linenumberstrue
SELECT 'my@email.com' as uid;

For custom_segment_targeting, the first column is the UID and has a string or number format.

Code Block
linenumberstrue
SELECT 'my@email.com' as uid,
       '012345' as sms,
       '123' as sid,
       'My Name' as name,
       'Mar 11' as dob; 

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:

Code Block
languagesql
linenumberstrue
SELECT
td_global_id AS td_global_id,
MAX(td_os) AS type,
COUNT(td_global_id) AS price
FROM
demo_pageviews
GROUP BY td_global_id

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.

Code Block
languagesql
linenumberstrue
SELECT
  LOWER(TO_HEX(SHA256(TO_UTF8(CONCAT({Salt string}, email)))))
FROM
  demo_email

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.

Numbered Headings
start-numbering-with1
start-numbering-ath5

Excerpt Include
PD:Scheduling Jobs Using TD Console
PD:Scheduling Jobs Using TD Console
nopaneltrue


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:

  1. Download the Treasure Data workflow from git hub Treasure Box.
  2. You must validate yourself as a current customer. 
  3. Open yahoodmp_integration.dig in your favorite text editor.
  4. Set the following parameters in yahoodmp_integration.dig:

Parameter

Description

database

Name of the Treasure Data database in which your user data is stored

vendor_guid

Ask Treasure Data support team

entity_id

Ask Treasure Data support team

uid_key

Ask Treasure Data support team

brand_guid

Brand ID which you checked on Yahoo! DMP

tag_fields_p

Custom Audience ID which you checked in Yahoo! Ads

tag_fields_lid

Target List ID which you checked in Yahoo! Ads



Set Workflow Secrets

  1. To set your API KEY or Yahoo! DMP API authentication key in Workflow Secrets, you need to obtain  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) 

  2. Set your API KEY or Yahoo! DMP API authentication key using the instructions in Workflow Secrets.
  3. Return to your workflow and set text editor.

  4. Set Workflow Secrets using the td.apikey and x_api_key.

Extract the User List to Send to Yahoo! DMP

  1. Using your favorite text editor or the Treasure Data Workflow editor, open your Yahoo! DMP workflow file.
  2. Write a SQL query to extract the user list you want to send to Yahoo! DMP. See Creating and Deleting Files.
    For example:

Image Modified


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.

  1. Open TD Console.

  2. Navigate to Data Workbench > Workflows.

  3. Highlight your Yahoo! DMP workflow.
  4. Select the New Run button or define a schedule that runs the workflow repeatedly.

  5. Check Review your workflow results to make sure they were successful. You can then check

  6. Validate that the Reach number is correct after it the workflow is done processing (typically 3 - 4 hours).

Image Modified

...


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 manually.

  1. Check Vlidate the guid GUID value in the Workflow log for exporting to Yahoo! DMP API.

    Image Modified


  2. Use an HTTP GET inquiry to the Yahoo! DMP API. For example:


    Code Block
    linenumberstrue
    $ curl --location --request GET 'https://api.tgm.yahoo-net.jp/v3/userlists/<guid_value>' --header 'x-api-key: <x-api-key>'
    {"guid":"<guid_value>","brandGuid":"<brandguid_value>","vendorGuid":"<vendorGuid_value>","entityId":"<entityId_value>","uidKey":"<uidKey_value>","tagDefinitionGuid":"yahoo_japan_ydn_custom_audience_server","tagFields":{"p":"<p_value>","lid":"<lid_value>},"status":"CREATED"}


  3. Replace the empty values with the relevant information.


Field

Description

<guid_value>

guid

GUID from workflow

<x-api-key>

x-API-key string that you used to set the workflow secrets. (Please contact TD for the api-key)

<brandguid_value>


<vendorGuid_value>


<entityId_value>


<uidKey_value>


<p_value>


<lid_value>


If you receive, "status":"CREATED" as an HTTP result, the process is completed in Yahoo! DMP successfully.