{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"type":"markdown"},"seo":{"title":"Box Export Integration","description":"Treasure Data Product Documentation · Collect and Unify · Segment and Activate · Experiment and Analyze · Decisioning Automate with AI Scale and Trust.","siteUrl":"https://docs.treasuredata.com","lang":"en-US","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"box-export-integration","__idx":0},"children":["Box Export Integration"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/int/box-import-integration"},"children":["Box Import Integrationについて詳しくはこちらをご覧ください。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure Dataのジョブ結果をBoxアカウントに直接エクスポートします。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["以下のトピックに進んでください:"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["前提条件"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Treasure Dataの基本知識"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Boxクラウドストレージアカウント"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"treasure-コンソールを使用して接続を作成する","__idx":1},"children":["Treasure コンソールを使用して接続を作成する"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure コンソールを使用して接続を設定できます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"boxアカウントとの接続を設定する","__idx":2},"children":["Boxアカウントとの接続を設定する"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Treasure コンソール"]},"を開きます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Integrations Hub > Catalog"]},"に移動します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Catalogページの右端にある検索アイコンをクリックし、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Box"]},"と入力します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Boxコネクタにカーソルを合わせて",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create Authentication"]},"を選択します。",{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/box.504c996c6e5e04a8cd4fe277d5dac801f853528db614581055d3a60c29328e41.0c422bf5.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["OAuthトークンを入力するか、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Click here"]},"を選択してBoxとの接続を認証します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/create_new_connection.18e52df4d747e34ad9478419c5ee33abd8453bb725c786059c83343086879e0c.0c422bf5.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["まだログインしていない場合はBoxにログインするためにリダイレクトされ、ログイン済みの場合はTreasure DataにBoxアカウントへのアクセスを許可する同意ページにリダイレクトされます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ドメイン",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://console.treasuredata.com/"},"children":["https://console.treasuredata.com"]},"の場合、次のように表示されます:"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/mceclip0.5d9fd19b922965e4943218806404f8ee010e13fb7334fe810598b45884c7e266.0c422bf5.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://console.treasuredata.co.jp/"},"children":["https://console.treasuredata.co.jp"]},"の場合"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/mceclip1.6e6f42de60b14fa5347f2a7ed87c2893287103d5e9a0a22c8a49fd83820bc0c7.0c422bf5.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Grant access to Box"]},"を選択すると、Treasure Dataの接続画面にリダイレクトされます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["再度Boxコネクタを選択し、OAuth接続フィールドに移動します。ドロップダウンリストにアカウント名が表示されたOAuth接続が表示されます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["使用するアカウントを選択し、接続の作成に進みます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/oauth_created.1675cbf114220075c935db6fd650ac575941db99062ea20aa4152bcc29b0d13b.0c422bf5.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Continue"]},"を選択して詳細ビューに進みます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/2018-10-16_1241.0be2431abf4a0527a386768400d2ce3a12b08c698d6ee6e86f31ae284b525fb3.0c422bf5.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["接続の名前を入力し、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Done"]},"を選択して完了します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["OAuth(唯一の認証方式)は、treasuredata.comとそのサブドメインでのみサポートされています。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"データ接続への出力結果を設定する","__idx":3},"children":["データ接続への出力結果を設定する"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["この手順では、クエリを作成または再利用します。クエリ内で、データ接続を設定します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure コンソールのクエリエディタページに移動します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データのエクスポートに使用する予定のクエリにアクセスします。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["必要に応じてクエリをコンパイルします。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["クエリをコンパイルします(必要な場合)。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"結果エクスポート先の指定","__idx":4},"children":["結果エクスポート先の指定"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Export"]}," ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Results"]}," を選択します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["検索ボックスに接続名を入力してフィルタリングし、Boxの接続を選択します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["すべての情報を編集します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/screenshot-2025-06-26-at-10.02.20.495f9cea162e86325ed0abb9d912ce9dd282fb6139cbcf698a1bc96be3ef691a.0c422bf5.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["パラメータを指定します:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Export To"]},"(必須)利用可能なオプション:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Existing File. 選択した場合、File IDを指定する必要があります。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["New File. 選択した場合、File NameとFolder IDを指定する必要があります。"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["File Name"]}," 拡張子を除いたエクスポートされるファイル名。例: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Result_1810212"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Folder ID"]}," エクスポートされたファイルを保存するBoxのフォルダ。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["File ID"]}," 既存のBox File ID。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Format"]}," 結果ファイルのフォーマットを指定: CSVまたはTSV"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Encoders"]}," 結果を圧縮するかどうかを指定します。利用可能なオプション: None、gz、bzip2、暗号化PGP"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Public Key"]}," ファイルをアップロードする前に暗号化するために使用される公開鍵"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Key Identifier"]}," ファイルを保護するために使用される暗号化サブキーのKey IDを指定します。マスターキーは暗号化プロセスから除外されます。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Amor"]}," ASCII armorを使用するかどうか"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Compression Type"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ファイルの圧縮に使用される圧縮アルゴリズムを定義します。ファイルは暗号化される前に圧縮され、Boxサーバーにアップロードされます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["注意: ファイルを暗号化してアップロードする前に圧縮してください。復号化すると、ファイルは.gzや.bz2などの圧縮形式に戻ります。"]}]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Header line"]}," 選択した場合、エクスポートされたデータにはヘッダー行としてカラム名が含まれます。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Null String"]}," NULL値を表すために使用される値。利用可能なオプション:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Default. 選択した場合、CSVファイルフォーマットではNULL値を表すために空の文字列 ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["''"]}," が使用され、TSVフォーマットでは\\Nが使用されます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Empty string"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["\\N NULL"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["null"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["End-of-line character"]}," 行末の文字。利用可能なオプション: CRLF、LF、CR"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Quote Policy"]}," 利用可能なオプション:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ALL. 選択した場合、すべての値がダブルクォート(\"\")で囲まれます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["MINIMAL. 選択した場合、埋め込まれたクォート(\")を含む値は、連続する2つのクォート(\"\")で表されます。MINIMALクォートポリシーはCSVに適用されます"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["NONE. 選択した場合、埋め込まれたクォートに対するエスケープは適用されません。デフォルトでは、NONEはTSVファイルフォーマットに適用されます"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Max Retries"]}," Boxサーバーエラーまたはネットワークエラーによりエラーが発生した場合、アップロードを中止する前に試行される再試行回数。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Retry Timeout"]}," 再試行の上限時間(秒単位)。"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"クエリの実行","__idx":5},"children":["クエリの実行"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["クエリに名前を付けて保存して実行するか、単にクエリを実行します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["クエリが正常に実行されると、クエリ結果は自動的に指定されたContainerの宛先にインポートされます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"audience-studio-で-segment-をアクティベートする","__idx":6},"children":["Audience Studio で Segment をアクティベートする"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Audience Studio で activation を作成することで、segment データをターゲットプラットフォームに送信することもできます。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Audience Studio"]}," に移動します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["parent segment を選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ターゲット segment を開き、右クリックして、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create Activation"]}," を選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Details"]}," パネルで、Activation 名を入力し、前述の Configuration Parameters のセクションに従って activation を設定します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Output Mapping"]}," パネルで activation 出力をカスタマイズします。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/ouput.b2c7f1d909c4f98ed10f5300df858a4b19f71a3b0834df952f5fb24018a5ea78.8ebdf569.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Attribute Columns",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Export All Columns"]}," を選択すると、変更を加えずにすべての列をエクスポートできます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["+ Add Columns"]}," を選択して、エクスポート用の特定の列を追加します。Output Column Name には、Source 列名と同じ名前があらかじめ入力されます。Output Column Name を更新できます。",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["+ Add Columns"]}," を選択し続けて、activation 出力用の新しい列を追加します。"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["String Builder",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["+ Add string"]}," を選択して、エクスポート用の文字列を作成します。次の値から選択します:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["String: 任意の値を選択します。テキストを使用してカスタム値を作成します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Timestamp: エクスポートの日時。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Segment Id: segment ID 番号。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Segment Name: segment 名。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Audience Id: parent segment 番号。"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":6},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Schedule"]}," を設定します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/snippet-output-connector-on-audience-studio-2024-08-28.a99525173709da1eb537f839019fa7876ffae95045154c8f2941b030022f792c.8ebdf569.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["スケジュールを定義する値を選択し、オプションでメール通知を含めます。"]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":7},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create"]}," を選択します。"]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["batch journey の activation を作成する必要がある場合は、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/journey-orchestration/batch/creating-a-batch-journey-activation"},"children":["Creating a Batch Journey Activation"]}," を参照してください。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"よくある質問","__idx":7},"children":["よくある質問"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"最終結果にバックスラッシュ文字が含まれているのはなぜですか","__idx":8},"children":["最終結果に(バックスラッシュ)文字が含まれているのはなぜですか?"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["CSVファイル内のデータ(値)にクォート(\")が含まれている場合、またはTSVファイル内にタブが含まれている場合で、Quote PolicyがNONEに設定されている場合、文字が誤ってデータをエスケープし、問題が発生する可能性があります。これを解決するには、Quote PolicyをMINIMALまたはALLに設定してみてください。"]}]},"headings":[{"value":"Box Export Integration","id":"box-export-integration","depth":1},{"value":"Treasure コンソールを使用して接続を作成する","id":"treasure-コンソールを使用して接続を作成する","depth":1},{"value":"Boxアカウントとの接続を設定する","id":"boxアカウントとの接続を設定する","depth":2},{"value":"データ接続への出力結果を設定する","id":"データ接続への出力結果を設定する","depth":2},{"value":"結果エクスポート先の指定","id":"結果エクスポート先の指定","depth":2},{"value":"クエリの実行","id":"クエリの実行","depth":2},{"value":"Audience Studio で Segment をアクティベートする","id":"audience-studio-で-segment-をアクティベートする","depth":2},{"value":"よくある質問","id":"よくある質問","depth":1},{"value":"最終結果に(バックスラッシュ)文字が含まれているのはなぜですか?","id":"最終結果にバックスラッシュ文字が含まれているのはなぜですか","depth":3}],"frontmatter":{"seo":{"title":"Box Export Integration"}},"lastModified":"2026-06-01T09:34:27.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/int/box-export-integration","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}