{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"type":"markdown"},"seo":{"title":"Batchエクスポートインテグレーション","description":"Treasure AIからBatchへ顧客プロファイルデータまたはオーディエンスセグメントをエクスポートし、列をプロファイル属性、イベント、またはオーディエンスメンバーシップにマッピングします。","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":"batch-export-integration","__idx":0},"children":["Batch Export Integration"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["このインテグレーションは、Treasure AIから",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://batch.com"},"children":["Batch"]},"へデータを直接エクスポートします。Batchは、モバイルプッシュ、Webプッシュ、アプリ内メッセージング、メール、SMSにわたるオムニチャネルキャンペーンのための顧客エンゲージメントプラットフォーム（CEP）です。これは2つのターゲットを持つ1つのコネクタです。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["target: Profile"]},"（デフォルト）を設定するとProfile Mass Update APIを通じてBatchプロファイルを更新し、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["target: Audience"]},"を設定するとAudience APIを通じてセグメントメンバーシップをBatchオーディエンスにプッシュします。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["このインテグレーションは、各クエリ結果の行をBatchの操作にマッピングします。識別子、ネイティブ属性、カスタム属性、イベントはすべて、クエリ内の",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["列名プレフィックス規約"]},"で宣言されるため、列ごとの設定は不要です。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Profile"]},"モードでは、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Attributes"]},"同期（1行で1プロファイルを更新）または",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Events"]},"同期（1行で1イベントを記録し、識別子ごとにグループ化）を実行できます。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Audience"]},"モードでは、1行が1つのオーディエンスメンバーシップエントリにマッピングされます。2つのターゲットの比較については、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#%E3%82%BF%E3%83%BC%E3%82%B2%E3%83%83%E3%83%88%E3%83%9E%E3%83%83%E3%83%94%E3%83%B3%E3%82%B0%E3%81%AE%E6%A6%82%E8%A6%81"},"children":["ターゲットマッピングの概要"]},"を参照してください。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"前提条件","__idx":1},"children":["前提条件"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Treasure AIの基本的な知識。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Batchのプロファイル、custom ID、installation識別子、ネイティブ属性、イベントに関する基本的な知識。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Batch REST APIキー。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Batchプロジェクトキー。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["identifier__"]},"列名プレフィックスで必要な識別子列を公開するクエリ:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["target: Profile"]},"の場合: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["identifier__custom_id"]},"、または",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["identifier__apikey"]},"と",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["identifier__installation_id"]},"の組み合わせ。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["target: Audience"]},"の場合: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["identifier__id"]},"。"]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"treasure-data-integration-の静的-ip-アドレス","__idx":2},"children":["Treasure Data Integration の静的 IP アドレス"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["セキュリティポリシーで IP ホワイトリストが必要な場合は、接続を成功させるために Treasure Data の IP アドレスを許可リストに追加する必要があります。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["リージョンごとに整理された静的 IP アドレスの完全なリストは、次のリンクにあります:"," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/apis/endpoints/ip-addresses-integrations-result-workers"},"children":["IP Addresses for Integrations"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"制限事項","__idx":3},"children":["制限事項"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["配列値の属性はすべて置換専用です。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string_array__"]},"カスタム属性と",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$topic_preferences"]},"は常に完全な配列として送信されます。Batch APIは増分操作をサポートしていますが、このバージョンでは増分の",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$add"]},"/",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$remove"]},"操作はサポートされていません。クエリで目的の配列全体を出力する必要があります。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["batch__"]},"プレフィックスのオプトアウトはありません。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["batch__region"]},"という名前の列は常にネイティブの",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$region"]},"属性にマッピングされます。代わりにカスタム属性として送信するには、プレフィックスのない名前に列をエイリアスしてください。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Profile Mass Update API（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["target: Profile"]},"）は、受理応答またはエラー応答を即座に返し、オーディエンス形式のインデックストークンやポーリングフローは提供しません。Audience API（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["target: Audience"]},"）はインデックストークンを返し、ポーリングをサポートします。その動作については、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#%E3%82%AA%E3%83%BC%E3%83%87%E3%82%A3%E3%82%A8%E3%83%B3%E3%82%B9%E3%81%AE%E3%82%A4%E3%83%B3%E3%83%87%E3%83%83%E3%82%AF%E3%82%B9%E4%BD%9C%E6%88%90%E3%81%A8%E3%83%9D%E3%83%BC%E3%83%AA%E3%83%B3%E3%82%B0"},"children":["オーディエンスのインデックス作成とポーリング"]},"を参照してください。両者を混同しないでください。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["スループット（1秒あたり10,000プロファイル更新）はクライアント側で能動的にスロットリングされません。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["429"]},"応答のみがバックオフをトリガーします。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["列名は自動的に小文字に正規化されるため、大文字や大小文字が混在した名前も受け付けられます。小文字化した後でも",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["^[a-z0-9_]{1,30}$"]},"に一致しない名前（例：ハイフンやドットを含む、または30文字を超える名前）は、クエリでエイリアスする必要があります。大小文字の変換以外の実行時のリネームはサポートされていません。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["レート制限（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["429"]},"）とサーバーエラー（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["5xx"]},"、ネットワークタイムアウト）は指数バックオフで再試行されます。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["400"]},"と",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["401"]},"応答は、ペイロードまたは認証の問題を示すため、即座に失敗します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Audience"]},"モードには部分エラーの概念がありません。BatchはオーディエンスのエラーをトップレベルのHTTPステータスとしてのみ報告します。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ignore_partial_errors"]},"は適用されません。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"新しい認証の作成","__idx":4},"children":["新しい認証の作成"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure AIでは、クエリを実行する前にデータ接続を作成して設定する必要があります。データ接続の一部として、Batchにアクセスするための認証を提供します。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["TD Console"]},"を開きます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Integrations Hub"]}," > ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Catalog"]},"に移動します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Catalogの右端にある検索アイコンをクリックして、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Batch"]},"と入力します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Batchコネクタにカーソルを合わせて、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create Authentication"]},"を選択します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/catalog-search-result.ed86b857058e515e7a1efb35617afba20c82725d7acc3efb79cbd2df97350495.8b63bc27.webp","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["New Authenticationダイアログが開きます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/create-auth-dialog.3f69a78e1f80dca150017bedf124670add1609d1a6eaf6f84b3f98d4d4b80b2f.8b63bc27.webp","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Batchの",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["REST API Key"]},"を入力します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Batchの",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Project Key"]},"を入力します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["接続の名前を入力します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Continue"]},"を選択します。"]}]},{"$$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":"20%","data-label":"パラメータ"},"children":["パラメータ "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"12%","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":["rest_api_key"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["はい"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Batch REST APIキー。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["project_key"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["はい"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Batchプロジェクトキー。"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"エクスポート結果の設定","__idx":5},"children":["エクスポート結果の設定"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["インテグレーションを設定するには："]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["TD Console"]},"を開きます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data Workbench"]}," > ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Queries"]},"に移動します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["New Query"]},"をクリックしてクエリを作成するか、エクスポートしたい保存済みクエリを開きます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["クエリエディタの上部で、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Export Results"]},"を選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["作成したBatch認証を選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["エクスポートパラメータを設定します。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"エクスポートの仕組み","__idx":6},"children":["エクスポートの仕組み"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["列プレフィックスの検出"]},"：インテグレーションは各クエリ結果の列名を検査し、識別子（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["identifier__"]},"）、ネイティブ属性（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["batch__"]},"）、型プレフィックス付きカスタム属性（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["date__"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["url__"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string_array__"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["object__"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["array__"]},"）、またはプレーンなカスタム属性（プレフィックスなし、Embulkの列型から型を推論）に分類します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["識別子の抽出"]},"：",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Profile"]},"モードでは、インテグレーションは各行について",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["identifier__"]},"値を読み取り、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["custom_id"]},"または",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["installation"]},"形式（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["apikey"]}," + ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["installation_id"]},"）を使用して",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["identifiers"]},"ブロックを構築します。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Audience"]},"モードでは、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["identifier__id"]},"を読み取り、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ids[]"]},"エントリを構築します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["属性またはイベントのマッピング"]},"：",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Attributes"]},"モードでは、ネイティブ列は予約された",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$…"]},"ワイヤキーで出力され、カスタム列はラップされたキーまたはプレーンキーで出力されます。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Events"]},"モードでは、各行が1つのイベントを構築し、イベントは識別子ごとに",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["events[]"]},"配列にグループ化されます。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Audience"]},"モードでは、各行の識別子以外の列が",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ids[].attributes"]},"になります。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["行ごとの検証"]},"：インテグレーションは、送信前にキー形式、値の制限、ネイティブ属性の型、および25 kBのシリアライズされた属性サイズを検証します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["バッチ処理"]},"：操作はバッファリングされ、バッチ単位（最大",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["batch_size"]},"、リクエストあたり最大10,000操作）でフラッシュされます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["再試行と応答処理"]},"：",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["429"]},"およびサーバーエラーはバックオフで再試行されます。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Profile"]},"モードでは、Batchの",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SUCCESS_WITH_PARTIAL_ERRORS"]},"応答は",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ignore_partial_errors"]},"に従って処理されます。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Audience"]},"モードでは、非同期のインデックストークンがオーディエンスのインデックス作成設定に従ってポーリングされます。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"エクスポートパラメータ","__idx":7},"children":["エクスポートパラメータ"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["コネクタには、条件付きフィールドを持つ単一の設定サーフェスがあります。",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["適用対象"]},"列は、パラメータが両方のターゲットに共通か、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Profile"]},"または",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Audience"]},"に固有かを示します。"]},{"$$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":"22%","data-label":"パラメータ"},"children":["パラメータ "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"12%","data-label":"適用対象"},"children":["適用対象 "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"10%","data-label":"必須"},"children":["必須 "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"12%","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":["target"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["共通"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["いいえ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Profile"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Profile"]},"（Profile Mass Update API）または",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Audience"]},"（Audience API）。APIとマッピングを選択します。不明な値は設定エラーになります。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["batch_size"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["共通"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["いいえ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["10000"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["リクエストあたりの操作数。1から10000までの整数である必要があります。0または10000を超える値は設定エラーになります。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["skip_invalid_records"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["共通"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["いいえ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]},"の場合、クライアント側の検証に失敗した行はスキップされ、ログに記録され、カウントされ、有効な行は続行されます。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]},"の場合、最初の無効な行でタスクが失敗し、何も送信されません。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["omit_null_fields"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Profileのみ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["いいえ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]},"の場合、null値のフィールドはペイロードから除去され、属性は変更されません。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]},"の場合、nullフィールドはJSON ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["null"]},"として出力され、Batchは属性を消去します。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["target: Audience"]},"の場合は無視されます（null属性のセルは常に省略されます）。",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#null%E5%80%A4%E3%81%AE%E5%87%A6%E7%90%86"},"children":["null値の処理"]},"を参照してください。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["profile_sync_type"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Profileのみ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["いいえ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Attributes"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["エクスポートモード。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Attributes"]},"は1行を1プロファイル更新にマッピングします。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Events"]},"は1行を1イベントにマッピングし、識別子ごとにグループ化します。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["target: Audience"]},"の場合は無視されます。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ignore_partial_errors"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Profileのみ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["いいえ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Batchのサーバー側",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SUCCESS_WITH_PARTIAL_ERRORS"]},"応答のみを制御します。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]},"の場合、レコードごとのエラーがログに記録され、タスクは続行されます。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]},"の場合、タスクは中止されます。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["target: Audience"]},"の場合は無視されます。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["audience_name"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Audienceのみ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["はい"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Batchオーディエンスの名前。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["^[A-Za-z0-9_-]{1,255}$"]},"に一致する必要があります。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["audience_sync_mode"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Audienceのみ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["いいえ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["replace"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["add"]}," | ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["remove"]}," | ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["replace"]},"。",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#%E3%82%AA%E3%83%BC%E3%83%87%E3%82%A3%E3%82%A8%E3%83%B3%E3%82%B9%E5%90%8C%E6%9C%9F%E3%83%A2%E3%83%BC%E3%83%89"},"children":["オーディエンス同期モード"]},"を参照してください。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["create_audience_if_not_exists"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Audienceのみ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["いいえ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]},"の場合、ジョブはオーディエンスが存在しない場合に最初にそれを作成し（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /audiences/create"]},"）、その後メンバーシップをプッシュします。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]},"の場合、オーディエンスが存在しないとジョブは失敗します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["audience_type"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Audienceのみ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["条件付き"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["create_audience_if_not_exists: true"]},"の場合は必須。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["custom_ids"]}," | ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["emails"]}," | ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["install_ids"]},"。作成時にのみ使用されます。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["audience_display_name"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Audienceのみ"]},{"$$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":["indexing_poll_interval_secs"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Audienceのみ"]},{"$$mdtype":"Tag","name":"td","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":["GET /audiences/view"]},"ポーリング間の秒数。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["indexing_timeout_secs"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Audienceのみ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["いいえ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["1800"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["インデックス作成の完了を待機する秒数。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["0"]},"はfire-and-forgetを意味します。ジョブは、メンバーシッププッシュが終端のインデックス状態に達したことを確認せずに即座に成功を報告します。"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"profile設定ui","__idx":8},"children":["Profile設定UI"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["target"]},"が",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Profile"]},"の場合はこの設定を使用します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/export-configuration-dialog-1.c33be8b0c7580b03d1ac671d50646ae5b1488a69cca7ef39cb2d1eba3bf8e2f6.8b63bc27.webp","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"audience設定ui","__idx":9},"children":["Audience設定UI"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["target"]},"が",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Audience"]},"の場合はこの設定を使用します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/export-configuration-dialog-2.f4e4da1b807aed3c4d836181a2b2509745e2b38a5b71d82f94ca101d1442974a.8b63bc27.webp","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"データマッピング","__idx":10},"children":["データマッピング"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["識別子と属性の型は、クエリ結果スキーマの列名プレフィックスで宣言されます。列の設定は不要です。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["列名は",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["大小文字を区別せず"]},"にマッチングおよびシリアライズされます。インテグレーションはプレフィックスを検出してBatchのワイヤキーを導出する前に各列名を小文字化するため、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["IDENTIFIER__Custom_Id"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BATCH__Email_Address"]},"、プレーンな",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["LoyaltyTier"]},"はそれぞれ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["identifier__custom_id"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["batch__email_address"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["loyaltytier"]},"として扱われます。そのため、カスタム属性キーは常に小文字でBatchに送信されます（Batchはカスタムキーが",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["^[a-z0-9_]{1,30}$"]},"に一致することを要求します）。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Events"]},"モードでは、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["batch__name"]},"の値も検証および送信の前に小文字化されるため、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Purchase_Completed"]},"は",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["purchase_completed"]},"になります。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"ターゲットマッピングの概要","__idx":11},"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":"24%","data-label":"領域"},"children":["領域 "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"38%","data-label":"Profileターゲット"},"children":["Profileターゲット "]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Audienceターゲット"},"children":["Audienceターゲット"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["入力行"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["1プロファイル更新（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Attributes"]},"）または1イベント（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Events"]},"）。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["1オーディエンスidエントリ。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["必須の識別子"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["identifier__custom_id"]},"、またはinstallation識別子（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["identifier__apikey"]}," + ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["identifier__installation_id"]},"）。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["identifier__id"]},"。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["カスタム属性の上限"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["プロファイルあたり50属性。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["idあたり15属性。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["同期オプション"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["profile_sync_type"]},"（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Attributes"]}," | ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Events"]},"）。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["audience_sync_mode"]},"（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["add"]}," | ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["remove"]}," | ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["replace"]},"）。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["APIの動作"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["成功／部分エラーを含むProfile Mass Update応答。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["インデックストークンのポーリングを伴う非同期Audience API。"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"列マッピング","__idx":12},"children":["列マッピング"]},{"$$mdtype":"Tag","name":"p","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":{"width":"26%","data-label":"列パターン"},"children":["列パターン "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"37%","data-label":"Profileターゲット"},"children":["Profileターゲット "]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Audienceターゲット"},"children":["Audienceターゲット"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["identifier__custom_id"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["プロファイル識別子 → ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["identifiers.custom_id"]},"。文字列、最大512文字。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["拒否されます。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["identifier__id"]},"を使用してください。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["identifier__apikey"]}," + ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["identifier__installation_id"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["installation識別子 → ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["identifiers.installation.apikey"]},"および",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["identifiers.installation.installation_id"]},"。両方の列が一緒に存在する必要があります。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["拒否されます。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["identifier__id"]},"を使用してください。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["identifier__id"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["拒否されます。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["オーディエンスメンバーid → ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ids[].id"]},"。必須。null または空の場合、行は（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["skip_invalid_records"]},"に従って）拒否されます。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["batch__<name>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ネイティブプロファイル属性（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Attributes"]},"）→ ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$<name>"]},"、またはイベント予約フィールド（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Events"]},"）。",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#profile%E5%9B%BA%E6%9C%89%E3%81%AE%E6%B3%A8%E6%84%8F%E4%BA%8B%E9%A0%85"},"children":["Profile固有の注意事項"]},"を参照してください。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["拒否されます。ネイティブプロファイル属性とイベントはオーディエンスではサポートされていません。オーディエンスのアクションは",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["audience_sync_mode"]},"から決まります。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["date__<name>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["カスタム日付属性 → ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["date(<name>)"]},"。値はエポック秒またはRFC 3339文字列です。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["オーディエンス属性 → ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["attributes.\"date(<name>)\""]},"。同じ値のルール。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["url__<name>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["カスタムURL属性 → ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["url(<name>)"]},"。値にはスキーム（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["://"]},"）が含まれ、最大2048文字である必要があります。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["オーディエンス属性 → ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["attributes.\"url(<name>)\""]},"。同じ値のルール。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string_array__<name>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["カスタム文字列配列属性（置換専用）→ ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["<name>"]},"。空でない文字列のJSON配列、各項目最大300文字、最大25項目。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["拒否されます。コンテナプレフィックスはオーディエンスではサポートされていません。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["object__<name>"]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["array__<name>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["カスタムオブジェクトまたは配列属性 → ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["<name>"]},"。セルは整形式のJSONオブジェクトまたは配列文字列である必要があります。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["拒否されます。コンテナプレフィックスはオーディエンスではサポートされていません。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["<name>"]},"（プレフィックスなし）"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["カスタム属性 → ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["<name>"]},"。Embulkの列型から型が推論されます。キーは",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["^[a-z0-9_]{1,30}$"]},"に一致する必要があります。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["オーディエンス属性 → ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["attributes.<name>"]},"。Embulkの列型から型が推論されます。"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"profile固有の注意事項","__idx":13},"children":["Profile固有の注意事項"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Attributes"]},"モードでサポートされる",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["batch__"]},"ネイティブ属性名は、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["email_address"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["email_marketing"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["phone_number"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sms_marketing"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["email_open_tracking_consent"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["language"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["timezone"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["region"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["topic_preferences"]},"です。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Events"]},"モードでは、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["batch__"]},"プレフィックスは代わりに予約済みイベントフィールド",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["name"]},"（必須）、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["time"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["label"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tags"]},"を保持します。ネイティブ属性セットは",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["profile_sync_type"]},"によってゲートされます。プロファイルネイティブ名は",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Events"]},"モードで拒否され、イベント予約名は",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Attributes"]},"モードで拒否されます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["コネクタは、プレーンな（プレフィックスなしの）カスタム属性のBatch型をTreasure AIの列型から推論します。"]},{"$$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":"25%","data-label":"Treasure AIタイプ"},"children":["Treasure AIタイプ "]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Batchデータタイプ"},"children":["Batchデータタイプ"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["long"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["number"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["double"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["number"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["boolean"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["boolean"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["timestamp"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["date__<name>"]},"を使用してBatchの",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["date(<name>)"]},"属性として送信します。"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"audience固有の注意事項","__idx":14},"children":["Audience固有の注意事項"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["オーディエンスモードでは、単一の識別子列",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["identifier__id"]},"を使用します。Profileの識別子サフィックス（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["identifier__custom_id"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["identifier__apikey"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["identifier__installation_id"]},"）は、このモードでは拒否されます。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["profile_sync_type"]},"と",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ignore_partial_errors"]},"も無視されます — オーディエンスには",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Events"]},"モードや部分エラーの概念がありません。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["識別子以外のすべての列は",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ids[].attributes"]},"の下のカスタム属性になり、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["1つのidあたり最大15属性"]},"（プロファイルの50に対して）に制限されます。サポートされるのはスカラープレフィックス",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["date__"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["url__"]},"、およびプレーン（プレフィックスなし）のみです。コンテナプレフィックス",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string_array__"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["object__"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["array__"]},"は",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["サポートされておらず"]},"、設定エラーになります。ネイティブプロファイル属性とイベントはオーディエンスには適用されないため、このモードでは",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["batch__"]},"プレフィックスはサポートされていません — ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["batch__"]},"列が存在すると設定エラーになります。アクションは完全に",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["audience_sync_mode"]},"から決まります。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["create_audience_if_not_exists: true"]},"の場合、ジョブはまずオーディエンスが存在するかどうかを確認し、メンバーシップをプッシュする前にそれを作成します（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /audiences/create"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["audience_type"]},"とオプションの",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["audience_display_name"]},"を使用）。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]},"の場合、オーディエンスが存在しないとジョブは失敗します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["このモードでは",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["omit_null_fields"]},"は適用されません。Batch Audience APIはnull属性を拒否するため、この設定に関わらずnull属性のセルは常にペイロードから省略されます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"null値の処理","__idx":15},"children":["null値の処理"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["omit_null_fields"]},"パラメータは、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Profile"]},"モードでnull値のセルの送信方法を制御します。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Audience"]},"モードでは効果がありません — Batch Audience APIはnull属性を拒否するため、この設定に関わらずnull属性のセルは常に省略されます。"]},{"$$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":"22%","data-label":"omit_null_fields"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["omit_null_fields"]}," "]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"動作（ Profile モード）"},"children":["動作（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Profile"]},"モード）"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["null値のフィールドはクライアント側で除去され、Batchプロファイルの属性は変更されません。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["null値のフィールドはJSON ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["null"]},"として出力され、Batchは属性を消去します。型付きの",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["date__"]},"/",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["url__"]},"属性の場合、削除のためにプレーンなアンラップキーが出力されます。"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"同期モード","__idx":16},"children":["同期モード"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"profile同期タイプ","__idx":17},"children":["Profile同期タイプ"]},{"$$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":"22%","data-label":"profile_sync_type"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["profile_sync_type"]}," "]},{"$$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":["Attributes"]}]},{"$$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":["Events"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["1つの入力行を1つのイベントにマッピングします。イベントは識別子ごとに",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["events[]"]},"配列にグループ化されます。フラッシュ前に識別子ごとに最大15イベントが蓄積されます。"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"オーディエンス同期モード","__idx":18},"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":"22%","data-label":"audience_sync_mode"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["audience_sync_mode"]}," "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"35%","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":["add"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /audiences/update"]},"（すべてのバッチ）"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["各idをオーディエンスに追加します。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ids[].action: \"add\""]},"。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["remove"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /audiences/update"]},"（すべてのバッチ）"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["各idをオーディエンスから削除します。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ids[].action: \"remove\""]},"。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["replace"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /audiences/replace"]},"（バッチ1）+ ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /audiences/update"]},"（バッチ2..N、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["action: \"add\""]},"）"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["あらゆる規模でのフルセグメント置換。最初のバッチは既存のメンバーシップをすべて（以前の規模に関わらず）消去し、バッチ1でシードします。コネクタは、継続の追加バッチを送信する前にバッチ1のreplaceインデックストークンを完了までポーリングするため、非同期の消去処理が競合して追加されたばかりのバッチを消去することはありません（",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#%E3%82%AA%E3%83%BC%E3%83%87%E3%82%A3%E3%82%A8%E3%83%B3%E3%82%B9%E3%81%AE%E3%82%A4%E3%83%B3%E3%83%87%E3%83%83%E3%82%AF%E3%82%B9%E4%BD%9C%E6%88%90%E3%81%A8%E3%83%9D%E3%83%BC%E3%83%AA%E3%83%B3%E3%82%B0"},"children":["オーディエンスのインデックス作成とポーリング"]},"を参照）。セグメントが",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["batch_size"]},"を超える場合、以降のバッチは",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["action: \"add\""]},"で",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/audiences/update"]},"に送信され、バッチ1の上に追加されます。ソースセグメントから外れたメンバーは、セグメントや以前のメンバーシップの規模に関わらず、実際に削除されます — 単に古いまま残されるわけではありません。"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"オーディエンスのインデックス作成とポーリング","__idx":19},"children":["オーディエンスのインデックス作成とポーリング"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["オーディエンスのインデックス作成とは、メンバーシップのプッシュ（追加、削除、または置換）をライブオーディエンスに反映するBatchの非同期処理です。すべての",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/audiences/{update,replace,create}"]},"呼び出しは非同期であり、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["indexing_token"]},"を返します。すべてのバッチが送信された後、コネクタは収集したすべてのトークンについて",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /audiences/view"]},"をポーリングし、それぞれが終端の",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["indexing_state"]},"（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["APPLIED"]},"または",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["REPLACED"]},"）に達するか、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["indexing_timeout_secs"]},"が経過するまで続けます。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["replace"]},"モードでは、バッチ1のreplaceトークンは、追加継続バッチが送信される前に、さらに完了までポーリングされます。これにより、非同期の消去処理が競合して、追加されたばかりの継続バッチを消去することを防ぎます。このバリアは",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["indexing_timeout_secs: 0"]},"の場合はスキップされます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"サンプルクエリ","__idx":20},"children":["サンプルクエリ"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"プロファイル属性のエクスポート","__idx":21},"children":["プロファイル属性のエクスポート"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["この例では、ネイティブ属性（メール、言語、地域）とカスタム属性（サインアップ日、プロファイルURL、ロイヤルティ階層）を含む顧客プロファイルをエクスポートします。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"sql","header":{"controls":{"copy":{}}},"source":"SELECT\n  customer_id          AS identifier__custom_id,\n  email                AS batch__email_address,\n  marketing_consent    AS batch__email_marketing,\n  phone                AS batch__phone_number,\n  preferred_language   AS batch__language,\n  timezone             AS batch__timezone,\n  country_code         AS batch__region,\n  CAST(signup_ts AS VARCHAR) AS date__signup_date,\n  profile_url          AS url__profile_url,\n  loyalty_tier,\n  interests            AS string_array__interests,\n  preferences_json     AS object__preferences\nFROM customer_profiles\nWHERE TD_TIME_RANGE(time, TD_DATE_TRUNC('day', TD_SCHEDULER_TIME() - 86400, 'UTC'), NULL)\n","lang":"sql"},"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":{"width":"22%","data-label":"identifier__custom_id"},"children":["identifier__custom_id "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"24%","data-label":"batch__email_address"},"children":["batch__email_address "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"14%","data-label":"batch__language"},"children":["batch__language "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"12%","data-label":"batch__region"},"children":["batch__region "]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"loyalty_tier"},"children":["loyalty_tier"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["abc123"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["user@example.com"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["en"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["FR"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["gold"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["def456"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["jane@example.com"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["fr"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["fr"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["silver"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["これは1つの",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /2.11/profiles/mass-update"]},"リクエストを生成します。各行は、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["identifiers.custom_id"]},"ブロックと、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$email_address"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$language"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$region"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["date(signup_date)"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["url(profile_url)"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["loyalty_tier"]},"ワイヤキーを使用する",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["attributes"]},"オブジェクトを持つ1つの操作になります。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["batch__region"]},"の値",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fr"]},"は",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FR"]},"に正規化されます。"]},{"$$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":{"width":"35%","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":["target"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Profile"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["profile_sync_type"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Attributes"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["skip_invalid_records"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["omit_null_fields"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"イベントのエクスポート","__idx":22},"children":["イベントのエクスポート"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["この例では、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Events"]},"モードで行ごとに1つの購入イベントを記録します。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["batch__name"]},"列は必須です。イベントは各識別子の下にグループ化されます。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"sql","header":{"controls":{"copy":{}}},"source":"SELECT\n  customer_id          AS identifier__custom_id,\n  'purchase'           AS batch__name,\n  CAST(purchased_at AS VARCHAR) AS batch__time,\n  product_category     AS category,\n  order_amount         AS amount\nFROM purchases\nWHERE TD_TIME_RANGE(time, TD_DATE_TRUNC('day', TD_SCHEDULER_TIME() - 86400, 'UTC'), NULL)\n","lang":"sql"},"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":{"width":"22%","data-label":"identifier__custom_id"},"children":["identifier__custom_id "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"16%","data-label":"batch__name"},"children":["batch__name "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"26%","data-label":"batch__time"},"children":["batch__time "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"18%","data-label":"category"},"children":["category "]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"amount"},"children":["amount"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["abc123"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["purchase"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["2026-06-21T10:00:00Z"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["electronics"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["299"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["abc123"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["purchase"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["2026-06-21T14:30:00Z"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["books"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["42"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["両方の行は",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["custom_id"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["abc123"]},"を共有しているため、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["events[]"]},"配列に2つのエントリを持つ1つの操作にグループ化されます。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["category"]},"と",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["amount"]},"列は",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["events[].attributes"]},"の下のイベント属性になります。"]},{"$$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":{"width":"35%","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":["target"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Profile"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["profile_sync_type"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Events"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["skip_invalid_records"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning","name":"イベントの鮮度ウィンドウ"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Batchはサーバー側で",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["batch__time"]},"に24時間の recency ウィンドウを適用します。イベントは最大24時間前まで可能で、未来であってはなりません。スケジュールされた同期では、イベントのタイムスタンプがデータの論理的な日付ではなく、コネクタの実行時刻の過去24時間以内に収まるようにしてください。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["batch__time"]},"を省略すると、Batchがリクエスト到着時刻をスタンプします。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"オーディエンスのエクスポート","__idx":23},"children":["オーディエンスのエクスポート"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["この例では、プロファイルを更新する代わりに、Treasure AIのセグメントメンバーシップをBatchオーディエンスにプッシュします。マッピング、同期モード、インデックス作成の動作については、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#audience%E5%9B%BA%E6%9C%89%E3%81%AE%E6%B3%A8%E6%84%8F%E4%BA%8B%E9%A0%85"},"children":["Audience固有の注意事項"]},"、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#%E3%82%AA%E3%83%BC%E3%83%87%E3%82%A3%E3%82%A8%E3%83%B3%E3%82%B9%E5%90%8C%E6%9C%9F%E3%83%A2%E3%83%BC%E3%83%89"},"children":["オーディエンス同期モード"]},"、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#%E3%82%AA%E3%83%BC%E3%83%87%E3%82%A3%E3%82%A8%E3%83%B3%E3%82%B9%E3%81%AE%E3%82%A4%E3%83%B3%E3%83%87%E3%83%83%E3%82%AF%E3%82%B9%E4%BD%9C%E6%88%90%E3%81%A8%E3%83%9D%E3%83%BC%E3%83%AA%E3%83%B3%E3%82%B0"},"children":["オーディエンスのインデックス作成とポーリング"]},"を参照してください。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"sql","header":{"controls":{"copy":{}}},"source":"SELECT\n  customer_id       AS identifier__id,\n  CAST(signup_ts AS VARCHAR) AS date__signup_date,\n  loyalty_tier\nFROM customers\nWHERE segment = 'vip'\n","lang":"sql"},"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":{"width":"30%","data-label":"identifier__id"},"children":["identifier__id "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"35%","data-label":"date__signup_date"},"children":["date__signup_date "]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"loyalty_tier"},"children":["loyalty_tier"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["abc123"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["2024-01-01T00:00:00Z"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["gold"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["def456"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["2024-02-15T00:00:00Z"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["silver"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["これは1つの",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /2.11/audiences/replace"]},"リクエストを生成します（複数バッチにわたる大規模なセグメントの場合は、1つの",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/audiences/replace"]},"リクエストの後に1つ以上の",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/audiences/update"]},"リクエストが続きます）。各行は1つの",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ids[]"]},"エントリになります：",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{\"id\": \"abc123\", \"attributes\": {\"date(signup_date)\": \"2024-01-01T00:00:00Z\", \"loyalty_tier\": \"gold\"}}"]},"。"]},{"$$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":{"width":"35%","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":["target"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Audience"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["audience_name"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["vip_customers"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["audience_sync_mode"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["replace"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["create_audience_if_not_exists"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["audience_type"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["custom_ids"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["skip_invalid_records"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"クエリエクスポートジョブのスケジュール設定オプション","__idx":24},"children":["クエリエクスポートジョブのスケジュール設定（オプション）"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Scheduled JobsとResult Exportを使用して、出力結果を定期的にBatchに書き込むことができます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure AIのスケジューラ機能は、高可用性を実現するための定期的なクエリ実行をサポートしています。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"オプション-query-export-ジョブをスケジュールする","__idx":25},"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":26},"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":27},"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":"Cron 値"},"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":3,"id":"クエリを実行する","__idx":28},"children":["クエリを実行する"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["クエリに名前を付けて保存して実行するか、単にクエリを実行します。クエリが正常に完了すると、クエリ結果は指定された宛先に自動的にエクスポートされます。"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["設定エラーにより継続的に失敗するスケジュールジョブは、複数回通知された後、システム側で無効化される場合があります。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["(オプション) Delay execution を有効にすることで、クエリの開始時刻を遅延させることができます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"audience-studio-で-segment-をアクティベートする","__idx":29},"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":2,"id":"ワークフローでのエクスポート結果の設定オプション","__idx":30},"children":["ワークフローでのエクスポート結果の設定（オプション）"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure Workflow内で、データコネクタを使用してデータをエクスポートするように指定できます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["詳細は",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/tools/cli-and-sdks/api#workflow-commands"},"children":["Using Workflows to Export Data with the TD Toolbelt"]},"を参照してください。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["サンプルワークフロー設定"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"timezone: UTC\n\n_export:\n  td:\n    database: sample_datasets\n\n+td-result-into-batch:\n  td>: queries/batch_export.sql\n  result_connection: batch\n  result_settings:\n    target: Profile\n    profile_sync_type: Attributes\n    batch_size: 10000\n    skip_invalid_records: true\n    ignore_partial_errors: true\n    omit_null_fields: true\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"トラブルシューティング","__idx":31},"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":"30%","data-label":"エラーまたは症状"},"children":["エラーまたは症状 "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"30%","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":["401"]},"で失敗する。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["rest_api_key"]},"または",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["project_key"]},"が正しくないか、認証情報がプロジェクトへのアクセス権を持っていません。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["BatchコンソールのSettingsでREST APIキーとプロジェクトキーを確認してください。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["設定時に「unknown Batch native attribute」でエクスポートが失敗する（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["target: Profile"]},"）。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["batch__"]},"列がサポートされていないネイティブ属性のサフィックスを使用しているか、間違ったモードで使用されています（例：",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Events"]},"モードでのプロファイルネイティブ名）。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["サポートされているネイティブ属性名を確認し、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["profile_sync_type"]},"と一致することを確認してください。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["batch__topic_preferences__add"]},"のような増分形式はサポートされていません。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["識別子列が存在しないためエクスポートが失敗する（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["target: Profile"]},"）。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["クエリに",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["identifier__custom_id"]},"もinstallation列もないか、両方の識別子形式が含まれています。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["正確に1つの識別子形式を指定してください：",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["identifier__custom_id"]},"、または",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["identifier__apikey"]},"と",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["identifier__installation_id"]},"の組み合わせ。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["識別子列が正しくないためエクスポートが失敗する（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["target: Audience"]},"）。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["クエリに",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["identifier__id"]},"列がないか、Profileの識別子サフィックス（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["identifier__custom_id"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["identifier__apikey"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["identifier__installation_id"]},"）を使用しているか、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["batch__"]},"列やコンテナプレフィックス付き（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string_array__"]},"/",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["object__"]},"/",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["array__"]},"）の列が含まれています。これらはオーディエンスモードでは許可されていません。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["正確に1つの",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["identifier__id"]},"列を指定し、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["date__"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["url__"]},"、またはプレーンなカスタム属性の列のみを使用してください。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["カスタムキーエラーでエクスポートが失敗する。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["カスタム属性の列名が小文字化した後でも",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["^[a-z0-9_]{1,30}$"]},"に一致しません（例：ハイフンやドットを含む、または30文字を超える）。名前は自動的に小文字化されるため、大文字だけではこのエラーは発生しません。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["クエリで列を、小文字・数字・アンダースコアのみを使用した30文字以下の名前にエイリアスしてください。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["行がスキップされる。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["行がクライアント側の検証に失敗し（例：無効なメール形式、または25 kBを超える属性オブジェクト）、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["skip_invalid_records"]},"が",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]},"です。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ジョブログで行インデックス、列、ルールを確認し、ソースデータを修正してください。行をスキップする代わりにエクスポートを失敗させるには、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["skip_invalid_records"]},"を",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]},"に設定します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["エクスポートがレート制限される。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Batchが",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["429 Too Many Requests"]},"を返しました。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["対応は不要です。コネクタは少なくとも5秒待機し、自動的に再試行します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Batchが",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SUCCESS_WITH_PARTIAL_ERRORS"]},"を返す（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["target: Profile"]},"）。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Batchはリクエストを受け入れましたが、一部のレコードを拒否しました。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ジョブログでレコードごとの診断情報（bulk index、category、attribute、reason）を確認し、ソースデータを修正してください。部分エラー発生時にエクスポートを失敗させるには、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ignore_partial_errors"]},"を",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]},"に設定します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["オーディエンスが存在しないためエクスポートジョブが失敗する（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["target: Audience"]},"）。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["create_audience_if_not_exists"]},"が",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]},"で、指定された",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["audience_name"]},"のオーディエンスがまだBatchに存在しません。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["create_audience_if_not_exists"]},"を",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]},"に設定してジョブにオーディエンスを自動的に作成させるか、先にBatchでオーディエンスを作成してください。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["「indexing did not complete within N s」でエクスポートが失敗する（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["target: Audience"]},"）。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Batchの非同期インデックス作成が",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["APPLIED"]},"/",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["REPLACED"]},"に達するまでに",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["indexing_timeout_secs"]},"よりも長くかかりました。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["indexing_timeout_secs"]},"を増やすか、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["0"]},"に設定してインデックス作成の確認を待たずに成功を報告してください。"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"関連項目","__idx":32},"children":["関連項目"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://doc.batch.com/developer/api/cep/profiles/mass-update-profile"},"children":["Batch Profile Mass Update API documentation"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://doc.batch.com/developer/api/cep/profiles/update#the-attributes-object"},"children":["Batch Profile Attributes specification"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://doc.batch.com/developer/api/cep/audiences"},"children":["Batch Audience API documentation"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/int/batch-integration-overview"},"children":["Batch Integration Overview"]}]}]}]},"headings":[{"value":"Batch Export Integration","id":"batch-export-integration","depth":1},{"value":"前提条件","id":"前提条件","depth":2},{"value":"Treasure Data Integration の静的 IP アドレス","id":"treasure-data-integration-の静的-ip-アドレス","depth":2},{"value":"制限事項","id":"制限事項","depth":2},{"value":"新しい認証の作成","id":"新しい認証の作成","depth":2},{"value":"エクスポート結果の設定","id":"エクスポート結果の設定","depth":2},{"value":"エクスポートの仕組み","id":"エクスポートの仕組み","depth":3},{"value":"エクスポートパラメータ","id":"エクスポートパラメータ","depth":3},{"value":"Profile設定UI","id":"profile設定ui","depth":3},{"value":"Audience設定UI","id":"audience設定ui","depth":3},{"value":"データマッピング","id":"データマッピング","depth":2},{"value":"ターゲットマッピングの概要","id":"ターゲットマッピングの概要","depth":3},{"value":"列マッピング","id":"列マッピング","depth":3},{"value":"Profile固有の注意事項","id":"profile固有の注意事項","depth":3},{"value":"Audience固有の注意事項","id":"audience固有の注意事項","depth":3},{"value":"null値の処理","id":"null値の処理","depth":3},{"value":"同期モード","id":"同期モード","depth":2},{"value":"Profile同期タイプ","id":"profile同期タイプ","depth":3},{"value":"オーディエンス同期モード","id":"オーディエンス同期モード","depth":3},{"value":"オーディエンスのインデックス作成とポーリング","id":"オーディエンスのインデックス作成とポーリング","depth":3},{"value":"サンプルクエリ","id":"サンプルクエリ","depth":2},{"value":"プロファイル属性のエクスポート","id":"プロファイル属性のエクスポート","depth":3},{"value":"イベントのエクスポート","id":"イベントのエクスポート","depth":3},{"value":"オーディエンスのエクスポート","id":"オーディエンスのエクスポート","depth":3},{"value":"クエリエクスポートジョブのスケジュール設定（オプション）","id":"クエリエクスポートジョブのスケジュール設定オプション","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":"クエリを実行する","id":"クエリを実行する","depth":3},{"value":"Audience Studio で Segment をアクティベートする","id":"audience-studio-で-segment-をアクティベートする","depth":2},{"value":"ワークフローでのエクスポート結果の設定（オプション）","id":"ワークフローでのエクスポート結果の設定オプション","depth":2},{"value":"トラブルシューティング","id":"トラブルシューティング","depth":2},{"value":"関連項目","id":"関連項目","depth":2}],"frontmatter":{"seo":{"title":"Batchエクスポートインテグレーション","description":"Treasure AIからBatchへ顧客プロファイルデータまたはオーディエンスセグメントをエクスポートし、列をプロファイル属性、イベント、またはオーディエンスメンバーシップにマッピングします。"}},"lastModified":"2026-07-17T06:56:46.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/int/batch-export-integration","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}