{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"type":"markdown"},"seo":{"title":"FacebookカスタムオーディエンスでProfiles APIを使用する","description":"Profiles APIを使用して、Facebook Pixelと連携し、ユーザー識別情報なしでカスタムオーディエンスを作成する方法を解説します。","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/"}}]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"facebookカスタムオーディエンスでprofiles-apiを使用する","__idx":0},"children":["FacebookカスタムオーディエンスでProfiles APIを使用する"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["適切なオーディエンスをターゲットにした最適化されたFacebook広告を作成します。Profiles APIトークンとセグメントを使用して、すでにWebサイトにアクセスしている、またはWebサイトに登録されている訪問者のリストを作成し、彼らに最適化されたFacebook広告を送信できます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["このインテグレーションとFacebookカスタムオーディエンスへのジョブ結果書き込みとの違いは何ですか?"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Facebookカスタムオーディエンスの使用には、メールアドレスや電話番号などのユーザー識別情報が必要です。Profiles APIインテグレーションを使用すると、そのようなパラメータなしでFacebookカスタムオーディエンスにセグメントを送信できます。代わりに、Facebook Pixelを使用します。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/customer-data-platform/audience-studio/profiles/use-the-profiles-api-with-facebook-custom-audience#h1_1644201065"},"children":["前提条件"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/customer-data-platform/audience-studio/profiles/use-the-profiles-api-with-facebook-custom-audience#h1__441927612"},"children":["Profiles APIトークンの作成"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/customer-data-platform/audience-studio/profiles/use-the-profiles-api-with-facebook-custom-audience#h2_251609309"},"children":["新しいトークンに名前を付ける"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/customer-data-platform/audience-studio/profiles/use-the-profiles-api-with-facebook-custom-audience#h2_196158072"},"children":["トークンの設定"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/customer-data-platform/audience-studio/profiles/use-the-profiles-api-with-facebook-custom-audience#h1__1028383756"},"children":["トークンへのセグメント追加"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/customer-data-platform/audience-studio/profiles/use-the-profiles-api-with-facebook-custom-audience#h1_99127986"},"children":["Pixel IDを使用したTD Profiles APIとFacebookの統合"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/customer-data-platform/audience-studio/profiles/use-the-profiles-api-with-facebook-custom-audience#h2__2071084009"},"children":["Facebook Pixel IDの取得"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/customer-data-platform/audience-studio/profiles/use-the-profiles-api-with-facebook-custom-audience#h2__509915809"},"children":["WebサイトでのJavaScriptの設定"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/customer-data-platform/audience-studio/profiles/use-the-profiles-api-with-facebook-custom-audience#h3__1142792019"},"children":["Facebook JavaScriptタグ"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/customer-data-platform/audience-studio/profiles/use-the-profiles-api-with-facebook-custom-audience#h3_1540807596"},"children":["Treasure Data JavaScript SDK"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/customer-data-platform/audience-studio/profiles/use-the-profiles-api-with-facebook-custom-audience#h3__1894618024"},"children":["ケース v1.9.x"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/customer-data-platform/audience-studio/profiles/use-the-profiles-api-with-facebook-custom-audience#h3__1894614854"},"children":["ケース v2.x.x"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/customer-data-platform/audience-studio/profiles/use-the-profiles-api-with-facebook-custom-audience#h2_809358370"},"children":["インテグレーションステータスの確認"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/customer-data-platform/audience-studio/profiles/use-the-profiles-api-with-facebook-custom-audience#h1__1317660865"},"children":["カスタムオーディエンスの作成"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"前提条件","__idx":1},"children":["前提条件"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure Dataの基本知識"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Facebookビジネスアカウント"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"profiles-apiトークンの作成","__idx":2},"children":["Profiles APIトークンの作成"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"新しいトークンに名前を付ける","__idx":3},"children":["新しいトークンに名前を付ける"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Treasure コンソールを開きます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Audience Studioに移動してセグメントを選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["フォルダーを選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["新規作成"]},"を選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Profile APIトークン"]},"を選択します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/create_profile_api_token.d07368447c21f911e4cd104cea3710cce089327674fbd36df615c051711ff6c9.cf3845cb.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["トークンの名前を入力し、オプションで説明を入力します。次へを選択します。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"トークンの設定","__idx":4},"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":["ルックアップキー"]},"を入力します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ルックアップキーは、ペアレントセグメント内の一意の値を持つカラムです。このキーは正しいプロファイルを識別します。"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ルックアップキーの更新は、トークンワークフローが完了すると有効になります。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_global_id"]},"をルックアップキーとして使用する場合、Profiles APIはAPIリクエストのクエリパラメータではなく、ブラウザのCookieからルックアップ値を取得します。ブラウザ外でのテストまたは検証の目的(例: Postman)では、異なるカラムを使用してルックアップ値を手動で渡してください。"]}]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["(オプション)最大5つの属性を入力します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["プロファイル属性は、クエリ時にプロファイルトークンから返すことができます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/cptoken_lookupkey.a4fdda5f033ac9bc65803145af0187498c5a29fec6d8dae8ceb8fb94771598ff.cf3845cb.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["以下のいずれかを選択します:"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["次へ"]},"を選択して続行し、セグメントを追加します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["作成"]},"を選択してトークンを設定します。(後でセグメントを追加することもできます。)"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/config_token.0d19c72c2bfbc57a48198756674abe5a80f6f4782cc23b744568f79f354be71d.cf3845cb.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"トークンへのセグメント追加","__idx":5},"children":["トークンへのセグメント追加"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["以下のいずれかを選択します:"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["トークンの設定後、次へを選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Audience Studio > フォルダー > Profiles APIトークンに移動します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/segmentselect.125e8e424498ad8117a756c58875a8ee9d5d7999c778df16ae54e4307c739a18.cf3845cb.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Profiles APIトークンにセグメントを追加します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["保存"]},"を選択します。"," ",{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/use-the-profiles-api-with-facebook-custom-audience-2024-02-08.6d199d43e89e4355f3218d3b5e63a8105d8656d109565e985d922b15621a62e8.cf3845cb.png","alt":""},"children":[]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"pixel-idを使用したtd-profiles-apiとfacebookの統合","__idx":6},"children":["Pixel IDを使用したTD Profiles APIとFacebookの統合"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"facebook-pixel-idの取得","__idx":7},"children":["Facebook Pixel IDの取得"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Facebook Pixel IDは、Facebookビジネスアカウントから取得されます。"," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://www.facebook.com/business/help/952192354843755"},"children":["Pixel IDの検索に関するFacebookのドキュメント"]},"を参照してください。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20190829-174303.14d3b6cdd1837b54734b3cf5eab8ca4626089c3ed3c33653088a83fe458fde93.cf3845cb.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"webサイトでのjavascriptの設定","__idx":8},"children":["WebサイトでのJavaScriptの設定"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"facebook-javascriptタグ","__idx":9},"children":["Facebook JavaScriptタグ"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Facebook JavaScriptタグをWebサイトに統合します。スクリプト内の「YOUR_PIXEL_ID」をPixel IDに置き換えます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["詳細については、以下を参照してください: ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://developers.facebook.com/docs/facebook-pixel/implementation"},"children":["https://developers.facebook.com/docs/facebook-pixel/implementation"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"treasure-data-javascript-sdk","__idx":10},"children":["Treasure Data JavaScript SDK"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["JavaScript SDKには2つのバージョンを提供しています。使用するバージョンは、この手順で使用されるfetchUserSegment関数のレスポンス形式に影響します。JavaScript SDK version 3の使用をお勧めします。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"ケース-v19x","__idx":11},"children":["ケース v1.9.x"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["fetchUserSegments関数は、訪問者がWebサイトにアクセスしたときに関連するセグメントIDを返します。セグメントIDを",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["trackCustom"]},"パラメータを持つfbq関数に追加すると、それらがFacebookに送信されます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["fbq関数のパラメータには以下が必要です: (1): イベント名(任意)、(2): Facebook上のカラム名(任意)、(3): fetchUserSegment関数からのセグメントID。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"html","header":{"controls":{"copy":{}}},"source":"<script type=\"text/javascript\">\nvar td = new Treasure({\n  ...\n});\n\nvar successCallback = function (key, segments) {\n  // send to FB\n  fbq('trackCustom','event_tracking',{'td_segment_id': segments.join(',')});  // fbq('trackCustom','(1)',{'(2)': (3)});\n};\n\ntd.fetchUserSegments({\n  audienceToken: [token1, token2],\n  keys: {some_key: 'value'}\n}, successCallback);\n</script>\n","lang":"html"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"ケース-v2xx","__idx":12},"children":["ケース v2.x.x"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["JS SDK v2以降はv1.9以前とは異なるレスポンス形式を返すため、追加のロジックステップでfetchUserSegments関数からセグメントIDのみを抽出する必要があります。その後、trackCustomパラメータを使用してfbq関数にセグメントIDを追加し、IDをFacebookに送信します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["fbq関数のパラメータには以下が必要です: (1): イベント名(任意)、(2): Facebook上のカラム名(任意)、(3): fetchUserSegment関数からのセグメントID。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"html","header":{"controls":{"copy":{}}},"source":"<script type=\"text/javascript\">\nvar td = new Treasure({\n  ...\n});\n\nfunction sendSegmentId2Fb(seg) {\n  var segIdAll = [];\n  for (var i = 0; i < seg.length; i++) {\n    segIdAll = segIdAll.concat(seg[i].values);\n  };\n  var segId = segIdAll.filter(function (x,i,self) {return self.indexOf(x) === i;});\n\n  // send to FB\n  fbq('trackCustom','event_tracking',{'td_segment_id': segId.join(',')});  // fbq('trackCustom','(1)',{'(2)': (3)});\n};\n\nvar successCallback = function(values) {\n  sendSegmentId2Fb(values);\n};\n\ntd.fetchUserSegments({\n  audienceToken: [token1, token2],\n  keys: {some_key: 'value'}\n}, successCallback);\n</script>\n","lang":"html"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"インテグレーションステータスの確認","__idx":13},"children":["インテグレーションステータスの確認"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["JavaScriptインテグレーションがトリガーされた後、Facebookビジネスアカウントページでデータインテグレーションのステータスを確認できます。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Events ManagerセクションのPixelsに移動します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20190829-173001.289ac32674b7b3952c0dc71cd976b66353c037991e1a431e16cd6ec81b98754d.cf3845cb.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["統合したPixelを選択します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Activityメニューを選択し、fbq関数を使用して呼び出したトラッキングターゲット名を確認します。"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20190829-173106.bb38f26917bc4cb3d1e7e9a90eb1899b632ad145ac3ec985ee9e8e4fdc708cb7.cf3845cb.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"カスタムオーディエンスの作成","__idx":14},"children":["カスタムオーディエンスの作成"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データがFacebook側に保存された後、データを使用してカスタムオーディエンスを作成できます。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Event Managersに移動し、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Pixels"]},"を選択します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20190829-173156.82d6aebdc6fc9a84140ee1d33f9611a84e95382bb99bff555ca1cb57eb8ab830.cf3845cb.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Pixelを選択します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20190829-173231.0c80cbd64b460c83a3cf9655c631d48953e41146bed2bc9383463d609719212a.cf3845cb.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Create Custom Audienceを選択します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20190829-173326.9f0d3412ebcb31de8b97031187225eb09fec2a99ca9d48abff4ef015f1d0b549.cf3845cb.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["広告を送信する条件を選択します:"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["イベント名を選択します"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["条件を選択します"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["カスタムオーディエンス名を設定します。"]}]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["カスタムオーディエンスのステータスを確認します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/cr_custom_aud.8df6cf126e56e4be7f5312c45ede0954493938c2443eddb1a6eaf93423e46c23.cf3845cb.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["カスタムオーディエンスのステータスを確認できます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/use-the-profiles-api-with-facebook-custom-audience-2024-02-09.535a9a07270e7717a8e0c9f6aac40675e25c79605223b21717c6d9509f2f79d6.cf3845cb.png","alt":""},"children":[]}]}]},"headings":[{"value":"FacebookカスタムオーディエンスでProfiles APIを使用する","id":"facebookカスタムオーディエンスでprofiles-apiを使用する","depth":1},{"value":"前提条件","id":"前提条件","depth":1},{"value":"Profiles APIトークンの作成","id":"profiles-apiトークンの作成","depth":1},{"value":"新しいトークンに名前を付ける","id":"新しいトークンに名前を付ける","depth":2},{"value":"トークンの設定","id":"トークンの設定","depth":2},{"value":"トークンへのセグメント追加","id":"トークンへのセグメント追加","depth":1},{"value":"Pixel IDを使用したTD Profiles APIとFacebookの統合","id":"pixel-idを使用したtd-profiles-apiとfacebookの統合","depth":1},{"value":"Facebook Pixel IDの取得","id":"facebook-pixel-idの取得","depth":2},{"value":"WebサイトでのJavaScriptの設定","id":"webサイトでのjavascriptの設定","depth":2},{"value":"Facebook JavaScriptタグ","id":"facebook-javascriptタグ","depth":3},{"value":"Treasure Data JavaScript SDK","id":"treasure-data-javascript-sdk","depth":3},{"value":"ケース v1.9.x","id":"ケース-v19x","depth":3},{"value":"ケース v2.x.x","id":"ケース-v2xx","depth":3},{"value":"インテグレーションステータスの確認","id":"インテグレーションステータスの確認","depth":2},{"value":"カスタムオーディエンスの作成","id":"カスタムオーディエンスの作成","depth":1}],"frontmatter":{"seo":{"title":"FacebookカスタムオーディエンスでProfiles APIを使用する","description":"Profiles APIを使用して、Facebook Pixelと連携し、ユーザー識別情報なしでカスタムオーディエンスを作成する方法を解説します。"}},"lastModified":"2026-06-17T07:22:53.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/products/customer-data-platform/audience-studio/profiles/use-the-profiles-api-with-facebook-custom-audience","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}