# 「Google Ads 検索ボリューム」ライブタスクの設定

**API:** Data API

**Endpoint:** `POST /v1/beta/dataforseo/keywords_data/google_ads/search_volume/live`

**Tags:** DataForSEO

`keywords` のリストの Google Ads 検索ボリュームです。`keyword`、`location_code`、`language_code`、`search_partners`、`competition`、`competition_index`、`search_volume`、`low_top_of_page_bid`、`high_top_of_page_bid`、`cpc`、`monthly_searches` を返し、Google が語句を修正した場合は `spell` も返します。DataForSEO のエンベロープに包まれます。データは `tasks[0].result`、結果は `tasks[0].status_code` に格納され、拒否されたリクエストでも HTTP 200 が返ります。これは従来型の検索ボリュームです。代わりにアシスタントへ質問する頻度を知りたい場合は `post_dataforseo_ai_keyword_volume_live` を使用してください。このエンドポイントの submit / fetch のペアは、待ちきれないほど大きなバッチ向けに、同じ価格で同じ処理を非同期に実行します。

### 料金の参考情報

- 計量方式：報告されたレスポンスコスト。
- 参考リクエスト見積もり：0.09 USD。
- 参照用の顧客乗数：1.0。確定済みの顧客金額に再適用しないでください。

参照用のメタデータのみであり、アカウントへの見積もり、保証された価格、支出上限ではありません。リソースクレジットは Felo クレジットではありません。最終的な請求は Felo の請求記録に従います。

## Base URL

- `https://openapi.felo.ai`

## Authentication

- `FeloBearerAuth` (http bearer, bearer format Felo API Key)
- `FeloApiKey` (apiKey in header `X-API-Key`)

## Request body

Required: **no**

### application/json

Schema:

