{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"type":"markdown"},"seo":{"title":"SendGrid Import 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":"sendgrid-import-integration","__idx":0},"children":["SendGrid Import Integration"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["この機能はベータ版です。詳細については、カスタマーサクセス担当者にお問い合わせください。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["SendGridは、ユーザーがメールサーバーを維持することなくメールを送信できるクラウドベースのSMTPプロバイダーです。このIntegrationにより、TDユーザーはSendGrid上で作成されたキャンペーンの応答イベントとパフォーマンスメトリクスを収集できます。また、コンタクト、シングルセンド、メッセージなどの他のマーケティングデータの収集も可能です。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"前提条件","__idx":1},"children":["前提条件"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Treasure Dataの知識"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["SendGridの知識"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"要件と制限事項","__idx":2},"children":["要件と制限事項"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["SendGridのAPIキーが必要です。",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://app.sendgrid.com/settings/api_keys"},"children":["API Key"]},"を参照してください。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"treasure-data-integration-の静的-ip-アドレス","__idx":3},"children":["Treasure Data Integration の静的 IP アドレス"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["セキュリティポリシーで IP ホワイトリストが必要な場合は、接続を成功させるために Treasure Data の IP アドレスを許可リストに追加する必要があります。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["リージョンごとに整理された静的 IP アドレスの完全なリストは、次のリンクにあります:"," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/apis/endpoints/ip-addresses-integrations-result-workers"},"children":["IP Addresses for Integrations"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"treasure-コンソール経由でsendgridへの接続を確立する","__idx":4},"children":["Treasure コンソール経由でSendGridへの接続を確立する"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"authenticationの作成","__idx":5},"children":["Authenticationの作成"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["SendGridへの新しいAuthenticationを作成するには、次の手順に従います。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","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":"p","attributes":{},"children":["Catalogで",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["SendGrid"]},"を検索します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create Authentication"]},"を選択します。",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["API Key"]},"を入力して、Authenticationを保存します。"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"sendgridからcontactsをインポートする","__idx":6},"children":["SendGridからContactsをインポートする"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["SendGridからContactsをインポートするには、次の手順に従います。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"authenticationからnew-sourceを作成する","__idx":7},"children":["AuthenticationからNew Sourceを作成する"]},{"$$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":["Authentications"]},"に移動します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["新しいAuthenticationを見つけて、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["New Source"]},"を選択します。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"source-table-configuration---contacts","__idx":8},"children":["Source Table Configuration - Contacts"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Contactsのインポートジョブを設定するために、次の設定パラメータを定義します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/contacts.0994d79604a63f84baf95a8ee0bf325e02154c247a0f170aebb8617b75ca17bc.860beb6b.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":["Type"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["インポートするデータのタイプ。",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Contacts"]},"を選択します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Sub-type"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["インポートするデータのサブタイプ。ユーザーは次のいずれかを選択できます：   - ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["All Contacts"]},": すべてのコンタクトをインポートします。 - ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Lists"]},": リスト内のコンタクトのみを取得します。 - ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Segments"]},": セグメント内のコンタクトを取得します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["List Name"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Listsの場合のみ。フィルタリングするリストの名前を入力します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Segment Name"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Segmentsの場合のみ。フィルタリングするセグメントの名前を入力します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Max Wait Time"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["SendGridがデータファイルを生成するための最大待機時間(分単位)。"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next"]},"を選択します。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"define-data-settings","__idx":9},"children":["Define Data Settings"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Integrationは、SendGridによって定義された標準コンタクトスキーマのフィールドを表示します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next"]},"を選択します。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"データのプレビュー","__idx":10},"children":["データのプレビュー"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["SendGridは、コンタクトファイルの準備と生成のプロセスを処理します。タイムアウトを避けるために、Integrationはダミーデータのみを表示します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データプレビューはオプションであり、必要に応じて",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next"]},"をクリックしてダイアログの次のページに安全に進むことができます。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Generate Preview"]},"を選択して、インポートを実行する前にデータのプレビューを表示します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データプレビューに表示されるデータは、ソースから概算されたものです。インポートされる実際のデータではありません。"]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":2},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データが期待どおりに見えることを確認します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/snippet-data-preview-2024-02-09.27dc5fd8772fca4f7f44ab28c00476ae1894744fe1e75d06932628929cc7bff1.4e139be3.png","alt":""},"children":[]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next"]},"を選択します。"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"data-placement","__idx":11},"children":["Data Placement"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データの配置について、データを配置したいターゲット database と table を選択し、インポートを実行する頻度を指定します。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next"]}," を選択します。Storage の下で、インポートされたデータを配置する新しい database を作成するか、既存の database を選択し、新しい table を作成するか、既存の table を選択します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Database"]}," を選択 > ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Select an existing"]}," または ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create New Database"]}," を選択します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["オプションで、database 名を入力します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Table"]}," を選択 > ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Select an existing"]}," または ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create New Table"]}," を選択します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["オプションで、table 名を入力します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データをインポートする方法を選択します。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Append"]}," (デフォルト) - データインポートの結果は table に追加されます。"," ","table が存在しない場合は作成されます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Always Replace"]}," - 既存の table の全体の内容をクエリの結果出力で置き換えます。table が存在しない場合は、新しい table が作成されます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Replace on New Data"]}," - 新しいデータがある場合のみ、既存の table の全体の内容をクエリの結果出力で置き換えます。"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Timestamp-based Partition Key"]}," 列を選択します。"," ","デフォルトキーとは異なるパーティションキーシードを設定したい場合は、long または timestamp 列をパーティショニング時刻として指定できます。デフォルトの時刻列として、add_time フィルターで upload_time を使用します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データストレージの ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Timezone"]}," を選択します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Schedule"]}," の下で、このクエリを実行するタイミングと頻度を選択できます。"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"一度だけ実行","__idx":12},"children":["一度だけ実行"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Off"]}," を選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Scheduling Timezone"]}," を選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create & Run Now"]}," を選択します。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"定期的に繰り返す","__idx":13},"children":["定期的に繰り返す"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["On"]}," を選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Schedule"]}," を選択します。UI では、",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["@hourly"]},"、",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["@daily"]},"、",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["@monthly"]},"、またはカスタム ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["cron"]}," の 4 つのオプションが提供されます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Delay Transfer"]}," を選択して、実行時間の遅延を追加することもできます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Scheduling Timezone"]}," を選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create & Run Now"]}," を選択します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["転送が実行された後、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data Workbench"]}," > ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Databases"]}," で転送の結果を確認できます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"sendgridから統計情報をインポートする","__idx":14},"children":["SendGridから統計情報をインポートする"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["SendGridから統計情報を取得するためのサンプル設定に従います"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/global_stats.41ebecbebeac05fd1af9a91ab22eedf7abe9ffb95b8d4e42ffe8edecfc3e7a19.860beb6b.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"source-table-configuration---global-email-statistics","__idx":15},"children":["Source Table Configuration - Global Email Statistics"]},{"$$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":["Type"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["インポートするデータのタイプ。",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Statistic"]},"を選択します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Sub-type"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["インポートするデータのサブタイプ。ユーザーは次のいずれかを選択できます：  ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Global Email Stats"]},": 送信されたすべてのメールからの統計をインポートします。  ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["SingleSend Stats"]},": シングルセンド別の統計をインポートします。  ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Automation Stats"]},": オートメーション別の統計をインポートします。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Start Date - End Date"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Global Email Stats"]},"の場合のみ利用可能。日付でフィルタリングします。Start Dateは必須です。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Aggregated by"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Global Email Stats"]},"の場合のみ利用可能。データの集計方法を定義します*(Day、Week、Month、None)*。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Incremental"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Global Email Stats"]},"の場合のみ利用可能。繰り返し実行の場合、次の時間枠内のデータのみを検索します。"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"sendgridからsuppressionsをインポートする","__idx":16},"children":["SendGridからSuppressionsをインポートする"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["SendGridからSuppressionsイベントを取得するためのサンプル設定に従います。Integrationは次をサポートします："]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Bounces"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Unsubscribes"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Blocks"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Spam Reports"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Invalid"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"source-table-configuration---suppressions","__idx":17},"children":["Source Table Configuration - Suppressions"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/suppression.02ec755685e2d1f25d701f82454c9b48491d58e55d6b34f128a87a206d561f42.860beb6b.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":["Type"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["インポートするデータのタイプ。",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Suppressions"]},"を選択します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Start Time - End Time"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["検索期間を定義します。Incrementalがオンの場合、Start Timeは必須です。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["On behalf of"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["(オプション)サブユーザーまたは顧客アカウントからデータを取得するために使用します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Incremental"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["繰り返し実行の場合、次の時間枠内のデータのみを検索します。"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"data-schema---suppressions","__idx":18},"children":["Data Schema - Suppressions"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["SendGridからのデータ定義はSuppressionタイプによって異なるため、以下はTDに取り込まれる際のデータスキーマです。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"type;created;email;reason;status;ipblock;1714970265;testemail4@email.com;blockreason;blockstatus;nullinvalid;1714970265;testemail5@email.com;dummyreason;null;nullbounce;1714970265;testemail@email.com;550 Inconsistent;550;nullspam_report;1714970265;testemail2@email.com;null;null;192.168.1.1unsubscribe;1714970265;testemail3@email.com;null;null;null\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"sendgridからsingle-sendsをインポートsingle","__idx":19},"children":["SendGridからSingle SendsをインポートSingle"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["SendGridからSingle Sendsデータをインポートするには、次の手順に従います。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"source-table-configuration---single-send","__idx":20},"children":["Source Table Configuration - Single Send"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/singlesend.f4a91c42e189e81cd6b653a5b5465a46858b8203ec0e4bc43b78bbf448fa80e1.860beb6b.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"sendgridからmessage-dataをインポートする","__idx":21},"children":["SendGridからMessage Dataをインポートする"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["SendGridからMessage Dataをインポートするには、次の手順に従います。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"source-table-configuration---message-data","__idx":22},"children":["Source Table Configuration - Message Data"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/screen-shot-2024-06-25-at-19.25.36.dceb9bc695540dc431a58d290ccf3de235564c67d9f2083cdc3b2abf5b36cf18.860beb6b.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":["Type"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["インポートするデータのタイプ。",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Message Data"]},"を選択します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Query"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["クエリでフィルタリングします。",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://www.twilio.com/docs/sendgrid/for-developers/sending-email/getting-started-email-activity-api#query-reference"},"children":["クエリ構文"]},"を参照してください。"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"workflow経由でsendgridからインポートする","__idx":23},"children":["Workflow経由でSendGridからインポートする"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["WorkflowのTD_load>: operatorを使用して、SendGridからデータをインポートできます。すでにSOURCEを作成している場合は実行できます。作成したくない場合は、ymlファイルを使用してインポートできます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"sourceを使用する","__idx":24},"children":["Sourceを使用する"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Sourceを特定します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Unique IDを取得するには、SourceリストをSendGridでフィルタリングします。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["メニューを開き、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Copy Unique ID"]},"を選択します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/26617502.09d9b84b0f1f752c7c95b0bc1c2d8e8b7302e5b91c6a3cb5f01309dadf53a604.25ec5a77.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":4},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["td_load > operatorを使用してWorkflowタスクを定義します。"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"+load:\n  td_load>: unique_id_of_your_source\n  database: ${td.dest_db}\n  table: ${td.dest_table}\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":5},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Workflowを実行します。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"yamlファイルを使用する","__idx":25},"children":["Yamlファイルを使用する"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ymlファイルを特定します。ymlファイルを作成する必要がある場合は、参考として",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/int/amazon-s3-import-integration-v1"},"children":["Amazon S3 Import Integration Using CLI"]},"を確認してください。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["td_load > operatorを使用してWorkflowタスクを定義します。"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"+load:\n  td_load>: config/daily_load.yml\n  database: ${td.dest_db}\n  table: ${td.dest_table}\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":3},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Workflowを実行します。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"パラメータリファレンス","__idx":26},"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":"th","attributes":{"data-label":"値"},"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":["type"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Integrationタイプ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["sendgrid"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["sendgrid"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["api_key"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["接続用のAPIキー"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["N/A"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["N/A"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["data_type"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["取得するデータタイプ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["statistic  suppressions  contacts  message_data  single_sends"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["statistic"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["sub_type_statistic"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["統計のサブタイプ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["global_email_stats  single_send_stats  automation_stats"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["global_email_stats"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["sub_type_contacts"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["コンタクトのサブタイプ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["all_contacts  lists  segments"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["all_contacts"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["start_date"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["all_contacts"]},"の開始日"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["incremental_statistics"]},"がtrueの場合のみ必須"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["end_date"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["all_contacts"]},"の終了日"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$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":["aggregated_by"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["all_contacts"]},"の集計方法"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["day  week  month  year"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["day"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["incremental_statistics"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["all_contacts"]},"の増分モード"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["true  false"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["true"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["start_time"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["data_type ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["suppressions"]},"の開始時刻"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["​  String"]},{"$$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":["end_time"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["data_type ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["suppressions"]},"の終了時刻"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["incremental_suppressions"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["suppressions"]},"の増分モード"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["true  false"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["true"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["on_behalf_of"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["サブユーザーまたは顧客アカウントからデータを取得するために使用します。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$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":["sub_type_contacts"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["コンタクトのサブタイプ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["all_contacts  lists  segments"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["all_contacts"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["list_name"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["コンタクトのリストの名前"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["カンマで区切られた文字列のリスト"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sub_type_contacts "]},"がlistsの場合は必須"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["segment_name"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["コンタクトのセグメントの名前"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["カンマで区切られた文字列のリスト"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sub_type_contacts "]},"がsegmentsの場合は必須"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["max_wait_time"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["コンタクトをエクスポートするための最大待機時間(分単位)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Integer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["5"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["query"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["message_data"]},"のクエリ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$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":["maximum_retries"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["最大リトライ回数"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Integer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["5"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["initial_retry_interval_millis"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["初回リトライ待機時間(ミリ秒単位)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Integer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["500"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["maximum_retry_interval_millis"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["最大リトライ待機時間(ミリ秒単位)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Integer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["30000"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["columns"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["カラム定義"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Json"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"サンプルworkflowコード","__idx":27},"children":["サンプルWorkflowコード"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["サンプルWorkflowコードについては、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://github.com/treasure-data/treasure-boxes/tree/master/td_load/s3"},"children":["Treasure Boxes"]},"を参照してください。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"clitoolbelt経由でsendgridからインポートする","__idx":28},"children":["CLI(Toolbelt)経由でSendGridからインポートする"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Integrationを設定する前に、最新の",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://toolbelt.treasuredata.com/"},"children":["TD Toolbelt"]},"をインストールしてください。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"シード設定ファイルseedymlの作成","__idx":29},"children":["シード設定ファイル(seed.yml)の作成"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"in:\n type: sendgrid\n api_key: XXXXXXXXXX\n data_type: contacts\n sub_type_statistic: global_emal_stats\n sub_type_contacts: list\n start_time: '2023-01-19-T00:51:29.937Z'\n end_time: '2023-01-19-T00:51:29.937Z'\n start_date: '2023-01-01'\n end_date: '2023-01-01'\n aggregated_by: day\n query: to_email=\"dumy@gmail.com\"\n list_name: 'abc,def'\n segment_name: 'abc,def'\n incremental_statistic: true\n incremental_suppressions: true\n max_wait_time: 5\n on_behalf_of: xxx\n initial_retry_interval_millis: 500\n maximum_retries: 5\n maximum_retry_interval_millis: 30000\nout:\n  mode: append\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"パラメータリファレンス-1","__idx":30},"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":"th","attributes":{"data-label":"値"},"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":["type"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Integrationタイプ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["sendgrid"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["sendgrid"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["api_key"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["接続用のAPIキー"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["N/A"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["N/A"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["data_type"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["取得するデータタイプ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["statistic  suppressions  contacts  message_data  single_sends"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["statistic"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["sub_type_statistic"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["統計のサブタイプ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["global_email_stats  single_send_stats  automation_stats"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["global_email_stats"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["sub_type_contacts"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["コンタクトのサブタイプ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["all_contacts  lists  segments"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["all_contacts"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["start_date"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["all_contacts"]},"の開始日"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["incremental_statistics"]},"がtrueの場合のみ必須"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["end_date"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["all_contacts"]},"の終了日"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$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":["aggregated_by"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["all_contacts"]},"の集計方法"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["day  week  month  year"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["day"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["incremental_statistics"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["all_contacts"]},"の増分モード"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["true  false"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["true"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["start_time"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["data_type ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["suppressions"]},"の開始時刻"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$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":["end_time"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["data_type ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["suppressions"]},"の終了時刻"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["incremental_suppressions"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["suppressions"]},"の増分モード"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["true  false"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["true"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["on_behalf_of"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["サブユーザーまたは顧客アカウントからデータを取得するために使用します。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$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":["sub_type_contacts"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["コンタクトのサブタイプ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["all_contacts  lists  segments"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["all_contacts"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["list_name"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["コンタクトのリストの名前"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["カンマで区切られた文字列のリスト"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sub_type_contacts "]},"がlistsの場合は必須"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["segment_name"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["コンタクトのセグメントの名前"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["カンマで区切られた文字列のリスト"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sub_type_contacts "]},"がsegmentsの場合は必須"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["max_wait_time"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["コンタクトをエクスポートするための最大待機時間(分単位)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Integer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["5"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["query"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["message_data"]},"のクエリ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$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":["maximum_retries"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["最大リトライ回数"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Integer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["5"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["initial_retry_interval_millis"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["初回リトライ待機時間(ミリ秒単位)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Integer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["500"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["maximum_retry_interval_millis"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["最大リトライ待機時間(ミリ秒単位)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Integer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["30000"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Data Integrationは、指定されたprefixに一致するすべてのファイルをインポートします。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["例"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["path_prefix: path/to/sample_ –> path/to/sample_201501.csv.gz, path/to/sample_201502.csv.gz, …, path/to/sample_201505.csv.gz"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"loadymlの生成","__idx":31},"children":["load.ymlの生成"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["connector:guess"]},"を使用します。このコマンドは自動的にソースファイルを読み取り、ロジックを使用してファイル形式とそのフィールド/カラムを推測します。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"$ td connector:guess seed.yml -o load.yml\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["load.ymlを開いて、ファイル形式、エンコーディング、カラム名、タイプの定義を確認できます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"例","__idx":32},"children":["例"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"in:\n  type: sendgrid\n  api_key: XXXXXXXXXX\n  data_type: contacts\n  sub_type_statistic: global_emal_stats\n  sub_type_contacts: list\n  start_time: '2023-01-19-T00:51:29.937Z'\n  end_time: '2023-01-19-T00:51:29.937Z'\n  start_date: '2023-01-01'\n  end_date: '2023-01-01'\n  aggregated_by: day\n  query: to_email=\"dumy@gmail.com\"\n  list_name: 'abc,def'\n  segment_name: 'abc,def'\n  incremental_statistic: true\n  incremental_suppressions: true\n  max_wait_time: 5\n  on_behalf_of: xxx\n  initial_retry_interval_millis: 500\n  maximum_retries: 5\n  maximum_retry_interval_millis: 30000\n  columns:\n    - {name: email, type: string}\n    - {name: first_name, type: string}\n    - {name: last_name, type: string}\n    - {name: created_at, type: timestamp, format: '%Y-%m-%dT%H:%M:%S%z'}\n    - {name: date, type: timestamp, format: '%Y-%m-%d'}\n\n  out:\n    mode: append\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データをプレビューするには、",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["td connector:preview"]},"コマンドを使用します。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"$ td connector:preview load.yml\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["guessコマンドは、ソースデータファイル内に3行以上と2列以上が必要です。これは、コマンドがソースデータのサンプル行を使用してカラム定義を評価するためです。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["システムがカラム名またはカラムタイプを予期せず検出した場合は、load.ymlファイルを変更して再度プレビューしてください。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"load-jobの実行","__idx":33},"children":["Load Jobの実行"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["load jobを送信します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データサイズによっては数時間かかる場合があります。データを保存するTreasure DataのDatabaseとTableを必ず指定してください。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure Dataのストレージは時間によってパーティション化されているため(",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/data-workbench/queries/data-partitioning-in-treasure-data"},"children":["data partitioning"]},"を参照)、Treasure Dataは*-- time-column",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["オプションの指定も推奨しています。このオプションが提供されない場合、data connectorは最初の"]},"long",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["または"]},"timestamp*カラムをパーティション化時間として選択します。--time-columnで指定されるカラムのタイプは、longまたはtimestampタイプのいずれかである必要があります。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データに時間カラムがない場合は、",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["add_time"]},"フィルタオプションを使用して追加できます。詳細については、add_timeフィルタプラグインを参照してください。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"$ td connector:issue load.yml --database td_sample_db --table td_sample_table   --time-column created_at\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["connector:issueコマンドは、",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["database(td_sample_db)",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["と"]},"table(td_sample_table)",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["がすでに作成されていることを前提としています。DatabaseまたはTableがTDに存在しない場合、このコマンドは失敗します。DatabaseとTableを手動で作成するか、",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["td connector:issue"]},"コマンドで"]},"--auto-create-table"]},"オプションを使用してDatabaseとTableを自動作成してください。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"$ td connector:issue load.yml --database td_sample_db --table td_sample_table --time-column created_at --auto-create-table\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["data connectorはサーバー側でレコードをソートしません。時間ベースのパーティション化を効果的に使用するには、事前にファイル内のレコードをソートしてください。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["time"]},"という名前のフィールドがある場合は、",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["--time-column"]},"オプションを指定する必要はありません。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"$ td connector:issue load.yml --database td_sample_db --table td_sample_table\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"import-modes","__idx":34},"children":["Import Modes"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["load.ymlファイルのoutセクションでファイルインポートモードを指定できます。out:セクションは、データがTreasure DataのTableにインポートされる方法を制御します。例えば、データを追加したり、Treasure Data内の既存のTableのデータを置き換えたりすることができます。"]},{"$$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":["Mode"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["説明"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["例"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Append"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["レコードはターゲットTableに追加されます。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["in:    ...  out:    mode: append"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Always Replace"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ターゲットTableのデータを置き換えます。  ターゲットTableに対して行われた手動のスキーマ変更はそのまま残ります。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["in:    ...  out:    mode: replace"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Replace on new data"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["インポートする新しいデータがある場合にのみ、ターゲットTableのデータを置き換えます。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["in:    ...  out:    mode: replace_on_new_data"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"実行のスケジューリング","__idx":35},"children":["実行のスケジューリング"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["増分ファイルインポートのために、定期的なData Integration実行をスケジュールできます。Treasure Dataは、高可用性を確保するためにスケジューラを慎重に設定しています。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["スケジュールされたインポートでは、指定されたprefixに一致し、条件により次のフィールドのいずれかに該当するすべてのファイルをインポートできます："]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["use_modified_timeが無効になっている場合、最後のパスが次の実行のために保存されます。Integrationは、2回目以降の実行では、アルファベット順で最後のパス以降のファイルのみをインポートします。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["それ以外の場合、ジョブの実行時間が次の実行のために保存されます。2回目以降の実行では、Integrationはその実行時間以降に変更されたファイルのみをアルファベット順でインポートします。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"td-toolbeltを使用したスケジュールの作成","__idx":36},"children":["TD Toolbeltを使用したスケジュールの作成"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["新しいスケジュールは、",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["td connector:create"]},"コマンドを使用して作成できます。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"$ td connector:create daily_import \"10 0 * * *\"     td_sample_db td_sample_table load.yml\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure Dataのストレージは時間によってパーティション化されているため(",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/data-workbench/queries/data-partitioning-in-treasure-data"},"children":["data partitioning"]},"も参照)、Treasure Dataは*--time-column*オプションの指定も推奨しています。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"$ td connector:create daily_import \"10 0 * * *\"     td_sample_db td_sample_table load.yml     --time-column created_at\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cron"]},"パラメータは、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["@hourly"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["@daily"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["@monthly"]},"の3つの特別なオプションも受け入れます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["デフォルトでは、スケジュールはUTCタイムゾーンで設定されます。-tまたは--timezoneオプションを使用して、タイムゾーンでスケジュールを設定できます。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--timezone"]},"オプションは、'Asia/Tokyo'、'America/Los_Angeles'などの拡張タイムゾーン形式のみをサポートしています。PST、CSTなどのタイムゾーンの略語は",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["サポートされておらず"]},"、予期しないスケジュールにつながる可能性があります。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"関連記事","__idx":37},"children":["関連記事"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["SendGrid Export Integration - ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/int/sendgrid-export-integration"},"children":["SendGrid Output"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"外部参照","__idx":38},"children":["外部参照"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["SendGrid API - ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://www.twilio.com/docs/sendgrid/api-reference"},"children":["API Reference"]}]}]},"headings":[{"value":"SendGrid Import Integration","id":"sendgrid-import-integration","depth":1},{"value":"前提条件","id":"前提条件","depth":2},{"value":"要件と制限事項","id":"要件と制限事項","depth":2},{"value":"Treasure Data Integration の静的 IP アドレス","id":"treasure-data-integration-の静的-ip-アドレス","depth":2},{"value":"Treasure コンソール経由でSendGridへの接続を確立する","id":"treasure-コンソール経由でsendgridへの接続を確立する","depth":2},{"value":"Authenticationの作成","id":"authenticationの作成","depth":3},{"value":"SendGridからContactsをインポートする","id":"sendgridからcontactsをインポートする","depth":3},{"value":"AuthenticationからNew Sourceを作成する","id":"authenticationからnew-sourceを作成する","depth":4},{"value":"Source Table Configuration - Contacts","id":"source-table-configuration---contacts","depth":4},{"value":"Define Data Settings","id":"define-data-settings","depth":4},{"value":"データのプレビュー","id":"データのプレビュー","depth":4},{"value":"Data Placement","id":"data-placement","depth":3},{"value":"一度だけ実行","id":"一度だけ実行","depth":4},{"value":"定期的に繰り返す","id":"定期的に繰り返す","depth":4},{"value":"SendGridから統計情報をインポートする","id":"sendgridから統計情報をインポートする","depth":3},{"value":"Source Table Configuration - Global Email Statistics","id":"source-table-configuration---global-email-statistics","depth":4},{"value":"SendGridからSuppressionsをインポートする","id":"sendgridからsuppressionsをインポートする","depth":3},{"value":"Source Table Configuration - Suppressions","id":"source-table-configuration---suppressions","depth":4},{"value":"Data Schema - Suppressions","id":"data-schema---suppressions","depth":4},{"value":"SendGridからSingle SendsをインポートSingle","id":"sendgridからsingle-sendsをインポートsingle","depth":3},{"value":"Source Table Configuration - Single Send","id":"source-table-configuration---single-send","depth":4},{"value":"SendGridからMessage Dataをインポートする","id":"sendgridからmessage-dataをインポートする","depth":3},{"value":"Source Table Configuration - Message Data","id":"source-table-configuration---message-data","depth":4},{"value":"Workflow経由でSendGridからインポートする","id":"workflow経由でsendgridからインポートする","depth":2},{"value":"Sourceを使用する","id":"sourceを使用する","depth":3},{"value":"Yamlファイルを使用する","id":"yamlファイルを使用する","depth":3},{"value":"パラメータリファレンス","id":"パラメータリファレンス","depth":4},{"value":"サンプルWorkflowコード","id":"サンプルworkflowコード","depth":3},{"value":"CLI(Toolbelt)経由でSendGridからインポートする","id":"clitoolbelt経由でsendgridからインポートする","depth":2},{"value":"シード設定ファイル(seed.yml)の作成","id":"シード設定ファイルseedymlの作成","depth":3},{"value":"パラメータリファレンス","id":"パラメータリファレンス-1","depth":3},{"value":"load.ymlの生成","id":"loadymlの生成","depth":3},{"value":"例","id":"例","depth":4},{"value":"Load Jobの実行","id":"load-jobの実行","depth":3},{"value":"Import Modes","id":"import-modes","depth":3},{"value":"実行のスケジューリング","id":"実行のスケジューリング","depth":3},{"value":"TD Toolbeltを使用したスケジュールの作成","id":"td-toolbeltを使用したスケジュールの作成","depth":4},{"value":"関連記事","id":"関連記事","depth":3},{"value":"外部参照","id":"外部参照","depth":3}],"frontmatter":{"seo":{"title":"SendGrid Import Integration"}},"lastModified":"2026-06-01T09:34:27.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/int/sendgrid-import-integration","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}