{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition","tabs","tab"]},"type":"markdown"},"seo":{"title":"Facebook Lead Ads インポート連携","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-lead-ads-インポート連携","__idx":0},"children":["Facebook Lead Ads インポート連携"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Facebook Lead Ads Connectorを使用して、FacebookページまたはAd AccountをTreasure Dataに接続し、リードデータをインポートできます。"]},{"$$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ページ/Adアカウント"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["認可されたTreasure アカウントへのアクセス"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"ad-idとform-idの取得","__idx":2},"children":["Ad IDとForm IDの取得"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"ad-id","__idx":3},"children":["Ad ID"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Ad Managerの画面にAd ID列を追加することで、Ad IDを取得できます。Ads Managerの画面から、右側の(+)記号をクリックし、「Customize Columns...」を選択して、画像に示されているようにAd ID列を検索します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/screen-shot-2020-02-22-at-4.28.21-pm.7671904a53ee4718f1a50faad7c9460ddc6c4a30d8785c4d233ac4f3e0eba575.53b79903.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"form-id","__idx":4},"children":["Form ID"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Form IDは、Publishing Tools > Lead Ads Formから取得でき、画像に示されているように既存のFormにカーソルを合わせます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/screen-shot-2020-02-22-at-4.29.09-pm.26512d51670946040e3c2bf7b503aa901e114a7fd6fd4f163869b49faa3e93d2.53b79903.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"リードフォームのフィールド名の取得","__idx":5},"children":["リードフォームのフィールド名の取得"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Lead Ads Forms"]},"に移動します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2021-1-12_16-53-3.3a90ab224b518ac07b9e13f839ba4c3d2b0c8bced05b0b4fa20f116e0e581026.53b79903.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":2},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Download new leads"]},"を選択します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2021-1-12_16-54-25.7239d0f369ee9818e26497678563d6894537ce7035e8e25f9551721e577abf37.53b79903.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":3},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["CSV"]},"を選択してCSVファイルをダウンロードします。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ダウンロードしたCSVファイルを開くと、フォームのフィールド名が次のように表示されます："]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2021-1-12_16-56-56.5083933cc091592fa10385ab18c3a3e0454b9f3d99deee8cf22aa45e83ae1273.53b79903.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["キャンペーンのLifetime結果を表示している場合でも、過去90日間のリードのみをダウンロードできます。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"treasure-コンソールで新しい接続を作成","__idx":6},"children":["Treasure コンソールで新しい接続を作成"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["FacebookインターフェースとTreasure Dataの両方で設定を完了します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データ接続を設定する際には、統合にアクセスするための認証を提供します。Treasure Dataでは、認証を設定してからソース情報を指定します。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Integrations Hub > Catalog"]},"に移動し、Facebook Lead Adsを検索して選択します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2021-1-13_8-57-19.1c6286dfada7c999d04b3732d156c5c5121ebb40bbf0da22f5f4bef2015f3d85.53b79903.png","alt":""},"children":[]}," ","2. 次のダイアログが開きます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/screen-shot-2020-02-22-at-3.59.30-pm.b1c30500b10490efbf0c6f9cd47e8d17049d3db449bf47c8d1d60c7f70668f7b.53b79903.png","alt":""},"children":[]}," ","3. Treasure DataとFacebookを認証する方法によって、データコネクタがFacebookからインポートできるようにするための手順が異なります。"]},{"$$mdtype":"Tag","name":"Tabs","attributes":{"size":"medium"},"children":[{"$$mdtype":"Tag","name":"div","attributes":{"label":"OAuth","disable":false},"children":[{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Click here"]},"を選択して新しいアカウントに接続します。まだログインしていない場合は、Facebookへのログイン、またはTreasure Dataへのアクセス権を付与する同意ページにリダイレクトされます。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/screen-shot-2020-02-22-at-4.00.45-pm.61953aa0c97d66b3add87ba517c3784eaa03b611ab1b294a062c530cde20b162.53b79903.png","alt":""},"children":[]}," ","2. ポップアップウィンドウでFacebookアカウントにログインします："]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/data-connector-facebook-login.ffc61a088d2fba0cad93ac39afbcb5c2cf06e120c8fdf113b84fe3855bd8b04d.53b79903.png","alt":""},"children":[]}," ","3. Treasure Dataへのアクセス権を付与すると、Treasure コンソールにリダイレクトされます。"," ","4. Facebook Lead Adsを再度選択します。"," ","5. OAuth認証方法を選択します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ドロップダウンリストにアカウント名を含むOAuth接続が表示されます。"," ","6. 使用するアカウントを選択し、接続の作成に進みます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/screen-shot-2020-02-22-at-4.01.51-pm.e6ed2f50b3017728ae7ef9d21e67dc5c6d4f1531e538bc8cddeed0e64b6bff1f.53b79903.png","alt":""},"children":[]}," ","7. ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Continue"]},"を選択します。"," ","8. Facebook Lead Adsの認証詳細を提供します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/screen-shot-2020-02-22-at-4.02.52-pm.ebc6b10690e5235f838a872d895ca54568d1fa31b5a6ab40cce98d81139ae59a.53b79903.png","alt":""},"children":[]}," ","9. ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Done"]},"を選択します。"]}]},{"$$mdtype":"Tag","name":"div","attributes":{"label":"Access Token","disable":false},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["この方法で認証するには、長期間有効なAccess TokenとオプションでApp Secretが必要です。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Access tokenとApp secretを使用してコネクタを設定する方法の詳細については、こちらを参照してください。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Access TokenとApp Secretを入力し、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Continue"]},"をクリックします。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/screen-shot-2020-02-22-at-4.04.56-pm.87cccc2243707547a237484848254d7681b8193566fb222b1f411cc68d6b8988.53b79903.png","alt":""},"children":[]}," ","3. 新しいFacebook Lead Ads接続に名前を付けます。"," ","4. ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Done"]},"を選択します。"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"facebookリードデータをtreasure-dataに転送","__idx":7},"children":["FacebookリードデータをTreasure Dataに転送"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["認証された接続を作成した後、自動的にAuthenticationsタブに移動します。作成した接続を探して",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["New Source"]},"をクリックします。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["作成した接続を検索します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["New Source"]},"を選択します。Create Sourceダイアログが開きます。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"接続に名前を付ける","__idx":8},"children":["接続に名前を付ける"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Data Transferフィールドで",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Source"]},"の名前を入力します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next"]},"を選択します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/screen-shot-2020-02-22-at-4.06.05-pm.99e30504140178bffcfd5dfc37b3ba7e33ca10fdb7822932995d36ec8479cdad.53b79903.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"source-table","__idx":9},"children":["Source Table"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["チェックボックス",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Enable Guess Schema"]},"がチェックされている場合、コネクタは最初のLead Adをダウンロードし、このAdのみに対してフィールド名とデータ型のスキーマ推測を実行します。複数のフォームがあり、フィールド名が異なる場合、データのインポートが欠落したり、一貫性がなくなったりする可能性があります。この場合、すべてのフィールド名をFORM FIELDSに入力する必要があります。- id、created_time、ad_id、ad_name、adset_id、adset_name、campaign_id、campaign_name、form_id、platform、is_organicは",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["予約語"]},"です。これらのフィールド名でFacebookフォームを作成しないでください。これらのフィールドをForm Fieldsに追加しないでください。これらは自動的に追加されます。"]}]},{"$$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/image-20201211-065925.a75784f3254c42a93a050309f6d61c6c8012b62b92be355065ae6daac0ffd75a.53b79903.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["パラメータ："]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Ad Account ID"]},": (オプション) FacebookのAd Account ID。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["AD ID/Form ID:"]}," (Ad Account IDが設定されていない場合は必須)Ad IDまたはForm IDによってリードデータをインポートできます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Created Time From:"]}," (オプション) この時刻から現在時刻までに送信されたリードデータをインポートします。このフィールドはISO 8601日付時刻形式を受け入れます。例：2020-01-01T00:00:00+0700。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Incremental"]},": 最後の実行以降の新しいデータのみをインポートします。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Enable Guess Schema:"]}," この機能を使用して、コネクタが自動的にフォームフィールドを推測するか、これをクリアしてFORM FIELDSのField NameとData Typeを入力することでフォームフィールドを入力できます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Field Name:"]}," リードフォームのフィールド名。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data Type"]},": このフィールドのデータ型。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Timestamp format"]},": フィールドがタイムスタンプフィールドの場合、タイムスタンプ形式を提供します。例：%Y-%m-%dT%H:%M:%S%z。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"data-settings","__idx":10},"children":["Data Settings"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Data Settingsでは、データ転送をカスタマイズできます。"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Column Nameは変更しないでください。リードフォームのフィールド名は、インポート時に列名として使用されます。ただし、フィールド名の特殊文字(英数字またはアンダースコア「_」以外)はサポートされておらず、アンダースコアに変換されます。ただし、Treasure Dataコネクタによって自動生成される追加フィールドである",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ad_account_name"]},"と",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ad_account_id"]},"は除きます。"]}]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next"]},"を選択します。Data Settingsページが開きます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["オプションで、データ設定を編集するか、ダイアログのこのページをスキップします。"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Skip invalid record(s): 選択すると、無効なリードデータをスキップし、他のデータを引き続きインポートします。選択しない場合、無効なデータが検出されるとジョブは失敗します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Schema Settings: そのカラムのデータ型またはタイムスタンプ形式が無効であることが判明した場合、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data Type"]},"または",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Timestamp format"]},"カラムを変更できます。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/screenshot_2023-08-26_at_08_27_31.15f2f335ce0656712e9ac7950315977fd5f5f9d9efaa3cc70ce823f05dfac200.53b79903.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"data-preview","__idx":11},"children":["Data Preview"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["インポートを実行する前に、Generate Preview を選択してデータの",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/integration-hub/batch/import/previewing-your-source-data"},"children":["プレビュー"]},"を表示できます。Data preview はオプションであり、選択した場合はダイアログの次のページに安全にスキップできます。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next"]}," を選択します。Data Preview ページが開きます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["データをプレビューする場合は、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Generate Preview"]}," を選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["データを確認します。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"data-placement","__idx":12},"children":["Data Placement"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データの配置について、データを配置したいターゲット database と table を選択し、インポートを実行する頻度を指定します。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next"]}," を選択します。Storage の下で、インポートされたデータを配置する新しい database を作成するか、既存の database を選択し、新しい table を作成するか、既存の table を選択します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Database"]}," を選択 > ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Select an existing"]}," または ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create New Database"]}," を選択します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["オプションで、database 名を入力します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Table"]}," を選択 > ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Select an existing"]}," または ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create New Table"]}," を選択します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["オプションで、table 名を入力します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データをインポートする方法を選択します。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Append"]}," (デフォルト) - データインポートの結果は table に追加されます。"," ","table が存在しない場合は作成されます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Always Replace"]}," - 既存の table の全体の内容をクエリの結果出力で置き換えます。table が存在しない場合は、新しい table が作成されます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Replace on New Data"]}," - 新しいデータがある場合のみ、既存の table の全体の内容をクエリの結果出力で置き換えます。"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Timestamp-based Partition Key"]}," 列を選択します。"," ","デフォルトキーとは異なるパーティションキーシードを設定したい場合は、long または timestamp 列をパーティショニング時刻として指定できます。デフォルトの時刻列として、add_time フィルターで upload_time を使用します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データストレージの ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Timezone"]}," を選択します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Schedule"]}," の下で、このクエリを実行するタイミングと頻度を選択できます。"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"一度だけ実行","__idx":13},"children":["一度だけ実行"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Off"]}," を選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Scheduling Timezone"]}," を選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create & Run Now"]}," を選択します。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"定期的に繰り返す","__idx":14},"children":["定期的に繰り返す"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["On"]}," を選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Schedule"]}," を選択します。UI では、",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["@hourly"]},"、",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["@daily"]},"、",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["@monthly"]},"、またはカスタム ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["cron"]}," の 4 つのオプションが提供されます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Delay Transfer"]}," を選択して、実行時間の遅延を追加することもできます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Scheduling Timezone"]}," を選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create & Run Now"]}," を選択します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["転送が実行された後、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data Workbench"]}," > ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Databases"]}," で転送の結果を確認できます。"]}]},"headings":[{"value":"Facebook Lead Ads インポート連携","id":"facebook-lead-ads-インポート連携","depth":1},{"value":"前提条件","id":"前提条件","depth":2},{"value":"Ad IDとForm IDの取得","id":"ad-idとform-idの取得","depth":2},{"value":"Ad ID","id":"ad-id","depth":3},{"value":"Form ID","id":"form-id","depth":3},{"value":"リードフォームのフィールド名の取得","id":"リードフォームのフィールド名の取得","depth":3},{"value":"Treasure コンソールで新しい接続を作成","id":"treasure-コンソールで新しい接続を作成","depth":2},{"value":"FacebookリードデータをTreasure Dataに転送","id":"facebookリードデータをtreasure-dataに転送","depth":3},{"value":"接続に名前を付ける","id":"接続に名前を付ける","depth":3},{"value":"Source Table","id":"source-table","depth":3},{"value":"Data Settings","id":"data-settings","depth":3},{"value":"Data Preview","id":"data-preview","depth":3},{"value":"Data Placement","id":"data-placement","depth":3},{"value":"一度だけ実行","id":"一度だけ実行","depth":4},{"value":"定期的に繰り返す","id":"定期的に繰り返す","depth":4}],"frontmatter":{"seo":{"title":"Facebook Lead Ads インポート連携"}},"lastModified":"2026-06-01T09:34:27.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/int/facebook-lead-ads-import-integration","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}