```json
{
  "type": "array",
  "items": {
    "type": [
      "object",
      "null"
    ],
    "oneOf": [
      {
        "type": "object",
        "properties": {
          "keywords": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "<em>キーワード</em><br><strong>必須フィールド</strong><br>指定できるキーワードの最大数：1000<br>各キーワードの最大文字数：80<br>各キーワードフレーズの最大語数：10<br>指定したキーワードは小文字形式に変換されます<br><strong>注意 1：</strong><a href=\"https://dataforseo.com/help-center/no-search-volume-data-for-some-keywords\" target=\"_blank\" rel=\"noopener noreferrer\">Google Ads は特定のキーワードグループについてデータを返さない場合があります</a>；<br><strong>注意 2：</strong><a href=\"https://dataforseo.com/help-center/sv-broad-exact-phrase-match\" target=\"_blank\" rel=\"noopener noreferrer\">Google Ads は類似したキーワードグループに対して合算された検索ボリューム値を提供します</a><br>類似キーワードの検索ボリュームを取得するには、それらのキーワードを個別のリクエストで送信することをお勧めします；<br><strong>注意 3：</strong>Google Ads では特定の記号や文字（UTF 記号、絵文字など）を使用できないため、タスクを設定するときにこれらを使用できません；<br>使用できる記号や文字の詳細については、<a href=\"https://dataforseo.com/help-center/using-symbols-in-keywords-when-setting-a-google-ads-task\" target=\"_blank\" rel=\"noopener noreferrer\">こちらの記事</a>を参照してください<p>DataForSEO API における <code>keyword</code> および <code>keywords</code> フィールドのルールと制限については、こちらの<a href=\"https://dataforseo.com/help-center/rules-and-limitations-of-keyword-and-keywords-fields-in-dataforseo-apis\" rel=\"noopener noreferrer\" target=\"_blank\">ヘルプセンター記事</a>を参照してください"
          },
          "location_name": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>検索エンジンのロケーションの正式名称</em><br>任意フィールド<br>ロケーションを指定しない場合、利用可能なすべてのロケーションを対象としたグローバルな結果が返されます；<br><strong>このフィールドを使用する場合、<code>location_code</code> または <code>location_coordinate</code> を指定する必要はありません</strong><br>別途 <code>https://api.dataforseo.com/v3/keywords_data/google_ads/locations</code> にリクエストを送信すると、検索エンジンの利用可能なロケーションとその <code>location_name</code> の一覧を取得できます<br>例：<br><code class=\"long-string\">London,England,United Kingdom</code>"
          },
          "location_code": {
            "type": [
              "integer",
              "null"
            ],
            "description": "<em>検索エンジンのロケーションコード</em><br>任意フィールド<br>ロケーションを指定しない場合、利用可能なすべてのロケーションを対象としたグローバルな結果が返されます；<br><strong>このフィールドを使用する場合、<code>location_name</code> または <code>location_coordinate</code> を指定する必要はありません</strong>；<br>別途 <code>https://api.dataforseo.com/v3/keywords_data/google_ads/locations</code> にリクエストを送信すると、検索エンジンの利用可能なロケーションとその <code>location_code</code> の一覧を取得できます<br>例：<br><code class=\"long-string\">2840</code>"
          },
          "location_coordinate": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>ロケーションの GPS 座標</em><br>任意フィールド<br>ロケーションを指定しない場合、利用可能なすべてのロケーションを対象としたグローバルな結果が返されます；<br><strong>このフィールドを使用する場合、<code>location_name</code> または <code>location_code</code> を指定する必要はありません</strong>；<br><code>location_coordinate</code> パラメーターは <em>\"latitude,longitude\"</em> 形式で指定する必要があります；<br><strong>指定した座標が属する国・地域のデータが提供されます</strong>；<br>例：<br><code class=\"long-string\">52.6178549,-155.352142</code>"
          },
          "language_name": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>検索エンジンの言語の正式名称</em><br>任意フィールド<br>別途 <code>https://api.dataforseo.com/v3/keywords_data/google_ads/languages</code> にリクエストを送信すると、検索エンジンの利用可能な言語とその <code>language_name</code> の一覧を取得できます<br>例：<br><code class=\"long-string\">English</code>"
          },
          "language_code": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>検索エンジンの言語コード</em><br>任意フィールド<br>別途 <code>https://api.dataforseo.com/v3/keywords_data/google_ads/languages</code> にリクエストを送信すると、検索エンジンの利用可能な言語とその <code>language_code</code> の一覧を取得できます<br>例：<br><code class=\"long-string\">en</code>"
          },
          "search_partners": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "<em>Google 検索パートナーを含める</em><br>任意フィールド<br><code class=\"prettyprint\">true</code> を指定すると、Google 検索をホストする<a href=\"https://support.google.com/google-ads/answer/1722047?hl=en\" target=\"_blank\" rel=\"noopener noreferrer\">Google およびパートナーサイト</a>全体の自社運営ネットワークと統合ネットワークに対して結果が返されます；<br>デフォルト値：<code>false</code> - 結果は Google 検索サイトに対してのみ返されます"
          },
          "date_from": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>期間の開始日</em><br>任意フィールド<br>日付形式：<code>\"yyyy-mm-dd\"</code><br>最小値：現在の日付から 4 年前<br>デフォルトでは過去 12 か月分のデータが返されます；<br><strong>注意</strong>：指定した日付は、<code>date_to</code> で指定した日付および/または昨日の日付より後にできません；<a href=\"/v3/keywords_data/google_ads/status/\" target=\"_blank\" rel=\"noopener noreferrer\">Status エンドポイント</a> が <code>actual_data</code> フィールドで <code>false</code> を返す場合、<code>date_from</code> は先々月以前に設定できます；<br><a href=\"/v3/keywords_data/google_ads/status/\" target=\"_blank\" rel=\"noopener noreferrer\">Status エンドポイント</a> が <code>actual_data</code> フィールドで <code>true</code> を返す場合、<code>date_from</code> は先月以前に設定できます"
          },
          "date_to": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>期間の終了日</em><br>任意フィールド<br><strong>注意：</strong>指定した日付は先月より後にできません。Google Ads は当月のデータを返しません；<br>このフィールドを指定しない場合、デフォルトで昨日の日付が使用されます<br>日付形式：<code>\"yyyy-mm-dd\"</code><br>例：<br><code>\"2022-11-30\"</code>"
          },
          "include_adult_keywords": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "<em>アダルトコンテンツに関連するキーワードを含める<br></em>任意フィールド<br><code>true</code> に設定すると、アダルトキーワードがレスポンスに含まれます<br>デフォルト値：<code>false</code><br><strong>注意</strong>：<a href=\"https://support.google.com/adspolicy/answer/6008942?hl=en\" target=\"_blank\" rel=\"noopener noreferrer\">Google Ads の制限</a>により、API がこのようなキーワードのデータを返さない場合があります"
          },
          "sort_by": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>結果の並べ替えパラメーター</em><br>任意フィールド<br>これらのパラメーターを使用して、<code>relevance</code>、<code>search_volume</code>、<code>competition_index</code>、<code>low_top_of_page_bid</code>、<code>high_top_of_page_bid</code> で結果を降順に並べ替えられます<br>デフォルト値：<code>relevance</code>"
          },
          "tag": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>ユーザー定義のタスク識別子</em><br>任意フィールド<br><em>文字数上限は 255 です</em><br>このパラメーターを使ってタスクを識別し、結果と照合できます<br>指定した <code>tag</code> の値は、レスポンスの <code>data</code> 配列に含まれます"
          }
        },
        "example": [
          {
            "location_code": 2840,
            "keywords": [
              "buy laptop",
              "cheap laptops for sale",
              "purchase laptop"
            ],
            "date_from": "2021-08-01",
            "search_partners": true
          }
        ]
      }
    ]
  },
  "example": [
    {
      "location_code": 2840,
      "keywords": [
        "buy laptop",
        "cheap laptops for sale",
        "purchase laptop"
      ],
      "date_from": "2021-08-01",
      "search_partners": true
    }
  ]
}
```

