{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"type":"markdown"},"seo":{"title":"Salesforce Marketing Cloud V2 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":"salesforce-marketing-cloud-v2-export-integration","__idx":0},"children":["Salesforce Marketing Cloud V2 Export Integration"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure Dataは、ユーザーセグメントを",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://www.salesforce.com/products/marketing-cloud/overview/"},"children":["Salesforce Marketing Cloud"]}," (ExactTarget)に公開し、顧客にパーソナライズされたメールを送信できるようにします。Web、モバイル、CRM、およびその他のデータソースからのファーストパーティデータを使用して、データ駆動型のメールキャンペーンを実行できます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["サンプルワークフローについては、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://github.com/treasure-data/treasure-boxes/tree/master/td/salesforce_marketing_cloud_exacttarget"},"children":["Treasure Boxes"]},"をご覧ください。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure Dataは、ジョブ結果をSalesforce Marketing Cloud（SFMC）に書き込むための2つの方法、SFTPとSFMCプラグインを提供しています。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["このSFMCプラグインは、小規模および中規模のデータセットに使用できます。大規模なデータセットの場合は、SFTPの使用をお勧めします。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"同期または非同期api","__idx":1},"children":["同期または非同期API"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["この統合は、SFMCにレコードを配置するための2種類のAPIをサポートしています: 同期APIと非同期API。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ベストプラクティスとして、100,000レコード未満の結果セットをSFMCに配置しようとしている場合、同期APIが最適です。ただし、100万以上のデータセットを送信する予定がある場合は、同期APIと比較してより高い可用性と信頼性を提供する非同期APIの使用を検討してください。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["非同期APIを使用するには、SFMCアカウントがSalesforce Marketing CloudからData Extensions Async REST APIとして有効になっていることを確認してください。また、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://help.salesforce.com/articleView?id=workcom_contact_support.htm&type=5"},"children":["Salesforce Marketing Cloudでサポートケースを作成"]},"して、有効にしてもらうこともできます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"data-extension内の既存のオーディエンスデータを置換またはアップサート","__idx":2},"children":["Data Extension内の既存のオーディエンスデータを置換またはアップサート"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["この統合は、UpsertとReplaceもサポートしています。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"オーディエンスデータのアップサート","__idx":3},"children":["オーディエンスデータのアップサート"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Upsert"]},"は、既存のデータを更新し、data extensionに新しい追加データを挿入します。更新と挿入の両方の操作は、data extension主キーを使用して、レコードが存在したかどうかを判断し、更新または挿入を実行します。ターゲットdata extension内のすべての既存データは保持されます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"オーディエンスデータの置換","__idx":4},"children":["オーディエンスデータの置換"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Replace"]},"は、データを更新する前に、ターゲットdata extension内のすべての既存データをクリアします。このモードは、毎回ターゲット顧客にメールを送信するために、data extension内の最新のデータのみが必要な場合に便利です。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["この統合でreplaceが選択されている場合:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["エクスポート結果にデータエラー（NULL値、誤ったデータ型、無効な主キー）がある場合、Data Extension内のすべてのレコードがクリアされ、回復できませんが、無効なデータはエクスポートされません。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["エクスポート結果にスキーマエラー（primary_keyの欠落）がある場合、data extension内の既存のレコードはクリアされません。"]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["replaceを使用すると、削除されたデータは回復できません。コネクタは新しいデータをプッシュする前にすべてのデータをクリアします。したがって、ジョブが成功するか失敗するかに関係なく、データはクリアされます。ベストプラクティスとして、一時的なデータやデータ履歴が重要でない場合にreplaceを使用してください。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["replaceを使用するには、アカウントがEnterprise 2.0アカウントであり、インストールされたパッケージに管理者権限が必要です。詳細については、カスタマーサクセス担当者にお問い合わせください。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"前提条件","__idx":5},"children":["前提条件"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Treasure Dataの基本知識"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Salesforce Marketing Cloudの基本知識"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Treasure アカウント"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["このコネクタでは、Data Extensionに各レコードを一意に識別する主キーが必要です。さらに、同期APIを使用する場合、Data Extensionには2つ以上のフィールドが必要です。新しいData Extensionを作成するために'Create Data Extension'を指定する場合、主キーとして1列のみがサポートされます。複数の列を指定するとエラーが発生します。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"salesforce-marketing-cloudでインストール済みアプリを作成","__idx":6},"children":["Salesforce Marketing Cloudでインストール済みアプリを作成"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure Dataは、Salesforce Marketing Cloudで",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Legacy"]},"と",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Enhanced Package"]},"の両方をサポートしています。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Enhanced Packageの作成を強くお勧めします。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"enhanced-functionality-packageの作成","__idx":7},"children":["Enhanced Functionality Packageの作成"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Salesforce Marketing Cloudアカウントにログオンします。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Welcome Pageで、右上隅の名前を選択します。",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Setup"]},"を選択します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191203-230537.e0bcdfcb7e2561762c7696348017cbdacc5ba65f7f802d2418ee8b77d769242c.3816ae6c.png","alt":""},"children":[]}," ","3. 新しい画面の左側メニューで、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["App"]}," > ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Installed Packages"]},"に移動します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191203-230529.3bd5b94dddc4591cf914ae0be5d747aebc089a800d9012bc4f065f79b0894c19.3816ae6c.png","alt":""},"children":[]}," ","4. Installed Packages画面で、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["New"]},"を選択します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191203-230520.b3ce22d3ac6c14b71d3179db2c83b6ad2bc76ea6cde6cc92354f9319c93303bf.3816ae6c.png","alt":""},"children":[]}," ","5. ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Name"]},"と",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Description"]},"を入力します。"," ","6. ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Save"]},"を選択します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191203-230511.fddfd1f6154dbd1b6c8f68a9931c82a18b1f6fe4ef53361e70cea3047d394444.3816ae6c.png","alt":""},"children":[]}," ","7. Add Componentを選択します。"," ",{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/screen-shot-2022-05-27-16.27.17.5a0de3a6391853630496b0d42cec3bf348a24ea62175a17c782c91fbf2ca92de.3816ae6c.png","alt":""},"children":[]}," ","8. ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["API Integration"]},"を選択します。"," ","9. ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next"]},"を選択します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191203-230502.05e97edb5fa71052662c94ce53a805e48bd67c8fba685461aceaf8391d51cb1a.3816ae6c.png","alt":""},"children":[]}," ","10. ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Server-to-Server"]},"を選択します。"," ","11. ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next"]},"を選択します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191203-230452.0549f71d5447c3b0504df60cb7a574569956b725c55e2721b191571026934996.3816ae6c.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":12},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Contacts > AudiencesとContacts > List and Subscribersを見つけます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Replace Audience機能を使用するには、両方の下で",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Read"]},"と",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Write"]},"を選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Data > Data Extensionsを見つけます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Read"]},"と",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Write"]},"を選択します。"," ","Salesforce Marketing Cloudにデータを書き込むには、これらの権限が必要です。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Save"]},"を選択します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/screen-shot-2020-10-12-at-2.14.38-pm.ad0de0f5fc63fb8be9fe49f09040292c266999232b96ec7178da216cba3d6e53.3816ae6c.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":17},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Componentsパネルを見つけます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Client Id"]},"、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Client Secret"]},"、および",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Authentication Base URI"]},"をメモします。"," ","Treasure DataからSalesforce Marketing Cloudにデータを書き込むために、この情報を使用します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191203-230426.f3112d86f090248d0a16b48d4348f0b17af66704232fb6144437b0d50b20fdb5.3816ae6c.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"treasure-コンソールの使用","__idx":8},"children":["Treasure コンソールの使用"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["TDクエリ結果をSalesforce Marketing Cloud Data Extensionにエクスポートするには、次の手順を実行します:"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"新しいデータ接続を作成","__idx":9},"children":["新しいデータ接続を作成"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データ接続を設定する際、統合にアクセスするための認証を提供します。Treasure Dataでは、認証を設定してから、ソース情報を指定します。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Treasure コンソールを開きます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Integrations Hub"]}," > ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Catalog"]},"に移動します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Salesforce Marketing Cloud Version 2"]},"を検索して選択します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/screen-shot-2022-05-27-16.37.54.e0fe3afa61c9868ee653ee5f3d1eec68d1d5a070f65e969290ace5795a33d42a.3816ae6c.png","alt":""},"children":[]}," ","4. Enhanced Package Integrationを選択します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20201106-212315.3d4c4002e0f5b268fde845df49e0e80b070a572437ab589713bf7de1efd42e36.3816ae6c.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":5},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Enhanced Functionality Package"]},"を選択し、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Client Id"]},"、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Client Secret"]},"、および",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Authentication Base URI"]},"（SFMCでenhanced packageを作成した際に取得したもの）を入力します。オプションで、以下を指定できます:"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["複数のBUにアクセスするための",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Account identifier or MID"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["トークンのスコープを制限するための",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Scope"]},"（詳細は",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://developer.salesforce.com/docs/atlas.en-us.mc-apis.meta/mc-apis/rest-permissions-and-scopes.htm"},"children":["API scopes"]},"を参照）"]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":6},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Continue"]},"を選択します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191203-230335.b828546b61ec5347e9550a24f61988f734754170ed0a8c717dffdac7cb10ad08.3816ae6c.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"接続に名前を付ける","__idx":10},"children":["接続に名前を付ける"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["接続の名前を入力します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Done"]},"を選択します。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"export-resultsの設定","__idx":11},"children":["Export Resultsの設定"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["この手順では、クエリを作成または再利用します。クエリで、データ接続を設定します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["場合によっては、クエリで列マッピングを定義する必要があります。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Treasure コンソールを開きます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data Workbench"]}," > ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Queries"]}," > ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["New Query"]},"に移動します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191203-230303.3c9be3f4b5261f47f8b8c475e4dee14e88168a433534524a562b9844ffd74f5c.3816ae6c.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":3},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["クエリエディタでクエリを入力します。例えば:"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"sql","header":{"controls":{"copy":{}}},"source":"SELECT\n name as customer_name,\n email as primary_key\nFROM\n data_extension\nlimit 10\n","lang":"sql"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["主キーはテキストフィールドにすることができます。"]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":4},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["クエリエディタの上部にある",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Export Results"]},"を選択します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191203-230256.b3ecea9c19a2d4da4820f97082e0948c1c029522059012a707eb669f9d61f338.3816ae6c.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":5},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["既存の接続を選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data Extension Name"]},"を指定します。オプションで、Data Extensionが存在しない場合は、Create Data Extensionを選択して、まったく新しいdata extensionを作成します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20251205-183442.9a2e2a9b42b58d80c353e1c9c446942172bc55a0ff9525c479bcc915e309ba5f.3816ae6c.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":7},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Folder Path"]},"を指定します。オプションで、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Folder Path"]},"内のいずれかのフォルダが存在しない場合は、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create New Folder if not Exists"]},"を選択してフォルダを作成します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20251205-183634.aab337f5464f677d3921e59667bf16a09d6358e2bbb9f3df627bf026b99f9f31.3816ae6c.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":8},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["既存のData Extension Nameを使用していて、非同期APIを使用する場合は、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Using Async API"]},"を選択します。同期APIを使用する場合は、ボックスをオフのままにします。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["新しいdata extensionを作成する場合は、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create Data Extension"]},"を選択します。新しく作成されたdata extensionで、Data Extension Nameを入力し、新しいdata extensionのPrimary Columnに名前を付けます。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20251205-183912.f42632c5cff1b64526cfcc9557d448b83135b3909fee3cf2ac7eeb00efbf1e92.3816ae6c.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":10},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Long"]},"と",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Text"]},"は、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Primary Column"]},"でサポートされている2つのデータ型です。",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Text"]},"が",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Primary Column"]},"の場合、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Text length for Primary Key"]},"を指定して、未使用のスペースを不必要に割り当てないことで、data extensionのパフォーマンスを最適化できます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["新しいData Extensionを作成する際に各列のデータ型を定義するには、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data Type Mapping"]},"を使用します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["data extensionが送信可能な場合は、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Is Sendable"]},"オプションを選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Subscriber Key"]},"または",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Email Address"]},"で",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Sendable Rule"]},"を設定します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["data extensionの送信可能なプロパティとして",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Sendable Column"]},"を選択します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20251205-184013.35ca57a62c11b7ce9cdde4616f4e5238677175cc0c47862d5463a06942c1e3c8.3816ae6c.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":15},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["オプションで、新しいdata extensionを作成する場合は、行ベースのデータリテンションを設定します:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Enable Row-Based Retention"]}," を選択すると、各行が独自の保持期間を個別に追跡します。選択すると ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Retention Period (Days)"]}," フィールドが表示されます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Retention Period (Days)"]}," に各行を保持する日数を設定します（例: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["30"]},"）。"]}]}]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Enable Row-Based Retention"]}," を選択すると、各行が独自の保持期間を個別に追跡します。選択すると ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Retention Period (Days)"]}," フィールドが表示されます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Retention Period (Days)"]}," に各行を保持する日数を設定します（例: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["30"]},"）。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20260424-163306.8015873afa03e2eb812f2a4ef3c1471f0289421d9fc7bd3d54fc9016e22443ca.3816ae6c.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":16},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["data extensionの",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data Operation"]},"を選択します"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["新しいレコードがある場合は追加し、レコードが重複している場合は更新するには",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Upsert"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["各新しいエクスポートでレコードを削除して完全に置き換えるには",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Replace"]}," ","置き換えられたデータは",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["回復できません"]},"。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20201020-225208.d972f688937823fbf90b1820df508fa72706de321f6ecec604383779d48513ed.3816ae6c.png","alt":""},"children":[]}," ","17. ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Done"]},"を選択します。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"クエリの実行","__idx":12},"children":["クエリの実行"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Run"]},"を選択してクエリを実行します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["クエリ結果が設定されたdata extensionに書き込まれていることを確認します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191203-230222.284b5bd59b85b34532412c3aee9c28c9e81788d270d8c33c4132e0a9227bd79f.3816ae6c.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Salesforce Marketing Cloud V2 Export統合にはタイムゾーン設定がないため、統合はSFMCアカウントのタイムゾーン設定を使用します。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"activate-a-segment-in-audience-studio","__idx":13},"children":["Activate a Segment in Audience Studio"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can also send segment data to the target platform by creating an activation in the Audience Studio."]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Navigate to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Audience Studio"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select a parent segment."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Open the target segment, right-mouse click, and then select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create Activation."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["In the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Details"]}," panel, enter an Activation name and configure the activation according to the previous section on Configuration Parameters."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Customize the activation output in the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Output Mapping"]}," panel."]}]},{"$$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":["Select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Export All Columns"]}," to export all columns without making any changes."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["+ Add Columns"]}," to add specific columns for the export. The Output Column Name pre-populates with the same Source column name. You can update the Output Column Name. Continue to select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["+ Add Columns"]},"to add new columns for your activation output."]}]}]},{"$$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"]}," to create strings for export. Select from the following values:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["String: Choose any value; use text to create a custom value."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Timestamp: The date and time of the export."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Segment Id: The segment ID number."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Segment Name: The segment name."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Audience Id: The parent segment number."]}]}]}]}]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":6},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Set a ",{"$$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":["Select the values to define your schedule and optionally include email notifications."]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":7},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create"]},"."]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If you need to create an activation for a batch journey, review ",{"$$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":2,"id":"プラグインの設定とオプション","__idx":14},"children":["プラグインの設定とオプション"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"利用可能な設定","__idx":15},"children":["利用可能な設定"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Salesforce Marketing Cloud V2エクスポート統合で使用可能な設定オプションを以下の表に示します。"]},{"$$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":"Configuration name"},"children":["Configuration name"]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"40%","data-label":"Description"},"children":["Description "]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Sample value"},"children":["Sample value"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["client_id"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["インストール済みパッケージのクライアントキー"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Th1s1s4n3x4mpl3Cl13nt1ds"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["client_secret"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["インストール済みパッケージのクライアントシークレット"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Th1s1s4F4k3dCl13ntS3cr3t"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["auth_type"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["認証タイプ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["v1"]}," (legacy packageの場合)"," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["v2"]}," (enhanced packageの場合)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["auth_uri"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["認証URI (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["auth_type=v2"]},"の場合は必須)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://th1s1sf4k3d1nst4nc3h0st.auth.marketingcloudapis.com/"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["folder_path"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Data Extensionをエクスポートするフォルダパス"," ","フォルダパスは以下の要件を満たす必要があります:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["スラッシュで始まる"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["最大8レベルのフォルダを持つ"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["複数の連続したスラッシュがない"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["フォルダパス内のフォルダ名は128文字を超えることはできません"]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"/Data Extensions/FolderPath2/FolderPath3/FolderPath3\n"},"children":[]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["create_folder_if_not_exists"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["folder_path"]},"に新しいフォルダを作成するかどうかを示すフラグ"," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["folder_path"]},"が提供されている（かつ空でない）場合にのみ有効"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["boolean"," ","デフォルトはfalse"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}," (パスで指定されたすべてのディレクトリが作成されます。既に存在する場合、またはパスの一部が無効な場合を除く)"," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]}," (存在しない場合、新しいフォルダを作成しない)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["de_name"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Data Extension名"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data_extension_name"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["create_new_de"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["data extensionが存在しない場合に新しいdata extensionを作成するかどうかを示すフラグ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["boolean"," ","デフォルトはfalse"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}," (DEが存在しない場合は新しいDEを作成)"," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]}," (DEが存在しない場合は新しいDEを作成しない)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["primary_column"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["主列の名前 (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["create_new_de=true"]},"の場合は必須)"," ","1列のみ指定できます。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["primary_text_length"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["主列として選択された場合のテキストフィールドの長さ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["integer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["max: 4000, min: 10 (デフォルト: 4000)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["column_options"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["create_new_de=true"]},"の場合にのみ適用されます。"," ","新しいData Extensionの各列のデータ型を指定します。"," ","サポートされているデータ型: TEXT, NUMBER, DATE, BOOLEAN, EMAILADDRESS, PHONE, DECIMAL, LOCALE, BASE16ENCRYPTED, BASE16ENCRYPTEDEMAIL"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["col1:TEXT(100);col2:NUMBER;col3:DECIMAL(18,2);col4:DATE"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["is_sendable"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["作成されたDEが送信可能かどうかを示すフラグ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["boolean"," ","デフォルトはfalse"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sendable_rule"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["アカウントで設定された送信可能なビジネスルール (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["is_sendable=true"]},"の場合は必須)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Subscriber Key"]}," (ビジネスルールがSubscriber Keyの場合)"," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Email Address"]}," (ビジネスルールがEmail Addressの場合)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sendable_column"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["送信可能なプロパティとして使用する列名 (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["is_sendable=true"]},"の場合は必須)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["my_sendable_column"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["enable_row_based_retention"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["新しいData Extensionの各行が独自の保持期間を個別に追跡するかどうか。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["retention_period_days"]},"も設定する必要があります。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["create_new_de=true"]},"の場合にのみ有効です。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["boolean",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"デフォルトはfalse"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["retention_period_days"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["新しいData Extension内の行を保持する日数。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["create_new_de=true"]},"の場合にのみ有効です。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["enable_row_based_retention=true"]},"の場合は必須。それ以外の場合は任意（設定しない場合、保持ポリシーは適用されません）。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["integer",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"デフォルトはnull"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["30"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data_operation"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["挿入前にDE内のデータをクリアするかどうかを決定"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"," ","デフォルトはupsert"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["upsert"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["replace"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["async"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["SFMCから非同期または同期APIを使用するかを示すフラグ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["boolean"," ","デフォルトはfalse"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}," (非同期APIを使用)"," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]}," (同期APIを使用)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["continue_on_failure"]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["挿入エラーがある場合に実行を続けるかどうかを示すフラグ (同期APIにのみ適用) (ジョブはSFMCサーバー側エラーが発生した場合にのみ続行されます。Treasure Data側でエラーが発生した場合（誤った認証情報、レコードの無効な形式など）、ジョブはエラーで失敗します)"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["falseに設定されている場合、Salesforce Marketing Cloud側のAPI動作により、エクスポートは部分的にレコードを正常に送信できる可能性があります。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["コネクタが101レコードをエクスポートすると仮定すると => これは3つのバッチ(50, 50, 1)に分割されます:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["最初のバッチが失敗した場合 => 101レコードすべてが更新されません"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["2番目のバッチが失敗した場合 => 50レコードが更新され、51レコードが更新されません"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["3番目のバッチが失敗した場合 => 100レコードが更新され、1レコードが更新されません"]}]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["boolean"," ","デフォルトはtrue"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]}]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["records_per_batch"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["1回のAPI呼び出しで送信されるレコード数。 (このオプションは非同期APIにのみ適用されます。)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["integer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["max: 32000 (デフォルト), min: 100"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"設定例","__idx":16},"children":["設定例"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Enhanced package"]},"を使用してdata extensionをupsertするために",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["同期API"]},"を使用する設定例。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"out:\n type: salesforce_marketing_cloud_v2\n client_id: Th1s1s4n3x4mpl3Cl13nt1ds\n client_secret: Th1s1s4F4k3dCl13ntS3cr3t\n auth_type: v2\n auth_uri: https://th1s1sf4k3d1nst4nc3h0st.auth.marketingcloudapis.com/\n de_name: data_extension_name\n continue_on_failure: false\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Enhanced package"]},"を使用してdata extensionをupsertするために",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["非同期API"]},"を使用する設定例。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"out:\n type: salesforce_marketing_cloud_v2\n client_id: Th1s1s4n3x4mpl3Cl13nt1ds\n client_secret: Th1s1s4F4k3dCl13ntS3cr3t\n auth_type: v2\n auth_uri: https://th1s1sf4k3d1nst4nc3h0st.auth.marketingcloudapis.com/\n de_name: data_extension_name\n async: true\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Enhanced package"]},"を使用してdata extensionをupsertし、存在しない場合は新しい",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Sendable data Extension"]},"を作成するために",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["非同期API"]},"を使用する設定例。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"out:\n type: salesforce_marketing_cloud_v2\n client_id: Th1s1s4n3x4mpl3Cl13nt1ds\n client_secret: Th1s1s4F4k3dCl13ntS3cr3t\n auth_type: v2\n auth_uri: https://th1s1sf4k3d1nst4nc3h0st.auth.marketingcloudapis.com/\n de_name: data_extension_name\n create_new_de: true\n primary_column: primary_key\n primary_text_length: 32\n column_options: col1:TEXT(100);col2:NUMBER;col3:DECIMAL(18,2);col4:DATE\n is_sendable: true\n sendable_column: mytext\n sendable_rule: Subscriber Key\n async: true\n records_per_batch: 32000\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["行ベースのリテンション"]},"を設定して新しいData Extensionを作成する設定例。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"out:\n type: salesforce_marketing_cloud_v2\n client_id: Th1s1s4n3x4mpl3Cl13nt1ds\n client_secret: Th1s1s4F4k3dCl13ntS3cr3t\n auth_type: v2\n auth_uri: https://th1s1sf4k3d1nst4nc3h0st.auth.marketingcloudapis.com/\n de_name: data_extension_name\n create_new_de: true\n primary_column: primary_key\n retention_period_days: 30\n enable_row_based_retention: true\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["特定のフォルダにdata extensionをエクスポート"]},"するための設定例"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yml","header":{"controls":{"copy":{}}},"source":"out:\n type: salesforce_marketing_cloud_v2\n client_id: xxxxxxxxxxxxxxxxxxxxxxxxx\n client_secret: xxxxxxxxxxxxxxxxxxxxxxxxx\n auth_type: v2\n auth_uri: https://th1s1sf4k3d1nst4nc3h0st.auth.marketingcloudapis.com/\n folder_path: /Data Extensions/FolderPath2/FolderPath3/FolderPath3\n create_folder_if_not_exists: true\n de_name: data_extension_name\n create_new_de: true\n primary_column: primary_key\n primary_text_length: 32\n column_options: col1:TEXT(100);col2:NUMBER;col3:DECIMAL(18,2);col4:DATE\n is_sendable: true\n sendable_column: mytext\n sendable_rule: Subscriber Key\n async: true\n records_per_batch: 32000\n","lang":"yml"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"付録","__idx":17},"children":["付録"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["コネクタはHTTPS経由でSFMC v2サーバー/インスタンスエンドポイントと通信します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["HTTPSおよびSSL/TLS暗号化はSFMC v2サーバーによって強制され、処理前にコネクタによってチェックされます。"]}]}]},"headings":[{"value":"Salesforce Marketing Cloud V2 Export Integration","id":"salesforce-marketing-cloud-v2-export-integration","depth":1},{"value":"同期または非同期API","id":"同期または非同期api","depth":2},{"value":"Data Extension内の既存のオーディエンスデータを置換またはアップサート","id":"data-extension内の既存のオーディエンスデータを置換またはアップサート","depth":2},{"value":"オーディエンスデータのアップサート","id":"オーディエンスデータのアップサート","depth":3},{"value":"オーディエンスデータの置換","id":"オーディエンスデータの置換","depth":3},{"value":"前提条件","id":"前提条件","depth":2},{"value":"Salesforce Marketing Cloudでインストール済みアプリを作成","id":"salesforce-marketing-cloudでインストール済みアプリを作成","depth":2},{"value":"Enhanced Functionality Packageの作成","id":"enhanced-functionality-packageの作成","depth":3},{"value":"Treasure コンソールの使用","id":"treasure-コンソールの使用","depth":2},{"value":"新しいデータ接続を作成","id":"新しいデータ接続を作成","depth":3},{"value":"接続に名前を付ける","id":"接続に名前を付ける","depth":3},{"value":"Export Resultsの設定","id":"export-resultsの設定","depth":3},{"value":"クエリの実行","id":"クエリの実行","depth":3},{"value":"Activate a Segment in Audience Studio","id":"activate-a-segment-in-audience-studio","depth":2},{"value":"プラグインの設定とオプション","id":"プラグインの設定とオプション","depth":2},{"value":"利用可能な設定","id":"利用可能な設定","depth":3},{"value":"設定例","id":"設定例","depth":3},{"value":"付録","id":"付録","depth":2}],"frontmatter":{"seo":{"title":"Salesforce Marketing Cloud V2 Export Integration"}},"lastModified":"2026-06-01T09:34:27.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/int/salesforce-marketing-cloud-v2-export-integration","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}