{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"type":"markdown"},"seo":{"title":"Hubspot インポート連携","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":"hubspot-インポート連携","__idx":0},"children":["Hubspot インポート連携"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/int/hubspot-export-integration"},"children":["HubSpot エクスポート連携の詳細はこちら"]},"。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["HubSpotは、企業が訪問者を引き付け、リードを変換し、取引を成立させることを支援するインバウンドマーケティングおよび営業プラットフォームです。この連携を使用してHubSpotデータをTDにインポートすることで、データサイロを排除し、すべてのタッチポイントにわたる顧客行動を理解し、顧客とのより関連性の高いタイムリーなインタラクションを作成し、より良いリテンションとロイヤルティを実現します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["この連携では、Contacts、Companies、Contact Lists、Email events、Engagement activities、Deals、その他のデータオブジェクトなど、さまざまなHubSpotオブジェクトがサポートされています。"]},{"$$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":["HubSpotの基礎知識"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"treasure-data-integration-の静的-ip-アドレス","__idx":2},"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-コンソールで新しい認証を作成する","__idx":3},"children":["Treasure コンソールで新しい認証を作成する"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データ接続を設定する際、連携にアクセスするための認証情報を提供します。Treasure Dataでは、認証を設定し、ソース情報を指定します。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Integrations Hub"]}," > ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Catalog"]}," に移動します"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["HubSpot"]}," を検索して選択します"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/hubspot-import-integration-2024-12-11.5bde931f7b4dbd26258a20ac4ebc17dc0b7f7c929d1e1221e17940894872e103.899d1e34.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create Authentication"]}," を選択し、HubSpotアカウントのOAuthを提供します"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Integration Hubにリダイレクトされた後、上記の手順を繰り返します（今回は提供したOAuthが表示されます）。認証の名前を入力し、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Done"]}," を選択します"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"ソースを作成する","__idx":4},"children":["ソースを作成する"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Treasure コンソールを開きます"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Integrations Hub > Authentications"]}," に移動します"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["新しい認証を見つけて ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["New Source"]}," を選択します"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["最初のステップ ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["1 - Connection"]}," で、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data Transfer Name"]}," フィールドにソース名を入力し、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next"]}," を選択します"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"ソースデータを特定する","__idx":5},"children":["ソースデータを特定する"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["以下のパラメータを使用してTreasure Dataに取り込むデータを特定し、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next"]}," を選択します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/hubspot-import-integration-2024-12-11-1.044522dca7f1b31e29c9413a5a17d786f70471375fe13fe4c6e15256f4d25b3e.899d1e34.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["後方互換性をサポートするため、この連携では以下のデータオブジェクトにAPI V1を使用します："]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Contacts（カスタム属性を含む）"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Companies（カスタム属性を含む）"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Contact Lists"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Email events"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Engagement activities"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Deals（カスタム属性を含む）"]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning","name":"Contact Lists v1 サンセット — 対応が必要です"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["HubSpotはContact Lists v1 APIを2026-04-30にサンセットしました。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["contact_lists"]},"ターゲットは現在",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /crm/v3/lists/search"]},"を呼び出し、v1とは異なるv3スキーマを返します："]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["削除されたカラム"]},"：",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["metaData"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["archived"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["internalListId"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["dynamic"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["filters"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["portalId"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["deleteable"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["listType"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["型の変更"]},"：",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["listId"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["createdAt"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["updatedAt"]},"は",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["STRING"]},"になりました（v3は文字列IDとISO-8601タイムスタンプを返します。以前は",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["LONG"]},"）"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["新しいカラム"]},"：",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["listVersion"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["processingType"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["processingStatus"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["objectTypeId"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["filtersUpdatedAt"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["createdById"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["updatedById"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["additionalProperties"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["v1のカラム名や数値型の",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["listId"]},"/",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["createdAt"]},"/",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["updatedAt"]},"に依存している下流のテーブルおよびクエリは更新が必要です。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["参考：",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://developers.hubspot.com/changelog/extension-contact-lists-api-v1-sunset-moved-to-april-30-2026"},"children":["Contact Lists v1 サンセット"]}," · ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://developers.hubspot.com/docs/api-reference/legacy/crm/lists/v1-migration-guide"},"children":["v1 → v3 移行ガイド"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["API V1では、Contacts、Companies、Email eventsの増分読み込みが可能です"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Start date"]},"：HubSpotでデータオブジェクトを取得する開始日"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Number of days to fetch"]},"：取得する日数。過去最大30日まで取得できます"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["API V1の既知の制限事項："]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["すべてのカスタム属性がサポートされているわけではありません"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["データインポートには10,000レコードの上限があります"]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"API v1ターゲットからAPI v3 Searchへの移行"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["以下のAPI v1ターゲットは引き続き動作しますが、HubSpotによるv1のサンセットが順次進められています。将来の動作停止を避けるため、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["search"]},"ターゲット（API v3）への切り替えを推奨します："]},{"$$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":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["target: contacts"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["target: search"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["object_name: contacts"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["incremental_column: lastmodifieddate"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["target: companies"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["target: search"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["object_name: companies"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["incremental_column: hs_lastmodifieddate"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["target: deals"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["target: search"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["object_name: deals"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["incremental_column: hs_lastmodifieddate"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["target: engagements"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["エンゲージメントタイプごとに別ジョブに分割 — ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["target: search"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["object_name: calls"]},"（または ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["emails"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["meetings"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["notes"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tasks"]},"）"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["注意："]}," v3スキーマはv1とは異なります。出力先テーブルのカラム名と型が変わります。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["API V3"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["より新しいAPIバージョンであるAPI V3は、より多くのデータオブジェクトをサポートし、10kレコード制限を回避するために使用されます"]},{"$$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":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Source"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["API v3 Search"]},"：このオプションを選択し、次のフィールドでインポートするデータオブジェクト名を宣言します"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["API v3 Properties"]},"：HubSpotアカウントで利用可能なデータオブジェクトの属性を調べたい場合は、このオプションを使用します"]}]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Object Name"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["インポートするデータオブジェクト名。（サポートされているデータオブジェクトの完全なリストについては、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://developers.hubspot.com/beta-docs/guides/api/crm/search"},"children":["HubSpot"]},"を参照してください。）"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Objects: carts、companies、contacts、deals、deal_split、discounts、feedback_submissions、fees、invoices、leads、..."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Engagements: calls、emails、meetings、notes、tasks"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["API v3 Properties"]}," の場合、カンマ区切りのオブジェクト名リストを入力できます。"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Incremental Column"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["API v3 Search"]}," の場合 - 必須）増分読み込みおよび/またはフィルタリングに使用される列。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Fetch All Properties"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["API v3 Search"]}," の場合）チェックを外すと、データオブジェクトのデフォルトプロパティのみがインポートされます。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Incremental"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["API v3 Search"]}," の場合）チェックを入れると、前回の実行以降の新しいデータのみがインポートされます。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Start Date Time  End Date Time"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["API v3 Search"]},"の場合) 開始時刻から終了時刻までのデータがインポートされます。これらのオプションは初期データロードに便利です。"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"データ設定の定義","__idx":6},"children":["データ設定の定義"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["オプションで、高度なデータ設定を変更できます。",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next"]},"を選択して次のステップに進みます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/google-ads-import-integration-v2-2024-08-06-5.9673dac09cfdafcf311c3895320451d2e018d8e5f17d194f5c066d1649402578.7c52a81f.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"データのプレビュー","__idx":7},"children":["データのプレビュー"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["4 Data Preview"]},"ステップで、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Generate Preview"]},"を選択して、インポートを実行する前にデータのサンプルを確認します(オプション)。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next"]},"を選択して続行します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/google-ads-import-integration-v2-2024-08-06-3.d1a7264878d399f9a4e744868a69b15ed5ab861a1fd396d9ecef55513fcc8527.7c52a81f.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"データ配置の定義","__idx":8},"children":["データ配置の定義"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データ配置については、データを配置するターゲットdatabaseとtableを選択し、インポートを実行する頻度を指定してから、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Save"]},"または",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Save & Run Now"]},"を選択します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/9bcff190-9edf-477a-9bb2-71ca68a875ef.c34f58af08ad9329b71e53eb2ce3a6e83cac5070a0e24696459c451b133b39e3.69844539.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"clitoolbeltを使用したhubspotからのインポート","__idx":9},"children":["CLI(Toolbelt)を使用したHubSpotからのインポート"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"前提条件-1","__idx":10},"children":["前提条件"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["TD Toolbelt: 最新バージョンのTreasure CLIツールをインストールしてください: ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://toolbelt.treasuredata.com/"},"children":["TD Toolbelt"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Authentication ID: Treasure コンソールでこのインテグレーションのauthenticationを作成するには、上記の手順に従ってください。その後、authentication画面のURLの最後の部分でIDを確認できます。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/google-ads-import-integration-v2-2024-08-06-9.fdc162a377e20998a8f41e69c38afef49bbd1ab0b84f6b913fd06fe82b2010f3.7c52a81f.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"一般的な手順","__idx":11},"children":["一般的な手順"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["YML設定ファイル(例: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["**load.yml**"]},")を作成し、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["**td\\_authentication\\_id**"]},"フィールドで作成したauthenticationを参照します。"," ","詳細については、以下の",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/int/hubspot-import-integration#h3_755695857"},"children":["Parameter Reference"]},"および",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/int/hubspot-import-integration#h3_1689083776"},"children":["Example"]},"を参照してください"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["次のコマンドを使用して、入力データをプレビューします(オプション):"," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$ td connector:preview load.yml"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["次のコマンドを使用して、データインポートをトリガーします:"," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$ td connector:issue load.yml --database db-name --table table-name"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["次のコマンドを使用して、実行をスケジュールします:"," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$ td connector:create daily\\_import \"10 0 \\* \\* \\*\" db-name table-name load.yml"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"パラメータリファレンス","__idx":12},"children":["パラメータリファレンス"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["次の表は、CLI経由でHubSpotインポートインテグレーションを設定するためのパラメータについて説明しています。"]},{"$$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":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Value"},"children":["Value"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Default value"},"children":["Default value"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Required"},"children":["Required"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_authentication_id"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["UIで取得したauthentication id"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["numeric"]}]},{"$$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":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["target"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ソース。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["contacts"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["engagements"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["companies"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["deals"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["contact_lists"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["email_events"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["properties"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["search"]},"のいずれか。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["String"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["contacts"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["additional_properties"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["追加のCustom Properties。targetが",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["contacts"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["companies"]},"、または",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["deals"]},"の場合にのみ適用されます。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["String"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["N/A"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["object_names"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["オブジェクトのpropertiesを取得するためのカンマ区切りのオブジェクト名。targetが",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["properties"]},"の場合にのみ適用されます。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["String"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["N/A"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["targetが",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["properties"]},"の場合はYes"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["object_name"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["search API v3を使用する際に取り込むオブジェクト。targetが",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["search"]},"の場合のみ適用されます"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["String"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["N/A"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["targetが",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["search"]},"の場合は必須"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["incremental_column"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["search API v3を使用する際に増分読み込みに使用するカラム。targetが",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["search"]},"の場合のみ適用されます"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["String"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["N/A"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fetch_all_properties"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["オブジェクトのすべてのプロパティを取得するかどうかを決定します。チェックを入れると実行にレイテンシが追加される可能性がありますが、より多くの情報が提供されます。targetが",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["search"]},"の場合のみ適用されます"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Boolean"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["incremental"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["前回実行時以降の新しいデータのみをインポートするかどうか。targetが",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["contacts"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["companies"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["deals"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["email_events"]},"、または",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["search"]},"の場合のみ適用されます"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Boolean"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["from_date"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["データを取り込む開始日（ISO-8601形式）。incrementalが",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]},"で、targetが",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["contacts"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["engagements"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["companies"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["deals"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["contact_lists"]},"、または",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["email_events"]},"の場合のみ適用されます"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Datetime"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["N/A"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fetch_days"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["開始日から何日分のデータを取得するか。incrementalが",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]},"で、targetが",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["contacts"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["engagements"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["companies"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["deals"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["contact_lists"]},"、または",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["email_events"]},"の場合のみ適用されます"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Number"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["1"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["start_time"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["データを取り込む開始時刻（ISO-8601形式）。targetが",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["search"]},"の場合のみ適用されます"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Datetime"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["N/A"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["end_time"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["データを取り込む終了時刻（ISO-8601形式）。targetが",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["search"]},"の場合のみ適用されます"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Datetime"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["N/A"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"例","__idx":13},"children":["例"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"in:\n  type: hubspot\n  td_authentication_id: 330392\n  additional_properties: \"prop_1, prop_2, prop_3\"\n  custom_properties_chunk_size: 100\n  retry_intial_wait_msec : \"500\" # initial waiting time as 0.5 second\n  retry_limit : \"10\"\n  max_retry_wait_msec :  \"90000\" # maximum 1.5 minute of waiting time for each retry\n  from_date: 2016-09-01T00:00:00.000Z\n  fetch_days: 2\nout:\n  mode: append\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"関連トピック","__idx":14},"children":["関連トピック"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["このインテグレーションの定期実行については、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/int/scheduling-a-data-connector-job-execution-from-the-cli"},"children":["TD Toolbeltを使用したスケジューリング"]},"を参照してください"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ワークフローから作成したSourceをトリガーする方法については、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/int/using-td-workflow-with-td-integrations"},"children":["Treasure ワークフローとIntegrationsの使用"]},"を参照してください"]}]}]},"headings":[{"value":"Hubspot インポート連携","id":"hubspot-インポート連携","depth":1},{"value":"前提条件","id":"前提条件","depth":2},{"value":"Treasure Data Integration の静的 IP アドレス","id":"treasure-data-integration-の静的-ip-アドレス","depth":2},{"value":"Treasure コンソールで新しい認証を作成する","id":"treasure-コンソールで新しい認証を作成する","depth":2},{"value":"ソースを作成する","id":"ソースを作成する","depth":2},{"value":"ソースデータを特定する","id":"ソースデータを特定する","depth":3},{"value":"データ設定の定義","id":"データ設定の定義","depth":3},{"value":"データのプレビュー","id":"データのプレビュー","depth":3},{"value":"データ配置の定義","id":"データ配置の定義","depth":3},{"value":"CLI(Toolbelt)を使用したHubSpotからのインポート","id":"clitoolbeltを使用したhubspotからのインポート","depth":2},{"value":"前提条件","id":"前提条件-1","depth":3},{"value":"一般的な手順","id":"一般的な手順","depth":3},{"value":"パラメータリファレンス","id":"パラメータリファレンス","depth":3},{"value":"例","id":"例","depth":3},{"value":"関連トピック","id":"関連トピック","depth":2}],"frontmatter":{"seo":{"title":"Hubspot インポート連携"}},"lastModified":"2026-06-01T09:34:27.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/int/hubspot-import-integration","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}