# 依 id 取得 Google Shopping 商品資訊結果

**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`。

### 計費參考

- 計量方式：依回報的回應成本計量。
- 參考請求估算：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_MerchantGoogleProductInfoTaskGetAdvancedResponseInfo"
    }
  ]
}
```

### 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": "任務總費用，美元",
      "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": "任務總費用，美元",
      "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>POST 陣列中的商品 ID</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</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": "所列價格的貨幣\n套用於該價格的貨幣 ISO 代碼"
    },
    "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>在 POST 陣列中收到的 product_id</em><br>如需進一步瞭解此參數，請參閱<a href=\"https://dataforseo.com/help-center/product-id-google-shopping\" rel=\"noopener noreferrer\" target=\"_blank\">這篇說明中心指南</a>"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>商品的標題</em>"
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>產品說明</em>"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>產品 URL</em><br>產品在 Google Shopping 上的 URL"
    },
    "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>，請參閱<a href=\"https://dataforseo.com/help-center/whats-a-gid-in-google-shopping-api\" target=\"_blank\">這篇說明中心指南</a>"
    },
    "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>POST 陣列中的商品 ID</em><br>在<a href=\"https://dataforseo.com/help-center/product-id-google-shopping\" rel=\"noopener noreferrer\" target=\"_blank\">這篇說明中心指南</a>中進一步瞭解此參數"
    },
    "gid": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>POST 陣列中的 GID ID</em><br>如需進一步瞭解此參數，請參閱<a href=\"https://dataforseo.com/help-center/whats-a-gid-in-google-shopping-api\" rel=\"noopener noreferrer\" target=\"_blank\">這篇說明中心指南</a>"
    },
    "data_docid": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>POST 陣列中 SERP 資料元素的唯一識別碼</em>"
    },
    "pvf": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>產品變體篩選</em><br>在產品變體 URL 中用作特定產品變體的識別碼"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>產品賣家的名稱</em>"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>Google Shopping 上的產品變體 URL</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><a href=\"https://support.google.com/merchants/answer/7052112?hl=en\" target=\"_blank\" rel=\"noopener noreferrer\">產品資料規格</a>中的屬性名稱"
    },
    "specification_value": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>規格的內容</em>"
    }
  }
}
```
