# Отримати результати Google Shopping Product Info за id

**API:** Data API

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

**Tags:** DataForSEO

Сторінка відомостей про один товар Google Shopping із завдання, поставленого в чергу через `post_dataforseo_merchant_google_product_info_submit`: характеристики, опис, зображення та продавці, які його пропонують. Відповідь обгорнуто в конверт DataForSEO: дані в `tasks[0].result`, результат у `tasks[0].status_code` — відхилений запит усе одно повертає HTTP 200. Для результатів пошуку, що ведуть сюди, використовуйте `get_dataforseo_merchant_google_products_fetch`; для думок покупців — `get_dataforseo_merchant_google_reviews_fetch`.

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

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

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

## Related links

- [UUID](<https://en.wikipedia.org/wiki/Universally_unique_identifier>)
- [цьому посібнику довідкового центру](<https://dataforseo.com/help-center/product-id-google-shopping>)
- [цьому посібнику довідкового центру](<https://dataforseo.com/help-center/whats-a-gid-in-google-shopping-api>)
- [специфікації товарних даних](<https://support.google.com/merchants/answer/7052112?hl=en>)

## 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_MerchantGoogleProductInfoTaskGetAdvancedResponseInfo"
    }
  ]
}
```

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

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

### 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": "код стану завдання\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_DeliveryInfo

`#/components/schemas/Response36Afe1097B20_DeliveryInfo`

```json
{
  "type": "object",
  "properties": {
    "delivery_date_from": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>найраніша дата доставки</em><br>найраніша дата, коли товар може бути відправлено, у форматі UTC: “yyyy-mm-dd hh-mm-ss +00:00”<br>приклад: <code>2019-11-15 12:57:46 +00:00</code>"
    },
    "delivery_date_to": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>найпізніша дата доставки</em><br>найпізніша дата, коли товар може бути доставлено, у форматі UTC: “yyyy-mm-dd hh-mm-ss +00:00”<br>приклад: <code>2019-11-15 12:57:46 +00:00</code>"
    },
    "fastest_delivery_date_from": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>найраніша дата безкоштовної доставки</em><br>найраніша дата, коли товар може бути доставлено з опцією швидкої доставки, у форматі UTC: “yyyy-mm-dd hh-mm-ss +00:00”<br>приклад: <code>2019-11-15 12:57:46 +00:00</code>"
    },
    "fastest_delivery_date_to": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>найпізніша дата безкоштовної доставки</em><br>найпізніша дата, коли товар може бути доставлено з опцією швидкої доставки, у форматі UTC: “yyyy-mm-dd hh-mm-ss +00:00”<br>приклад: <code>2019-11-15 12:57:46 +00:00</code>"
    },
    "delivery_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>інформація про доставку</em><br>повідомлення, що супроводжує інформацію про доставку, опубліковане продавцем"
    },
    "delivery_price": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_PriceInfo"
        }
      ],
      "description": "<em>ціна доставки</em><br>ціна доставки залежно від локації, вказаної в запиті POST;<br>якщо доступна безкоштовна доставка, значення — <code>null</code>"
    }
  }
}
```

### Response36Afe1097B20_MerchantGoogleProductInfoTaskGetAdvancedResponseInfo

`#/components/schemas/Response36Afe1097B20_MerchantGoogleProductInfoTaskGetAdvancedResponseInfo`

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

### Response36Afe1097B20_MerchantGoogleProductInfoTaskGetAdvancedResultInfo

`#/components/schemas/Response36Afe1097B20_MerchantGoogleProductInfoTaskGetAdvancedResultInfo`

```json
{
  "type": "object",
  "properties": {
    "product_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>ID товару в масиві POST</em><br>докладніше про параметр — у цьому посібнику довідкового центру"
    },
    "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 до результатів пошукової системи</em><br>за його допомогою можна переконатися, що ми надали точні результати"
    },
    "datetime": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>дата й час отримання результату</em><br>у форматі: “year-month-date:minutes:UTC_difference_hours:UTC_difference_minutes”<br>приклад:<br><code class=\"long-string\">2019-11-15 12:57:46 +00:00</code>"
    },
    "item_types": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "<em>типи елементів, знайдених на сторінці специфікацій товару</em><br>можливі типи елементів:<br><code>product_info_element</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_ProductInfoElement"
          }
        ]
      },
      "description": "<em>елементи на сторінці товару</em><br>містить усі атрибути товару та пов'язані дані, перелічені на сторінці товару"
    }
  }
}
```

### Response36Afe1097B20_MerchantGoogleProductInfoTaskGetAdvancedTaskInfo

`#/components/schemas/Response36Afe1097B20_MerchantGoogleProductInfoTaskGetAdvancedTaskInfo`

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

### Response36Afe1097B20_PriceInfo

`#/components/schemas/Response36Afe1097B20_PriceInfo`

```json
{
  "type": "object",
  "properties": {
    "current": {
      "type": [
        "number",
        "null"
      ],
      "description": "поточна ціна\nуказує поточну ціну товару або послуги, представлених у результаті",
      "format": "double"
    },
    "regular": {
      "type": [
        "number",
        "null"
      ],
      "description": "звичайна ціна\nуказує звичайну ціну товару або послуги без знижок",
      "format": "double"
    },
    "max_value": {
      "type": [
        "number",
        "null"
      ],
      "description": "максимальна ціна\nмаксимальна ціна товару або послуги, зазначена в результаті",
      "format": "double"
    },
    "currency": {
      "type": [
        "string",
        "null"
      ],
      "description": "валюта зазначеної ціни\nISO-код валюти, застосованої до ціни"
    },
    "is_price_range": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "ціна надана як діапазон\nуказує, чи надається ціна як діапазон"
    },
    "displayed_price": {
      "type": [
        "string",
        "null"
      ],
      "description": "рядок ціни в результаті\nвихідний рядок ціни, як надано в результаті"
    }
  }
}
```

### Response36Afe1097B20_ProductInfoElement

`#/components/schemas/Response36Afe1097B20_ProductInfoElement`

```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>абсолютний ранг на сторінці специфікації товару</em><br>абсолютна позиція серед усіх елементів, знайдених на сторінці специфікації товару"
    },
    "position": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>вирівнювання елемента на сторінці специфікації товару</em><br>може набувати таких значень:<br><code>right</code>, <code>left</code>"
    },
    "product_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>product_id, отриманий у масиві POST</em><br>докладніше про параметр — у цьому посібнику довідкового центру"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>назва товару</em>"
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>опис товару</em>"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>URL товару</em><br>URL товару в Google Shopping"
    },
    "images": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "<em>зображення товару</em><br>містить URL зображень товару"
    },
    "features": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "<em>характеристики товару</em><br>містить фрагменти з описом характеристик товару"
    },
    "rating": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_RatingElement"
        }
      ],
      "description": "<em>рейтинг товару </em><br>показник популярності на основі відгуків"
    },
    "seller_reviews_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>кількість відгуків продавця</em><br>кількість відгуків в обліковому записі продавця товару",
      "format": "int64"
    },
    "data_docid": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>унікальний ідентифікатор елемента даних SERP</em><br>зауважте: повного переліку можливих значень немає, оскільки <code>data_docid</code> — динамічне значення, яке призначає Google<br>приклад:<br><code>17363035694596624076</code>"
    },
    "gid": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>глобальний ідентифікатор товару в Google Shopping</em><br>зауважте, що повного списку можливих значень немає, оскільки gid — це динамічне значення, яке призначає Google<br>якщо значень немає, ви отримаєте <code>null</code><br>приклад:<br><code>4702526954592161872</code><br>докладніше про <code>gid</code> — у цьому посібнику довідкового центру"
    },
    "specifications": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_ShoppingSpecification"
          }
        ]
      },
      "description": "<em>специфікації товару</em><br>містить усі атрибути товару та пов'язані дані, перелічені на сторінці специфікації товару"
    },
    "sellers": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_ProductSeller"
          }
        ]
      },
      "description": "<em>продавці товару</em><br>кількість відгуків в обліковому записі продавця товару"
    },
    "variations": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_ProductVariation"
          }
        ]
      },
      "description": "<em>варіанти товару</em><br>містить коротку інформацію про різні варіанти товару"
    }
  }
}
```

### Response36Afe1097B20_ProductSeller

`#/components/schemas/Response36Afe1097B20_ProductSeller`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "тип елемента"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>назва товару</em>"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>URL продавця</em><br>URL сторінки, на якій продається товар"
    },
    "seller_rating": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_RatingElement"
        }
      ],
      "description": "<em>рейтинг продавця</em>"
    },
    "seller_review_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "кількість відгуків продавця\nкількість відгуків в обліковому записі продавця товару"
    },
    "price": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_PriceInfo"
        }
      ],
      "description": "<em>ціна товару</em><br>відомості про ціну товару на сайті продавця"
    },
    "delivery_info": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_DeliveryInfo"
        }
      ],
      "description": "<em>інформація про доставку</em><br>інформація про доставку товару"
    },
    "product_availability": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>інформація про наявність товару</em><br>може набувати таких значень: <code>in_stock</code>, <code>limited_stock</code>, <code>out_of_stock</code>, <code>backordered</code>, <code>pre_order_available</code>, <code>on_display_to_order</code>"
    }
  }
}
```

### Response36Afe1097B20_ProductVariation

`#/components/schemas/Response36Afe1097B20_ProductVariation`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "тип елемента"
    },
    "product_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>ID товару в масиві POST</em><br>докладніше про параметр — у цьому посібнику довідкового центру"
    },
    "gid": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>GID ID у масиві POST</em><br>докладніше про параметр — у цьому посібнику довідкового центру"
    },
    "data_docid": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>унікальний ідентифікатор елемента даних SERP у масиві POST</em>"
    },
    "pvf": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>фільтр варіантів товару</em><br>використовується в URL варіанта товару як ідентифікатор конкретного варіанта товару"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>назва продавця товару</em>"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>URL варіанта товару в Google Shopping</em>"
    },
    "variation_category": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>категорія варіанта товару</em><br>приклад: <code>\"Storage Capacity\"</code>"
    }
  }
}
```

### Response36Afe1097B20_RatingElement

`#/components/schemas/Response36Afe1097B20_RatingElement`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "тип елемента"
    },
    "position": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>вирівнювання елемента в Google Shopping SERP</em><br>можливі значення:<br><code>left</code>, <code>right</code>"
    },
    "rating_type": {
      "type": [
        "string",
        "null"
      ],
      "description": "<i>тип рейтингу</i><br>тут можна знайти такі елементи: <code>Max5</code>, <code>Percents</code>, <code>CustomMax</code>"
    },
    "value": {
      "type": [
        "number",
        "null"
      ],
      "description": "<em>значення рейтингу</em>"
    },
    "votes_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>кількість відгуків</em>",
      "format": "int64"
    },
    "rating_max": {
      "type": [
        "integer",
        "null"
      ],
      "description": "максимальне значення для rating_type"
    }
  }
}
```

### Response36Afe1097B20_ShoppingSpecification

`#/components/schemas/Response36Afe1097B20_ShoppingSpecification`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "тип елемента"
    },
    "block_name": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>назва блоку атрибутів товару</em><br>вказує назву розділу специфікації товару, у якому перелічено відповідний елемент"
    },
    "specification_name": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>атрибут товару</em><br>назва атрибута в специфікації товарних даних"
    },
    "specification_value": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>вміст специфікації</em>"
    }
  }
}
```
