{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"REST API を使用したジャーニー内のアクティベーションの管理","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":"rest-api-を使用したジャーニー内のアクティベーションの管理","__idx":0},"children":["REST API を使用したジャーニー内のアクティベーションの管理"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["UI と同様に、REST API でアクティベーションを設定できます。ジャーニー内でのアクティベーションの作成、表示、更新に加えて、API を使用してオブジェクトを検証し、カスタマージャーニーとプロファイルを表示できます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["この記事には以下が含まれます:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#create-an-activation-inside-a-journey"},"children":["ジャーニー内でのアクティベーションの作成"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#request-sample"},"children":["リクエストサンプル"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#update-a-specified-activation-inside-a-journey"},"children":["ジャーニー内の指定されたアクティベーションの更新"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#request-sample-1"},"children":["リクエストサンプル"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#view-an-activation-inside-a-journey"},"children":["ジャーニー内のアクティベーションの表示"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#request-sample-2"},"children":["リクエストサンプル"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#verifying-objects-in-a-folder"},"children":["フォルダ内のオブジェクトの検証"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#request-sample-3"},"children":["リクエストサンプル"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#viewing-journey-statistics"},"children":["ジャーニー統計の表示"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#viewing-customer-profiles"},"children":["カスタマープロファイルの表示"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"ジャーニー内でのアクティベーションの作成","__idx":1},"children":["ジャーニー内でのアクティベーションの作成"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["指定されたジャーニー内でアクティベーションを作成できます。以下の例では、ジャーニー ID は 12345 です。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"リクエストサンプル","__idx":2},"children":["リクエストサンプル"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"curl -i -X POST \\\n https://api-cdp.treasuredata.com/entities/journeys/12345/syndications \\\n -H 'AUTHORIZATION: TD1 1/1234567891234567891234560001234567891234'\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n \"type\": \"journeyActivationStep\",\n \"attributes\": {\n \"syndication_params\": {\n \"scheduleType\": \"hourly\",\n \"scheduleOption\": \"00:00,\n \"timezone\": \"UTC\",\n \"connectorConfig\": {\n \"useKey\": false,\n \"spreadsheetTitle\": \"xxxx\",\n \"sheetTitle\": \"From Activation\",\n \"mode\": \"replace\",\n \"range\": \"A1\",\n \"rowsThreshold\": 5000,\n \"valueInputOption\": \"RAW\",\n \"setNilForDoubleNan\": true\n },\n \"connectionId\": \"135593\",\n \"name\": \"My Activation\",\n \"description\": \"\",\n \"columns\": [],\n \"allColumns\": true,\n \"emailRecipients\": [],\n \"notifyOn\": []\n }\n },\n \"relationships\": {\n \"journey\": {\n \"data\": {\n \"id\": ...,\n \"type\": \"journey\"\n }\n },\n \"createdBy\": {\n \"data\": {\n \"id\": ...,\n \"type\": \"user\"\n }\n }\n \"updatedBy\": {\n \"data\": {\n \"id\": ...,\n \"type\": \"user\"\n }\n }\n }\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"ジャーニー内の指定されたアクティベーションの更新","__idx":3},"children":["ジャーニー内の指定されたアクティベーションの更新"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["指定されたジャーニー内の特定のアクティベーションを更新できます。ジャーニー内の他のオブジェクトとは異なり、アクティベーションは指定されたジャーニーが起動された後でも更新できます。以下の例では、ジャーニー ID は 12345 で、アクティベーション ID は 678 です。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"リクエストサンプル-1","__idx":4},"children":["リクエストサンプル"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"curl -i -X PATCH \\\n https://api-cdp.treasuredata.com/entities/journeys/12345/syndications/678 \\\n -H 'AUTHORIZATION: TD1 1/1234567891234567891234560001234567891234'\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n \"type\": \"journeyActivationStep\",\n \"attributes\": {\n \"syndication_params\": {\n \"scheduleType\": \"hourly\",\n \"scheduleOption\": \"00:00,\n \"timezone\": \"UTC\",\n \"connectorConfig\": {\n \"useKey\": false,\n \"spreadsheetTitle\": \"xxxx\",\n \"sheetTitle\": \"From Activation\",\n \"mode\": \"replace\",\n \"range\": \"A1\",\n \"rowsThreshold\": 5000,\n \"valueInputOption\": \"RAW\",\n \"setNilForDoubleNan\": true\n },\n \"connectionId\": \"135593\",\n \"name\": \"My Activation\",\n \"description\": \"\",\n \"columns\": [],\n \"allColumns\": true,\n \"emailRecipients\": [],\n \"notifyOn\": []\n }\n }\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"ジャーニー内のアクティベーションの表示","__idx":5},"children":["ジャーニー内のアクティベーションの表示"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["指定されたジャーニー内の特定のアクティベーションを表示できます。以下の例では、ジャーニー ID は 12345 で、アクティベーション ID は 678 です。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"リクエストサンプル-2","__idx":6},"children":["リクエストサンプル"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"curl -i -X GET \\\nhttps://api-cdp.treasuredata.com/entities/journeys/12345/syndications/678 \\\n-H 'AUTHORIZATION: TD1 1/1234567891234567891234560001234567891234'\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"フォルダ内のオブジェクトの検証","__idx":7},"children":["フォルダ内のオブジェクトの検証"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["UI の  ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["objects"]}," と同様に、API で  ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["entities"]}," を表示できます。次の呼び出しは、セグメント、予測スコアリングモデル、フォルダ内の他のフォルダを含む、フォルダ内のすべてのエンティティを返します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ジャーニーが目的のフォルダ内に作成されていることを確認できます。次の例では、フォルダ ID は 295432 です。表示したい深さを指定することで、ネストされたフォルダを表示することもできます。以下の 30 として示される深さは、フォルダ内をどれだけ深く検索するかを示しています。最大 32 レベルの子フォルダが表示可能です。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"リクエストサンプル-3","__idx":8},"children":["リクエストサンプル"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"curl -i -X GET \\\n https://api-cdp.treasuredata.com/entities/by-folder/295432?depth=30\n -H 'AUTHORIZATION: TD1 1/1234567891234567891234560001234567891234'\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"ジャーニー統計の表示","__idx":9},"children":["ジャーニー統計の表示"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["statistics"]}," エンドポイントを呼び出すことで、ジャーニーの統計を表示できます。レスポンスには、ジャーニー全体の目標を達成したプロファイルの数(ジャーニーに設定されている場合)、各ステージにいるプロファイルの数、および終了基準を満たしてステージを終了したプロファイルの数(ステージに設定されている場合、およびプロファイルが終了した場合)が含まれます。以下の例では、ジャーニー ID は 12345 です。デフォルトでは、過去 30 日間(現在の日付を含む)の統計が表示されます。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"curl -i -X GET \\\n https://api-cdp.treasuredata.com/entities/journeys/12345/statistics \\\n -H 'AUTHORIZATION: TD1 1/1234567891234567891234560001234567891234'\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"カスタマープロファイルの表示","__idx":10},"children":["カスタマープロファイルの表示"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["customers"]}," エンドポイントを呼び出すことで、指定されたジャーニー内のカスタマープロファイルのリストを表示できます。以下の例では、ジャーニー ID は 12345 です。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"curl -i -X GET \\\n https://api-cdp.treasuredata.com/entities/journeys/12345/customers \\\n -H 'AUTHORIZATION: TD1 1/1234567891234567891234560001234567891234'\n","lang":"bash"},"children":[]}]},"headings":[{"value":"REST API を使用したジャーニー内のアクティベーションの管理","id":"rest-api-を使用したジャーニー内のアクティベーションの管理","depth":1},{"value":"ジャーニー内でのアクティベーションの作成","id":"ジャーニー内でのアクティベーションの作成","depth":1},{"value":"リクエストサンプル","id":"リクエストサンプル","depth":4},{"value":"ジャーニー内の指定されたアクティベーションの更新","id":"ジャーニー内の指定されたアクティベーションの更新","depth":1},{"value":"リクエストサンプル","id":"リクエストサンプル-1","depth":4},{"value":"ジャーニー内のアクティベーションの表示","id":"ジャーニー内のアクティベーションの表示","depth":1},{"value":"リクエストサンプル","id":"リクエストサンプル-2","depth":4},{"value":"フォルダ内のオブジェクトの検証","id":"フォルダ内のオブジェクトの検証","depth":1},{"value":"リクエストサンプル","id":"リクエストサンプル-3","depth":4},{"value":"ジャーニー統計の表示","id":"ジャーニー統計の表示","depth":1},{"value":"カスタマープロファイルの表示","id":"カスタマープロファイルの表示","depth":1}],"frontmatter":{"seo":{"title":"REST API を使用したジャーニー内のアクティベーションの管理"}},"lastModified":"2025-10-22T04:03:54.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/tools/cli-and-sdks/managing-activations-inside-a-journey-using-the-rest-api","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}