# id で Google Shopping セラーの結果を取得

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

### 料金の参考情報

- 計量方式：報告されたレスポンスコスト。
- 参考リクエスト見積もり：0.012 USD。
- 参照用の顧客乗数：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 — 有効な Felo API キーが必要です。

### 402 — 請求要件が満たされていないため、リクエストを続行できません。

### 403 — このアカウントにはこの操作を行う権限がありません。

### 429 — リクエストまたは支出の上限に達しました。

### 502 — サービスがリクエストを完了できませんでした。

### 503 — API または請求サービスが一時的に利用できません。

### 504 — リクエストの処理中にサービスがタイムアウトしました。

### default — エラーレスポンス。上流のパススルーレスポンスはプロバイダーの形式を使用する場合があります

**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>販売者のウェブサイト上の商品ページへ転送する Google Shopping URL</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>このパラメータを使用すると、<a href=\"/v3/merchant/google/sellers/ad_url/\">Google Shopping Sellers Ad URL</a> で広告の URL を取得できます"
    }
  },
  "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": "タスクのステータスコード\nDataForSEO によって生成され、次の範囲の値になります: 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>POST 配列で受信した <code>product_id</code></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>Google Shopping 結果への直接 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>"
    },
    "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>返された SERP で見つかったすべての検索結果（<code>items</code>）の種類を含みます<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 の最大値"
    }
  }
}
```
