{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Onetrust インポート連携","description":"OneTrustからTreasure AIへの同意データインポート連携の設定方法を解説。APIキー、コレクションポイント、OAuthトークンの取得手順を説明。","siteUrl":"https://docs.treasure.ai","lang":"en-US","jsonLd":{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://www.treasure.ai/","name":"Treasure AI","url":"https://www.treasure.ai/","logo":"https://www.treasure.ai/hubfs/assets/images/logos/primary-logo.svg"},{"@type":"WebSite","@id":"https://docs.treasure.ai/#website","name":"Treasure AI Documentation","url":"https://docs.treasure.ai/","inLanguage":["en","ja"],"publisher":{"@id":"https://www.treasure.ai/"}}]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"onetrust-インポート連携","__idx":0},"children":["Onetrust インポート連携"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["世界中でますます多くのデータ保護法が制定される中、コンプライアンスの確保は優先事項となっています。OneTrustは、プライバシー管理とマーケティングコンプライアンスを提供する企業です。このサービスは、GDPRなどのグローバルな規制に準拠するために組織によって利用されています。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["このOneTrustインポート連携は、顧客の同意データを収集してTreasure Dataにロードできるインポート連携を提供します。Treasure Dataプラットフォーム上でOneTrustデータにアクセスできることで、マーケティングチームがデータを最適に活用できるようになります。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"前提条件","__idx":1},"children":["前提条件"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Treasure Dataの基礎知識"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["OneTrustの基礎知識"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["データを制限するための単一のコレクションポイントのGUID（提供されない場合は、すべてのコレクションポイントから取得されます）"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"apiキーの取得","__idx":2},"children":["APIキーの取得"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://app.onetrust.com/integrations/api-keys"},"children":["https://app.onetrust.com/integrations/api-keys"]}," にアクセスします。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["必要に応じてOneTrustアプリケーションにサインオンします。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Add New"]}," を選択します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20200930-061815.c53f036e36130a0a7e2c360d76560b778712ac0880b88b1cdcaa927756594700.1a9c01a1.png","alt":""},"children":[]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["接続名として使用する名前を入力します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Install"]}," を選択します。"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"コレクションポイントguidの取得","__idx":3},"children":["コレクションポイントGUIDの取得"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://app.onetrust.com/consent/collection-points"},"children":["https://app.onetrust.com/consent/collection-points"]}," にアクセスします。"," ","コレクションポイント画面が表示されます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20201009-001408.5073acf5069945ba884a13e7c84ecc6cc00031a3691eac099dd0348e0f8d1292.1a9c01a1.png","alt":""},"children":[]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["対応するコレクションポイントを選択すると、GUIDがURLに表示されます。例："]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20201009-001534.412d4e3f8d017c7dacba82e12cc7c0f613655dff3786d5113662cda6952d3326.1a9c01a1.png","alt":""},"children":[]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"oauth-アクセストークンの取得","__idx":4},"children":["OAuth アクセストークンの取得"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["クライアントIDとシークレットを保存するためのOneTrustトークンを作成します。"," ","これは短期間有効なトークンです。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://app.onetrust.com/settings/client-credentials/list"},"children":["https://app.onetrust.com/settings/client-credentials/list"]}," にアクセスします。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Add"]}," を選択します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20200930-062051.3d2e97b5f72ce0b6c8a832877d4d1d47a913eb211ce45214def2950e238129b5.1a9c01a1.png","alt":""},"children":[]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["トークンの名前と説明を入力します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["適切な ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Access Token Lifetime"]}," を選択します。デフォルトの有効期間は1時間です。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20201007-163501.9e9203cad027c81f71bda8022fcfde213fa60367f43cb088f6891bbc7dce5b98.1a9c01a1.png","alt":""},"children":[]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://app.onetrust.com/settings/client-credentials/list"},"children":["https://app.onetrust.com/settings/client-credentials/list"]}," にアクセスします。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["認証情報を選択します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Generate Token"]}," を選択します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20201007-163605.b299e5cda4872485c67a620c34f07ceb259b8d87eb0daf2f3a4eecc34e474c1a.1a9c01a1.png","alt":""},"children":[]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"treasure-コンソールを使用した接続の作成","__idx":5},"children":["Treasure コンソールを使用した接続の作成"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"新しい接続の作成","__idx":6},"children":["新しい接続の作成"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データ接続を構成する際、連携にアクセスするための認証を提供します。Treasure Dataでは、認証を構成し、ソース情報を指定します。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure コンソールを開きます。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Integrations Hub > Catalogに移動します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["OneTrustを検索して選択します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20200930-035432.52223b020cbfad0122a72e473007058025e579fd65bf1a5e252dc4c3ecde712c.1a9c01a1.png","alt":""},"children":[]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["OneTrustアプリケーションで作成したアクセストークンの名前を入力します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Continueを選択します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["接続の名前を入力します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Done"]}," を選択します。"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"onetrustアカウントデータのtreasure-dataへの転送","__idx":7},"children":["OneTrustアカウントデータのTreasure Dataへの転送"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["認証済み接続を作成すると、自動的にAuthenticationsに移動します。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["作成した接続を検索します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["New Source"]}," を選択します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データ転送の名前を入力します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20201007-164656.14d9bbe63434c2b5c8f4cf85deb3eb3558b104e3b700565f7fdc0a4456ab160f.1a9c01a1.png","alt":""},"children":[]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next"]}," を選択します。"," ","Source Tableダイアログが開きます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/screenshot-2025-04-02-at-21.54.18.52cd8f0eb32e7e29268a45767952f5d407b1b632380a9b1a57aaf7c6806e1f54.1a9c01a1.png","alt":""},"children":[]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next"]}," を選択します。"," ","Data Settingsダイアログが開きます。"," ",{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/onetrust-import-integration-2024-02-09-2.41d7dab48769d91a50da4546496f97fe4d23a6372ded4f6e725105c3b2046394.1a9c01a1.png","alt":""},"children":[]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["以下のパラメータを編集します："]}]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"width":"30%","data-label":"パラメータ"},"children":["パラメータ "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"70%","data-label":"説明"},"children":["説明 "]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data Type"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data Subject Profile"]},"：データサブジェクトプロファイルデータを取得します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Collection Point"]},"：コレクションポイントデータを取得します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data Subject Profile (API V4)"]},"：OneTrust API V4によってデータサブジェクトプロファイルを取得します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Link Token (API V4)"]},"：OneTrust API V4によってリンクトークンを取得します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Purpose (API V4)"]},"：OneTrust API V4によって目的を取得します。"]}]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Collection Point GUID"]},"（オプション）"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["データを制限するための単一のコレクションポイントのGUID。提供されない場合は、すべてのコレクションポイントから取得されます。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Incremental Loading"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["新しい",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Start Time"]},"の自動計算による増分レポートの読み込みを有効にします。例えば、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Start Time"]}," = ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["2014-10-02T15:01:23Z"]}," から ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["2014-10-03T15:01:23Z"]}," で増分読み込みを開始した場合、次のジョブ実行時の新しい",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Start Time"]},"は ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["2014-10-03T15:01:23"]}," になります。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Start Time"]},"（Incremental Loading選択時に必須。すべてのAPI V4データタイプで必須）"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["UI設定の場合、対応ブラウザから日付と時刻を選択するか、ブラウザが期待する形式で日付を入力できます。例えば、Chromeでは年、月、日、時、分を選択するカレンダーが表示されます。Safariでは",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["2020-10-25T00:00"]},"のようなテキストを入力する必要があります。CLI設定の場合、RFC3339 UTC \"Zulu\"形式のタイムスタンプ（ナノ秒まで正確）が必要です。例：",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"2014-10-02T15:01:23Z\""]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Incremental By Modifications of"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data Subject"]},"：データサブジェクトの最終更新日による増分"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Consent Information"]},"：同意情報の最終同意日による増分"]}]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["End Time"]},"（Incremental Loading選択時に必須。すべてのAPI V4データタイプで必須）"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["UI設定の場合、対応ブラウザから日付と時刻を選択するか、ブラウザが期待する形式で日付を入力できます。例えば、Chromeでは年、月、日、時、分を選択するカレンダーが表示されます。Safariでは",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["2020-10-25T00:00"]},"のようなテキストを入力する必要があります。CLI設定の場合、RFC3339 UTC \"Zulu\"形式のタイムスタンプ（ナノ秒まで正確）が必要です。例：",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"2014-10-02T15:01:23Z\""]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Properties"]},"（オプション）"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data Subject Profile"]},"データタイプを取得する際に",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["properties"]},"クエリパラメータを追加するためのカンマ区切り設定。データタイプで",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data Subject Profile"]},"を選択すると表示されます。注意事項：",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["すべてのクエリにproperties=ignoreCountを含めることが重要です。ignoreCountを含めないと、パフォーマンスが大幅に低下します。カウントが必要な場合は、最初のクエリでのみ含め、後続のページ呼び出しには含めないことをお勧めします。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["propertiesクエリパラメータで渡される値は、このAPIのレスポンスを変更できます。大規模なデータセットで高速なレスポンスを得るには、次のいずれかの値を渡します：linkTokens、ignoreCount、ignoreTopics、ignoreCustomPreferences。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["データサブジェクトレコードの複数ページを処理する際のパフォーマンス向上のため、このAPIのレスポンスで返されるrequestContinuationパラメータを次のAPIリクエストに渡してページネーションすることを強くお勧めします。詳細については、Understanding & Implementing Paginationを参照してください。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["推奨パラメータ：ignoreCount、requestContinuation 参考：",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://developer.onetrust.com/onetrust/reference/getdatasubjectprofileusingget"},"children":["Get List of Data Subjects get"]}]}]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Request Continues Paging"]},"（オプション）"," ","-- チェックした場合、リクエストの継続トークンによってページ分割されたデータを取得するための取り込みプロセスが実行されます。このオプションは、データ量が大きい場合に便利です。"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"データ設定","__idx":8},"children":["データ設定"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next"]},"を選択します。"," ","データ設定ページが開きます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ダイアログのこのページはスキップします。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"data-preview","__idx":9},"children":["Data Preview"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["インポートを実行する前に、Generate Preview を選択してデータの",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/integration-hub/batch/import/previewing-your-source-data"},"children":["プレビュー"]},"を表示できます。Data preview はオプションであり、選択した場合はダイアログの次のページに安全にスキップできます。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next"]}," を選択します。Data Preview ページが開きます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["データをプレビューする場合は、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Generate Preview"]}," を選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["データを確認します。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"data-placement","__idx":10},"children":["Data Placement"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データの配置について、データを配置したいターゲット database と table を選択し、インポートを実行する頻度を指定します。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next"]}," を選択します。Storage の下で、インポートされたデータを配置する新しい database を作成するか、既存の database を選択し、新しい table を作成するか、既存の table を選択します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Database"]}," を選択 > ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Select an existing"]}," または ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create New Database"]}," を選択します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["オプションで、database 名を入力します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Table"]}," を選択 > ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Select an existing"]}," または ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create New Table"]}," を選択します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["オプションで、table 名を入力します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データをインポートする方法を選択します。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Append"]}," (デフォルト) - データインポートの結果は table に追加されます。"," ","table が存在しない場合は作成されます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Always Replace"]}," - 既存の table の全体の内容をクエリの結果出力で置き換えます。table が存在しない場合は、新しい table が作成されます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Replace on New Data"]}," - 新しいデータがある場合のみ、既存の table の全体の内容をクエリの結果出力で置き換えます。"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Timestamp-based Partition Key"]}," 列を選択します。"," ","デフォルトキーとは異なるパーティションキーシードを設定したい場合は、long または timestamp 列をパーティショニング時刻として指定できます。デフォルトの時刻列として、add_time フィルターで upload_time を使用します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データストレージの ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Timezone"]}," を選択します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Schedule"]}," の下で、このクエリを実行するタイミングと頻度を選択できます。"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"一度だけ実行","__idx":11},"children":["一度だけ実行"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Off"]}," を選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Scheduling Timezone"]}," を選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create & Run Now"]}," を選択します。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"定期的に繰り返す","__idx":12},"children":["定期的に繰り返す"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["On"]}," を選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Schedule"]}," を選択します。UI では、",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["@hourly"]},"、",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["@daily"]},"、",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["@monthly"]},"、またはカスタム ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["cron"]}," の 4 つのオプションが提供されます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Delay Transfer"]}," を選択して、実行時間の遅延を追加することもできます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Scheduling Timezone"]}," を選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create & Run Now"]}," を選択します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["転送が実行された後、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data Workbench"]}," > ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Databases"]}," で転送の結果を確認できます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"clitoolbeltを使用したonetrustからのインポート","__idx":13},"children":["CLI（Toolbelt）を使用したOneTrustからのインポート"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["統合を設定する前に、最新バージョンの",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://toolbelt.treasuredata.com/"},"children":["TD Toolbelt"]},"をインストールしてください。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"ロードファイルの準備","__idx":14},"children":["ロードファイルの準備"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"in:\n  type: onetrust\n  base_url: ***************\n  auth_method: oauth\n  access_token: ***************\n  data_type: data_subject_profile\n  incremental: false\n  start_time: 2025-01-30T00:49:04Z\n  end_time: 2025-02-28T17:00:00.000Z\n  thread_count: 5\nout:\n  mode: replace\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["この例は、データサブジェクトプロファイルオブジェクトのリストを取得します。start_timeは、データの取得を開始する日付を指定します。この場合、インポートは2025年1月30日の00:49からデータを取得し始めます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["パラメータリファレンス"]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"width":"15%","data-label":"名前"},"children":["名前 "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"40%","data-label":"説明"},"children":["説明 "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"20%","data-label":"値"},"children":["値 "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"10%","data-label":"デフォルト値"},"children":["デフォルト値 "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"15%","data-label":"必須"},"children":["必須 "]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["type"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["インポートのソース。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["\"onetrust\""]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["base_url"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["OnetrustサーバーのベースURL。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["文字列"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["\"app.onetrust.com\""]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["auth_method"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["認証方法「oauth」または「api_key」"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["文字列"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["\"oauth\""]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["access_token"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["oauth"]},"認証モードの場合に必要なOAuthアクセストークン。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["文字列"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["auth_methodが「oauth」の場合Yes"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["api_key"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["api_key"]},"認証モードの場合に必要なAPIキー。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["文字列"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["auth_medthod が「api_key」の場合Yes"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["data_type"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Onetrustから取得したいデータタイプ。",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data Subject Profile"]},"。データサブジェクトプロファイルデータを取得します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Collection Point"]},"。コレクションポイントデータを取得します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data Subject Profile (API V4)"]},"。API V4からデータサブジェクトプロファイルデータを取得します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Link Token (API V4)"]},"。API V4からリンクトークンデータを取得します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Purpose (API V4)"]},"。API V4から目的データを取得します。"]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["文字列。サポートされているdata_type:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["data_subject_profile"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["collection_point"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["data_subject_profile_api_v4"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["link_token_api_v4"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["purpose_api_v4"]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["collection_point_guid(オプション)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["データを制限するための単一のコレクションポイントのGUID。指定されていない場合は、すべてのコレクションポイントから取得します。データタイプが",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data Subject Profile"]},"および**Purpose (API V4)**の場合に表示されます。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["文字列"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["incremental"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["新しい",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["開始時刻"]},"を自動計算して、増分レポートの読み込みを有効にします。例えば、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["開始時刻"]},"が",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["2014-10-02T15:01:23Z"]},"で",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["終了時刻"]},"が",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["2014-10-03T15:01:23Z"]},"の増分読み込みを開始すると、次のジョブ実行時の新しい",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["開始時刻"]},"は",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["2014-10-03T15:01:23"]},"になります。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Boolean"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["False"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["start_time"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["UI設定の場合、サポートされているブラウザから日付と時刻を選択するか、ブラウザが期待する日時形式に適した日付を入力できます。例えば、Chromeでは年、月、日、時、分を選択できるカレンダーが表示され、Safariでは",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["2020-10-25T00:00"]},"のようなテキストを入力する必要があります。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["CLI設定の場合、RFC3339 UTC「Zulu」形式のタイムスタンプが必要です。ナノ秒まで正確に記述します。例: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"2014-10-02T15:01:23Z\""]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["タイムスタンプ"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["増分ロードを選択した場合Yes。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["すべての",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["API V1"]},"データタイプ（data_subject_apiおよびcollection_point）の場合No。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["すべての",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["API V4"]},"データタイプ（data_subject_profile_v4、link_token_api_v4、purpose_api_v4）の場合Yes。"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["incremental_type"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Onetrustからデータを取得する時刻タイプを選択します。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["文字列",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["data_subject_profile"]},"。データサブジェクトの最終更新日時による増分。"]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["collection_point"]},"。同意情報の最終同意日による増分。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["\"data_subject_profile\""]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["data_subject_profile"]}," Data Typeで増分読み込みを選択した場合はYes。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["data_subject_properties(オプション)"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data Subject Profile"]}," Data Typeを取得する際に",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["properties"]},"クエリパラメータを追加するためのカンマ区切り設定。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Data Type ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data Subject Profile"]},"を選択した場合に表示されます。"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["String"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["No"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["end_time"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["UI設定の場合、サポートされているブラウザから日付と時刻を選択するか、ブラウザの日時形式に適した日付を入力できます。たとえば、Chromeでは年、月、日、時、分を選択するカレンダーが表示されます。Safariでは",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["2020-10-25T00:00"]},"のようなテキストを入力する必要があります。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["CLI設定の場合、RFC3339 UTC \"Zulu\"形式のタイムスタンプが必要で、ナノ秒まで正確である必要があります。例：",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"2014-10-02T15:01:23Z\""]},"。"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["TimeStamp"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["すべての",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["API V1"]}," Data Type（data_subject_apiおよびcollection_point）ではNo。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["すべての",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["API V4"]}," Data Type（data_subject_profile_v4、link_token_api_v4、およびpurpose_api_v4）ではYes。"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["request_continues_paging"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["trueの場合、取り込みプロセスはリクエスト継続トークンによってページ分割されたデータを取得するために実行されます。このオプションは、データ量が大きい場合に便利です。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Boolean"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["false"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ingest_duration_minutes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["targetがdata_subject_profileでrequest_continues_pagingがtrueの場合の取り込み期間の時間範囲を設定します"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Integer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["1440"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データをプレビューするには、"," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td connector:preview"]}," ","コマンドを使用します。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"td connector:preview load.yml\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"ロードジョブの実行","__idx":15},"children":["ロードジョブの実行"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データのサイズによっては、数時間かかる場合があります。データを保存するTreasure Dataのデータベースとテーブルを必ず指定してください。Treasure Dataのストレージは時間でパーティション化されているため、--time-columnオプションも指定することを推奨します（",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://docs.treasuredata.com/smart/project-product-documentation/data-partitioning-in-treasure-data"},"children":["データパーティショニング"]},"を参照）。このオプションが指定されていない場合、データコネクターは最初のlong型またはtimestamp型の列をパーティショニング時間として選択します。--time-columnで指定する列の型は、long型またはtimestamp型のいずれかである必要があります。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データに時間列がない場合は、",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["add_time"]},"フィルターオプションを使用して時間列を追加できます。詳細については、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://docs.treasuredata.com/smart/project-product-documentation/add_time-filter-function"},"children":["add_timeフィルター関数"]},"のドキュメントを参照してください。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"$ td connector:issue load.yml --database td_sample_db --table td_sample_table \\--time-column created_at\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["connector:issueコマンドは、すでにデータベース（td_sample_db）とテーブル（td_sample_table）が作成されていることを前提としています。TDにデータベースまたはテーブルが存在しない場合、このコマンドは失敗します。データベースとテーブルを手動で作成するか、td connector:issueコマンドで--auto-create-tableオプションを使用してデータベースとテーブルを自動作成してください。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"$ td connector:issue load.yml --database td_sample_db --table td_sample_table--time-column created_at --auto-create-table\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データコネクターはサーバー側でレコードをソートしません。時間ベースのパーティショニングを効果的に使用するには、事前にファイル内のレコードをソートしてください。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["timeというフィールドがある場合は、--time-columnオプションを指定する必要はありません。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"$ td connector:issue load.yml --database td_sample_db --table td_sample_table\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"インポートモード","__idx":16},"children":["インポートモード"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["load.ymlファイルのout:セクションでファイルインポートモードを指定します。out:セクションは、データがTreasure Dataテーブルにどのようにインポートされるかを制御します。たとえば、既存のテーブルにデータを追加するか、データを置き換えるかを選択できます。"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"モード"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["モード"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["説明"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"例"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["例"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Append"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["レコードがターゲットテーブルに追加されます。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["in:    ...  out:    mode: append"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Always   Replace"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ターゲットテーブルのデータを置き換えます。ターゲットテーブルに対して行われた手動のスキーマ変更はそのまま残ります。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["in:    ...  out:    mode: replace"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Replace on new data"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["インポートする新しいデータがある場合にのみ、ターゲットテーブルのデータを置き換えます。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["in:    ...  out:    mode: replace_on_new_data"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"実行のスケジューリング","__idx":17},"children":["実行のスケジューリング"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["増分ファイルインポートのために、定期的なデータコネクターの実行をスケジュールできます。Treasure Dataスケジューラーは、高可用性を確保するように最適化されています。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["スケジュールされたインポートの場合、指定されたプレフィックスに一致し、次のいずれかの条件を満たすすべてのファイルをインポートできます："]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["use_modified_timeが無効になっている場合、最後のパスが次回の実行のために保存されます。2回目以降の実行では、統合はアルファベット順で最後のパスより後のファイルのみをインポートします。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["それ以外の場合、ジョブが実行された時刻が次回の実行のために保存されます。2回目以降の実行では、コネクターはその実行時刻以降にアルファベット順で変更されたファイルのみをインポートします。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"td-toolbeltを使用したスケジュールの作成","__idx":18},"children":["TD Toolbeltを使用したスケジュールの作成"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["td connector:createコマンドを使用して新しいスケジュールを作成できます。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"$ td connector:create daily_import \"10 0 * * *\" \\td_sample_db td_sample_table load.yml\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure Dataのストレージは時間でパーティション化されているため、--time-columnオプションも指定することを推奨します（",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://docs.treasuredata.com/smart/project-product-documentation/data-partitioning-in-treasure-data"},"children":["データパーティショニング"]},"を参照）。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"$ td connector:create daily_import \"10 0 * * *\" \\td_sample_db td_sample_table load.yml \\--time-column created_at\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["cronパラメータは、@hourly、@daily、@monthlyの3つの特別なオプションも受け入れます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["デフォルトでは、スケジュールはUTCタイムゾーンで設定されます。-tまたは--timezoneオプションを使用して、タイムゾーンでスケジュールを設定できます。--timezoneオプションは、Asia/Tokyo、America/Los_Angelesなどの拡張タイムゾーン形式のみをサポートしています。PST、CSTなどのタイムゾーンの略語はサポートされておらず、予期しないスケジュールになる可能性があります。"]}]},"headings":[{"value":"Onetrust インポート連携","id":"onetrust-インポート連携","depth":1},{"value":"前提条件","id":"前提条件","depth":2},{"value":"APIキーの取得","id":"apiキーの取得","depth":2},{"value":"コレクションポイントGUIDの取得","id":"コレクションポイントguidの取得","depth":2},{"value":"OAuth アクセストークンの取得","id":"oauth-アクセストークンの取得","depth":2},{"value":"Treasure コンソールを使用した接続の作成","id":"treasure-コンソールを使用した接続の作成","depth":2},{"value":"新しい接続の作成","id":"新しい接続の作成","depth":3},{"value":"OneTrustアカウントデータのTreasure Dataへの転送","id":"onetrustアカウントデータのtreasure-dataへの転送","depth":3},{"value":"データ設定","id":"データ設定","depth":3},{"value":"Data Preview","id":"data-preview","depth":3},{"value":"Data Placement","id":"data-placement","depth":3},{"value":"一度だけ実行","id":"一度だけ実行","depth":4},{"value":"定期的に繰り返す","id":"定期的に繰り返す","depth":4},{"value":"CLI（Toolbelt）を使用したOneTrustからのインポート","id":"clitoolbeltを使用したonetrustからのインポート","depth":2},{"value":"ロードファイルの準備","id":"ロードファイルの準備","depth":3},{"value":"ロードジョブの実行","id":"ロードジョブの実行","depth":3},{"value":"インポートモード","id":"インポートモード","depth":3},{"value":"実行のスケジューリング","id":"実行のスケジューリング","depth":3},{"value":"TD Toolbeltを使用したスケジュールの作成","id":"td-toolbeltを使用したスケジュールの作成","depth":3}],"frontmatter":{"seo":{"title":"Onetrust インポート連携","description":"OneTrustからTreasure AIへの同意データインポート連携の設定方法を解説。APIキー、コレクションポイント、OAuthトークンの取得手順を説明。"}},"lastModified":"2026-06-17T07:22:53.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/int/onetrust-import-integration","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}