# Отримання розширених результатів Google Dataset Search за id

**API:** Data API

**Endpoint:** `GET /v1/beta/dataforseo/serp/google/dataset_search/task_get/advanced/{id}`

**Tags:** DataForSEO

Отримує поставлений у чергу результат пошуку наборів даних Google за `id`. Повертає `keyword`, `type`, `se_domain`, `location_code`, `language_code`, `check_url`, `datetime`, `spell`, `refinement_chips`, `item_types`, `items_count` і `items`. Обгорнуто в конверт DataForSEO: дані в `tasks[0].result`, результат у `tasks[0].status_code` — відхилений запит усе одно повертає HTTP 200.

### Довідкові ціни

- Тарифікація: вартість відповіді за даними постачальника.
- Довідкова оцінка запиту: USD 0.02.
- Довідковий множник для клієнта: 1.0. Не застосовуйте його повторно до вже розрахованої суми клієнта.

Лише довідкові метадані, а не котирування для облікового запису, гарантована ціна чи ліміт витрат. Кредити ресурсів — це не кредити Felo. Остаточні списання здійснюються за записами білінгу Felo.

## Related links

- [UUID](<https://en.wikipedia.org/wiki/Universally_unique_identifier>)
- [XPath](<https://en.wikipedia.org/wiki/XPath>)

## Base URL

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

## Authentication

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

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `id` | path | yes | string | <em>ідентифікатор завдання</em><br><strong>унікальний ідентифікатор завдання в нашій системі у форматі UUID</strong><br>протягом <strong>30 днів</strong> ви зможете будь-коли запросити за ним результати завдання |

## Responses

### 200 — Успішна операція

Headers:
- `X-Request-Id` (string) — Ідентифікатор запиту, який потрібно вказати під час звернення до підтримки Felo.

**application/json**

Schema: object | null

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

### 400 — Не вдалося обробити запит. Перевірте параметри запиту.

### 401 — Потрібен дійсний API-ключ Felo.

### 402 — Запит неможливо виконати: умови білінгу не виконано.

### 403 — Обліковий запис не має дозволу на цю операцію.

### 429 — Досягнуто ліміту запитів або витрат.

### 502 — Служба не змогла виконати запит.

### 503 — API або служба білінгу тимчасово недоступні.

### 504 — Час очікування обробки запиту вичерпано.

### default — Відповідь із помилкою; наскрізні відповіді апстріму можуть використовувати формати постачальника

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response36Afe1097B20_AmazonLabelElement

`#/components/schemas/Response36Afe1097B20_AmazonLabelElement`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "тип елемента"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "заголовок елемента"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "URL пошуку з параметрами уточнення"
    },
    "domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "домен у SERP"
    }
  }
}
```

### Response36Afe1097B20_AuthorsElement

`#/components/schemas/Response36Afe1097B20_AuthorsElement`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "тип елемента"
    },
    "name": {
      "type": [
        "string",
        "null"
      ],
      "description": "ім'я автора набору даних"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "URL посилання автора"
    },
    "domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "домен посилання автора"
    }
  }
}
```

### 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": "код стану завдання\nформується DataForSEO, може перебувати в діапазоні 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_Dataset

`#/components/schemas/Response36Afe1097B20_Dataset`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "тип елемента"
    },
    "rank_group": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>груповий ранг у SERP</em><br>позиція всередині групи елементів з однаковими значеннями <code>type</code><br>позиції елементів з іншими значеннями <code>type</code> не враховуються в <code>rank_group</code>"
    },
    "rank_absolute": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>абсолютний ранг у SERP</em><br>абсолютна позиція серед усіх елементів у SERP"
    },
    "position": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>вирівнювання елемента в SERP</em><br>може набувати таких значень:<br><code>left</code>, <code>right</code>"
    },
    "xpath": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>XPath елемента</em>"
    },
    "dataset_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>ID набору даних</em>"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>заголовок елемента</em>"
    },
    "image_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>URL зображення</em><br>URL, що веде до зображення на вихідному ресурсі або в сховищі DataForSEO (якщо вихідне джерело недоступне)"
    },
    "scholarly_citations_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>кількість статей, що посилаються на набір даних</em>",
      "format": "int64"
    },
    "scholarly_articles_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>URL наукових статей</em><br>посилання на список наукових статей у Google Scholar <br>приклад: <code>https://scholar.google.com/scholar?q=%2210.6084%20m9%20figshare%207427933%20v1%22</code>"
    },
    "unique_identifier": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>цифровий ідентифікатор об'єкта</em><br>унікальний цифровий ідентифікатор набору даних <br>приклад: <code>https://doi.org/10.5061/dryad.hmgqnk9m3</code>"
    },
    "related_article": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>посилання на пов'язану статтю</em><br>посилання на опубліковану статтю, пов'язану з набором даних"
    },
    "links": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_LinkElement"
          }
        ]
      },
      "description": "<em>сайтлінки</em><br>посилання, що показуються під деякими результатами пошуку Google Dataset<br>якщо їх немає, дорівнює <code>null</code>"
    },
    "dataset_providers": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_AmazonLabelElement"
          }
        ]
      },
      "description": "<em>список установ, що надали набір даних</em>"
    },
    "formats": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_FormatsElement"
          }
        ]
      },
      "description": "<em>список форматів файлів набору даних</em>"
    },
    "authors": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_AuthorsElement"
          }
        ]
      },
      "description": "<em>список авторів набору даних</em>"
    },
    "licenses": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_AmazonLabelElement"
          }
        ]
      },
      "description": "<em>список ліцензій, виданих на набір даних</em>"
    },
    "updated_date": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>дата й час останнього оновлення результату</em><br>у форматі UTC: “yyyy-mm-dd hh-mm-ss +00:00”<br>приклад:<br><code class=\"long-string\">2022-11-27 02:00:00 +00:00</code>"
    },
    "area_covered": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "<em>список регіонів, охоплених набором даних</em><br>наприклад: <code>Africa</code>, <code>Global</code>"
    },
    "period_covered": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_PeriodCovered"
        }
      ],
      "description": "<em>період, охоплений набором даних</em>"
    },
    "dataset_description": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_DatasetDescription"
        }
      ],
      "description": "<em>опис набору даних</em>"
    }
  }
}
```

### Response36Afe1097B20_DatasetDescription

`#/components/schemas/Response36Afe1097B20_DatasetDescription`