## Responses

### 200 — 操作成功

Headers:
- `X-Request-Id` (string) — Felo サポートに問い合わせる際に伝えるリクエスト識別子。

**application/json**

Schema: object | null

```json
{
  "type": [
    "object",
    "null"
  ],
  "oneOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_KeywordsDataGoogleAdsSearchVolumeLiveResponseInfo"
    }
  ]
}
```

### 400 — リクエストを処理できませんでした。リクエストパラメータを確認してください。

### 401 — 有効な Felo API キーが必要です。

### 402 — 請求要件が満たされていないため、リクエストを続行できません。

### 403 — このアカウントにはこの操作を行う権限がありません。

### 429 — リクエストまたは支出の上限に達しました。

### 502 — サービスがリクエストを完了できませんでした。

### 503 — API または請求サービスが一時的に利用できません。

### 504 — リクエストの処理中にサービスがタイムアウトしました。

### default — エラーレスポンス。上流のパススルーレスポンスはプロバイダーの形式を使用する場合があります

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response36Afe1097B20_BaseResponseInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseInfo`

```json
{
  "properties": {
    "version": {
      "type": [
        "string",
        "null"
      ],
      "description": "API の現在のバージョン"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "一般的なステータスコード\nレスポンスコードの完全な一覧はこちらです"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "一般的な情報メッセージ\n一般的な情報メッセージの完全な一覧はこちらです"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "合計実行時間（秒）"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "タスクの総コスト（USD）",
      "format": "double"
    },
    "tasks_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "tasks 配列内のタスク数",
      "format": "int64"
    },
    "tasks_error": {
      "type": [
        "integer",
        "null"
      ],
      "description": "エラーで返された tasks 配列内のタスク数",
      "format": "int64"
    }
  }
}
```

### Response36Afe1097B20_BaseResponseTaskInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo`

```json
{
  "properties": {
    "id": {
      "type": [
        "string",
        "null"
      ],
      "description": "タスク識別子\n当社システム内で UUID 形式の一意のタスク識別子"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "タスクのステータスコード\nDataForSEO によって生成され、次の範囲の値になります: 10000-60000\nレスポンスコードの完全な一覧はこちらです"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "タスクの情報メッセージ\n一般的な情報メッセージの完全な一覧はこちらです"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "実行時間（秒）"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "タスクの総コスト（USD）",
      "format": "double"
    },
    "result_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "result 配列内の要素数",
      "format": "int64"
    },
    "path": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "URL パス"
    },
    "data": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "object",
          "null"
        ]
      },
      "description": "POST リクエストで指定したものと同じパラメーターを含みます"
    }
  }
}
```

### Response36Afe1097B20_KeywordsDataGoogleAdsSearchVolumeLiveResponseInfo

