{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Google Search Analytics Import 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":"google-search-analytics-import-integration","__idx":0},"children":["Google Search Analytics Import Integration"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Google Search Analyticsのデータを 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":["Treasure Data の基本知識"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Google Search Analytics の基本知識"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Google Search Console アカウント"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"treasure-コンソール-を使用して接続を作成する","__idx":2},"children":["Treasure コンソール を使用して接続を作成する"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"新しい接続を作成する","__idx":3},"children":["新しい接続を作成する"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データ接続を設定する際、統合にアクセスするための認証を提供します。Treasure Data では、認証を設定してからソース情報を指定します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Integrations Hub"]}," > ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Catalog"]}," に移動し、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Google Search Analytics"]}," を検索して選択します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191015-200309.48f84de493cfdd1fe6f1d418c13e8f3c4d0ddf1106d5a4a89d5a652d2a6905ff.42487ed6.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["次のダイアログが開きます"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2022-6-28_13-7-34.5c71f6b6118e6d94fd92ae88cafda7ea757a9c0238784437b2091d8291d74c27.42487ed6.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure Data Google Search Analytics へのアクセスには OAuth2 認証が必要です。この認証では、ユーザーが手動で Treasure アカウントを各自の Google Search Analytics アカウントに接続する必要があります。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["認証を行うには、次の手順を実行します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Click here"]}," を選択して新しいアカウントに接続します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ポップアップウィンドウで Google アカウントにログインし、Treasure Data Connector アプリへのアクセスを許可します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191015-200419.47117e007e3e9f4f8029646f0a0135a055da9ec99d82e71a55b1c4e32771e1c8.42487ed6.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure コンソール にリダイレクトされます。最初のステップ（新しい接続の作成）を繰り返し、新しい OAuth 接続を選択します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191015-200450.0aea32d50604bbbde24a9da78b4bd76336085d9b07a6973a4c42183c98b3336e.42487ed6.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["新しい OneDrive 接続に名前を付けます。",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Done"]}," を選択します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191015-200509.351aa46fd8d7067cb46dd2fe2862798b83aace0bde114e364b7ecae185c15c47.42487ed6.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"google-search-analytics-データを-treasure-data-に転送する","__idx":4},"children":["Google Search Analytics データを Treasure Data に転送する"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Authentications"]}," で、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["New Source"]}," を設定します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191015-200546.a70e7ee761b092650bd62dff6aa8813ba142a37c91b75936fa1534ef1e2f0749.42487ed6.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["詳細を入力し、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next"]}," を選択します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191015-200608.4a46f4ed111cb68f21ccb77ee35a34e253d49822e2ec746096e30c5afb823d26.42487ed6.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"パラメータ","__idx":5},"children":["パラメータ"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Site URL"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Google Search Console で追跡されるプロパティ。Google はプロトコル（http:// または https://）、ドメイン、サブドメイン（例: example.com、m.example.com、www.example.com）を異なるものとして認識するため、データを取得したいドメイン、サブドメイン、またはパスブランチの正確な URL を入力する必要があります。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ドメインプロパティを使用する場合は、ドメインを指定する際に次の形式を使用します: sc-domain:example.com。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Group by Dimension"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["インポートするデータを 1 つ以上のディメンションでグループ化できます。サポートされているディメンションは、Page、Country、Device、Query、Search Appearance です。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Search Appearance を他の ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Dimensions"]}," とグループ化することはできません。有効なディメンショングループの例: Page、Country、Device。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["選択したディメンションの数は、出力スキーマに影響します。例えば、ディメンション Country、Device、Query が選択された場合、インポートには Country、Device、Query のカラムが含まれます。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"+----------------+---------------------+---------------+--------------+--------------------+------------+-----------------+----------------------------------+\n| country:string |        query:string | device:string | click:double | impressions:double | ctr:double | position:double | response_aggregation_type:string |\n+----------------+---------------------+---------------+--------------+--------------------+------------+-----------------+----------------------------------+\n|            usa |       a sample data |       DESKTOP |          3.0 |                8.0 |      0.375 |            1.25 |                       byProperty |\n|            usa |       a sample data |        MOBILE |          3.0 |                5.0 |        0.6 |             1.0 |                       byProperty |\n|            twn | a sample data japan |        TABLET |          2.0 |                2.0 |        1.0 |             1.0 |                       byProperty |\n+----------------+---------------------+---------------+--------------+--------------------+------------+-----------------+----------------------------------+\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Filter by Dimension"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["複数のカテゴリでデータをフィルタリングできます。例えば、現在クエリでデータをグループ化している場合、「query contains 'treasure data'」というフィルタを追加できます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Google Search Analytics は現在「AND」演算子のみをサポートしています。そのため、「Country equals'USA'」AND「Device equals'Mobile'」AND「Query contains 'sample data'」のようなフィルタはデータを返しますが、「Country equals'USA'」AND「Country equals 'JPN'」AND「query contains 'sample data'」はデータを返しません。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Search Type"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["検索タイプで分析データをフィルタリングします。サポートされている値: Web、Image、Video。デフォルトでは Web が選択されます。選択された値は、search_type カラムの下の出力スキーマに含まれます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Start Date and End Date"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["要求された日付範囲、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Start Date"]}," と ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["End Date"]}," は必須です。YYYY-MM-DD 形式で指定します。",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["End Date"]}," は ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Start Date"]}," 以上である必要があります。値は包括的です: ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Start Date"]}," の開始時刻（",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Start Date"]}," の 00:00:00）から ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["End Date"]}," の終了時刻（",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["End Date"]}," の 23:59:59）までです。特定の日にインポートする場合は、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Start Date"]}," を ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["End Date"]}," と等しく設定します。例: Start Date = 2018-06-11、End Date = 2018-06-11。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データは ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Start Date"]}," と ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["End Date"]}," によって集約されます。日付範囲を 1 日より長く設定すると、クリック、ctr、インプレッション、ポジションの値は、指定された日付範囲内の個別の日の合計になります。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["結果のデータは PST 時間（UTC-8:00）です。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データには 2～3 日の遅延がある可能性があり、Google Search Console でデータが利用可能になるまで待機します。ベストプラクティスとして、データが利用可能な日付よりも大きい End Date を設定しないでください。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Incremental Loading"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Incremental Loading を有効にすることで、ジョブを反復的に実行するようにスケジュールできます。ジョブ実行の次の反復は、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Start Date"]}," と ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["End Date"]}," の値から計算されます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["次は ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["single day"]}," と ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["multiple days"]}," の時間範囲の次の反復の例です:"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Single-day range"]},{"$$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":["Jobs"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Start Date"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["End Date"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["First run"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["2018-01-01"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["2018-01-01"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Second run"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["2018-01-02"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["2018-01-02"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Third run"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["2018-01-03"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["2018-01-03"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["1 Week range"]},{"$$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":["Jobs"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Start Date"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["End Date"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["First run"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["2018-01-01"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["2018-01-07"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Second run"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["2018-01-08"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["2018-01-15"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Third run"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["2018-01-16"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["2018-01-23"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"プレビューと詳細設定","__idx":6},"children":["プレビューと詳細設定"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["次のダイアログのようなデータのプレビューが表示されます。",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://docs.treasuredata.com/smart/project-product-documentation/about-data-preview"},"children":["Preview"]}," の詳細をご覧ください。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191015-201040.3667e6d96665f9ff79e3415e24da1b46cacd4b1892a388f6e6ae5a5a9ee96760.42487ed6.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Advanced Settings"]}," を選択して、データコネクタの動作をカスタマイズします。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191015-201106.820465a186af0c74df2c8f22f82b3e9f7c404de36c20a96030d656b112a825b8.42487ed6.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Include Report Duration"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Include Report Duration オプションは出力スキーマに影響します。チェックボックスが選択されている場合（デフォルト）、インポートジョブの結果には 2 つの追加カラム（",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Start Date"]}," と ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["End Date"]},"、タイプは string）が含まれます。次の例のように表示されます:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"+--------------------------+--------------+--------------------+--------------------+--------------------+------------------+-----------------+\n|             query:string | click:double | impressions:double |         ctr:double |    position:double |start_date:string | end_date:string |\n+--------------------------+--------------+--------------------+--------------------+--------------------+------------------+-----------------+\n|            a sample data |         11.0 |               35.0 | 0.3142857142857143 |  1.342857142857143 |       2018-05-05 |      2018-05-05 |\n|             a sampledata |          3.0 |                8.0 |              0.375 |              1.625 |       2018-05-05 |      2018-05-05 |\n|      a sample data japan |          2.0 |                2.0 |                1.0 |                1.0 |       2018-05-05 |      2018-05-05 |\n|               cdp vs dmp |          1.0 |                3.0 | 0.3333333333333333 | 1.6666666666666665 |       2018-05-05 |      2018-05-05 |\n|               cmp vs dmp |          1.0 |                1.0 |                1.0 |                7.0 |       2018-05-05 |      2018-05-05 |\n|        a sample treasure |          1.0 |                1.0 |                1.0 |                1.0 |       2018-05-05 |      2018-05-05 |\n|               hive guide |          1.0 |                2.0 |                0.5 |                4.5 |       2018-05-05 |      2018-05-05 |\n| postgresql elasticcloud  |          1.0 |                4.0 |               0.25 |                8.5 |       2018-05-05 |      2018-05-05 |\n|         s3 elasticcloud  |          1.0 |                1.0 |                1.0 |               11.0 |       2018-05-05 |      2018-05-05 |\n|            a sample data |          1.0 |                1.0 |                1.0 |                1.0 |       2018-05-05 |      2018-05-05 |\n+--------------------------+--------------+--------------------+--------------------+--------------------+------------------+-----------------+\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Retry Limit"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure Data へのデータインポート中には、ネットワークの変動や Google サーバーの同時実行制限など、プロセスに影響を与える多くの要因があります。コネクタは、指定した回数だけインポートを再試行します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Initial retry time wait in millis"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["コネクタは、インポートを再試行する前に、指定したミリ秒数だけ最初に待機します。次の再試行は 2 * initial retry time、というように続きます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Max retry wait in millis"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["待機時間が指定した制限に達すると、コネクタは再試行を中止します。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"ターゲットデータベースとテーブルを選択する","__idx":7},"children":["ターゲットデータベースとテーブルを選択する"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["既存のデータベースとテーブルを選択するか、新しいデータベースとテーブルを作成します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191015-201137.be4dec40a8bb8bd3b2b79ccb690a9a933fe392c27f5c6709e145b75deb0fb756.42487ed6.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["新しいデータベースを作成し、データベースに名前を付けます。",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create new table"]}," についても同様の手順を実行します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["既存のテーブルにレコードを ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["append"]}," するか、既存のテーブルを ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["replace"]}," するかを選択します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["デフォルトのキーではなく別の ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["partition key seed"]}," を設定する場合は、ポップアップメニューを使用して指定できます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"スケジューリング","__idx":8},"children":["スケジューリング"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Schedule"]}," タブでは、1 回限りの転送を指定するか、自動化された繰り返し転送をスケジュールできます。",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Once now"]}," を選択した場合は、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Start Transfer"]}," を選択します。",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Repeat…"]}," を選択した場合は、スケジュールオプションを指定してから、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Schedule Transfer"]}," を選択します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191015-201205.983f09199d83c5306c57d8699e92d18da879985d03b9171e88d6374694ebff84.42487ed6.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["New Source 名を入力し、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Done"]}," を選択します。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"cli-を使用する","__idx":9},"children":["CLI を使用する"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"td-コマンドをインストールする","__idx":10},"children":["'td' コマンドをインストールする"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://toolbelt.treasuredata.com/"},"children":["Treasure Data Toolbelt"]}," をインストールします。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"必要な-google-api-認証情報を取得する","__idx":11},"children":["必要な Google API 認証情報を取得する"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["'td' コマンドのコネクタ設定には以下が必要です:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"* client_id\n* client_secret\n* refresh_token\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["これらのパラメータは次の手順で取得できます:"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"client_idclient-secret-を取得する","__idx":12},"children":["client_id、client secret を取得する"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["すでに OAuth 2 を設定し、Google Search Console APIs アクセスを有効にし、client ID と client secret を持っている場合は、このステップをスキップできます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["client ID と client secret を取得するには、開発者向け Google Search Console APIs の手順に従ってください: ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://developers.google.com/webmaster-tools/search-console-api-original/v3/how-tos/authorizing"},"children":["https://developers.google.com/webmaster-tools/search-console-api-original/v3/how-tos/authorizing"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["また、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://console.developers.google.com/flows/enableapi?apiid=webmasters.googleapis.com"},"children":["Google Search Console API Wizard"]}," を使用することもできます。これにより、プロジェクトをすばやく作成し、Google Search Console API をオンにすることができます。Credentials > Create Credentials > OAuth ClientID > Web Application に移動します。名前を入力して ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create"]}," を選択します。次の画面に client ID と client secret が表示されます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"refresh_token-を取得する","__idx":13},"children":["refresh_token を取得する"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["取得する必要がある残りの認証情報は refresh token です。refresh token を取得する 1 つの方法は、Google OAuth 2.0 Playground を使用することです。こちらで利用できます: ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://developers.google.com/oauthplayground/"},"children":["Google OAuth 2.0 Playground"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["まず、OAuth 2.0 Playground 内で、右上隅の歯車アイコンを選択し、Use your own OAuth credentials チェックボックスを選択してください。OAuth ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Client ID"]}," と OAuth ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Client secret"]}," に、API コンソールから取得した認証情報を挿入します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ステップ 1 で、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Search Console API v3"]}," を選択します。次に \"",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://www.googleapis.com/auth/webmasters.readonly"},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["https://www.googleapis.com/auth/webmasters.readonly"]}]},"\" を選択し、\"",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Authorize APIs"]},"\" を選択して、指示に従って Search Console API から Google Search Console アカウントへのアクセスを許可します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ステップ 2 で、Exchange authorization code for tokens を選択すると、Refresh Token と Access Token フィールドが入力されます。refresh token フィールドの値が、次のステップでコネクタ設定を準備するために使用されます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"設定を準備してデータをプレビューする","__idx":14},"children":["設定を準備してデータをプレビューする"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["次のように config.yml を準備します:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"in:\n  type: \"google_search_analytics\"\n  client_id: \"[Your Client ID]\"\n  client_secret: \"[Your Client Secret]\"\n  refresh_token: \"[Your Refresh Token]\"\n  site_url: \"[Your tracked site]\"\n  dimensions: [\"query\"]\n  filters:\n    - {\n        \"dimension\": \"query\",\n        \"operator\": \"equals\",\n        \"expression\": \"a sample\"\n      }\n  search_type: web\n  start_date: \"2018-06-01\"\n  end_date: \"2018-06-01\"\n  include_report_period: false\nout:\n  mode: append\nfilters:\n  - {\n      type: \"add_time\",\n      to_column: {\"name\": \"time\"},\n      from_value: {\"mode\": \"upload_time\"}\n    }\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["利用可能な ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["out"]}," モードの詳細については、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Appendix A"]}," を参照してください"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["filters"]}," の詳細については、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Appendix B"]}," を参照してください"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["その後、preview コマンドを使用してデータのプレビューを表示できます。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"$ td connector:preview config.yml\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Google Search Analytics コネクタでは td connector:guess を実行する必要はありません。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"ロードジョブを実行する","__idx":15},"children":["ロードジョブを実行する"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ロードジョブを送信します。データのサイズによっては、処理に数時間かかる場合があります。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"$ td connector:issue config.yml --database td_sample_db --table td_sample_table\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"スケジュール実行","__idx":16},"children":["スケジュール実行"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Search Analytics データの増分インポートのために、定期的なデータコネクタ実行をスケジュールできます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["スケジュールされたインポートの場合、最初の実行時に、Search Analytics 用 Data Connector は \"start_date\" と \"end_date\" で指定されたすべてのデータをインポートします。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["2 回目以降の実行では、コネクタは前回のロードよりも新しいデータのみをインポートします。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"スケジュールを作成する","__idx":17},"children":["スケジュールを作成する"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["td connector:create コマンドを使用してスケジュールを作成できます。次の項目が必要です: スケジュールの名前、cron 形式のスケジュール、データが保存されるデータベースとテーブル、データコネクタ設定ファイル。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"$ td connector:create \\\n    daily_import \\\n    \"10 0 * * *\" \\\n    td_sample_db \\\n    td_sample_table \\\n    config.yml\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cron"]}," パラメータは、3 つの特別なオプション ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["@hourly"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["@daily"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["@monthly"]}," も受け付けます。| デフォルトでは、スケジュールは UTC タイムゾーンで設定されます。-t または --timezone オプションを使用して、タイムゾーンでスケジュールを設定できます。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--timezone"]}," オプションは、'Asia/Tokyo'、'America/Los_Angeles' などの拡張タイムゾーン形式のみをサポートしています。PST、CST などのタイムゾーンの略語は*サポートされておらず*、予期しないスケジュールになる可能性があります。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"すべてのスケジュールをリストする","__idx":18},"children":["すべてのスケジュールをリストする"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["td connector:list コマンドで、現在のすべてのスケジュールエントリのリストを確認できます。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"$ td connector:list\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"スケジュール設定と履歴を表示する","__idx":19},"children":["スケジュール設定と履歴を表示する"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["td connector:show は、スケジュールエントリの実行設定を表示します。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"$ td connector:show daily_import\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["td connector:history は、スケジュールエントリの実行履歴を表示します。個々の実行の結果を調査するには、td job jobid を使用します。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"$ td connector:history daily_import\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"スケジュールを削除する","__idx":20},"children":["スケジュールを削除する"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["td connector:delete は、スケジュールを削除します。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"$ td connector:delete daily_import\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"設定","__idx":21},"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":["Option name"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Description"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Type"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Required?"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Default Value"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["client_id"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["アプリ client id"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["client_secret"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["アプリ client secret"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["refresh_token"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["アプリ refresh token"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["site_url"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["追跡するサイト URL"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["dimensions"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["結果をグループ化する search analytics dimension"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["enum"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["optional"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["filters"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ディメンションでフィルタリング"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["enum"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["optional"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["search_type"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["検索タイプでフィルタリング。web、image、video"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["optional"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["web"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["start_date"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["リクエスト日付範囲の開始日"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["end_date"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["リクエスト日付範囲の終了日"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["incremental"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["スケジュールインポート用の次の start_date と end_date を生成"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["bool"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["optional"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["true"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["include_report_period"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["出力結果に start_date と end_date を含めるかどうかを指定"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["bool"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["optional"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["true"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["retry_limit"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["再試行可能なエラーが発生したときに諦める回数"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["integer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["optional"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["7 (times)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["retry_initial_wait_millis"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["再試行可能なエラーが発生したときの初期待機時間。次の値は前の値の 2 倍になります"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["integer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["optional"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["15000 (15 seconds)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["max_retry_wait_millis"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["各再試行の最大待機時間"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["integer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["optional"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["1800000 (30 minutes)"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"appendix","__idx":22},"children":["Appendix"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"out-plugin-のモード","__idx":23},"children":["Out Plugin のモード"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["config.yml の out セクションで mode を指定することにより、新しいデータを Treasure data にインポートする方法を指定できます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"append-default","__idx":24},"children":["append (default)"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["これはデフォルトのモードで、レコードはターゲットテーブルに追加されます。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"in:\n  ...\nout:\n  mode: append\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"replace-td-01110-以降","__idx":25},"children":["replace (td 0.11.10 以降)"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["このモードは、ターゲットテーブルのデータを置き換えます。ターゲットテーブルに対して行われた手動のスキーマ変更は、このモードでもそのまま維持されます。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"in:\n  ...\nout:\n  mode: replace\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"add_time-filter","__idx":26},"children":["add_time Filter"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Data Connector 用の add_time フィルタプラグインを使用すると、スキーマ内の既存の別のカラムから値をコピーするか、値を指定することにより、スキーマに新しい時間ベースのカラムを追加できます。詳細については、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://docs.treasuredata.com/smart/project-product-documentation/add_time-filter-function"},"children":["add_time Filter Plugin for Integrations"]}," のドキュメントを参照してください。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"dimensions","__idx":27},"children":["Dimensions"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Page"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Country"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Device"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Query"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Search Appearance"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"supported-filter-operators","__idx":28},"children":["Supported Filter Operators"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Contains"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Equals"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["NotContains"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["NotEquals"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"added-new-column","__idx":29},"children":["Added New Column"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["バージョン v0.1.4 から、Search Type フィルタをサポートしているため、新しいカラム名 search_type がジョブ結果に追加されます。ジョブ設定を変更しない場合、デフォルト値は \"web\" です。"]}]},"headings":[{"value":"Google Search Analytics Import Integration","id":"google-search-analytics-import-integration","depth":1},{"value":"前提条件","id":"前提条件","depth":2},{"value":"Treasure コンソール を使用して接続を作成する","id":"treasure-コンソール-を使用して接続を作成する","depth":2},{"value":"新しい接続を作成する","id":"新しい接続を作成する","depth":3},{"value":"Google Search Analytics データを Treasure Data に転送する","id":"google-search-analytics-データを-treasure-data-に転送する","depth":3},{"value":"パラメータ","id":"パラメータ","depth":3},{"value":"プレビューと詳細設定","id":"プレビューと詳細設定","depth":3},{"value":"ターゲットデータベースとテーブルを選択する","id":"ターゲットデータベースとテーブルを選択する","depth":3},{"value":"スケジューリング","id":"スケジューリング","depth":3},{"value":"CLI を使用する","id":"cli-を使用する","depth":2},{"value":"'td' コマンドをインストールする","id":"td-コマンドをインストールする","depth":3},{"value":"必要な Google API 認証情報を取得する","id":"必要な-google-api-認証情報を取得する","depth":3},{"value":"client_id、client secret を取得する","id":"client_idclient-secret-を取得する","depth":3},{"value":"refresh_token を取得する","id":"refresh_token-を取得する","depth":3},{"value":"設定を準備してデータをプレビューする","id":"設定を準備してデータをプレビューする","depth":3},{"value":"ロードジョブを実行する","id":"ロードジョブを実行する","depth":3},{"value":"スケジュール実行","id":"スケジュール実行","depth":3},{"value":"スケジュールを作成する","id":"スケジュールを作成する","depth":3},{"value":"すべてのスケジュールをリストする","id":"すべてのスケジュールをリストする","depth":3},{"value":"スケジュール設定と履歴を表示する","id":"スケジュール設定と履歴を表示する","depth":3},{"value":"スケジュールを削除する","id":"スケジュールを削除する","depth":3},{"value":"設定","id":"設定","depth":3},{"value":"Appendix","id":"appendix","depth":2},{"value":"Out Plugin のモード","id":"out-plugin-のモード","depth":3},{"value":"append (default)","id":"append-default","depth":3},{"value":"replace (td 0.11.10 以降)","id":"replace-td-01110-以降","depth":3},{"value":"add_time Filter","id":"add_time-filter","depth":2},{"value":"Dimensions","id":"dimensions","depth":2},{"value":"Supported Filter Operators","id":"supported-filter-operators","depth":2},{"value":"Added New Column","id":"added-new-column","depth":2}],"frontmatter":{"seo":{"title":"Google Search Analytics Import Integration"}},"lastModified":"2026-06-01T09:34:27.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/int/google-search-analytics-import-integration","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}