Data 360 の有効化において、選択した属性の種類(直接属性または関連属性)によって出力されるデータの構造が異なります。有効化の設定時に [属性を追加] を構成することで、選択した項目が出力先に反映されます。本記事では、Amazon S3 や Marketing Cloud への出力を例に、この動作の違いを解説します。
Data 360 の有効化では、[有効化] の設定時に [属性を追加] を行うことで、選択した項目が出力先へ反映されます。その際、追加した属性が「直接属性」か「関連属性」かによって、出力されるデータの構成が以下のように異なります。
出力形式の動作
直接属性: 項目ごとに独立したカラム(列)として出力されます。
関連属性: 取引先 (Account) DMO などの単位で 1 つのカラムに集約され、複数の属性値が JSON 形式などの構造化データとして格納されます。
出力例
直接属性から Individual DMO の「Individual Id」「FirstName」、関連属性から 取引先 (Account) DMO の「Account Id」「Account Name」を選択した場合の出力例です。Amazon S3 と Marketing Cloud を例として記載します。
Amazon S3 (CSV 形式の場合):
直接属性は個別の列になり、関連属性は 1 つの列内に JSON 形式で格納されます。 Individual Id,FirstName,Account,EmailAddress,Version,UPDATE__ACTION__ 003xxxxxxxxxxxxxxx,John,"[{"Account Id":"001xxxxxxxxxxxxxxx","Account Name":"Test Inc."}]",user@example.com,1,A
Amazon S3 (JSON 形式の場合):
CSV と同じデータが、以下のようにネストされた構造で出力されます。 {"Individual Id":"003xxxxxxxxxxxxxxx","FirstName":"John","Account":[{"Account Id":"001xxxxxxxxxxxxxxx","Account Name":"Test Inc."}],"EmailAddress":"user@example.com","Version":1,"UPDATE__ACTION__":"A"}
| SubscriberKey | Individual Id | FirstName | EmailAddress | Account |
| 003xxxxxxxxxxxxxxx | 003xxxxxxxxxxxxxxx | John | user@example.com | [{"Account Id":"001xxxxxxxxxxxxxxx","Account Name":"Test Inc."}] |
関連属性のデータを Marketing Cloud で活用する場合は、JSON のデータを AMP や SSJS でパースしてご利用ください。
Marketing Cloud Engagement でのデータの確認
005318807

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.