{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"type":"markdown"},"seo":{"title":"Amplitude Export Integration","description":"Treasure Data Product Documentation · Collect and Unify · Segment and Activate · Experiment and Analyze · Decisioning Automate with AI Scale and Trust.","siteUrl":"https://docs.treasuredata.com","lang":"en-US","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"amplitude-export-integration","__idx":0},"children":["Amplitude Export Integration"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/int/amplitude-import-integration"},"children":["Amplitude Import Integrationの詳細はこちら"]},"。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["クエリを使用して、Treasure Dataに保存されているデータからAmplitude Eventsを作成します。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"前提条件","__idx":1},"children":["前提条件"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://toolbelt.treasuredata.com/"},"children":["TD Toolbelt"]},"を含む、Treasure Dataの基本的な知識。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Treasure Dataに権限を付与できるAmplitudeアカウント。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"amplitudeアカウントの作成","__idx":2},"children":["Amplitudeアカウントの作成"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Amplitudeアカウントをお持ちでない場合は、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://amplitude.com"},"children":["https://amplitude.com"]},"にアクセスして登録してください。その後、組織とプロジェクトを作成します。プロジェクトを作成すると、そのプロジェクト用のAPIキーを受け取ります。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191015-204102.d8e623ccb1356233b369103256b541c008300351f8671363b1e41b5acf79ba12.ac838ae0.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"amplitudeユーザーアクティビティ","__idx":3},"children":["Amplitudeユーザーアクティビティ"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Amplitudeコンソールでは、ユーザーアクティビティを表示してAmplitudeイベントを探索できます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191015-204157.4933e33b2a38809116932902dff6da939ebab8393976abc99a3eb3fb715ecdb2.ac838ae0.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"使い方","__idx":4},"children":["使い方"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure コンソールに移動し、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://console.treasuredata.com/app/queries"},"children":["Queries"]},"を選択して新規クエリを選択し、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://console.treasuredata.com/app/queries/editor"},"children":["クエリエディタ"]},"にアクセスします。クエリ言語を選択してクエリを記述します。「結果を出力」を選択します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191015-204446.92ad1a8a4294b2d5a0c82ce41e900c420e056d3614d35256abdfa593730e3196.ac838ae0.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"新しいamplitude接続を作成するか既存の接続を選択する","__idx":5},"children":["新しいAmplitude接続を作成するか既存の接続を選択する"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["オプション"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["タスクステップ"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["ヒント"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["コネクタの作成"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["- ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://console.treasuredata.com/app/connections"},"children":["Connections"]},"に移動します。- ソースカタログからAmplitudeアイコンを選択します。- 最初のペインで必須フィールドに入力します。- APIキーフィールドに、Amplitudeで使用するキーを入力します。- シークレットキーフィールドでは、デフォルトエントリを削除してフィールドを空のままにします。次に、設定フィールドに入力します。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["クエリを記述する前に列マッピングを定義する必要がある場合があります。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["コネクタの選択"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["- ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://console.treasuredata.com/users/sign_in"},"children":["Treasure コンソール"]},"に移動します。- ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://console.treasuredata.com/app/queries/editor"},"children":["クエリエディタ"]},"に移動します。- データのエクスポートに使用する予定のクエリにアクセスします。- 「結果を出力」を選択します。保存された接続の選択ダイアログが開きます。- 検索ボックスに接続名を入力してフィルタリングし、使用する接続を選択します。次に、設定フィールドに入力します。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ここから「新しい接続を作成」を選択して新しい接続を作成することもできます。"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["新しい接続の作成:"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/screenshot-2025-05-27-at-17.21.18.ad8583bb91407a472a29830596437ffc6a621d5b2a0c0e1b2a6f41b9456e3db0.ac838ae0.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["APIキーを入力する必要があります。Amplitudeへの出力の場合、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["シークレットキー"]},"フィールドは空にする必要があります。必要に応じて、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["シークレットキー"]},"フィールドのデフォルトエントリを削除してください。リージョン: EUおよび米国(デフォルト)の各リージョンのデータセンターをサポート"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["既存の接続の選択:"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191015-204647.53330fa4d8f8a09f02ba5c5b4be49ac4bc53c80db317b0f27b0bc6b5923790f2.ac838ae0.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"オプション-追加設定を完了する","__idx":6},"children":["オプション: 追加設定を完了する"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["新しいAmplitude接続を作成するか既存の接続を選択した後、追加設定ポップアップが表示されます。例:"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/screenshot-2025-07-24-at-10.34.29.675050081dde9347eba1c4bdfec021f605f605c1ff9272a2b0608395feb66c9e.ac838ae0.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/screenshot-2025-07-24-at-10.34.42.79c4a87de276ab75d0d5596d58fe321d90d3555d5dd8cafdeeb2fd2f3fc6cfbc.ac838ae0.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["パラメータ"]}]},{"$$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":"td","attributes":{},"children":["データをアップロードする必要があるターゲットAmplitudeオブジェクト。サポート対象:   - Event - Identify"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Event"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["重複排除用のInsert IDの自動生成を無効化"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["デフォルトでは、TDは重複排除用のinsert_idsを自動的に生成します。詳細は",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/int/amplitude-export-integration#h1__1067497045"},"children":["Event Deduplication"]},"を参照してください。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["チェックなし"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Operation"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Amplitudeで実行する操作。サポートされる操作:   - Set - Set Once - Add - Append - Prepend - Unset - Pre Insert - Post Insert - Remove"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Add"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Region"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["EUおよびUS(デフォルト)の各リージョンのデータセンターをサポートします。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["US"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Number of events per batch"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["TDコネクタがAmplitudeへバッチとして送信するレコード数"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["10"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"amplitudeイベントを入力するためのクイッククエリを記述する","__idx":7},"children":["Amplitudeイベントを入力するためのクイッククエリを記述する"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["次の例では、クエリ結果を出力する",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["前"]},"に、Amplitudeプロジェクトにはイベントがありません:"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191015-205036.607dc0bf00bbe02a51a9c84b378f717f5910b6e9066a29f323e8f94cb506ff27.ac838ae0.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure Dataで、AmplitudeをResult Exportとして次のクエリを実行します:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"SQL","header":{"controls":{"copy":{}}},"source":"SELECT\n  user_id,\n  device_id,\n  event_type,\n  event_properties,\n  country,\n  time\nFROM (\n  VALUES(\n    'a@gmail.com',\n    'f925065b-4d56-486f-a2be-e97952e62925',\n    'game_open',\n    '{\"load_time\":0.0619166532,\"dates\":[\"sunday\",\"monday\"],\"source\":\"notification\"}',\n    'United States',\n    1515083919310\n  ),\n  (\n    'b@gmail.com',\n    'b36c8c80-71a0-4de4-8bcb-c801f5c1c6c3',\n    'select_avatar',\n    '{\"load_time\":0.0517593568,\"dates\":[\"friday\",\"sunday\"],\"source\":\"notification\"}]',\n    'United States',\n    1515083943092\n  ),\n  (\n    'c@gmail.com',\n    'e44a1024-c4bb-4eef-a02a-f2a7b3bf68b3',\n    'watch_tutorial',\n    '{\"load_time\":0.0689998562,\"dates\":[\"sunday\",\"monday\"],\"source\":\"notification\"}',\n    'United States',\n    1515083970894\n  ),\n  (\n    'd@gmail.com',\n    '8274fee1-7222-4e41-83ed-fb5521d5f4b8',\n    'game_start',\n    '{\"load_time\":0.0976384392,\"dates\":[\"friday\",\"monday\"],\"source\":\"notification\"}',\n    'United States',\n    1515084000948\n  ),\n  (\n    'e@gmail.com',\n    '29ba193d-0955-4084-9640-bb4d8ba9a23f',\n    'ad_clicked',\n    '{\"load_time\":0.0708434955,\"dates\":[\"monday\",\"saturday\"],\"source\":\"notification\"}',\n    'United States',\n  )\n) tbl(\n  user_id,\n  device_id,\n  event_type,\n  event_properties,\n  country,\n  time\n)\n","lang":"SQL"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["前述のクエリはソーステーブルを必要としないため、テストが簡単ですが、それでもデータベースを選択する必要があります。「sample_datasets」または他の任意のテーブルを選択してください。また、SQLダイアレクトとしてPrestoが選択されていることを確認してください。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["クエリは数秒で完了します。Amplitudeアカウントにログインし、User Activityを確認してください。次のように表示されるはずです:"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191015-205113.4c8093cc92f7dd49c142cf41187afcbe3c45ecdc09d794fd8cd9cd9fa50ca208.ac838ae0.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["クエリに含まれるすべてのカラムまたはエイリアスは、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://amplitude.zendesk.com/hc/en-us/articles/204771828-HTTP-API"},"children":["Amplitude API仕様"]},"に記載されている名前とデータ型を使用する必要があります。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"複数の値を単一のjson列値に結合する","__idx":8},"children":["複数の値を単一のJSON列値に結合する"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["複数の値がある場合、次のように単一のJSON列値に結合できます:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"SQL","header":{"controls":{"copy":{}}},"source":"SELECT CAST(MAP(ARRAY['source', 'status', 'action'], ARRAY['notification', 'pending', 'add']) AS JSON) AS event_properties\n","lang":"SQL"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["これにより、event_propertiesのシンプルなJSONオブジェクトが作成されます: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'{\"action\":\"add\",\"source\":\"notification\",\"status\":\"pending\"}'"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["次のように、より複雑な列を作成できます:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"SQL","header":{"controls":{"copy":{}}},"source":"SELECT CAST(MAP(ARRAY['load_time', 'source', 'dates'], ARRAY[CAST (0.8371 AS JSON), CAST ('notification' AS JSON), CAST(ARRAY['monday', 'tuesday'] AS JSON)]) AS JSON) AS event_properties\n","lang":"SQL"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["これにより、event_properties値として次のJSONオブジェクトが作成されます: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'{\"dates\":[\"monday\",\"tuesday\"],\"load_time\":0.8371,\"source\":\"notification\"}'"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"amplitudeイベントを生成するためのtdテーブルへのクエリを記述する","__idx":9},"children":["Amplitudeイベントを生成するためのTDテーブルへのクエリを記述する"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Amplitudeのレコードを作成するために使用できるTDデータベーステーブルの例は次のとおりです:"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191015-205228.599b306b35ce12968b9d8856b1350d1cfda8663f643f53ef5701c44eb2428a8e.ac838ae0.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure コンソールで、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://console.treasuredata.com/app/queries/editor"},"children":["クエリエディタ"]},"に移動し、クエリを入力します。例:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"SQL","header":{"controls":{"copy":{}}},"source":"SELECT user_id, device_id, event_type, event_properties, country, event_time AS time FROM events\n","lang":"SQL"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Output resultsを選択して、データをAmplitudeに送信します。次に、既存のコネクタを選択するか、api_keyを使用して新しい接続を作成します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["コネクタが選択または作成されたら、クエリエディタでRunを選択してデータ転送を開始します。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"event-deduplication","__idx":10},"children":["Event Deduplication"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Amplitudeによって重複イベントが保存されないように、各イベントにinsert_idを送信することを強くお勧めします。insert_idはイベントの一意の識別子です。Amplitudeは、同じinsert_idを持つイベントが7日以内に送信された場合、それらのイベントを削除します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Insert IDの自動生成を無効にしないと、TDは各レコードに対して自動的にSHA256のinsert_idを生成します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Insert IDの自動生成を無効にする場合、insert_idはユーザーが提供する必要があります。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"amplitude列","__idx":11},"children":["Amplitude列"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["次の表は、Amplitudeでサポートされているイベント列とデータ型の一覧です。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"イベント標準列","__idx":12},"children":["イベント標準列"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["キー"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["説明"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["user_id string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["(device_idが存在しない場合は必須) ユーザーが指定する読み取り可能なID。例: \"datamonster@gmail.com\""]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["device_id string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["(user_idが存在しない場合は必須) デバイス固有の識別子。iOSのIdentifier for Vendorなど。例: \"C8F9E604-F01A-4BD9-95C6-8E5357DF265D\""]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["event_type string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["(必須) イベントの一意の識別子。例: \"watch_tutorial\""]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["time long"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["エポックからのミリ秒単位のイベントのタイムスタンプ。デフォルトではアップロード時刻に設定されます。例: 1396381378123"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["event_properties4 json"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["{\"load_time\": 0.8371, \"source\": \"notification\", \"dates\": [\"monday\", \"tuesday\"]}"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["user_properties4 json"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["{\"age\": 25, \"gender\": \"female\", \"interests\": [\"chess\", \"football\", \"music\"]}"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["groups4 json"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["(Enterpriseのみ) {\"company_id\": \"1\", \"company_name\":[\"Amplitude\", \"DataMonster\"]}"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["app_version"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ユーザーが使用しているアプリケーションのバージョン。例: \"2.1.3\""]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["platform1,2 string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["デバイスのプラットフォーム。例: \"iOS\"、\"Android\"、または \"Web\""]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["os_name1,2 string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ユーザーが使用しているモバイルオペレーティングシステムまたはブラウザ。例: \"iOS\"、\"Android\"、\"Chrome\""]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["os_version1,2 string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ユーザーが使用しているモバイルオペレーティングシステムまたはブラウザのバージョン。例: \"8.1\"、\"4.2.2\"、\"37\""]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["device_brand1,2 string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ユーザーが使用しているデバイスブランド。例: \"Verizon\""]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["device_manufacturer1,2 string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ユーザーが使用しているデバイスメーカー。例: \"Samsung\"、\"Asus\"、\"Apple\""]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["device_model1,2 string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ユーザーが使用しているデバイスモデル。例: \"Mac\"、\"iphone 9,1\"、\"sm-g30f\""]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["carrier1,2 string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["デバイスのキャリア。例: \"Verizon\""]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["country1,3 string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ユーザーがいる国。例: \"United States\""]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["region1,3 string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ユーザーがいる地理的地域。例: \"California\""]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["city1,3 string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ユーザーがいる都市。例: \"San Francisco\""]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["dma1,3 string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ユーザーのDesignated Market Area。例: \"San Francisco-Oakland-San Jose, CA\""]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["language1 string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ユーザーが設定している言語。例: \"English\""]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["price5 float"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["(revenueが送信されない場合、売上データに必須) 購入したアイテムの価格。負の値を使用して返金を示すことができます。例: 4.99、-1.99"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["quantity5 integer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["(売上データに必須。指定されない場合のデフォルトは1) 購入したアイテムの数量。例: 1、2"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["revenue5 float"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["revenue = price * quantity  price、quantity、revenueの3つのフィールドをすべて送信する場合、(price * quantity) が優先され、売上値になります。負の値を使用して返金を示すことができます。例: 4.99、-1.99"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["productId5 string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["製品の識別子。注: このフィールドにはpriceとquantityを送信する必要があります。例: \"Google Play Store Product Id\"、\"Medium Bundle\""]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["revenueType5 string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["売上のタイプ。注: このフィールドにはpriceとquantityを送信する必要があります。例: \"tax\"、\"refund\""]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["location_lat float"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ユーザーの緯度。例: 37.77"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["location_lng float"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ユーザーの経度。例: -122.39"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ip1 string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ユーザーのIPアドレス。サーバーのIPアドレスを使用する場合は\"$remote\"を使用します。例: \"127.0.0.1\""]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["idfa string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["(iOS) Identifier for Advertiser。例: \"AEBE52E7-03EE-455A-B3C4-E57283966239\""]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["idfv string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["(iOS) Identifier for Vendor。例: \"BCCE52E7-03EE-321A-B3D4-E57123966239\""]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["adid string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["(Android) Google Play Services advertising ID (AdID)。例: \"AEBE52E7-03EE-455A-B3C4-E57283966239\""]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://amplitude.zendesk.com/hc/en-us/articles/204771828#footnotes"},"children":["1,2,3,4,5の脚注を表示"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"イベントオプション列","__idx":13},"children":["イベントオプション列"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["オプションのAmplitude固有キー"]}]},{"$$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":["event_id int"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["同じuser_idとタイムスタンプを持つイベントを区別するための増分カウンター。注: 特にイベントが同時に発生する可能性がある場合は、時間とともに増加するevent_idを送信することをお勧めします。session_idを送信するためにevent_idは必須ではありません。例: 1"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["session_id long"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["セッションの開始時刻はエポック(Unix Timestamp)からのミリ秒単位で表され、イベントを特定のセッションに関連付ける場合に必要です(session_idが-1の場合、session_idを送信していないことを意味し、セッションメトリクスは追跡されません)。詳細については、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://help.amplitude.com/hc/en-us/articles/115002323627-Sessions"},"children":["AmplitudeでのSession追跡"]},"を参照してください。例: 1396381378123"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["insert_id string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["挿入されるイベントの一意の識別子。互いに7日以内に送信された同じinsert_idを持つイベントの重複を排除します。device_id、user_id、session_id、event_type、event_id、またはtimeの組み合わせが、十分なinsert_id値として機能する可能性があります。例: \"f47ac10b-58cc-4372-a567-0e02b2c3d479\""]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"identifyスキーマとデータ型","__idx":14},"children":["Identifyスキーマとデータ型"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["列名"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["データ型"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["必須?"]}]},{"$$mdtype":"Tag","name":"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":["device_id"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["条件付き"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["user_id"]},"が存在しない場合は必須"]},"。iOSのIdentifier for Vendor(IDFV)など、デバイス固有の識別子。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["user_properties_x"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String, Plattent to build an array"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["オプション"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ユーザーに紐づくデータを表すキーと値のペアの辞書。個別の値はAmplitudeダッシュボード上でユーザーセグメントとして表示されます。オブジェクトの深さは40層を超えてはいけません。プロパティ値を配列に格納でき、日付値は文字列値に変換されます。Amplitudeは日付を文字列として比較するため、ISO 8601形式(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["YYYY-MM-DDTHH:mm: ss"]},")の使用を推奨します。これにより、Webアプリで日付比較を実行できます。例:'2016-01-31' > '2016-01-01')。これは'2017-08-07T10:09:08' > '2017-08-07T01:07:00'のような日時値にも適用されます。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["app_version"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["オプション"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ユーザーが使用しているアプリのバージョン。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["platform"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["オプション"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["データを送信しているプラットフォーム。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["os_name"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["オプション"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ユーザーが使用しているモバイルオペレーティングシステムまたはブラウザ。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["os_version"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["オプション"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ユーザーが使用しているモバイルオペレーティングシステムまたはブラウザのバージョン。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["device_brand"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["オプション"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ユーザーが使用しているデバイスのブランド。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["device_manufacturer"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["オプション"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ユーザーが使用しているデバイスの製造元。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["device_model"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["オプション"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ユーザーが使用しているデバイスのモデル。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["carrier"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["オプション"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ユーザーが契約しているキャリア。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["country"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["オプション"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ユーザーが所在する国。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["region"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["オプション"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ユーザーが所在する地理的地域。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["city"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["オプション"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ユーザーが所在する都市。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["dma"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["オプション"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ユーザーのDesignated Market Area。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["language"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["オプション"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ユーザーが設定している言語。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["paying"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["オプション"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ユーザーが課金ユーザーかどうか。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["start_version"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["オプション"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ユーザーが最初に使用していたアプリのバージョン。"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"user-properties-fields-identify-target-only","__idx":15},"children":["User Properties Fields (Identify Target Only)"]},{"$$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":["User Property (Key)"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Description"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Sample Value"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Type"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["cohort"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["行動セグメントまたは実験グループ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["\"Beta Users\""]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["subscription_plan"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ユーザーのサブスクリプションレベル"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["\"Pro\""]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["signup_date"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ユーザーの登録日(ISO形式)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["\"2025-01-01\""]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["timestamp"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["onboarding_complete"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ユーザーがオンボーディングを完了したかどうか"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["true"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["boolean"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["login_count"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ログインの総回数"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["5"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["long"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["referrer_code"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["使用された招待/紹介コード"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["\"ABC123\""]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["utm_source"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["マーケティングキャンペーンのソース"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["\"Facebook\""]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["utm_medium"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["キャンペーンチャネルのタイプ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["\"email\""]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["utm_campaign"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["キャンペーン名"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["\"BlackFriday2025\""]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["last_purchase_date"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["最後に購入が成功した日付"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["\"2025-05-01\""]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["timestamp"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["has_active_subscription"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ユーザーがアクティブなサブスクリプションを持っているか"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["false"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["boolean"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["features_enabled"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["有効になっている機能フラグのリスト"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["[\"chat\", \"dark_mode\"]"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["interests"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ユーザーの興味"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["[\"music\", \"sports\"]"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["feedback_rating"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ユーザーからのフィードバック評価(例:1から5)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["4"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["double"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["survey_completed"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ユーザーがアンケートを送信したかどうか"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["true"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["boolean"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["preferred_language"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["UI/表示言語の設定"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["\"en\""]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["lifetime_value"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ユーザーが生成した総価値(例:USD)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["129.99"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["double"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["has_push_enabled"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["プッシュ通知が有効かどうか"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["true"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["boolean"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["demo_attended"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ユーザーがデモコール/ウェビナーに参加したかどうか"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["false"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["boolean"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["team_size"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["チームまたは組織のサイズ(B2Bユースケース向け)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["50"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["long"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["または、Identify Schemaリストの列にない任意のフィールドはuser_propertiesの列となります。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"audience-studio-で-segment-をアクティベートする","__idx":16},"children":["Audience Studio で Segment をアクティベートする"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Audience Studio で activation を作成することで、segment データをターゲットプラットフォームに送信することもできます。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Audience Studio"]}," に移動します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["parent segment を選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ターゲット segment を開き、右クリックして、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create Activation"]}," を選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Details"]}," パネルで、Activation 名を入力し、前述の Configuration Parameters のセクションに従って activation を設定します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Output Mapping"]}," パネルで activation 出力をカスタマイズします。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/ouput.b2c7f1d909c4f98ed10f5300df858a4b19f71a3b0834df952f5fb24018a5ea78.8ebdf569.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Attribute Columns",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Export All Columns"]}," を選択すると、変更を加えずにすべての列をエクスポートできます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["+ Add Columns"]}," を選択して、エクスポート用の特定の列を追加します。Output Column Name には、Source 列名と同じ名前があらかじめ入力されます。Output Column Name を更新できます。",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["+ Add Columns"]}," を選択し続けて、activation 出力用の新しい列を追加します。"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["String Builder",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["+ Add string"]}," を選択して、エクスポート用の文字列を作成します。次の値から選択します:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["String: 任意の値を選択します。テキストを使用してカスタム値を作成します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Timestamp: エクスポートの日時。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Segment Id: segment ID 番号。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Segment Name: segment 名。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Audience Id: parent segment 番号。"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":6},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Schedule"]}," を設定します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/snippet-output-connector-on-audience-studio-2024-08-28.a99525173709da1eb537f839019fa7876ffae95045154c8f2941b030022f792c.8ebdf569.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["スケジュールを定義する値を選択し、オプションでメール通知を含めます。"]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":7},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create"]}," を選択します。"]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["batch journey の activation を作成する必要がある場合は、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/journey-orchestration/batch/creating-a-batch-journey-activation"},"children":["Creating a Batch Journey Activation"]}," を参照してください。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"オプション-query-export-ジョブをスケジュールする","__idx":17},"children":["(オプション) Query Export ジョブをスケジュールする"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Scheduled Jobs と Result Export を使用して、指定したターゲット宛先に出力結果を定期的に書き込むことができます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure Data のスケジューラー機能は、高可用性を実現するために定期的なクエリ実行をサポートしています。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["2 つの仕様が競合するスケジュール仕様を提供する場合、より頻繁に実行するよう要求する仕様が優先され、もう一方のスケジュール仕様は無視されます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["例えば、cron スケジュールが ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'0 0 1 * 1'"]}," の場合、「月の日」の仕様と「週の曜日」が矛盾します。前者の仕様は毎月 1 日の午前 0 時 (00:00) に実行することを要求し、後者の仕様は毎週月曜日の午前 0 時 (00:00) に実行することを要求するためです。後者の仕様が優先されます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"treasure-コンソール-を使用してジョブをスケジュールする","__idx":18},"children":["Treasure コンソール を使用してジョブをスケジュールする"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data Workbench > Queries"]}," に移動します"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["新しいクエリを作成するか、既存のクエリを選択します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Schedule"]}," の横にある None を選択します。"," ",{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2021-1-15_17-28-51.f1b242f6ecc7666a0097fdf37edd1682786ec11ef80eff68c66f091bc405c371.0f87d8d4.png","alt":""},"children":[]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ドロップダウンで、次のスケジュールオプションのいずれかを選択します:"," ",{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2021-1-15_17-29-47.45289a1c99256f125f4d887e501e204ed61f02223fde0927af5f425a89ace0c0.0f87d8d4.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"ドロップダウン値"},"children":["ドロップダウン値"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Custom cron..."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#custom-cron-details"},"children":["Custom cron... の詳細"]},"を参照してください。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["@daily (midnight)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["指定されたタイムゾーンで 1 日 1 回午前 0 時 (00:00 am) に実行します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["@hourly (:00)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["毎時 00 分に実行します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["None"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["スケジュールなし。"]}]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"custom-cron-の詳細","__idx":19},"children":["Custom cron... の詳細"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2021-1-15_17-30-23.0f94a8aa5f75ea03e3fec0c25b0640cd59ee48d1804a83701e5f2372deae466c.0f87d8d4.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Cron 値"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["説明"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["0 * * * *"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["1 時間に 1 回実行します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["0 0 * * *"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["1 日 1 回午前 0 時に実行します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["0 0 1 * *"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["毎月 1 日の午前 0 時に 1 回実行します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["\"\""]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["スケジュールされた実行時刻のないジョブを作成します。"]}]}]}]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":" *    *    *    *    *\n -    -    -    -    -\n |    |    |    |    |\n |    |    |    |    +----- day of week (0 - 6) (Sunday=0)\n |    |    |    +---------- month (1 - 12)\n |    |    +--------------- day of month (1 - 31)\n |    +-------------------- hour (0 - 23)\n +------------------------- min (0 - 59)\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["次の名前付きエントリを使用できます:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Day of Week: sun, mon, tue, wed, thu, fri, sat."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Month: jan, feb, mar, apr, may, jun, jul, aug, sep, oct, nov, dec."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["各フィールド間には単一のスペースが必要です。各フィールドの値は、次のもので構成できます:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"fixed-table"},"children":[{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"width":"35%","data-label":"フィールド値"},"children":["フィールド値 "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"20%","data-label":"例"},"children":["例 "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"45%","data-label":"例の説明"},"children":["例の説明 "]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["各フィールドに対して上記で表示された制限内の単一の値。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["フィールドに基づく制限がないことを示すワイルドカード"," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'*'"]},"。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'0 0 1 * *'"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["毎月 1 日の午前 0 時 (00:00) に実行するようにスケジュールを設定します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["範囲 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'2-5'"]}," ","フィールドの許可される値の範囲を示します。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'0 0 1-10 * *'"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["毎月 1 日から 10 日までの午前 0 時 (00:00) に実行するようにスケジュールを設定します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["カンマ区切りの値のリスト ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'2,3,4,5'"]}," ","フィールドの許可される値のリストを示します。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["0 0 1,11,21 * *'"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["毎月 1 日、11 日、21 日の午前 0 時 (00:00) に実行するようにスケジュールを設定します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["周期性インジケータ ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'*/5'"]}," ","フィールドの有効な値の範囲に基づいて、"," ","スケジュールが実行を許可される頻度を表現します。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'30 */2 1 * *'"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["毎月 1 日、00:30 から 2 時間ごとに実行するようにスケジュールを設定します。"," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'0 0 */5 * *'"]}," は、毎月 5 日から 5 日ごとに午前 0 時 (00:00) に実行するようにスケジュールを設定します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'*'"]}," ","ワイルドカードを除く上記の"," ","いずれかのカンマ区切りリストもサポートされています"," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'2,*/5,8-10'"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'0 0 5,*/10,25 * *'"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["毎月 5 日、10 日、20 日、25 日の午前 0 時 (00:00) に実行するようにスケジュールを設定します。"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["(オプション) Delay execution を有効にすることで、クエリの開始時刻を遅延させることができます。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"オプション-cliを使用したエクスポート連携","__idx":20},"children":["(オプション) CLIを使用したエクスポート連携"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["CLI(Toolbelt)を使用して、td queryコマンドの--resultオプションで、Shopifyサーバーにエクスポートする情報を指定することで、結果をShopifyにエクスポートすることもできます。td queryコマンドの詳細については、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/tools/cli-and-sdks/api#query-commands"},"children":["TD Toolbelt: Query Commands"]},"を参照してください。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["TD Toolbeltで使用されるyml設定ファイルのオプションはJSON形式であり、一般的な構造は以下の通りです。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Event Targetの場合"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"out:\n  api_key: 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'\n  target: 'event'\n  disable_auto_generation_insert_ids: false\n  region: 'US'\n  events_per_batch: 10\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Identifyターゲットの場合"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"out:\n  type: amplitude\n  target: identify\n  api_key: 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'\n  region: EU\n  operation: set\n  skip_invalid_records: false\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["パラメータ"]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"名前"},"children":["名前"]},{"$$mdtype":"Tag","name":"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":["コネクタタイプ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["amplitude"]},{"$$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":["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":["はい"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["target"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["データをアップロードするAmplitudeターゲットオブジェクト"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["サポートされる値:   - event - identify"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["event"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["はい"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["region"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["AmplitudeデータをエクスポートするためのAPIリージョン"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["サポートされる値:  - US - EU"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["US"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["はい"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["operation"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Amplitudeで実行する操作"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["サポートされる値: - set - set_once - add - append - prepend - unset - pre_insert - post_insert - remove"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["add"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["はい"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["disable_auto_generation_insert_ids"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["insert_idの自動生成を無効にする"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["False"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["N/A"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["events_per_batch"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["イベントバッチサイズ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["整数"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["10"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["N/A"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["skip_invalid_records"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["無効なレコードのスキップを有効にする"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["TrueまたはFalse"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["True"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["N/A"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"cliの使用例","__idx":21},"children":["CLIの使用例"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["イベントのアップロード"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"td query \\\n--result '{\"type\":\"amplitude\",\"api_key\":\"api_key\",\"target\":\"event\",\"region\":\"US\",\"disable_auto_generation_insert_ids\":\"false\",\"events_per_batch\":10}'  \\\n-d sample_database \\\n\"select user_id,device_id,event_type,value from tbl_shop\" \\\n-T presto\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Identifyのアップロード"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"td query --result \\\n'{\"type\":\"amplitude\",\"api_key\":\"api_key\",\"target\":\"identify\",\"region\":\"US\",\"operation\":\"add\",\"skip_invalid_records\":true}'\\\n-d sample_database \\\n\"select user_id,device_id,user_properties,value from tbl_shop\" \\\n-T presto\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"関連項目","__idx":22},"children":["関連項目"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Result Exportをスケジュールして、定期的にターゲット先にデータをアップロードできます。",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://docs.treasuredata.com/smart/project-product-documentation/scheduling-jobs-using-td-console"},"children":["Treasure コンソールを使用したジョブのスケジューリング"]},"を参照してください。"]}]}]},"headings":[{"value":"Amplitude Export Integration","id":"amplitude-export-integration","depth":1},{"value":"前提条件","id":"前提条件","depth":1},{"value":"Amplitudeアカウントの作成","id":"amplitudeアカウントの作成","depth":2},{"value":"Amplitudeユーザーアクティビティ","id":"amplitudeユーザーアクティビティ","depth":2},{"value":"使い方","id":"使い方","depth":2},{"value":"新しいAmplitude接続を作成するか既存の接続を選択する","id":"新しいamplitude接続を作成するか既存の接続を選択する","depth":2},{"value":"オプション: 追加設定を完了する","id":"オプション-追加設定を完了する","depth":2},{"value":"Amplitudeイベントを入力するためのクイッククエリを記述する","id":"amplitudeイベントを入力するためのクイッククエリを記述する","depth":2},{"value":"複数の値を単一のJSON列値に結合する","id":"複数の値を単一のjson列値に結合する","depth":2},{"value":"Amplitudeイベントを生成するためのTDテーブルへのクエリを記述する","id":"amplitudeイベントを生成するためのtdテーブルへのクエリを記述する","depth":2},{"value":"Event Deduplication","id":"event-deduplication","depth":1},{"value":"Amplitude列","id":"amplitude列","depth":1},{"value":"イベント標準列","id":"イベント標準列","depth":2},{"value":"イベントオプション列","id":"イベントオプション列","depth":2},{"value":"Identifyスキーマとデータ型","id":"identifyスキーマとデータ型","depth":1},{"value":"User Properties Fields (Identify Target Only)","id":"user-properties-fields-identify-target-only","depth":1},{"value":"Audience Studio で Segment をアクティベートする","id":"audience-studio-で-segment-をアクティベートする","depth":2},{"value":"(オプション) Query Export ジョブをスケジュールする","id":"オプション-query-export-ジョブをスケジュールする","depth":3},{"value":"Treasure コンソール を使用してジョブをスケジュールする","id":"treasure-コンソール-を使用してジョブをスケジュールする","depth":4},{"value":"Custom cron... の詳細","id":"custom-cron-の詳細","depth":4},{"value":"(オプション) CLIを使用したエクスポート連携","id":"オプション-cliを使用したエクスポート連携","depth":2},{"value":"CLIの使用例","id":"cliの使用例","depth":3},{"value":"関連項目","id":"関連項目","depth":2}],"frontmatter":{"seo":{"title":"Amplitude Export Integration"}},"lastModified":"2026-06-01T09:34:27.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/int/amplitude-export-integration","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}