{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"type":"markdown"},"seo":{"title":"Facebook Custom Audience Export Integration","description":"Treasure Data Product Documentation · Collect and Unify · Segment and Activate · Experiment and Analyze · Decisioning Automate with AI Scale and Trust.","siteUrl":"https://docs.treasuredata.com","lang":"en-US","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"facebook-custom-audience-export-integration","__idx":0},"children":["Facebook Custom Audience Export Integration"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure Data のジョブ結果を、Facebook Custom Audience に直接書き込むことができます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Custom Audience をアップロードまたは作成する際、Facebook では Custom Audience Terms への同意が必要です。カスタマーファイルをターゲットとする広告オブジェクトをエクスポートする場合、または Value-based Custom Audiences をエクスポートする場合に通知が表示されます。Facebook Custom Audience の利用規約に関する通知は、その後 90 日ごとに表示されます。詳細については、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://blog.treasuredata.com/blog/2017/04/04/facebook-custom-audiences/"},"children":["Better Facebook Ads ROI with Data-Driven Custom Audiences"]}," を参照してください。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ジョブ結果を Facebook Custom Audience に書き込む方法のサンプルワークフローについては、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://github.com/treasure-data/treasure-boxes/tree/master/td/facebook_custom_audience"},"children":["Treasure Boxes"]}," を参照してください。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"前提条件","__idx":1},"children":["前提条件"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://toolbelt.treasuredata.com/"},"children":["TD Toolbelt"]}," を含む Treasure Data の基本知識"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Facebook 広告アカウント"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Facebook 広告アカウントへの Treasure Data Facebook アプリのアクセス許可",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["広告アカウントの役割として、管理者または広告主が必要です"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["オプション: Access Token および App Secret"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"オプション-access-token-の取得または生成","__idx":2},"children":["(オプション) Access Token の取得または生成"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["このセクションは、OAuth 認証を使用する場合はオプションです。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"system-user-access-token","__idx":3},"children":["System User Access Token"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Facebook Business Manager にログインし、システムユーザーを作成します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["新しいシステムユーザーを選択し、そのユーザー用の新しいトークンを生成します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure Data では、「有効期限なし」のトークンを生成することを推奨しています。"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/screen-shot-2021-06-16-at-11.08.52.abe8711d04dec42ce11016dcece5ade7090aae63ef46e5d0202ac2e3a5d1e744.40636315.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":"p","attributes":{},"children":["ads_management"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ads_read"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["pages_manage_ads"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["pages_manage_metadata"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["pages_read_engagement"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["pages_read_user_content"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["read_insights"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Facebook への接続用の Access Token を生成できない場合は、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://developers.facebook.com/docs/marketing-api/system-users/"},"children":["System Users on Business Management APIs"]}," を参照してください。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"サポートされている-facebook-データの正規化とハッシュ化の要件","__idx":4},"children":["サポートされている Facebook データの正規化とハッシュ化の要件"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Facebook にデータを送信する前に、データは ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["ソルトなしの SHA256 でハッシュ化する"]}," 必要があります (ソルトとは、データをハッシュ化する一方向関数への追加入力として使用されるランダムデータです)。この要件は、External Identifiers、App User IDs、および Page Scoped User IDs を除くすべてのデータに適用されます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データを送信する前にデータの準備 (正規化とハッシュ化) を行う場合は、オプション ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["No need to normalize and hash records"]}," を ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["True"]}," に設定できます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure Data の結果出力は、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://developers.facebook.com/docs/marketing-api/audiences-api#hash"},"children":["Facebook の正規化ルール"]},"に従って値を自動的に正規化します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Facebook にアップロードしてマッチングを行うすべての値は、Facebook の正規化ルールを使用して正規化する必要があります。正規化されていない場合、値のマッチング機会が失われます。データを手動で正規化する必要がある場合は、出力結果を生成する前に独自の正規化を適用してください。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://developers.facebook.com/docs/marketing-api/conversions-api/parameters/customer-information-parameters#ph"},"children":["Facebook の Marketing API のパラメータ"]},"に渡される顧客情報の値について詳しく学んでください。"]},{"$$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":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["パラメータ"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["説明"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["EXTERN_ID (External ID)"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["アクションは不要です。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["PAGEUID"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["アクションは不要です。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["MADID (Mobile advertiser ID)"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["すべての文字を小文字に変換し、ハイフンを保持します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["EMAIL (Email addresses)"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["先頭と末尾の空白をトリミングし、すべての文字を小文字に変換します。   Meta の",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://developers.facebook.com/docs/marketing-api/audiences/guides/custom-audiences#hash"},"children":["ハッシュ化と正規化の要件"]},"について詳しく学んでください。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["PHONE (Phone numbers)"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["数字以外の文字と先頭のゼロを削除します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["GEN (Gender)"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["先頭と末尾の空白をトリミングし、すべての文字を小文字に変換します。結果が \"m\" または \"f\" と一致しない場合、空の文字列が使用されます (無効な値であるため、マッチングを試みても無駄です)。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["DOBY (Birth Year)"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["数字以外の文字を削除し、最初の 4 桁を取得します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["DOBM (Birth Month) および DOBD (Birthday)"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["数字以外の文字を削除し、最初の 2 桁を取得します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["FN (First Name) および LN (Last Name)"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["先頭と末尾の空白をトリミングし、すべての文字を小文字に変換します。すべての句読点を削除します。UTF-8 エンコーディングの特殊文字をサポートします。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["FI (First Initial)"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["First Name と同じ処理を適用し、最初の文字を取得します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["CT (City)"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["すべての文字を小文字に変換し、アルファベット (a-z) 以外の文字を削除します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["ST (States)"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["すべての文字を小文字に変換し、英数字 (a-z および 0-9) 以外の文字を削除します。  値が米国の州の場合は、2 文字の ANSI 略語コードを使用します。Treasure Data プラットフォームは、米国外の州をサポートする必要があるため、入力文字列を (2 文字に) 切り詰めません。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["ZIP (Zip code)"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["先頭と末尾の空白をトリミングし、すべての文字を小文字に変換し、結果から英数字または空白以外の文字を削除します。  値が米国の郵便番号の場合は、正確に 5 桁を使用します。Treasure Data プラットフォームは、英国の郵便番号形式をサポートする必要があるため、入力文字列を (5 文字に) 切り詰めません。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["LOOKALIKE_VALUE"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Long または double 値。null または空の値は 0 として送信されます。このカラムは Value-based Custom Audience のみでサポートされます。"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"treasure-コンソール-を使用する","__idx":5},"children":["Treasure コンソール を使用する"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"新しい-connection-の作成","__idx":6},"children":["新しい Connection の作成"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure Data では、クエリを実行する前にデータコネクションを作成して設定する必要があります。データコネクションの一部として、インテグレーションにアクセスするための認証を提供します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ターゲットプラットフォームにデータをエクスポートする前に、Facebook Custom Audience の認証を確立する必要があります。認証を作成する手順は次のとおりです。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Treasure コンソール"]}," を開きます。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Integrations Hub"]}," > ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Catalog"]}," に移動します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Facebook Custom Audiences"]}," を検索して選択します。"," ",{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2021-7-8_16-20-34.69d630eff436179447108c78ef84e2befaa0f8df75b381dd88daddd506d0d38b.40636315.png","alt":""},"children":[]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create Authentication"]}," を選択します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Authentication Method で ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Access Token"]}," または ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["OAuth"]}," のいずれかを選択します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/create_auth_new.50fe9f436df55f173760cefe3d492c452d58af34bcc51bc93e18c6a62c052e4d.40636315.png","alt":""},"children":[]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Access Token:"]}," Access Token と App Secret を入力します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["OAuth:"]}," Facebook Custom Audiences の既存の OAuth 接続を選択するか、OAuth connection の下にある ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Click here"]}," リンクを選択して新しい接続を作成します。Facebook アカウントへのログインと Treasure Data コネクターアプリケーションへのアクセス許可を求められます。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Allow fetching Ads Account"]},": このオプションを有効にすると、アクティベーション作成時に事前に入力されたドロップダウンから Ads Account を選択できます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Catalog にリダイレクトされた後、新しい OAuth 接続を選択します。"]}]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Continue"]}," を選択します。"]}]},{"$$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":["Done"]}," を選択します。"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"クエリの定義","__idx":7},"children":["クエリの定義"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["カラム名は大文字と小文字を区別しません。たとえば、email または EMAIL を使用できます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["出力結果は ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://developers.facebook.com/docs/marketing-api/reference/custom-audience/users/"},"children":["Facebook User schema"]}," に従う必要があります。サポートされているカラム名は次のとおりです。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["EXTERN_ID"]},": External ID"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["MADID"]},": Mobile advertiser ID"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["EMAIL"]},": メールアドレス"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["PHONE"]},": 電話番号"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["GEN"]},": 性別"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["DOBY"]},": 生年（年）"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["DOBM"]},": 生月（月）"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["DOBD"]},": 誕生日（日）"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["LN"]},": 姓"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["FN"]},": 名"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["FI"]},": 名のイニシャル"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["CT"]},": 市区町村"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["ST"]},": 都道府県"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["ZIP"]},": 郵便番号"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["COUNTRY"]},": 国コード"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["PAGEUID"]},": Page scope user id"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["LOOKALIKE_VALUE"]},": value-based Custom Audience の値"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["クエリ結果にサポートされているカラムが見つからない場合は、エラーが発生します。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"クエリデータの宛先へのエクスポート","__idx":8},"children":["クエリデータの宛先へのエクスポート"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://docs.treasuredata.com/smart/project-product-documentation/creating-a-destination-integration"},"children":["Creating a Destination Integration"]}," の手順を完了します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data Workbench > Queries"]}," に移動します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["データをエクスポートするクエリを選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["クエリを実行して結果セットを検証します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Export Results"]}," を選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["既存の Integration Authentication を選択します。"," ",{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2020-12-18_13-44-6.09e8af43184e33e337bef7c546600eaaa5be9f010b690af1d591c7c2b4bb2df3.c27c97ee.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["追加の Export Results の詳細を定義します。エクスポート統合コンテンツで、統合パラメータを確認します。"," ","たとえば、Export Results 画面が異なる場合や、入力する追加の詳細がない場合があります。"," ",{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2023-5-17_14-42-52.d2483b20e117c4abf1aaa32c5071595644e4c6b9d987ef4ea4ce4a2038171b85.c27c97ee.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Done"]}," を選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["クエリを実行します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["指定した宛先にデータが移動したことを検証します。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"facebook-custom-audiences-の統合パラメータ","__idx":9},"children":["Facebook Custom Audiences の統合パラメータ"]},{"$$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":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Ad Account ID"]}," (必須)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["act_ プレフィックスなしの Ad Account ID です。API パラメータ: ad_account_id"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Action"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Custom Audience からユーザーを ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Add、Replace"]}," または ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Remove"]}," を選択します。注意: Facebook では、低い Audience サイズ（1000 ユーザー未満）からユーザーを削除すること、またはユーザーを削除すると Audience サイズが低くなる場合は許可されず、エラー ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["You cannot remove users from this audience because it will result in a low audience size."]}," が表示されます。API パラメータ: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["action"]}," (ADD_USERS または REMOVE_USERS、デフォルト: ADD_USER)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Custom Audience Name"]}," (必須)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["重要な注意"]},": この入力と同じ名前の Custom Audience が多数ある場合、最新の Custom Audience Name が使用されます。Custom Audience には一意の名前を付けることをお勧めします。   - Add: 指定された名前の Custom Audience が存在しない場合、その名前で新しい Custom Audience を作成します。エクスポートされた結果はターゲット Audience に追加（付加）されます。 - Replace: 指定された名前の Custom Audience のレコードを新しくアップロードされたレコードに置き換えます。一度に 1 つのカスタム Audience を置き換えるジョブを処理できます。TD 側でジョブが完了した後、Instagram 側でさらに時間がかかります。その間、他のユーザーはそのカスタム Audience を置き換えることができません。 - Remove: このフィールドを空白にすると、すべての Custom Audiences からユーザーが削除され、それ以外の場合はこの名前からユーザーが削除されます。   API パラメータ: output_name"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Custom Audience Description"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Custom Audience のオプションの説明。API パラメータ: output_description"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["No need to normalize and hash records"]}," (デフォルト false)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["データがすでに正規化およびハッシュ化されているかどうかを示します。そうでない場合、TD は自動的にレコードを正規化してハッシュ化します。  API パラメータ: pre_hashed"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Is Value Based?"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Value-Based Custom Audience を作成または更新します。このフィールドは、データに LookAlike_Value カラムがある場合に必要です"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Page ID"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Page scope user id を収集するために使用される Facebook ページ。このフィールドは、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pageuid"]}," カラムを指定してユーザーを追加または削除する場合に必要です。API パラメータ: page_id"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Source of customer data"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["このファイルに収集されたユーザー情報のソースを指定します。このフィールドは、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Action"]}," が ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Add"]}," ユーザーで、Custom Audience Name が存在しない場合に必要です。  API パラメータ: customer_file_source (デフォルト: null、値: USER_PROVIDED_ONLY, PARTNER_PROVIDED_ONLY, BOTH_USER_AND_PARTNER_PROVIDED)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Initial intervals in milliseconds between retries"]}," (オプション、デフォルト 60000)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["回復可能なエラーが発生した場合に再試行する間隔（ミリ秒単位）。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Retry limit"]}," (オプション、デフォルト 5)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["試行が終了するまでの再試行回数。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Sending large audiences"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["このオプションを有効にすると、Audience に大量のユーザーを送信できます。デフォルトは false です（Replace アクションの場合のみ）。デフォルト: False。"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/queries-untitled-query-treasure-data-2.30f519bc9515f1b3250e87929b69d61e6d00a2135041d44ddfae22a3efc216ac.40636315.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"audience-studio-での-facebook-custom-audiences-の-ad-account-ドロップダウンメニュー","__idx":10},"children":["Audience Studio での Facebook Custom Audiences の Ad Account ドロップダウンメニュー"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Audience Studio のアクティベーション作成/編集画面で、Ad Account ID フィールドに手動入力の代わりに便利なドロップダウンメニューが追加されました。ユーザーがフィールドを選択すると、アクセス権のある Facebook Ad アカウントのリストが自動的に表示されます。ドロップダウンの各エントリには、簡単に識別できるように Ad Account ID とそれに関連付けられた名前（例: \"106640720131327 - Nhien An\"）の両方が表示されます。ユーザーは ID を手動で入力するのではなく、リストから目的のアカウントをクリックするだけでよく、入力エラーが減り、ユーザーエクスペリエンスが向上します。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"クエリの例","__idx":11},"children":["クエリの例"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["クエリでエイリアスを使用して、クエリ結果のカラム名を変更できます。例："]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"sql","header":{"controls":{"copy":{}}},"source":"SELECT\nan_email_column AS EMAIL,\nanother_phone_column AS PHONE\nFROM your_table;\n","lang":"sql"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["以下は、クエリ結果の出力",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["前"]},"のオーディエンスリストの例です："]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191009-220341.88aa3bf1b1539bdd376d0da58ad4bc47dda538d61aecfbfe06aabc5546087427.40636315.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure Dataから、Facebook Custom Audienceへの接続に結果を出力して、以下のクエリを実行します："]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"SQL","header":{"controls":{"copy":{}}},"source":"SELECT email, fn, ln FROM (\n  VALUES ('demo1@example.com', 'John', 'Doe'),\n         ('demo2@example.com', 'Isaac', 'Miceli'),\n         ('demo3@example.com', 'Christopher', 'Agar')\n)  tbl (email, fn, ln)\n","lang":"SQL"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["またはPage scope user IDの場合："]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"sql","header":{"controls":{"copy":{}}},"source":"SELECT\n  pageuid\nFROM (\n  VALUES('2018728488162687') ,\n        ('1785406501565085') ,\n        ('2341287802551031') ,\n        ('2487019361340533') ,\n        ('1093039407464499')\n  ) tbl (pageuid)\n","lang":"sql"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["このクエリは実際のユーザーとは一致しません。デモ目的のみです。また、このクエリはソーステーブルを必要としませんが（この機能をテストしやすくするため）、データベースを選択する必要がありますので、「sample_datasets」または他の任意のテーブルを選択してください。Page scope user IDをアップロードするには、ページIDが必要です。例：ページID：",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["136400506505739"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["クエリは数秒で完了するはずです。その後、オーディエンスリストを確認してください："]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191009-220428.ac9853c3dfd6616b987777e178bd3c13253b082e97a569a7174bd5b48f71dff6.40636315.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"オプション-query-export-ジョブをスケジュールする","__idx":12},"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":13},"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":14},"children":["Custom cron... の詳細"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2021-1-15_17-30-23.0f94a8aa5f75ea03e3fec0c25b0640cd59ee48d1804a83701e5f2372deae466c.0f87d8d4.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Cron 値"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["説明"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["0 * * * *"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["1 時間に 1 回実行します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["0 0 * * *"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["1 日 1 回午前 0 時に実行します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["0 0 1 * *"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["毎月 1 日の午前 0 時に 1 回実行します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["\"\""]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["スケジュールされた実行時刻のないジョブを作成します。"]}]}]}]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":" *    *    *    *    *\n -    -    -    -    -\n |    |    |    |    |\n |    |    |    |    +----- day of week (0 - 6) (Sunday=0)\n |    |    |    +---------- month (1 - 12)\n |    |    +--------------- day of month (1 - 31)\n |    +-------------------- hour (0 - 23)\n +------------------------- min (0 - 59)\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["次の名前付きエントリを使用できます:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Day of Week: sun, mon, tue, wed, thu, fri, sat."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Month: jan, feb, mar, apr, may, jun, jul, aug, sep, oct, nov, dec."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["各フィールド間には単一のスペースが必要です。各フィールドの値は、次のもので構成できます:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"fixed-table"},"children":[{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"width":"35%","data-label":"フィールド値"},"children":["フィールド値 "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"20%","data-label":"例"},"children":["例 "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"45%","data-label":"例の説明"},"children":["例の説明 "]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["各フィールドに対して上記で表示された制限内の単一の値。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["フィールドに基づく制限がないことを示すワイルドカード"," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'*'"]},"。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'0 0 1 * *'"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["毎月 1 日の午前 0 時 (00:00) に実行するようにスケジュールを設定します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["範囲 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'2-5'"]}," ","フィールドの許可される値の範囲を示します。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'0 0 1-10 * *'"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["毎月 1 日から 10 日までの午前 0 時 (00:00) に実行するようにスケジュールを設定します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["カンマ区切りの値のリスト ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'2,3,4,5'"]}," ","フィールドの許可される値のリストを示します。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["0 0 1,11,21 * *'"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["毎月 1 日、11 日、21 日の午前 0 時 (00:00) に実行するようにスケジュールを設定します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["周期性インジケータ ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'*/5'"]}," ","フィールドの有効な値の範囲に基づいて、"," ","スケジュールが実行を許可される頻度を表現します。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'30 */2 1 * *'"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["毎月 1 日、00:30 から 2 時間ごとに実行するようにスケジュールを設定します。"," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'0 0 */5 * *'"]}," は、毎月 5 日から 5 日ごとに午前 0 時 (00:00) に実行するようにスケジュールを設定します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'*'"]}," ","ワイルドカードを除く上記の"," ","いずれかのカンマ区切りリストもサポートされています"," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'2,*/5,8-10'"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'0 0 5,*/10,25 * *'"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["毎月 5 日、10 日、20 日、25 日の午前 0 時 (00:00) に実行するようにスケジュールを設定します。"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["(オプション) Delay execution を有効にすることで、クエリの開始時刻を遅延させることができます。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"クエリを実行する","__idx":15},"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":"広告配置の編集","__idx":16},"children":["広告配置の編集"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Instagram Custom Audienceにユーザーリストを出力した後、"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Facebook/Instagram Ads Managerを開いて広告配置を編集します。デフォルトでは、FacebookはInstagram広告内に表示することを選択します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191017-152524.064bc1dbbeb0ecf64152ae4461bf71f76eca63dd0f0bc8b6cebeba57f6afb39c.40636315.png","alt":""},"children":[]}]}]},{"$$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":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191017-152759.d7ddf43c63f911343db6bd54b1706a98c81d3be6c2d092f7023ea0ac9d4b7697.40636315.png","alt":""},"children":[]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"business-managerへの広告アカウント追加エラーメッセージのトラブルシューティング","__idx":17},"children":["Business Managerへの広告アカウント追加エラーメッセージのトラブルシューティング"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["次のエラーが表示された場合："]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["This ad account is not connected to Business Manager. To create or edit a customer file Custom Audience, your admin needs to connect this ad account to a business account."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["広告アカウントをBusiness Managerアカウントに追加する必要があります。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["以下の手順に従ってください："]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Business Managerアカウントを作成：",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://www.facebook.com/business/help/1710077379203657"},"children":["https://www.facebook.com/business/help/1710077379203657"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["広告アカウントを追加：",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://www.facebook.com/business/help/910137316041095"},"children":["https://www.facebook.com/business/help/910137316041095"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191009-221101.cd209babc4fda8f0357843fbd7d309bb67ba53b5ab266ea9fb58fcbd6b508329.40636315.png","alt":""},"children":[]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"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":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["パラメータ"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["説明"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["広告アカウントを追加"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["広告アカウントを追加すると、アカウントは永続的にBusiness Managerに移行されます。広告アカウントを追加するには、広告アカウントの所有者であり、かつBusiness Managerの管理者である必要があります。広告アカウントを追加してBusiness Managerに移行した場合、その操作を元に戻すことはできません。また、広告アカウントのすべての管理は、Business Managerプロファイル内で完了する必要があることに注意してください。別のBusiness Managerが所有する広告アカウントは追加できません。それでも別のビジネスが所有する広告アカウントで作業したい場合は、そのアカウントへのアクセスをリクエストできます。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["広告アカウントへのアクセスをリクエスト"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Business Manager内の広告アカウントへのアクセスをリクエストすると、そのBusiness Managerの管理者がそのアカウントで作業する権限を付与できます。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["新しい広告アカウントを作成"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Business Managerで新しい広告アカウントを作成すると、そのアカウントは永続的にそのBusiness Managerに属します。Business Manager内で作成された広告アカウントは、Business Managerロールを所有していない個人の所有者に譲渡することはできません。"]}]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"workflowでのエクスポート結果の構成オプション","__idx":18},"children":["Workflowでのエクスポート結果の構成（オプション）"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure ワークフロー内では、このデータコネクタを使用してデータをエクスポートするように指定できます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["詳細については、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/tools/cli-and-sdks/api#workflow-commands"},"children":["TD Toolbeltを使用したWorkflowによるデータエクスポート"]},"を参照してください。"]}]},"headings":[{"value":"Facebook Custom Audience Export Integration","id":"facebook-custom-audience-export-integration","depth":1},{"value":"前提条件","id":"前提条件","depth":2},{"value":"(オプション) Access Token の取得または生成","id":"オプション-access-token-の取得または生成","depth":3},{"value":"System User Access Token","id":"system-user-access-token","depth":4},{"value":"サポートされている Facebook データの正規化とハッシュ化の要件","id":"サポートされている-facebook-データの正規化とハッシュ化の要件","depth":2},{"value":"Treasure コンソール を使用する","id":"treasure-コンソール-を使用する","depth":2},{"value":"新しい Connection の作成","id":"新しい-connection-の作成","depth":3},{"value":"クエリの定義","id":"クエリの定義","depth":3},{"value":"クエリデータの宛先へのエクスポート","id":"クエリデータの宛先へのエクスポート","depth":3},{"value":"Facebook Custom Audiences の統合パラメータ","id":"facebook-custom-audiences-の統合パラメータ","depth":3},{"value":"Audience Studio での Facebook Custom Audiences の Ad Account ドロップダウンメニュー","id":"audience-studio-での-facebook-custom-audiences-の-ad-account-ドロップダウンメニュー","depth":3},{"value":"クエリの例","id":"クエリの例","depth":4},{"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":"広告配置の編集","id":"広告配置の編集","depth":2},{"value":"Business Managerへの広告アカウント追加エラーメッセージのトラブルシューティング","id":"business-managerへの広告アカウント追加エラーメッセージのトラブルシューティング","depth":2},{"value":"Workflowでのエクスポート結果の構成（オプション）","id":"workflowでのエクスポート結果の構成オプション","depth":2}],"frontmatter":{"seo":{"title":"Facebook Custom Audience Export Integration"}},"lastModified":"2026-06-01T09:47:58.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/int/facebook-custom-audience-export-integration","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}