`#/components/schemas/Response36Afe1097B20_KeywordsDataGoogleAdsSearchVolumeLiveResponseInfo`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseResponseInfo"
    },
    {
      "type": "object",
      "properties": {
        "tasks": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "oneOf": [
              {
                "$ref": "#/components/schemas/Response36Afe1097B20_KeywordsDataGoogleAdsSearchVolumeLiveTaskInfo"
              }
            ]
          },
          "description": "<em>タスクの配列</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_KeywordsDataGoogleAdsSearchVolumeLiveResultInfo

`#/components/schemas/Response36Afe1097B20_KeywordsDataGoogleAdsSearchVolumeLiveResultInfo`

```json
{
  "type": "object",
  "properties": {
    "keyword": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>キーワード<br></em><strong>キーワードは %## がデコードされた状態で返されます（プラス記号 '+' は空白文字にデコードされます）</strong>"
    },
    "spell": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>キーワードの正しいスペル</em><br><strong>注意：</strong>POST 配列内のキーワードのスペルが誤っている場合、正しいスペルのキーワードのデータが返されます。<br>キーワードのスペルを確認および検証するために Google Ads API の機能を使用しています。<a href=\"https://support.google.com/google-ads/answer/7476658\" target=\"_blank\" rel=\"noopener noreferrer\">こちらのリンクで詳細を確認できます</a>"
    },
    "location_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>POST 配列内のロケーションコード</em><br>データがない場合、値は <code>null</code> になります"
    },
    "language_code": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>POST 配列内の言語コード</em><br>データがない場合、値は <code>null</code> になります"
    },
    "search_partners": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "<em>パートナー ネットワークからのデータがレスポンスに含まれるかどうかを示します</em>"
    },
    "competition": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>競合</em><br>指定したキーワードの有料 SERP における相対的な競合の程度のみを表します。<br>この値は Google Ads データに基づき、次の値を取ることができます：<code>HIGH</code>、<code>MEDIUM</code>、<code>LOW</code>。<br>データがない場合、値は <code>null</code> です。<br>この指標の詳細については<a href=\"https://dataforseo.com/help-center/what-is-competition\" target=\"_blank\" rel=\"noopener noreferrer\">こちらのヘルプセンター記事</a>をご覧ください"
    },
    "competition_index": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>競合</em><br>指定したキーワードの有料 SERP における相対的な競合の程度のみを表します。<br>この値は Google Ads データに基づき、0 から 100 の範囲（両端を含む）です。<br>データがない場合、値は <code>null</code> です。<br>この指標の詳細については<a href=\"https://dataforseo.com/help-center/what-is-competition\" target=\"_blank\" rel=\"noopener noreferrer\">こちらのヘルプセンター記事</a>をご覧ください"
    },
    "search_volume": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>月間平均検索ボリューム。<br></em>ユーザーのターゲティングに応じた、google.com または google.com とパートナーの指定したキーワード アイデアの（おおよその）検索数を表します。<br>データがない場合、値は <code>null</code> です",
      "format": "int64"
    },
    "low_top_of_page_bid": {
      "type": [
        "number",
        "null"
      ],
      "description": "<em>広告を検索結果の 1 ページ目上部に表示するための最低入札額</em><br>広告が表示された最低入札額の約 20% を上回る値を示します（Google Ads の広告主統計に基づく）。<br>この値は POST リクエストで指定した所在地によって異なる場合があります"
    },
    "high_top_of_page_bid": {
      "type": [
        "number",
        "null"
      ],
      "description": "<em>広告を検索結果の 1 ページ目上部に表示するための最大入札額</em><br>広告が表示された最低入札額の約 80% を上回る値を示します（Google Ads の広告主統計に基づく）。<br>この値は POST リクエストで指定した所在地によって異なる場合があります"
    },
    "cpc": {
      "type": [
        "number",
        "null"
      ],
      "description": "<em>クリック単価</em><br>指定したキーワードの広告が表示された際のクリックごとの支払額（USD）を示します"
    },
    "monthly_searches": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_MonthlySearchesInfo"
          }
        ]
      },
      "description": "<em>月間検索数</em><br>指定した地理的位置を対象とした、このキーワード アイデアの（おおよその）検索数（既定では過去 12 か月分の利用可能なデータ）を表します。<br>データがない場合、値は <code>null</code> です"
    }
  }
}
```

### Response36Afe1097B20_KeywordsDataGoogleAdsSearchVolumeLiveTaskInfo

`#/components/schemas/Response36Afe1097B20_KeywordsDataGoogleAdsSearchVolumeLiveTaskInfo`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo"
    },
    {
      "type": "object",
      "properties": {
        "result": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "oneOf": [
              {
                "$ref": "#/components/schemas/Response36Afe1097B20_KeywordsDataGoogleAdsSearchVolumeLiveResultInfo"
              }
            ]
          },
          "description": "<em>結果の配列</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_MonthlySearchesInfo

`#/components/schemas/Response36Afe1097B20_MonthlySearchesInfo`

```json
{
  "type": "object",
  "properties": {
    "year": {
      "type": [
        "integer",
        "null"
      ],
      "description": "年"
    },
    "month": {
      "type": [
        "integer",
        "null"
      ],
      "description": "月"
    },
    "search_volume": {
      "type": [
        "integer",
        "null"
      ],
      "description": "月間平均検索ボリューム"
    }
  }
}
```
