# ตั้งค่างานรีวิวแบบขยายของ Google (Business Data)

**API:** Data API

**Endpoint:** `POST /v1/beta/dataforseo/business_data/google/extended_reviews/task_post`

**Tags:** DataForSEO

เข้าคิวประวัติรีวิว Google แบบเต็มของธุรกิจ เกินกว่าหน้าแรกที่ endpoint มาตรฐานคืนค่า และคืนค่า `id` ของงาน ห่อหุ้มในซองของ DataForSEO: ข้อมูลอยู่ใน `tasks[0].result` ผลลัพธ์อยู่ใน `tasks[0].status_code` - คำขอที่ถูกปฏิเสธยังคงคืนค่า HTTP 200 ดึงผลด้วย `get_dataforseo_business_google_extended_reviews_fetch`; เวอร์ชันที่สั้นกว่าคือ `post_dataforseo_business_google_reviews_submit`

### ข้อมูลอ้างอิงราคา

- การวัดปริมาณ: ต้นทุนการตอบกลับที่รายงาน
- ประมาณการคำขออ้างอิง: USD 0.2428
- ตัวคูณลูกค้าอ้างอิง: 1.0 ห้ามนำไปใช้ซ้ำกับยอดที่ตัดบัญชีของลูกค้าแล้ว

เป็นเพียงข้อมูลเมตาอ้างอิง ไม่ใช่ใบเสนอราคาของบัญชี ไม่ใช่ราคาที่รับประกัน และไม่ใช่เพดานการใช้จ่าย เครดิตทรัพยากรไม่ใช่เครดิต Felo การเรียกเก็บเงินขั้นสุดท้ายเป็นไปตามบันทึกการเรียกเก็บเงินของ Felo

## Related links

