# 「Bing キーワードパフォーマンス」ライブタスクの設定

**API:** Data API

**Endpoint:** `POST /v1/beta/dataforseo/keywords_data/bing/keyword_performance/live`

**Tags:** DataForSEO

`keywords` のリストが、指定した `device` と `match` タイプで Bing Ads においてどう成果を出すか。⚠️ **`language_name` は必須で、欠落すると HTTP 200 の中で `Invalid Field: 'language_name'` として報告されます**。このメッセージは、値が誤っている場合と欠落している場合の両方を意味します。DataForSEO のエンベロープに包まれます。データは `tasks[0].result`、結果は `tasks[0].status_code` に格納され、拒否されたリクエストでも HTTP 200 が返ります。有効な組み合わせは `get_dataforseo_keywords_bing_kw_performance_locales` から取得します。このエンドポイントの 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>keywords</em><br><strong>必須フィールド</strong><br>指定できるキーワードの最大数: 1000<br>各キーワードの最大文字数: 80<br>各キーワードフレーズの最大単語数: 10<br>指定したキーワードは小文字に変換され、データは別の配列で提供されます<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>を参照してください"
          },
          "device": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>デバイスの種類</em><br>任意フィールド<br>特定のデバイスの種類のデータを取得する場合は、このフィールドを指定してください。指定可能な値: <code>desktop</code>、<code>mobile</code>、<code>tablet</code>、<code>all</code><br>デフォルト値: <code>all</code>"
          },
          "match": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>キーワードのマッチタイプ</em><br>任意フィールド<br>次の値を指定できます:<br><code>aggregate</code> すべてのマッチタイプにわたるデータを返します<br><code>broad</code> 指定したキーワードを含み、語順が異なるすべてのユーザークエリのデータを返します<br><code>phrase</code> 指定したキーワードを含み、語順が完全に一致するすべてのユーザークエリのデータを返します<br><code>exact</code> 指定したキーワードに一致するユーザークエリのデータを返します<strong>注意:</strong> デフォルトでは <code>aggregate</code> マッチタイプが適用されます"
          },
          "location_name": {
            "type": "string",
            "description": "<em>検索エンジンの所在地の正式名</em><br><strong><code>location_code</code> または <code>location_coordinate</code> を指定しない場合は必須フィールド</strong><br><strong>このフィールドを使用する場合、<code>location_code</code> または <code>location_coordinate</code> を指定する必要はありません</strong><br><code>https://api.dataforseo.com/v3/keywords_data/bing/keyword_performance/locations_and_languages</code> に個別にリクエストすると、利用可能な所在地と言語の一覧を取得できます<br>例:<br><code>\"United States\"</code>"
          },
          "location_code": {
            "type": "integer",
            "description": "<em>検索エンジンの所在地コード</em><br><strong><code>location_name</code> または <code>location_coordinate</code> を指定しない場合は必須フィールド</strong><br><strong>このフィールドを使用する場合、<code>location_name</code> または <code>location_coordinate</code> を指定する必要はありません</strong><br><code>https://api.dataforseo.com/v3/keywords_data/bing/keyword_performance/locations_and_languages</code> に個別にリクエストすると、利用可能な所在地と言語の一覧を取得できます<br>例:<br><code>2840</code>"
          },
          "location_coordinate": {
            "type": "string",
            "description": "<em>所在地の GPS 座標</em><br><strong><code>location_name</code> または <code>location_code</code> を指定しない場合は必須フィールド</strong><br><strong>このフィールドを使用する場合、<code>location_name</code> または <code>location_code</code> を指定する必要はありません</strong><br><code>location_coordinate</code> パラメーターは <em>\"緯度,経度\"</em> 形式で指定します<br><strong>データは、指定した座標が属する国について提供されます</strong><br>例:<br><code class=\"long-string\">52.6178549,-155.352142</code>"
          },
          "language_name": {
            "type": "string",
            "description": "<em>検索エンジンの言語の正式名</em><br><strong><code>language_code</code> を指定しない場合は必須フィールド</strong><br><strong>このフィールドを使用する場合、<code>language_code</code> を指定する必要はありません</strong><br><code>https://api.dataforseo.com/v3/keywords_data/bing/keyword_performance/locations_and_languages</code> に個別にリクエストすると、利用可能な所在地と言語の一覧を取得できます<br>例:<br><code class=\"long-string\">English</code>"
          },
          "language_code": {
            "type": "string",
            "description": "<em>検索エンジンの言語コード</em><br><strong><code>language_name</code> を指定しない場合は必須フィールド</strong><br><code>https://api.dataforseo.com/v3/keywords_data/bing/keyword_performance/locations_and_languages</code> に個別にリクエストすると、利用可能な所在地と言語の一覧を取得できます<br>例:<br><code>\"en\"</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,
            "language_code": "en",
            "keywords": [
              "dataforseo",
              "seo",
              "ranking"
            ]
          }
        ]
      }
    ]
  },
  "example": [
    {
      "location_code": 2840,
      "language_code": "en",
      "keywords": [
        "dataforseo",
        "seo",
        "ranking"
      ]
    }
  ]
}
```

## Responses

### 200 — 操作成功

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

**application/json**

Schema: object | null

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

### 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_KeywordKpi

`#/components/schemas/Response36Afe1097B20_KeywordKpi`

