{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition","img"]},"type":"markdown"},"seo":{"title":"モバイルIn-Appメッセージング概要","description":"Engage StudioのモバイルIn-Appメッセージング機能とRealtime Personalization 2.0を使用して、モバイルアプリユーザーにパーソナライズされたモーダルメッセージを配信する方法を説明します。","siteUrl":"https://docs.treasure.ai","lang":"en-US","jsonLd":{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://www.treasure.ai/","name":"Treasure AI","url":"https://www.treasure.ai/","logo":"https://www.treasure.ai/hubfs/assets/images/logos/primary-logo.svg"},{"@type":"WebSite","@id":"https://docs.treasure.ai/#website","name":"Treasure AI Documentation","url":"https://docs.treasure.ai/","inLanguage":["en","ja"],"publisher":{"@id":"https://www.treasure.ai/"}}]},"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":"モバイルin-appメッセージング","__idx":0},"children":["モバイルIn-Appメッセージング"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning","name":"Beta"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["モバイルIn-Appメッセージングは現在Betaです。将来のリリースでネイティブSDKの提供を予定しています。"," ","現在の実装方法については、カスタマーサクセス担当までご相談ください。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure DataのEngage Studioに搭載されたモバイルIn-Appメッセージング機能を使用すると、マーケターはモバイルアプリ内にパーソナライズされた視覚的に豊かなメッセージを直接配信できます。プッシュ通知とは異なり、In-Appメッセージはユーザーがアプリを積極的に操作している間に表示されるため、オンボーディングフロー、プロモーションオファー、コンテキストに応じたお知らせなどに最適です。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"前提条件","__idx":1},"children":["前提条件"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In-Appメッセージを作成する前に、以下のセットアップが完了していることを確認してください。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["RT 2.0が有効化"]},"されていること（Treasure アカウント）"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["RTイベント"]},"がモバイルアプリに実装され、Treasure Dataにデータが流入していること"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["IDスティッチング"]},"が設定され、イベント間でユーザーIDが名寄せされていること"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Realtime Personalization"]},"エントリーおよびセクションが、関連するペアレントセグメントを使用してAudience Studioで作成済みであること"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["お客様のモバイルアプリにRT 2.0 Personalization APIの呼び出しと、返されたHTMLをポップアップとして表示する実装が済んでいること"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"in-appメッセージ一覧","__idx":2},"children":["In-Appメッセージ一覧"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Engage Studioで ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["IN-PRODUCT EXPERIENCES > In-App Messages"]}," に移動すると、ワークスペース内のすべてのIn-Appメッセージが一覧表示されます。各行には以下の情報が表示されます。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Status"]}," — Draft、Live、または Paused"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Message ID"]}," — システムが自動生成する一意の識別子"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Name"]}," — キャンペーン名"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Parent Segment"]}," — ターゲティングに使用するRT 2.0のペアレントセグメント"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Last Updated"]}," — 最終更新日時"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["右上の ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["+ Create in-app message"]}," をクリックして新しいキャンペーンを作成します。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"in-appメッセージの作成","__idx":3},"children":["In-Appメッセージの作成"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In-Appメッセージの作成は2つのステップで行います。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"ステップ-1--target-audience","__idx":4},"children":["ステップ 1 — Target Audience"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["以下を選択してターゲティングを設定します。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Target Parent Segment"]}," — このメッセージを受け取る対象ユーザーを定義するRT 2.0のペアレントセグメント。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Personalization"]}," — Personalizationセクションに定義されたエントリー基準に基づいてリアルタイム配信を制御する、既存のRT 2.0 Personalization。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Personalization section"]}," — 選択したPersonalization内の、このメッセージのコンテンツを格納する特定のセクション。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["これらはEngage StudioでIn-Appメッセージを作成する前に、Audience Studioで設定しておく必要があります。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"ステップ-2--message-content","__idx":5},"children":["ステップ 2 — Message Content"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["メッセージの詳細とデザインを設定します。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Message ID"]}," — このメッセージの自動生成された一意の識別子。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Name"]},"（必須） — In-Appメッセージ一覧に表示されるメッセージの名前。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Description"]},"（任意） — メッセージに関する社内向けメモ。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Message Content"]}," — ユーザーのアプリ内に表示されるモーダルをデザインします。"]}]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/message-content-live.994f82be0edbe67cfa36cee0152a0cace5ef7ba43cc0d5322da6194b52a72440.78a3e7a8.png","framed":false,"withLightbox":true},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["新規メッセージ作成時（Draftステータス）は ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["+ Create in-app message"]}," をクリックするとドラッグアンドドロップエディターが開きます。保存後は ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Message Content"]}," セクションにデザイン済みのモーダルプレビューが表示されます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"ドラッグアンドドロップエディター","__idx":6},"children":["ドラッグアンドドロップエディター"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["エディターの右パネルには3つのタブがあります。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["CONTENT"]}," — 画像、テキスト、ボタンなどのコンテンツブロックを追加・設定します。ブロックを選択すると、そのプロパティ（画像URL、alt テキスト、配置、角の丸み、アクションリンクなど）が表示されます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["ROWS"]}," — モーダルの行レイアウトを管理します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["SETTINGS"]}," — 背景色やパディングなど、モーダル全体のグローバル設定を行います。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["左上の ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Preview mode"]}," トグルを使用すると、ユーザーに表示されるモーダルの見た目を確認できます。",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Done"]}," をクリックするとデザインを保存してメッセージ設定画面に戻ります。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ページ下部のナビゲーションボタンでステップ間を移動できます。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Back"]}," — Target Audienceステップに戻ります。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next"]}," — 次に進みます（必須フィールド入力済みの場合に有効）。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Pause"]}," / ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Launch"]}," — この画面から直接キャンペーンのステータスを変更します。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"起動と一時停止","__idx":7},"children":["起動と一時停止"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["メッセージコンテンツが完成したら、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Launch"]}," をクリックしてメッセージを配信開始します。Engage Studioは連携しているRT 2.0 PersonalizationセクションのString Builder設定内のIn-Appメッセージ設定を自動的に更新します。なお、配信はRT 2.0の伝播に依存するため、起動直後にアプリへ即時反映されない場合があります。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["配信を停止するには ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Pause"]}," をクリックします。これにより、連携しているPersonalizationセクションのString Builder設定からIn-Appメッセージ設定が削除されます。編集後はいつでも再起動できます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"キャンペーンのライフサイクル","__idx":8},"children":["キャンペーンのライフサイクル"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In-Appメッセージは以下のステータスを移行します。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"DRAFT ──起動──> LIVE ──一時停止──> PAUSED ──起動──> LIVE\n"},"children":[]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Draft（下書き）"]},": 作成済みだがまだ配信されていません。すべての設定を自由に編集できます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Live（配信中）"]},": 現在ユーザーへの配信中です。設定は編集できません。変更するにはキャンペーンを一時停止してください。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Paused（一時停止中）"]},": 配信が停止されています。再起動前にすべての設定を編集できます。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"仕組み","__idx":9},"children":["仕組み"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["モバイルIn-Appメッセージングは、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Realtime Personalization 2.0（RT 2.0）"]}," を基盤として構築されています。ユーザーがモバイルアプリ内でイベント（ページビューやセッション開始など）をトリガーすると、お客様のアプリがRT 2.0 Personalization APIを呼び出します。対象のIn-Appメッセージが設定されており、ユーザーがターゲットセグメントに属している場合、APIはメッセージのHTMLを返し、アプリがそれをモーダルオーバーレイとして表示します。繰り返し表示時のAPI呼び出しを削減するため、必要に応じてメッセージコンテンツをお客様のアプリ側でキャッシュすることもできます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"engage-studioがrt-20を更新する仕組み","__idx":10},"children":["Engage StudioがRT 2.0を更新する仕組み"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Engage StudioでIn-Appメッセージを ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Launch"]}," すると、プラットフォームは連携しているRT 2.0 Personalizationセクションのペイロードを自動的に更新します。セクションには、お客様のアプリが実行時に読み取る3つのString Builderの出力値が格納されます。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_in_app.versions"]}," — メッセージのバージョンメタデータ。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_in_app.messages"]}," — メッセージオブジェクトのJSON配列。各オブジェクトには以下のフィールドが含まれます。"]},{"$$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":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string（UUID）"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["メッセージの一意な識別子。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["type"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["メッセージタイプ。現在は常に ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["modal"]},"。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["content_html"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["アプリが表示するモーダルのHTML全文。"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_in_app.created_at_milliseconds"]}," — キャッシュの無効化に使用される作成タイムスタンプ。"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["メッセージを一時停止すると、String Builder設定からIn-Appメッセージ設定が削除され、アプリはそれ以降メッセージを受け取らなくなります。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"アプリがメッセージを表示する仕組み","__idx":11},"children":["アプリがメッセージを表示する仕組み"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["お客様のアプリは、該当するイベント（例：",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["app_open"]},"）でP13N APIを呼び出し、レスポンスの ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_in_app.messages"]}," フィールドを解析して、HTMLをポップアップとして表示します。現状では、具体的な表示方法はお客様のアプリ実装に依存します。この処理を自動的に行うTreasure Data SDKは、将来のリリースで提供予定です。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"エンドツーエンドのメッセージ配信フロー","__idx":12},"children":["エンドツーエンドのメッセージ配信フロー"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"1. ユーザーがアプリを開く、または画面を遷移する\n        ↓\n2. お客様のアプリがRT 2.0 Personalization APIを呼び出す\n        ↓\n3. Personalization APIがターゲティングを評価する（ペアレントセグメント＋セクション）\n        ↓\n4. 対象のIn-Appメッセージが存在する場合 → APIがメッセージHTMLを返す\n        ↓\n5. お客様のアプリがHTMLをモーダルオーバーレイとして表示する\n        ↓\n6. ユーザーがメッセージを閲覧、操作、または閉じる\n"},"children":[]}]},"headings":[{"value":"モバイルIn-Appメッセージング","id":"モバイルin-appメッセージング","depth":1},{"value":"前提条件","id":"前提条件","depth":2},{"value":"In-Appメッセージ一覧","id":"in-appメッセージ一覧","depth":2},{"value":"In-Appメッセージの作成","id":"in-appメッセージの作成","depth":2},{"value":"ステップ 1 — Target Audience","id":"ステップ-1--target-audience","depth":3},{"value":"ステップ 2 — Message Content","id":"ステップ-2--message-content","depth":3},{"value":"ドラッグアンドドロップエディター","id":"ドラッグアンドドロップエディター","depth":4},{"value":"起動と一時停止","id":"起動と一時停止","depth":3},{"value":"キャンペーンのライフサイクル","id":"キャンペーンのライフサイクル","depth":2},{"value":"仕組み","id":"仕組み","depth":2},{"value":"Engage StudioがRT 2.0を更新する仕組み","id":"engage-studioがrt-20を更新する仕組み","depth":3},{"value":"アプリがメッセージを表示する仕組み","id":"アプリがメッセージを表示する仕組み","depth":3},{"value":"エンドツーエンドのメッセージ配信フロー","id":"エンドツーエンドのメッセージ配信フロー","depth":3}],"frontmatter":{"seo":{"title":"モバイルIn-Appメッセージング概要","description":"Engage StudioのモバイルIn-Appメッセージング機能とRealtime Personalization 2.0を使用して、モバイルアプリユーザーにパーソナライズされたモーダルメッセージを配信する方法を説明します。"}},"lastModified":"2026-06-01T09:34:27.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/products/marketing-cloud/engage-studio/channels/mobile-inapp","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}