```json
{
  "type": "object",
  "properties": {
    "text": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>текст опису</em>"
    },
    "links": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_LinkElement"
          }
        ]
      },
      "description": "<em>посилання, наведені в 'dataset_description'</em>"
    }
  }
}
```

### Response36Afe1097B20_FormatsElement

`#/components/schemas/Response36Afe1097B20_FormatsElement`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "тип елемента"
    },
    "format": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>тип формату файлу набору даних</em><br>наприклад: <code>zip</code>, <code>html</code>, <code>csv</code>"
    },
    "size": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>розмір файлу в байтах</em>",
      "format": "int64"
    }
  }
}
```

### Response36Afe1097B20_LinkElement

`#/components/schemas/Response36Afe1097B20_LinkElement`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "тип елемента"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "заголовок вказаного елемента-посилання"
    },
    "snippet": {
      "type": [
        "string",
        "null"
      ],
      "description": "текст поруч із заголовком посилання"
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "description": "опис елемента результатів"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "URL"
    },
    "domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "домен, на який веде посилання"
    },
    "xpath": {
      "type": [
        "string",
        "null"
      ],
      "description": "XPath елемента"
    }
  }
}
```

### Response36Afe1097B20_PeriodCovered

`#/components/schemas/Response36Afe1097B20_PeriodCovered`