```json
{
  "type": "object",
  "properties": {
    "desktop": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_KeywordKpiItemInfo"
          }
        ]
      },
      "description": "<em>デスクトップ デバイス向けに集計されたキーワード データ</em><br>データがない場合、値は <code>null</code> です"
    },
    "mobile": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_KeywordKpiItemInfo"
          }
        ]
      },
      "description": "<em>モバイル デバイス向けに集計されたキーワード データ</em><br>データがない場合、値は <code>null</code> です"
    },
    "tablet": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_KeywordKpiItemInfo"
          }
        ]
      },
      "description": "<em>タブレット デバイス向けに集計されたキーワード データ</em><br>データがない場合、値は <code>null</code> です"
    }
  }
}
```

### Response36Afe1097B20_KeywordKpiItemInfo

`#/components/schemas/Response36Afe1097B20_KeywordKpiItemInfo`

```json
{
  "type": "object",
  "properties": {
    "ad_position": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>SERP における関連広告の位置を表します</em><br>次の値を取ることができます：<br><code>FirstPage1</code>：検索結果の 1 ページ目右側に表示される最初の広告<br><code>FirstPage2</code>：検索結果の 1 ページ目右側に表示される 2 番目の広告<br><code>FirstPage3</code>：検索結果の 1 ページ目右側に表示される 3 番目の広告<br><code>FirstPage4</code>：検索結果の 1 ページ目右側に表示される 4 番目の広告<br><code>FirstPage5</code>：検索結果の 1 ページ目右側に表示される 5 番目の広告<br><code>FirstPage6</code>：検索結果の 1 ページ目右側に表示される 6 番目の広告<br><code>FirstPage7</code>：検索結果の 1 ページ目右側に表示される 7 番目の広告<br><code>FirstPage8</code>：検索結果の 1 ページ目右側に表示される 8 番目の広告<br><code>FirstPage9</code>：検索結果の 1 ページ目右側に表示される 9 番目の広告<br><code>FirstPage10</code>：検索結果の 1 ページ目右側に表示される 10 番目の広告<br><code>MainLine1</code>：検索結果ページの上部に表示される最初の広告<br><code>MainLine2</code>：検索結果ページの上部に表示される 2 番目の広告<br><code>MainLine3</code>：検索結果ページの上部に表示される 3 番目の広告<br><code>MainLine4</code>：検索結果ページの上部に表示される 4 番目の広告"
    },
    "clicks": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>広告クリック数</em><br>キーワードとマッチタイプが先月発生させたクリック数"
    },
    "impressions": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>広告インプレッション数</em><br>キーワードとマッチタイプが先月発生させたインプレッション数"
    },
    "average_cpc": {
      "type": [
        "number",
        "null"
      ],
      "description": "<em>平均クリック単価（USD）</em><br>すべてのクリックの費用をクリック数で割って計算されます",
      "format": "double"
    },
    "ctr": {
      "type": [
        "number",
        "null"
      ],
      "description": "<em>クリック率（パーセント）</em><br>クリック数をインプレッション数で割り、その結果に 100 を掛けて計算されます",
      "format": "double"
    },
    "total_cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "<em>広告の総費用（USD）</em><br>先月に指定したキーワードとマッチタイプを使用した費用",
      "format": "int64"
    },
    "average_bid": {
      "type": [
        "number",
        "null"
      ],
      "description": "<em>キーワードの平均入札額</em>",
      "format": "double"
    }
  }
}
```

### Response36Afe1097B20_KeywordsDataBingKeywordPerformanceLiveResponseInfo

`#/components/schemas/Response36Afe1097B20_KeywordsDataBingKeywordPerformanceLiveResponseInfo`

```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_KeywordsDataBingKeywordPerformanceLiveTaskInfo"
              }
            ]
          },
          "description": "<em>タスクの配列</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_KeywordsDataBingKeywordPerformanceLiveResultInfo

`#/components/schemas/Response36Afe1097B20_KeywordsDataBingKeywordPerformanceLiveResultInfo`

```json
{
  "type": "object",
  "properties": {
    "keyword": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>POST 配列内のキーワード</em>"
    },
    "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> になります"
    },
    "year": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>データが提供される年を示します</em><br>例：<br><code>2020</code>"
    },
    "month": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>データが提供される月を示します</em><br>例：<br><code>10</code>"
    },
    "keyword_kpi": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_KeywordKpi"
        }
      ],
      "description": "<em>キーワード指標を含むオブジェクト</em><br>データがない場合、値は <code>null</code> です"
    }
  }
}
```

### Response36Afe1097B20_KeywordsDataBingKeywordPerformanceLiveTaskInfo

`#/components/schemas/Response36Afe1097B20_KeywordsDataBingKeywordPerformanceLiveTaskInfo`

```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_KeywordsDataBingKeywordPerformanceLiveResultInfo"
              }
            ]
          },
          "description": "<em>結果の配列</em>"
        }
      }
    }
  ]
}
```
