MobilePush Detail Extract Report の出力データを Marketing Cloud Engagement のデータエクステンションにインポートする方法を説明します。レポートは zip 形式で、Safehouse に出力されます。Safehouse から直接インポートする方法と SFTP を経由してインポートする方法を解説します。
MobilePush Detail Extract Report のデータ抽出アクティビティは、結果を Safehouse に .zip 形式で出力します。このデータをデータエクステンションにインポートするには、インポートアクティビティを実行する前に、ファイル転送アクティビティを使用してファイルを解凍する必要があります。
以下の2つの方法のいずれかを使用して、Automation Studio で自動化ワークフローを設定します。
ファイルを外部に転送せず、Safehouse 内で解凍とインポートを完結させる方法です。
[設定] | [データ管理] | [ファイルの場所] に移動し、[作成] をクリックします。
[場所の種別] で [Safehouse] を選択し、任意の名前を付けて保存します。
Automation Studio で、データ抽出アクティビティの直後に配置する [ファイル転送アクティビティ] を作成します。
ファイル転送アクティビティを以下の通り設定します。
ファイルアクション: ファイルの管理
ファイルの管理アクション: 圧縮ファイルの圧縮解除
ソースファイルの場所: 手順 2 で作成した Safehouse の場所
ファイル命名パターン: データ抽出アクティビティで指定した出力ファイル名 (例: Report.zip)
ファイル転送アクティビティの直後に配置する [インポートアクティビティ] を作成します。
インポートアクティビティの [ファイルの場所] に、手順 2 で作成した Safehouse の場所を指定します。
[ファイル命名パターン] に、解凍後のファイル名 (例: MobilePushDetailExtractReport.csv) を指定して設定を完了します。
ファイルを一度 Enhanced FTP (SFTP) サーバーへ移動させてから処理する方法です。
[設定] | [データ管理] | [ファイルの場所] に移動し、SFTP 上の任意のディレクトリを指す場所を作成します (または既存の場所を使用します)。
Automation Studio で、データ抽出アクティビティの直後に配置する [ファイル転送アクティビティ] (1つ目) を作成します。
1つ目のファイル転送アクティビティを以下の通り設定し、ファイルを Safehouse から SFTP へ移動します。
ファイルアクション: Safehouse からファイルを移動
デスティネーション: 手順 1 で指定した SFTP の場所
ファイル命名パターン: データ抽出アクティビティで指定した出力ファイル名
1つ目のファイル転送アクティビティの後に、[ファイル転送アクティビティ] (2つ目) を作成します。
2つ目のファイル転送アクティビティを以下の通り設定し、SFTP 上でファイルを解凍します。
ファイルアクション: ファイルの管理
ファイルの管理アクション: 圧縮ファイルの圧縮解除
ソースファイルの場所: 手順 1 で指定した SFTP の場所
2つ目のファイル転送アクティビティの後に [インポートアクティビティ] を設定します。
[ファイルの場所] に手順 1 の SFTP の場所を指定し、解凍後のファイル名を使用してインポート定義を作成します。
ファイル命名パターンには、必ず拡張子 ( .zip や .csv ) を含めてください。
データ抽出アクティビティの設定で指定したファイル名と、ファイル転送アクティビティで指定するファイル名が一致していることを確認してください。
MobilePush Detail Extract Report の データ抽出アクティビティの設定手順
https://help.salesforce.com/s/articleView?id=005239066&type=1
データエクステンションの定義作成時の例
https://help.salesforce.com/s/articleView?id=000395722&type=1
CSVそのもにに主キーやデータ型がないことなどよくあるQA
https://help.salesforce.com/s/articleView?id=000393014&type=1
005299204

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.