- [บทความ Help Center](<https://dataforseo.com/help-center/rules-and-limitations-of-keyword-and-keywords-fields-in-dataforseo-apis>)
- [Google Reviews API](<https://dataforseo.com/pricing/business-data/google-reviews-api>)
- [บทความ Help Center นี้](<https://dataforseo.com/help-center/what-is-cid-place-id-feature-id>)
- [Help Center](<https://dataforseo.com/help-center/pingbacks-postbacks-with-dataforseo-api>)

## Base URL

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

## Authentication

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

## Request body

Required: **no**

### application/json

Schema:

```json
{
  "type": "array",
  "items": {
    "type": [
      "object",
      "null"
    ],
    "oneOf": [
      {
        "type": "object",
        "properties": {
          "keyword": {
            "type": "string",
            "description": "<em>คีย์เวิร์ด</em><br><strong>ฟิลด์ที่จำเป็นหากไม่ได้ระบุ <code>cid</code> หรือ <code>place_id</code></strong><br>คีย์เวิร์ดที่ระบุควรบ่งชี้ชื่อสถานประกอบการในพื้นที่;<br>ระบุได้<strong>สูงสุด 700 อักขระ</strong>ในฟิลด์ <code>keyword</code>;<br>อักขระ %## ทั้งหมดจะถูกถอดรหัส (อักขระ ‘+’ จะถูกถอดรหัสเป็นอักขระเว้นวรรค)<br>หากต้องใช้ อักขระ “%” ใน <code>keyword</code> ให้ระบุเป็น “%25”;<br> <br>หากฟิลด์นี้มีพารามิเตอร์เช่น ‘allinanchor:’, ‘allintext:’, ‘allintitle:’, ‘allinurl:’, ‘define:’, ‘filetype:’, ‘id:’, ‘inanchor:’, ‘info:’, ‘intext:’, ‘intitle:’, ‘inurl:’, ‘link:’, ‘related:’, ‘site:’ <strong>ค่าบริการต่องานจะถูกคูณด้วย 5</strong><br>หมายเหตุ: ไม่รองรับคำค้นหาที่มีพารามิเตอร์ ‘cache:’ และจะคืนข้อผิดพลาดการตรวจสอบความถูกต้อง<p>ดูรายละเอียดกฎและข้อจำกัดของฟิลด์ <code>keyword</code> และ <code>keywords</code> ใน DataForSEO API ได้ในบทความ Help Center<p><strong>หมายเหตุ:</strong> หากใช้ฟิลด์นี้ บัญชีของคุณจะถูกเรียกเก็บเงิน<strong>เป็นสามเท่าของอัตรามาตรฐาน</strong>สำหรับงานที่เกี่ยวข้องกับ Google Reviews API"
          },
          "cid": {
            "type": "string",
            "description": "<i>รหัสที่ไม่ซ้ำซึ่ง Google กำหนดให้กับองค์ธุรกิจ</i><br><strong>ฟิลด์ที่จำเป็นหากไม่ได้ระบุ <code>keyword</code> หรือ <code>place_id</code></strong><br>ตัวอย่าง:<br><code>194604053573767737</code><br>ดูข้อมูลเพิ่มเติมเกี่ยวกับรหัสนี้ได้ในบทความ Help Center นี้<p><strong>หมายเหตุ:</strong> หากใช้ฟิลด์นี้ บัญชีของคุณจะถูกเรียกเก็บเงิน<strong>เป็นสองเท่าของอัตรามาตรฐาน</strong>สำหรับงานที่เกี่ยวข้องกับ Google Reviews API"
          },
          "place_id": {
            "type": "string",
            "description": "<i>ตัวระบุเอนทิตีธุรกิจใน Google Maps</i><br><strong>ฟิลด์ที่จำเป็นหากไม่ได้ระบุ <code>keyword</code> หรือ <code>cid</code></strong><br>ตัวอย่าง:<br><code>GhIJQWDl0CIeQUARxks3icF8U8A</code><br>ดูข้อมูลเพิ่มเติมเกี่ยวกับตัวระบุในบทความ Help Center นี้<p><strong>หมายเหตุ:</strong> หากใช้ฟิลด์นี้ บัญชีของคุณจะถูกเรียกเก็บเงิน <strong>สองเท่าของอัตรามาตรฐาน</strong> สำหรับงานที่เกี่ยวข้องกับ Google Reviews API"
          },
          "priority": {
            "type": [
              "integer",
              "null"
            ],
            "description": "<em>ลำดับความสำคัญของงาน</em><br>ฟิลด์ไม่บังคับ<br>รับค่าต่อไปนี้ได้:<br>1 – ลำดับความสำคัญการทำงานปกติ (กำหนดเป็นค่าเริ่มต้น)<br>2 – ลำดับความสำคัญการทำงานสูง คุณจะถูกเรียกเก็บเงินเพิ่มสำหรับงานที่มีลำดับความสำคัญการทำงานสูง<br>ค่าใช้จ่ายสามารถคำนวณได้ที่หน้า Pricing"
          },
          "location_name": {
            "type": "string",
            "description": "<em>ชื่อเต็มของสถานที่ของเครื่องมือค้นหา</em><br><strong>ฟิลด์ที่จำเป็นหากไม่ได้ระบุ</strong> <code>location_code</code> หรือ <code>location_coordinate</code><br><strong>หากใช้ฟิลด์นี้ ไม่จำเป็นต้องระบุ <code>location_code</code> หรือ <code>location_coordinate</code></strong><br>คุณสามารถรับรายการสถานที่ที่ใช้ได้พร้อม <code>location_name</code> ได้โดยส่งคำขอแยกไปที่ <code>https://api.dataforseo.com/v3/business_data/google/locations</code><br>ตัวอย่าง:<br><code class=\"long-string\">London,England,United Kingdom</code>"
          },
          "location_code": {
            "type": "integer",
            "description": "<em>รหัสสถานที่ของเครื่องมือค้นหา</em><br><strong>ฟิลด์ที่จำเป็นหากไม่ได้ระบุ</strong> <code>location_name</code> หรือ <code>location_coordinate</code><br><strong>หากใช้ฟิลด์นี้ ไม่จำเป็นต้องระบุ <code>location_name</code> หรือ <code>location_coordinate</code></strong><br>คุณสามารถรับรายการสถานที่ของเครื่องมือค้นหาที่ใช้ได้พร้อม <code>location_code</code> ได้โดยส่งคำขอแยกไปที่ <code>https://api.dataforseo.com/v3/business_data/google/locations</code><br>ตัวอย่าง:<br><code class=\"long-string\">2840</code>n"
          },
          "location_coordinate": {
            "type": "string",
            "description": "<em>พิกัด GPS ของสถานที่</em><br><strong>ฟิลด์ที่จำเป็นหากไม่ได้ระบุ</strong> <code>location_name</code> หรือ <code>location_code</code><br><strong>หากใช้ฟิลด์นี้ ไม่จำเป็นต้องระบุ <code>location_name</code> หรือ <code>location_code</code></strong><br>ต้องระบุพารามิเตอร์ <code>location_coordinate</code> ในรูปแบบ <em>\"latitude,longitude,radius\"</em><br>จำนวนหลักทศนิยมสูงสุดสำหรับ <em>\"latitude\"</em> และ <em>\"longitude\"</em>: 7<br>ค่าต่ำสุดสำหรับ <em>\"radius\"</em>: 199.9<br>ตัวอย่าง:<br><code class=\"long-string\">53.476225,-2.243572,200</code>n"
          },
          "language_name": {
            "type": "string",
            "description": "<em>ชื่อเต็มของภาษาของเครื่องมือค้นหา</em><br><strong>ฟิลด์ที่จำเป็นหากไม่ได้ระบุ</strong> <code>language_code</code><br><strong>หากใช้ฟิลด์นี้ ไม่จำเป็นต้องระบุ <code>language_code</code></strong><br>คุณสามารถรับรายการภาษาของเครื่องมือค้นหาที่ใช้ได้พร้อม <code>language_name</code> ได้โดยส่งคำขอแยกไปที่ <code>https://api.dataforseo.com/v3/business_data/google/languages</code><br>ตัวอย่าง:<br><code class=\"long-string\">English</code>"
          },
          "language_code": {
            "type": "string",
            "description": "<em>รหัสภาษาของเครื่องมือค้นหา</em><br><strong>ฟิลด์ที่จำเป็นหากไม่ได้ระบุ</strong> <code>language_name</code><br><strong>หากใช้ฟิลด์นี้ ไม่จำเป็นต้องระบุ <code>language_name</code></strong><br>คุณสามารถรับรายการภาษาของเครื่องมือค้นหาที่ใช้ได้พร้อม <code>language_code</code> ได้โดยส่งคำขอแยกไปที่ <code>https://api.dataforseo.com/v3/business_data/google/languages</code><em><br></em>ตัวอย่าง:<em><br></em><code class=\"long-string\">en</code>n"
          },
          "depth": {
            "type": [
              "integer",
              "null"
            ],
            "description": "<em>ความลึกในการดึงข้อมูล</em><br>ฟิลด์ที่ไม่บังคับ<br>จำนวนรีวิวใน SERP<br>ขอแนะนำอย่างยิ่งให้ตั้งค่าความลึกในการดึงข้อมูลเป็นจำนวนเท่าของ 20 เพราะระบบของเราประมวลผลรีวิวครั้งละ 20 รายการ<br>ค่าเริ่มต้น: <code>20</code><br>ค่าสูงสุด: <code>1000</code><p><strong>บัญชีของคุณจะถูกเรียกเก็บเงินต่อ SERP ที่มีผลลัพธ์ไม่เกิน 20 รายการ</strong> <br>การตั้งค่าความลึกเกิน 20 อาจทำให้มีค่าใช้จ่ายเพิ่มเติมหากเครื่องมือค้นหาคืนผลลัพธ์เกิน 20 รายการ;<br>คำนวณค่าใช้จ่ายได้ที่หน้า Pricing"
          },
          "tag": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>ตัวระบุงานที่ผู้ใช้กำหนด</em><br>ฟิลด์ไม่บังคับ<br><em>จำกัด 255 อักขระ</em><br>ใช้พารามิเตอร์นี้เพื่อระบุงานและจับคู่กับผลลัพธ์<br>คุณจะพบค่า <code>tag</code> ที่ระบุในออบเจ็กต์ <code>data</code> ของการตอบกลับ"
          },
          "postback_url": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>URL สำหรับส่งผลลัพธ์ของงาน</em><br>ฟิลด์ที่ไม่บังคับ<br>เมื่องานเสร็จสิ้น เราจะส่งคำขอ POST พร้อมผลลัพธ์ที่บีบอัดในรูปแบบ <code>gzip</code> ไปยัง <code>postback_url</code> ที่คุณระบุ<br>คุณสามารถใช้สตริง ‘$id’ เป็นตัวแปร <code>$id</code> และ ‘$tag’ เป็นตัวแปร <code>$tag</code> ที่เข้ารหัส URL เราจะกำหนดค่าที่จำเป็นก่อนส่งคำขอ<br>ตัวอย่าง:<br><code>http://your-server.com/postbackscript?id=$id</code><br><code>http://your-server.com/postbackscript?id=$id&amp;tag=$tag</code><br><strong>หมายเหตุ:</strong> อักขระพิเศษใน <code>postback_url</code> จะถูกเข้ารหัส URL; <br>กล่าวคือ อักขระ <code>#</code> จะถูกเข้ารหัสเป็น <code>%23</code><p>ดูข้อมูลเพิ่มเติมได้ในHelp Center ของเรา"
          },
          "pingback_url": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>URL แจ้งเตือนเมื่องานเสร็จสิ้น</em><br>ฟิลด์ที่ไม่บังคับ<br>เมื่องานเสร็จสิ้น เราจะแจ้งให้คุณทราบผ่านคำขอ GET ที่ส่งไปยัง URL ที่คุณระบุ<br>คุณสามารถใช้สตริง ‘$id’ เป็นตัวแปร <code>$id</code> และ ‘$tag’ เป็นตัวแปร <code>$tag</code> ที่เข้ารหัส URL เราจะกำหนดค่าที่จำเป็นก่อนส่งคำขอ<br>ตัวอย่าง:<br><code>http://your-server.com/pingscript?id=$id</code><br><code>http://your-server.com/pingscript?id=$id&amp;tag=$tag</code><br><strong>หมายเหตุ:</strong> อักขระพิเศษใน <code>pingback_url</code> จะถูกเข้ารหัส URL; <br>กล่าวคือ อักขระ <code>#</code> จะถูกเข้ารหัสเป็น <code>%23</code><p>ดูข้อมูลเพิ่มเติมได้ในHelp Center ของเรา"
          }
        },
        "example": [
          {
            "location_name": "London,England,United Kingdom",
            "language_name": "english",
            "cid": "17626775537598922320"
          }
        ]
      }
    ]
  },
  "example": [
    {
      "location_name": "London,England,United Kingdom",
      "language_name": "english",
      "cid": "17626775537598922320"
    }
  ]
}
```

## Responses

### 200 — ดำเนินการสำเร็จ

Headers:
- `X-Request-Id` (string) — ตัวระบุคำขอที่ต้องระบุเมื่อติดต่อฝ่ายสนับสนุนของ Felo

**application/json**

Schema: object | null

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

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

`#/components/schemas/Response36Afe1097B20_BusinessDataGoogleExtendedReviewsTaskPostResponseInfo`

```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_BusinessDataGoogleExtendedReviewsTaskPostTaskInfo"
              }
            ]
          },
          "description": "<em>อาร์เรย์ของงาน</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_BusinessDataGoogleExtendedReviewsTaskPostTaskInfo

`#/components/schemas/Response36Afe1097B20_BusinessDataGoogleExtendedReviewsTaskPostTaskInfo`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo"
    },
    {
      "type": "object",
      "properties": {
        "result": {
          "type": [
            "object",
            "null"
          ],
          "description": "<em>อาร์เรย์ของผลลัพธ์</em><br>ในกรณีนี้ ค่าจะเป็น <code>null</code>"
        }
      }
    }
  ]
}
```
