{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"type":"markdown"},"seo":{"title":"Mailchimp 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":"mailchimp-export-integration","__idx":0},"children":["Mailchimp Export Integration"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/int/mailchimp-import-integration"},"children":["Mailchimp Import Integrationの詳細"]},"。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure Dataに保存されたデータからMailchimpリストを作成できます。使用例には以下が含まれます:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["セグメンテーションによるパーソナライゼーション"]},": Webサイトやモバイルアプリからユーザーの行動を取得し、すべてのユーザーイベントをTreasure Dataに収集します。その後、SQLでパーソナライゼーションロジックを記述し、セグメント化されたメーリングリストをMailChimpにエクスポートしてターゲットキャンペーンを実施します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["顧客維持"]},": SaaSやサブスクリプションeコマースビジネスでは、顧客維持が成長を促進します。Treasure Dataに保存されたユーザーイベントで「リスクのある」ユーザーを特定し、MailChimpにプッシュします。リスクのあるユーザーにターゲットプロモーションを送信して再エンゲージメントを図ります。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Mailchimpへのエクスポートのサンプルワークフローについては、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://github.com/treasure-data/treasure-boxes/tree/master/td/mailchimp"},"children":["Treasure Boxes"]},"をご覧ください。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["以下のトピックに進んでください:"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"前提条件","__idx":1},"children":["前提条件"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"http://toolbelt.treasuredata.com/"},"children":["TD Toolbelt"]},"を含むTreasure Dataの基本知識"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["MailChimpアカウント"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Mailchimpへのアクセスが承認されたTreasure アカウント"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"treasure-コンソールを使用した接続の作成","__idx":2},"children":["Treasure コンソールを使用した接続の作成"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure コンソールを使用して接続を設定できます。新しい接続を作成するか、すでにMailchimpデータコネクタ(入力転送または認証)を設定している場合は、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/int/mailchimp-export-integration"},"children":["データ接続でのエクスポート結果の設定"]},"にスキップできます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"新しい接続の作成","__idx":3},"children":["新しい接続の作成"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Integrations Hub > Catalogに移動して検索します。Mailchimpタイルを見つけて選択します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["必要な認証情報を入力するダイアログが開きます。認証方法を指定します。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"接続の認証","__idx":4},"children":["接続の認証"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure DataをMailChimpで認証する方法は、データコネクタを有効にするために実行する手順に影響します。以下を使用して認証することを選択できます:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["API"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["OAuth"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"apiを使用した認証","__idx":5},"children":["APIを使用した認証"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://mailchimp.com/help/about-api-keys/?utm_source=mc-api&utm_medium=docs&utm_campaign=apidocs"},"children":["MailChimp APIキー"]},"と認証情報を指定して、Treasure Dataアクセスを承認できます。APIキーは、Mailchimpアカウントへの完全なアクセス権を付与します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191021-145804.3bad67d7dbbbfc0234e6ff1f289e1ceef68e24214d64e71d3a8ed0c340b85d9b.1bb8daf8.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"oauthを使用した認証","__idx":6},"children":["OAuthを使用した認証"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["OAuth方式は、JPおよびIDCFのお客様にはサポートされていません。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ドロップダウンからMailChimpの既存のOAuth接続を選択するか、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["OAuth connection"]},"の下のリンクを選択して新しい接続を作成できます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191021-145855.344085f02e96a86ae738d9dae85f59ca79dcf2d72a7baf8495a9281d67729a48.1bb8daf8.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"新しいoauth接続の作成","__idx":7},"children":["新しいOAuth接続の作成"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Click here to connect a new account"]},"を選択すると、ポップアップウィンドウでMailChimpアカウントにサインインする必要があります"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191021-145905.1e2c55c746ced02af9a5d9403c9dc0d251f40e4025a88ab53adb67421c852218.1bb8daf8.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["MailChimpにサインインすることで、認証を行います。Mailchimpにサインインするアクションにより、OAuth認証が生成されます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure Dataの接続ページにリダイレクトされます。最初のステップ(新しい接続の作成)を繰り返し、新しいOAuth接続を選択してから、接続の作成を完了します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191021-145914.1aa399a1116fd6371b235e277767409fcc1103d986c30d45c9bd43389a61b907.1bb8daf8.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["これで、次のステップでデータ出力の設定を完了するために使用する認証済みコネクタができました。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Continue"]},"を選択します。コネクタの名前を入力します。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"データ接続でのエクスポート結果の設定","__idx":8},"children":["データ接続でのエクスポート結果の設定"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["エクスポートしてMailchimpリストに配置するデータを取得するクエリを作成するか、既存のクエリを使用します。クエリでは、Treasure Data Mailchimpデータコネクタを指定します。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"クエリの作成","__idx":9},"children":["クエリの作成"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://console.treasuredata.com/users/sign_in"},"children":["Treasure コンソール"]},"に移動し、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://console.treasuredata.com/app/queries/editor"},"children":["クエリエディタ"]},"に移動します。データをエクスポートするために使用する予定のクエリにアクセスするか、クエリを記述します。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Output results"]},"を選択します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["次の画像で簡単なサンプルクエリを確認できます:"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191021-145940.7c46ec7bbf3a316e3902460c1dd50d4964fd66010ad4ba5709976e72b92dcf9f.1bb8daf8.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Mailchimp用のクエリの記述の詳細については、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/int/mailchimp-export-integration"},"children":["付録"]},"をご覧ください。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Output Results"]},"チェックボックスを選択して",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Save"]},"を選択すると、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Choose Saved Connection"]},"ダイアログが開きます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"保存された接続の選択","__idx":10},"children":["保存された接続の選択"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Choose Saved Connection"]},"ダイアログが開きます。検索ボックスに接続名を入力してフィルタリングし、接続を選択します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191021-150034.7053048fa157df8faf2ae761660900e2610ed98d77bb8492dcc5c389ab707b9e.1bb8daf8.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create New Connection"]},"を選択します。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"設定フィールドの入力","__idx":11},"children":["設定フィールドの入力"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["以下はサンプル設定です。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["この例では、デフォルトの列名が「last_name」と「first_name」で上書きされます。また、Mailchimpの「グループ詳細の列名」を値として指定できます。次の例では、列名の値は「region, age」です。Mailchimpグループの詳細については、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/int/mailchimp-export-integration"},"children":["付録"]},":「Mailchimpグループカテゴリの詳細」を参照してください。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191021-150104.aaed0a233f474270c095a9c0b4ad9651e1bde7edc645cb975bcd69be3a9bc9ca.1bb8daf8.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191021-150115.19b7c84f1cae579ca991bd15c5b127bcd35215401c230b5847488be22880d7ba.1bb8daf8.png","alt":""},"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":""},"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":["MailChimp list ID"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["これは、Treasure Dataのクエリ結果を入力したいMailchimpリストのIDです。",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"http://kb.mailchimp.com/lists/managing-subscribers/find-your-list-id"},"children":["検索方法はこちら"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Update existing entries?"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["オンに切り替えると、既存のエントリがメールアドレスをキーとして更新されます。そうでない場合、新しいエントリがMailChimpリストに追加されます"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Yes"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Column name for email"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["この列の値は、ターゲットMailChimpリストのemailフィールドの入力に使用されます"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["email"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Column name for fname"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["この列の値は、ターゲットMailChimpリストのfnameフィールドの入力に使用されます"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fname"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Column name for lname"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["この列の値は、ターゲットMailChimpリストのlnameフィールドの入力に使用されます"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["lname"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Additional MailChimp fields and MERGE tags"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["追加のマージフィールドの値は、ターゲットMailChimpリストのグループの入力に使用されます。複数のフィールドは「,」で区切って設定できます。例: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["WEBSITE,GENDER"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Group categories"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["インタレストカテゴリの値は、ターゲットMailChimpリストのグループの入力に使用されます。複数のグループは「,」で区切って設定できます。例: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["interests,location"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Replace group?"]},{"$$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":["Double opt-in?"]},{"$$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":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/data-workbench/databases/data-management"},"children":["Atomic"]}," Upsert?"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["UPDATEとINSERT操作の複合です。ターゲット行が存在しないためにUPDATEが失敗した場合、INSERTが自動的に実行されます。'yes'(true)の場合、すべてのレコードがMailChimp内で正常に処理されると、クエリ結果はジョブのステータスを'success'として返します。(エラーは、ターゲット行が存在せず、INSERTが自動的に実行されたが失敗したことを示します。)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The timeout expires in Milliseconds"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["MailChimp APIからの応答を待機する時間。この値は、ネットワークの問題が発生した場合に役立ちます"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["60000"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Max records per request"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["MailChimp APIからのバッチリクエストあたりの最大レコード数です。MailChimp APIでは、バッチリクエストあたり最大500レコードを使用できます。この値は、大量のデータをアップロードする場合に便利です。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["500"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"オプション-query-export-ジョブをスケジュールする","__idx":12},"children":["(オプション) Query Export ジョブをスケジュールする"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Scheduled Jobs と Result Export を使用して、指定したターゲット宛先に出力結果を定期的に書き込むことができます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure Data のスケジューラー機能は、高可用性を実現するために定期的なクエリ実行をサポートしています。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["2 つの仕様が競合するスケジュール仕様を提供する場合、より頻繁に実行するよう要求する仕様が優先され、もう一方のスケジュール仕様は無視されます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["例えば、cron スケジュールが ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'0 0 1 * 1'"]}," の場合、「月の日」の仕様と「週の曜日」が矛盾します。前者の仕様は毎月 1 日の午前 0 時 (00:00) に実行することを要求し、後者の仕様は毎週月曜日の午前 0 時 (00:00) に実行することを要求するためです。後者の仕様が優先されます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"treasure-コンソール-を使用してジョブをスケジュールする","__idx":13},"children":["Treasure コンソール を使用してジョブをスケジュールする"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data Workbench > Queries"]}," に移動します"]}]},{"$$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":["Schedule"]}," の横にある None を選択します。"," ",{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2021-1-15_17-28-51.f1b242f6ecc7666a0097fdf37edd1682786ec11ef80eff68c66f091bc405c371.0f87d8d4.png","alt":""},"children":[]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ドロップダウンで、次のスケジュールオプションのいずれかを選択します:"," ",{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2021-1-15_17-29-47.45289a1c99256f125f4d887e501e204ed61f02223fde0927af5f425a89ace0c0.0f87d8d4.png","alt":""},"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":"ドロップダウン値"},"children":["ドロップダウン値"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Custom cron..."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#custom-cron-details"},"children":["Custom cron... の詳細"]},"を参照してください。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["@daily (midnight)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["指定されたタイムゾーンで 1 日 1 回午前 0 時 (00:00 am) に実行します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["@hourly (:00)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["毎時 00 分に実行します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["None"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["スケジュールなし。"]}]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"custom-cron-の詳細","__idx":14},"children":["Custom cron... の詳細"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2021-1-15_17-30-23.0f94a8aa5f75ea03e3fec0c25b0640cd59ee48d1804a83701e5f2372deae466c.0f87d8d4.png","alt":""},"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":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Cron 値"]}]},{"$$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":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["0 * * * *"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["1 時間に 1 回実行します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["0 0 * * *"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["1 日 1 回午前 0 時に実行します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["0 0 1 * *"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["毎月 1 日の午前 0 時に 1 回実行します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["\"\""]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["スケジュールされた実行時刻のないジョブを作成します。"]}]}]}]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":" *    *    *    *    *\n -    -    -    -    -\n |    |    |    |    |\n |    |    |    |    +----- day of week (0 - 6) (Sunday=0)\n |    |    |    +---------- month (1 - 12)\n |    |    +--------------- day of month (1 - 31)\n |    +-------------------- hour (0 - 23)\n +------------------------- min (0 - 59)\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["次の名前付きエントリを使用できます:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Day of Week: sun, mon, tue, wed, thu, fri, sat."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Month: jan, feb, mar, apr, may, jun, jul, aug, sep, oct, nov, dec."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["各フィールド間には単一のスペースが必要です。各フィールドの値は、次のもので構成できます:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"fixed-table"},"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":"35%","data-label":"フィールド値"},"children":["フィールド値 "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"20%","data-label":"例"},"children":["例 "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"45%","data-label":"例の説明"},"children":["例の説明 "]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["各フィールドに対して上記で表示された制限内の単一の値。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["フィールドに基づく制限がないことを示すワイルドカード"," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'*'"]},"。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'0 0 1 * *'"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["毎月 1 日の午前 0 時 (00:00) に実行するようにスケジュールを設定します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["範囲 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'2-5'"]}," ","フィールドの許可される値の範囲を示します。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'0 0 1-10 * *'"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["毎月 1 日から 10 日までの午前 0 時 (00:00) に実行するようにスケジュールを設定します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["カンマ区切りの値のリスト ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'2,3,4,5'"]}," ","フィールドの許可される値のリストを示します。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["0 0 1,11,21 * *'"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["毎月 1 日、11 日、21 日の午前 0 時 (00:00) に実行するようにスケジュールを設定します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["周期性インジケータ ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'*/5'"]}," ","フィールドの有効な値の範囲に基づいて、"," ","スケジュールが実行を許可される頻度を表現します。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'30 */2 1 * *'"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["毎月 1 日、00:30 から 2 時間ごとに実行するようにスケジュールを設定します。"," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'0 0 */5 * *'"]}," は、毎月 5 日から 5 日ごとに午前 0 時 (00:00) に実行するようにスケジュールを設定します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'*'"]}," ","ワイルドカードを除く上記の"," ","いずれかのカンマ区切りリストもサポートされています"," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'2,*/5,8-10'"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'0 0 5,*/10,25 * *'"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["毎月 5 日、10 日、20 日、25 日の午前 0 時 (00:00) に実行するようにスケジュールを設定します。"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["(オプション) Delay execution を有効にすることで、クエリの開始時刻を遅延させることができます。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"クエリを実行する","__idx":15},"children":["クエリを実行する"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["クエリに名前を付けて保存して実行するか、単にクエリを実行します。クエリが正常に完了すると、クエリ結果は指定された宛先に自動的にエクスポートされます。"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["設定エラーにより継続的に失敗するスケジュールジョブは、複数回通知された後、システム側で無効化される場合があります。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["(オプション) Delay execution を有効にすることで、クエリの開始時刻を遅延させることができます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"audience-studio-で-segment-をアクティベートする","__idx":16},"children":["Audience Studio で Segment をアクティベートする"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Audience Studio で activation を作成することで、segment データをターゲットプラットフォームに送信することもできます。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Audience Studio"]}," に移動します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["parent segment を選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ターゲット segment を開き、右クリックして、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create Activation"]}," を選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Details"]}," パネルで、Activation 名を入力し、前述の Configuration Parameters のセクションに従って activation を設定します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Output Mapping"]}," パネルで activation 出力をカスタマイズします。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/ouput.b2c7f1d909c4f98ed10f5300df858a4b19f71a3b0834df952f5fb24018a5ea78.8ebdf569.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Attribute Columns",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Export All Columns"]}," を選択すると、変更を加えずにすべての列をエクスポートできます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["+ Add Columns"]}," を選択して、エクスポート用の特定の列を追加します。Output Column Name には、Source 列名と同じ名前があらかじめ入力されます。Output Column Name を更新できます。",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["+ Add Columns"]}," を選択し続けて、activation 出力用の新しい列を追加します。"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["String Builder",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["+ Add string"]}," を選択して、エクスポート用の文字列を作成します。次の値から選択します:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["String: 任意の値を選択します。テキストを使用してカスタム値を作成します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Timestamp: エクスポートの日時。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Segment Id: segment ID 番号。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Segment Name: segment 名。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Audience Id: parent segment 番号。"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":6},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Schedule"]}," を設定します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/snippet-output-connector-on-audience-studio-2024-08-28.a99525173709da1eb537f839019fa7876ffae95045154c8f2941b030022f792c.8ebdf569.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["スケジュールを定義する値を選択し、オプションでメール通知を含めます。"]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":7},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create"]}," を選択します。"]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["batch journey の activation を作成する必要がある場合は、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/journey-orchestration/batch/creating-a-batch-journey-activation"},"children":["Creating a Batch Journey Activation"]}," を参照してください。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"ワークフローでのエクスポート結果の設定","__idx":17},"children":["ワークフローでのエクスポート結果の設定"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure ワークフローで作業する場合、このデータコネクターを使用してデータを出力するように指定できます。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"timezone: UTC\n\n_export:\n  td:\n    database: sample_datasets\n\n+td-result-into-target:\n  td>: queries/sample.sql\n  result_connection: your_connections_name\n  result_settings:\n    list_id: your_list_id\n    email_column: email\n    fname_column: first_name\n    lname_column: last_name\n    update_existing: true\n    grouping_columns: age, region\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["result_settingsパラメータを指定します。"]},{"$$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":["list_id"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Treasure Dataのクエリ結果を入力するMailchimpリストのIDです。",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"http://kb.mailchimp.com/lists/managing-subscribers/find-your-list-id"},"children":["IDの確認方法はこちら"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["update_existing"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["オンに設定すると、既存のエントリがメールアドレスをキーとして更新されます。オフの場合、新しいエントリがMailChimpリストに追加されます"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["false"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["email_column"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["この列の値は、ターゲットMailChimpリストのemailフィールドに入力されます"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["email"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["fname_column"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["この列の値は、ターゲットMailChimpリストのfnameフィールドに入力されます"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fname"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["lname_column"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["この列の値は、ターゲットMailChimpリストのlnameフィールドに入力されます"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["lname"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["merge_fields"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["追加のマージフィールドの値は、ターゲットMailChimpリスト内のグループに入力されます。複数のフィールドは「,」で区切って設定できます。例: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["WEBSITE,GENDER"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["grouping_columns"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["インタレストカテゴリの値は、ターゲットMailChimpリスト内のグループに入力されます。複数のグループは「,」で区切って設定できます。例: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["interests,location"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["replace_interests"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["オンに設定すると、各購読者のグループの値が置き換えられます。オフの場合、新しい値が購読者のインタレストグループに追加されます。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["true"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["double_optin"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["オンに設定すると、各購読者は確認メールを受信し、購読を確認する必要があります。オフの場合、各購読者は自動的に購読されます"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["false"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["atomic_upsert"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["UPDATEとINSERT操作の複合です。ターゲット行が存在しないためにUPDATEが失敗した場合、INSERTが自動的に実行されます。'yes'（true）の場合、クエリ結果は、すべてのレコードがMailChimp内で正常に処理されたときにジョブのステータスを'success'として返します。（エラーは、ターゲット行が存在せず、INSERTが自動的に実行されたが失敗したことを示します。）"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["false"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["sleep_between_requests_millis"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["MailChimp APIからの応答を待つ時間です。この値はネットワークの問題がある場合に便利です"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["30000"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["max_records_per_request"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["MailChimp APIからのバッチリクエストあたりの最大レコード数です。MailChimp APIでは、バッチリクエストあたり最大500レコードを使用できます。この値は、大量のデータをアップロードする場合に便利です。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["500"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ワークフローでデータコネクターを使用してデータをエクスポートする方法の詳細については、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://docs.treasuredata.com/smart/project-product-documentation/exporting-data-with-parameters"},"children":["パラメータを使用したデータのエクスポート"]},"をご覧ください。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"付録","__idx":18},"children":["付録"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"mailchimpリストに入力するためのクエリの記述","__idx":19},"children":["Mailchimpリストに入力するためのクエリの記述"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["以下は、クエリ結果がMailchimpにエクスポートされる",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["前"]},"のMailchimpリストの例です:"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191021-150323.4cf37b99a1d4a5f037fbb18d4eb2f6ed4cb5c147bb235122116fba65d00c187f.1bb8daf8.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["上記のリストは、2つのMailChimpグループ（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Age"]},"と",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Region"]},"）で構成されています。これらには次のカテゴリがあります:"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"age","__idx":20},"children":["Age"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["0-20"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["21-30"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["31-40"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["41 and above"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"region","__idx":21},"children":["Region"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Americas"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Asia"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["EMEA"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure DataのQueryページに戻り、MailChimpを結果エクスポートとして次のクエリを記述して実行します:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"sql","header":{"controls":{"copy":{}}},"source":"SELECT email, first_name, last_name, region, age FROM (\n  VALUES ('k@gmail.com', 'K', 'T', 'Asia', '41 and above'),\n         ('r@gmail.com', 'R', 'P', 'Americas', '21-30'),\n         ('m@gmail.com', 'M', 'C', 'EMEA', '41 and above')\n)  tbl (email, first_name, last_name, region, age)\n","lang":"sql"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["上記のクエリは、この機能をテストするためにソーステーブルを必要としませんが、それでもデータベースを選択する必要があるため、「sample_datasets」または他の任意のテーブルを選択してください。また、SQLダイアレクトとしてTrinoが選択されていることを確認してください。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["クエリは数秒で完了します。その後、Mailchimpのリストを確認してください:"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191021-150332.0e1d88d920dc5cfe2b7443ee85def609fa77f42f19afd39ce7f0ea8f9bef62a1.1bb8daf8.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"mergeフィールドのタイプがaddressの場合","__idx":22},"children":["MERGEフィールドのタイプがAddressの場合"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["タイプ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["address"]},"を使用しているMERGEフィールドがある場合は、値をJSON型に入れる必要があります。以下は、MERGEフィールドのタイプ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["address"]},"でデータをエクスポートするMailChimpを使用したクエリです:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"sql","header":{"controls":{"copy":{}}},"source":"SELECT\n  'y@gmail.com' as email,\n  'y' as fname, 'L' as lname,\n  CAST(MAP(ARRAY['addr1', 'city', 'state', 'zip', 'country'], ARRAY['1234', 'mountain view', 'CA', '95869', 'US']) as JSON) as address,\n  'US' as location\n","lang":"sql"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"mailchimpグループカテゴリの詳細","__idx":23},"children":["Mailchimpグループカテゴリの詳細"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Mailchimpでは、ダッシュボードからリストにアクセスし、グループオプションを指定できます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191021-150348.d269b4cca724076f64c6bf42871b829bbfb4f01822bf4a407cf7849fc5357e48.1bb8daf8.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure Dataでは、グループを指定できます。Mailchimpのグループ詳細名は、クエリの列名です。"]}]},"headings":[{"value":"Mailchimp Export Integration","id":"mailchimp-export-integration","depth":1},{"value":"前提条件","id":"前提条件","depth":2},{"value":"Treasure コンソールを使用した接続の作成","id":"treasure-コンソールを使用した接続の作成","depth":2},{"value":"新しい接続の作成","id":"新しい接続の作成","depth":3},{"value":"接続の認証","id":"接続の認証","depth":3},{"value":"APIを使用した認証","id":"apiを使用した認証","depth":3},{"value":"OAuthを使用した認証","id":"oauthを使用した認証","depth":3},{"value":"新しいOAuth接続の作成","id":"新しいoauth接続の作成","depth":3},{"value":"データ接続でのエクスポート結果の設定","id":"データ接続でのエクスポート結果の設定","depth":3},{"value":"クエリの作成","id":"クエリの作成","depth":3},{"value":"保存された接続の選択","id":"保存された接続の選択","depth":3},{"value":"設定フィールドの入力","id":"設定フィールドの入力","depth":3},{"value":"(オプション) Query Export ジョブをスケジュールする","id":"オプション-query-export-ジョブをスケジュールする","depth":3},{"value":"Treasure コンソール を使用してジョブをスケジュールする","id":"treasure-コンソール-を使用してジョブをスケジュールする","depth":4},{"value":"Custom cron... の詳細","id":"custom-cron-の詳細","depth":4},{"value":"クエリを実行する","id":"クエリを実行する","depth":3},{"value":"Audience Studio で Segment をアクティベートする","id":"audience-studio-で-segment-をアクティベートする","depth":2},{"value":"ワークフローでのエクスポート結果の設定","id":"ワークフローでのエクスポート結果の設定","depth":2},{"value":"付録","id":"付録","depth":2},{"value":"Mailchimpリストに入力するためのクエリの記述","id":"mailchimpリストに入力するためのクエリの記述","depth":3},{"value":"Age","id":"age","depth":3},{"value":"Region","id":"region","depth":3},{"value":"MERGEフィールドのタイプがAddressの場合","id":"mergeフィールドのタイプがaddressの場合","depth":3},{"value":"Mailchimpグループカテゴリの詳細","id":"mailchimpグループカテゴリの詳細","depth":3}],"frontmatter":{"seo":{"title":"Mailchimp Export Integration"}},"lastModified":"2026-06-01T09:47:58.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/int/mailchimp-export-integration","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}