# Получить результаты Google Shopping Sellers по id

**API:** Data API

**Endpoint:** `GET /v1/beta/dataforseo/merchant/google/sellers/task_get/advanced/{id}`

**Tags:** DataForSEO

Ответ обёрнут в конверт DataForSEO: данные в `tasks[0].result`, результат в `tasks[0].status_code` — отклонённый запрос всё равно возвращает HTTP 200. Это представление для сравнения цен; сам товар — `get_dataforseo_merchant_google_product_info_fetch`.

### Справочная информация о ценах

- Тарификация: заявленная стоимость ответа.
- Справочная оценка запроса: USD 0.012.
- Справочный множитель для клиента: 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`)

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `id` | path | yes | string | <em>идентификатор задачи</em><br><strong>уникальный идентификатор задачи в нашей системе в формате <a href="https://en.wikipedia.org/wiki/Universally_unique_identifier">UUID</a></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_MerchantGoogleSellersTaskGetAdvancedResponseInfo"
    }
  ]
}
```

### 400 — Запрос не удалось обработать. Проверьте параметры запроса.

### 401 — Требуется действительный API-ключ Felo.

### 402 — Запрос не может быть выполнен: не выполнено требование биллинга.

### 403 — Аккаунту не разрешено выполнять эту операцию.

### 429 — Достигнут лимит запросов или расходов.

### 502 — Сервис не смог выполнить запрос.

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

### 504 — Истекло время ожидания обработки запроса.

### default — Ответ с ошибкой; сквозные ответы upstream могут использовать форматы провайдера

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response36Afe1097B20_BaseMerchantGoogleShoppingSellersElementItem

`#/components/schemas/Response36Afe1097B20_BaseMerchantGoogleShoppingSellersElementItem`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "тип элемента"
    },
    "rank_group": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>позиция в группе элементов с одинаковыми значениями <code>type</code></em><br>позиции элементов с другими значениями <code>type</code> исключаются из <code>rank_group</code>"
    },
    "rank_absolute": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em> абсолютный ранг в SERP</em><br>абсолютная позиция среди всех элементов, найденных в Google Shopping SERP"
    },
    "position": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>выравнивание элемента в Google Shopping SERP</em><br>возможные значения:<br><code>left</code>, <code>right</code>"
    },
    "xpath": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em><a href=\"https://en.wikipedia.org/wiki/XPath\">XPath</a> элемента</em>"
    },
    "domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>домен в SERP</em>"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>название товара</em>"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>URL-переадресация Google Shopping на страницу товара на сайте продавца</em><br>если вы хотите получить URL объявления, ведущий на страницу товара на сайте продавца, обратитесь к эндпоинту <a href=\"/v3/merchant/google/sellers/ad_url/\">Google Shopping Sellers Ad URL</a>"
    },
    "details": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>подробности и специальные предложения</em><br>если подробностей нет, значение будет <code>null</code>"
    },
    "base_price": {
      "type": [
        "number",
        "null"
      ],
      "description": "<em>цена товара без учёта налога и доставки</em>"
    },
    "tax": {
      "type": [
        "number",
        "null"
      ],
      "description": "<em>сумма налога</em><br>налог указывается как фактическая сумма денег, а не как процент"
    },
    "shipping_price": {
      "type": [
        "number",
        "null"
      ],
      "description": "<em>стоимость доставки товара</em>"
    },
    "total_price": {
      "type": [
        "number",
        "null"
      ],
      "description": "<em>цена товара с учётом налога и доставки</em>",
      "format": "int64"
    },
    "currency": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>валюта в формате <a href=\"https://en.wikipedia.org/wiki/ISO_4217\">ISO</a></em><br>пример:<br><code>USD</code>"
    },
    "seller_name": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>название продавца</em><br>название компании, разместившей соответствующий товар в Google Shopping"
    },
    "shop_ad_aclk": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>уникальный параметр реферального перехода по объявлению</em><br>с помощью этого параметра можно получить URL объявления в <a href=\"/v3/merchant/google/sellers/ad_url/\">Google Shopping Sellers Ad URL</a>"
    }
  },
  "additionalProperties": false,
  "discriminator": {
    "propertyName": "type",
    "mapping": {
      "shops_list": "#/components/schemas/Response36Afe1097B20_GoogleShoppingSellersShopsListElementItem",
      "buy_on_google": "#/components/schemas/Response36Afe1097B20_GoogleShoppingSellersBuyOnGoogleElementItem"
    }
  }
}
```

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

`#/components/schemas/Response36Afe1097B20_MerchantGoogleSellersTaskGetAdvancedResponseInfo`

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

### Response36Afe1097B20_MerchantGoogleSellersTaskGetAdvancedResultInfo

`#/components/schemas/Response36Afe1097B20_MerchantGoogleSellersTaskGetAdvancedResultInfo`

```json
{
  "type": "object",
  "properties": {
    "product_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em><code>product_id</code>, полученный в массиве POST</em><br>подробнее о параметре — в <a href=\"https://dataforseo.com/help-center/product-id-google-shopping\" rel=\"noopener noreferrer\" target=\"_blank\">этом руководстве справочного центра</a>"
    },
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "тип элемента"
    },
    "se_domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>домен поисковой системы в массиве POST</em>"
    },
    "location_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>код местоположения в массиве POST</em>"
    },
    "language_code": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>код языка в массиве POST</em>"
    },
    "check_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>прямой URL к результатам Google Shopping</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>"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>название товара</em>"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>URL страницы товара</em>"
    },
    "image_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>URL изображения товара</em>"
    },
    "rating": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_RatingInfo"
        }
      ],
      "description": "<em>рейтинг товара</em><br>показатель популярности товара на основе отзывов о товаре"
    },
    "item_types": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "<em>типы результатов поиска, найденных в Google Shopping SERP</em><br>содержит типы всех результатов поиска (<code>items</code>), найденных в возвращённом SERP<br>возможные типы элементов:<br><code>shops_list</code>, <code>buy_on_google</code>"
    },
    "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_BaseMerchantGoogleShoppingSellersElementItem"
          }
        ]
      },
      "description": "<em>элементы в SERP</em>"
    }
  }
}
```

### Response36Afe1097B20_MerchantGoogleSellersTaskGetAdvancedTaskInfo

`#/components/schemas/Response36Afe1097B20_MerchantGoogleSellersTaskGetAdvancedTaskInfo`

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

### Response36Afe1097B20_RatingInfo

`#/components/schemas/Response36Afe1097B20_RatingInfo`

```json
{
  "properties": {
    "rating_type": {
      "type": [
        "string",
        "null"
      ],
      "description": "тип рейтинга\nздесь можно найти следующие элементы: Max5, Percents, CustomMax"
    },
    "value": {
      "type": [
        "number",
        "null"
      ],
      "description": "значение рейтинга",
      "format": "double"
    },
    "votes_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "количество отзывов",
      "format": "int64"
    },
    "rating_max": {
      "type": [
        "integer",
        "null"
      ],
      "description": "максимальное значение для rating_type"
    }
  }
}
```