```json
{
  "type": "object",
  "properties": {
    "start_date": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>дата й час початку періоду</em><br>у форматі UTC: “yyyy-mm-dd hh-mm-ss +00:00”<br>приклад:<br><code class=\"long-string\">2020-03-02 02:00:00 +00:00</code>"
    },
    "end_date": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>дата й час закінчення періоду</em><br>у форматі UTC: “yyyy-mm-dd hh-mm-ss +00:00”<br>приклад:<br><code class=\"long-string\">2022-12-09 02:00:00 +00:00</code>"
    },
    "displayed_date": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>період, що відображається в SERP</em><br>приклад:<br><code class=\"long-string\">Mar 2, 2020 - Dec 9, 2022</code>"
    }
  }
}
```

### Response36Afe1097B20_SerpGoogleDatasetSearchTaskGetAdvancedResponseInfo

`#/components/schemas/Response36Afe1097B20_SerpGoogleDatasetSearchTaskGetAdvancedResponseInfo`

```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_SerpGoogleDatasetSearchTaskGetAdvancedTaskInfo"
              }
            ]
          },
          "description": "<em>масив завдань</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_SerpGoogleDatasetSearchTaskGetAdvancedResultInfo

`#/components/schemas/Response36Afe1097B20_SerpGoogleDatasetSearchTaskGetAdvancedResultInfo`

```json
{
  "type": "object",
  "properties": {
    "keyword": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>ключове слово, отримане в масиві POST<br></em><strong>ключове слово повертається з декодованими %## (символ '+' буде декодовано в пробіл)</strong>"
    },
    "se_domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>домен пошукової системи в масиві POST</em>"
    },
    "language_code": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>код мови в масиві POST</em>"
    },
    "check_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>прямий URL до результатів пошукової системи</em><br>за його допомогою можна переконатися, що ми надали точні результати"
    },
    "datetime": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>дата й час отримання результату</em><br>у форматі UTC: “yyyy-mm-dd hh-mm-ss +00:00”<br>приклад:<br><code class=\"long-string\">2019-11-15 12:57:46 +00:00</code>"
    },
    "spell": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_SpellInfo"
        }
      ],
      "description": "<em>автокорекція пошукової системи</em><br>якщо пошукова система надала результати за виправленим ключовим словом, ми вкажемо виправлене пошуковою системою ключове слово та тип автокорекції"
    },
    "item_types": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "<em>типи результатів пошуку в SERP</em><br>містить типи результатів пошуку (<code>items</code>), знайдених у SERP.<br>можливий тип елемента: <code>dataset</code>"
    },
    "se_results_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em> загальна кількість результатів у SERP</em>",
      "format": "int64"
    },
    "items_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>кількість результатів, повернутих у масиві <strong><code>items</code></strong></em>",
      "format": "int64"
    },
    "items": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_Dataset"
          }
        ]
      },
      "description": "<em>елементи, що входять до елемента</em>"
    }
  }
}
```

### Response36Afe1097B20_SerpGoogleDatasetSearchTaskGetAdvancedTaskInfo

`#/components/schemas/Response36Afe1097B20_SerpGoogleDatasetSearchTaskGetAdvancedTaskInfo`

```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_SerpGoogleDatasetSearchTaskGetAdvancedResultInfo"
              }
            ]
          },
          "description": "<em>масив результатів</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_SpellInfo

`#/components/schemas/Response36Afe1097B20_SpellInfo`

```json
{
  "properties": {
    "keyword": {
      "type": [
        "string",
        "null"
      ],
      "description": "ключове слово, отримане в результаті автокорекції пошукової системи\nрезультати буде надано для виправленого ключового слова"
    },
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "тип автокорекції\nможливі значення:\ndid_you_mean, showing_results_for, no_results_found_for, including_results_for\nпримітка: Yahoo і Yandex підтримують лише такий тип автокорекції:\nincluding_results_for"
    }
  }
}
```
