# Lista lokalizacji Bing dla danych słów kluczowych

**API:** Data API

**Endpoint:** `GET /v1/beta/dataforseo/keywords_data/bing/locations`

**Tags:** DataForSEO

Lokalizacje akceptowane przez endpointy słów kluczowych Bing, jako `location_code`, `location_name`, `location_code_parent`, `country_iso_code` i `location_type`. `location_code` 2840 to Stany Zjednoczone; innych kodów szukaj w dokumentacji DataForSEO, zamiast pobierać tę listę.

### Cennik referencyjny

- Rozliczanie: zgłoszony koszt odpowiedzi.
- Szacunek referencyjny dla żądania: USD 0.012.
- Referencyjny mnożnik klienta: 1.0. Nie stosuj go ponownie do rozliczonej już kwoty klienta.

Wyłącznie metadane referencyjne, a nie wycena konta, gwarantowana cena lub limit wydatków. Kredyty zasobów nie są kredytami Felo. Ostateczne obciążenia są zgodne z zapisami rozliczeniowymi Felo.

## Base URL

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

## Authentication

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

## Responses

### 200 — Operacja zakończona powodzeniem

Headers:
- `X-Request-Id` (string) — Identyfikator żądania do podania podczas kontaktu z pomocą techniczną Felo.

**application/json**

Schema: object | null

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

### 400 — Nie można przetworzyć żądania. Sprawdź parametry żądania.

### 401 — Wymagany jest prawidłowy klucz API Felo.

### 402 — Nie można kontynuować żądania, ponieważ nie spełniono wymogu rozliczeniowego.

### 403 — Konto nie ma uprawnień do wykonania tej operacji.

### 429 — Osiągnięto limit żądań lub wydatków.

### 502 — Usługa nie mogła ukończyć żądania.

### 503 — API lub usługa rozliczeniowa jest tymczasowo niedostępna.

### 504 — Upłynął limit czasu usługi podczas przetwarzania żądania.

### default — Odpowiedź błędu; odpowiedzi przekazywane bezpośrednio od dostawcy upstream mogą używać formatów dostawcy

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response36Afe1097B20_BaseResponseInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseInfo`

```json
{
  "properties": {
    "version": {
      "type": [
        "string",
        "null"
      ],
      "description": "bieżąca wersja interfejsu API"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "ogólny kod statusu\npełną listę kodów odpowiedzi znajdziesz tutaj"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "ogólny komunikat informacyjny\npełną listę ogólnych komunikatów informacyjnych znajdziesz tutaj"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "łączny czas wykonania, sekundy"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "łączny koszt zadań, USD",
      "format": "double"
    },
    "tasks_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "liczba zadań w tablicy tasks",
      "format": "int64"
    },
    "tasks_error": {
      "type": [
        "integer",
        "null"
      ],
      "description": "liczba zadań w tablicy tasks zwróconych z błędem",
      "format": "int64"
    }
  }
}
```

### Response36Afe1097B20_BaseResponseTaskInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo`

```json
{
  "properties": {
    "id": {
      "type": [
        "string",
        "null"
      ],
      "description": "identyfikator zadania\nunikalny identyfikator zadania w naszym systemie w formacie UUID"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "kod statusu zadania\nwygenerowany przez DataForSEO; może mieścić się w następującym zakresie: 10000-60000\npełną listę kodów odpowiedzi znajdziesz tutaj"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "komunikat informacyjny zadania\npełną listę ogólnych komunikatów informacyjnych znajdziesz tutaj"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "czas wykonania, sekundy"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "łączny koszt zadań, USD",
      "format": "double"
    },
    "result_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "liczba elementów w tablicy result",
      "format": "int64"
    },
    "path": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "ścieżka URL"
    },
    "data": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "object",
          "null"
        ]
      },
      "description": "zawiera te same parametry, które podano w żądaniu POST"
    }
  }
}
```

### Response36Afe1097B20_KeywordsDataBingLocationsResponseInfo

`#/components/schemas/Response36Afe1097B20_KeywordsDataBingLocationsResponseInfo`

```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_KeywordsDataBingLocationsTaskInfo"
              }
            ]
          },
          "description": "<em>tablica zadań</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_KeywordsDataBingLocationsResultInfo

`#/components/schemas/Response36Afe1097B20_KeywordsDataBingLocationsResultInfo`

```json
{
  "type": "object",
  "properties": {
    "location_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>kod lokalizacji</em>"
    },
    "location_name": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>pełna nazwa lokalizacji</em>"
    },
    "location_code_parent": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>kod lokalizacji nadrzędnej</em><br>przykład:<br><code>\"location_code\": 9041134,<br>\"location_name\": \"Vienna International Airport,Lower Austria,Austria\",<br>\"location_code_parent\": 20044</code>gdzie <code>location_code_parent</code> odpowiada:<p><code>\"location_code\": 20044,<br>\"location_name\": \"Lower Austria,Austria\"</code>"
    },
    "country_iso_code": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>kod kraju ISO lokalizacji</em>"
    },
    "location_type": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>typ lokalizacji</em>"
    }
  }
}
```

### Response36Afe1097B20_KeywordsDataBingLocationsTaskInfo

`#/components/schemas/Response36Afe1097B20_KeywordsDataBingLocationsTaskInfo`

```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_KeywordsDataBingLocationsResultInfo"
              }
            ]
          },
          "description": "<em>tablica wyników</em>"
        }
      }
    }
  ]
}
```
