{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Dotdigital Export Integration CLI","description":"Dotdigital Export Integration CLIを使用して、Treasure AIからDotdigital Marketing Solutionへジョブ結果を直接エクスポートする方法を説明します。接続設定とエクスポートモードの詳細を解説。","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":"dotdigital-export-integration-cli","__idx":0},"children":["Dotdigital Export Integration CLI"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ジョブ結果をTreasure DataからDotdigital Marketing Solutionサービスへ直接エクスポートできます。"]},{"$$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":["Dotdigital Unified Contactsの基礎知識"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"コマンドラインからの接続作成","__idx":2},"children":["コマンドラインからの接続作成"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["CLIを使用して接続を設定できます。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"td query --database your_database --result configuration query\n"},"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":{"data-label":"Config Key"},"children":["Config Key"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Required"},"children":["Required"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$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":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["エクスポートタイプ: dotdigital"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["region"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["string"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Yes"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["利用可能なリージョン:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ヨーロッパ: r1"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["北米: r2"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["アジア太平洋: r3"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["サイト: https://{region}-api.dotdigital.com"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["username"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["APIユーザー"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["password"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["APIパスワード"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["mode"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["エクスポートモード。サポートされる値:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["transactional_email"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["bulk_contacts"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["unified_contacts"]}]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["unified_cts_export_operation"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["サポートされる値:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["upload (デフォルト)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["delete"]}]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["unified_cts_merge_option"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["サポートされる値:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["overwrite (デフォルト)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["overwriteIfEmpty"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["overwriteIfNotEmpty"]}]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["unified_cts_add_to_list"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["サポートされる値:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["false (デフォルト)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["true"]}]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["unified_cts_list_identifier_mode"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["サポートされる値:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["id (デフォルト)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["name"]}]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["unified_cts_list_id"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["コンタクトが割り当てられるリストID。unified_cts_list_identifier_mode = id の場合に必須"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["unified_cts_list_name"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["コンタクトが割り当てられるリスト名。unified_cts_list_identifier_mode = name の場合に必須"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["unified_cts_create_when_not_found"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["サポートされる値:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["false (デフォルト)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["true"]}]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["unified_cts_new_list_visibility"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["サポートされる値:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["private (デフォルト)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["public"]}]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ignore_invalid_records"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["boolean"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["trueに設定すると、無効なレコードをスキップして有効なレコードのアップロードを続行します。false (デフォルト) に設定すると、無効なレコードが検出された際にジョブを終了します。"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Unified Contactsをエクスポートするクエリ例: リストにコンタクトを追加しない場合"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"td query --database my_db \\\n--query 'SELECT match_identifier, contact_id, email, mobile_number, channel_properties, consent_records, firstname, lastname FROM your_table' \\\n--type presto \\\n--result '{\n  \"type\":\"dotdigital\",\n  \"region\":\"r1\",\n  \"username\":\"{api user}\",\n  \"password\":\"{api password}\",\n  \"mode\":\"unified_contacts\",\n  \"unified_cts_export_operation\":\"upload\",\n  \"unified_cts_merge_option\":\"overwrite\",\n  \"unified_cts_add_to_list\":false,\n  \"ignore_invalid_records\":true\n}'\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Unified Contactsをエクスポートするクエリ例: リストにコンタクトを追加する場合"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"td query --database my_db \\\n--query 'SELECT match_identifier, contact_id, email, mobile_number, channel_properties, consent_records, firstname, lastname FROM your_table' \\\n--type presto \\\n--result '{\n  \"type\":\"dotdigital\",\n  \"region\":\"r1\",\n  \"username\":\"{api user}\",\n  \"password\":\"{api password}\",\n  \"mode\":\"unified_contacts\",\n  \"unified_cts_export_operation\":\"upload\",\n  \"unified_cts_merge_option\":\"overwrite\",\n  \"unified_cts_add_to_list\":true,\n  \"unified_cts_list_identifier_mode\":\"id\",\n  \"unified_cts_list_id\":\"{list id}\",\n  \"ignore_invalid_records\":true\n}'\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Unified Contactsを削除するクエリ例"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"td query -d database -w \\\n--query 'SELECT match_identifier, contact_id, email, mobile_number FROM your_table' \\\n--type presto \\\n--result '{\n  \"type\":\"dotdigital\",\n  \"region\":\"r1\",\n  \"username\":\"{api user}\",\n  \"password\":\"{api password}\",\n  \"mode\":\"unified_contacts\",\n  \"unified_cts_export_operation\":\"delete\",\n  \"ignore_invalid_records\":true\n}'\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"関連項目","__idx":3},"children":["関連項目"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/int/scheduling-a-data-connector-job-execution-from-the-cli"},"children":["CLIからのData Connectorジョブ実行のスケジュール設定"]}]}]}]},"headings":[{"value":"Dotdigital Export Integration CLI","id":"dotdigital-export-integration-cli","depth":1},{"value":"前提条件","id":"前提条件","depth":2},{"value":"コマンドラインからの接続作成","id":"コマンドラインからの接続作成","depth":2},{"value":"関連項目","id":"関連項目","depth":2}],"frontmatter":{"seo":{"title":"Dotdigital Export Integration CLI","description":"Dotdigital Export Integration CLIを使用して、Treasure AIからDotdigital Marketing Solutionへジョブ結果を直接エクスポートする方法を説明します。接続設定とエクスポートモードの詳細を解説。"}},"lastModified":"2026-06-17T07:22:53.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/int/dotdigital-export-integration-cli","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}