Felo API PlatformFelo API Platform
endpoint ทั้งหมดของ DataForSEO
v0.2.0-beta
OpenAPI 3.1.0

ตั้งค่างานคำถามและคำตอบ Google My Business แบบเรียลไทม์

เซิร์ฟเวอร์:https://openapi.felo.ai
ไลบรารีไคลเอนต์

DataForSEO

​

SEO, search-engine results, keyword research, backlinks and AI visibility data.

ตั้งค่างานคำถามและคำตอบ Google My Business แบบเรียลไทม์

​

คำถามและคำตอบบนโปรไฟล์ Google Business ซึ่งค้นหาด้วย keyword และ location_code คืนค่า keyword, se_domain, location_code, language_code, check_url, datetime, cid, feature_id และ item_types ห่อหุ้มในซองของ DataForSEO: ข้อมูลอยู่ใน tasks[0].result ผลลัพธ์อยู่ใน tasks[0].status_code - คำขอที่ถูกปฏิเสธยังคงคืนค่า HTTP 200

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

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

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

บอดี้
application/json
  • ประเภท: array (object | null)[]
    • depth
      ประเภท: integer | null

      ความลึกในการดึงข้อมูล
      ฟิลด์ไม่บังคับ
      จำนวนผลลัพธ์ใน SERP
      ค่าเริ่มต้น: 20
      ค่าสูงสุด: 100
      บัญชีของคุณจะถูกเรียกเก็บเงินต่อ SERP ที่มีผลลัพธ์ไม่เกิน 20 รายการ;
      การกำหนดความลึกเกิน 20 อาจทำให้มีค่าใช้จ่ายเพิ่มเติมหากเครื่องมือค้นหาส่งคืนผลลัพธ์มากกว่า 20 รายการ;
      หากความลึกที่กำหนดสูงกว่าจำนวนคำถามในการตอบกลับ ส่วนต่างจะถูกคืนเงินเข้าบัญชีของคุณโดยอัตโนมัติ;
      ค่าใช้จ่ายสามารถคำนวณได้ที่หน้า Pricing

    • keyword
      ประเภท: string

      คีย์เวิร์ด
      ฟิลด์ที่จำเป็น
      คีย์เวิร์ดที่ระบุควรบ่งชี้ชื่อสถานประกอบการในท้องถิ่น
      ระบุได้ สูงสุด 700 อักขระ ในฟิลด์ keyword
      %## ทั้งหมดจะถูกถอดรหัส (อักขระ ‘+’ จะถูกถอดรหัสเป็นอักขระเว้นวรรค)
      หากต้องการใช้ อักขระ “%” ใน keyword ให้ระบุเป็น “%25”;

      ฟิลด์นี้ยังใช้ส่งพารามิเตอร์ต่อไปนี้ได้:
      cid - id ของเอนทิตีธุรกิจที่ไม่ซ้ำกันซึ่งกำหนดโดย Google;
      place_id - ตัวระบุของเอนทิตีธุรกิจใน Google Maps;

      ตัวอย่าง:
      cid:194604053573767737
      place_id:GhIJQWDl0CIeQUARxks3icF8U8A

      ดูข้อมูลเพิ่มเติมเกี่ยวกับตัวระบุ cid และ place_id ในบทความ Help Center นี้

      ดูข้อมูลเพิ่มเติมเกี่ยวกับกฎและข้อจำกัดของฟิลด์ keyword และ keywords ใน DataForSEO APIs ในบทความ Help Center นี้

    • language_code
      ประเภท: string

      รหัสภาษาของเครื่องมือค้นหา
      ฟิลด์ที่จำเป็นหากไม่ได้ระบุ language_name
      หากใช้ฟิลด์นี้ ไม่จำเป็นต้องระบุ language_name
      คุณสามารถรับรายการภาษาที่ใช้ได้พร้อม language_code ได้โดยส่งคำขอแยกไปที่ https://api.dataforseo.com/v3/business_data/google/languages
      ตัวอย่าง:
      en

    • language_name
      ประเภท: string

      ชื่อเต็มของภาษาของเครื่องมือค้นหา
      ฟิลด์ที่จำเป็นหากไม่ได้ระบุ language_code
      หากใช้ฟิลด์นี้ ไม่จำเป็นต้องระบุ language_code
      คุณสามารถรับรายการภาษาที่ใช้ได้พร้อม language_name ได้โดยส่งคำขอแยกไปที่ https://api.dataforseo.com/v3/business_data/google/languages
      ตัวอย่าง:
      English

    • location_code
      ประเภท: integer

      รหัสสถานที่ของเครื่องมือค้นหา
      ฟิลด์ที่จำเป็นหากไม่ได้ระบุ location_name หรือ location_coordinate
      หากใช้ฟิลด์นี้ ไม่จำเป็นต้องระบุ location_name หรือ location_coordinate
      คุณสามารถรับรายการสถานที่ของเครื่องมือค้นหาที่ใช้ได้พร้อม location_code ได้โดยส่งคำขอแยกไปที่ https://api.dataforseo.com/v3/business_data/google/locations
      ตัวอย่าง:
      2840n

    • location_coordinate
      ประเภท: string

      พิกัด GPS ของสถานที่
      ฟิลด์ที่จำเป็นหากไม่ได้ระบุ location_name หรือ location_code
      หากใช้ฟิลด์นี้ ไม่จำเป็นต้องระบุ location_name หรือ location_code
      พารามิเตอร์ location_coordinate ต้องระบุในรูปแบบ "latitude,longitude,radius"
      จำนวนตำแหน่งทศนิยมสูงสุดสำหรับ "latitude" และ "longitude": 7
      ค่าต่ำสุดสำหรับ "radius": 199.9 (mm)
      ค่าสูงสุดสำหรับ "radius": 199999 (mm)
      ตัวอย่าง:
      53.476225,-2.243572,200

    • location_name
      ประเภท: string

      ชื่อเต็มของสถานที่ของเครื่องมือค้นหา
      ฟิลด์ที่จำเป็นหากไม่ได้ระบุ location_code หรือ location_coordinate
      หากใช้ฟิลด์นี้ ไม่จำเป็นต้องระบุ location_code หรือ location_coordinate
      คุณสามารถรับรายการสถานที่ที่ใช้ได้พร้อม location_name ได้โดยส่งคำขอแยกไปที่ https://api.dataforseo.com/v3/business_data/google/locations
      ตัวอย่าง:
      London,England,United Kingdom

    • tag
      ประเภท: string | null

      ตัวระบุงานที่ผู้ใช้กำหนด
      ฟิลด์ไม่บังคับ
      จำกัด 255 อักขระ
      ใช้พารามิเตอร์นี้เพื่อระบุงานและจับคู่กับผลลัพธ์
      คุณจะพบค่า tag ที่ระบุในออบเจ็กต์ data ของการตอบกลับ

การตอบกลับ
  • 200
    ประเภท: object | null · Response36Afe1097B20_BusinessDataGoogleQuestionsAndAnswersLiveResponseInfo
    • cost
      ประเภท: number | null รูปแบบ: double

      ค่าใช้จ่ายรวมของงาน, USD

    • status_code
      ประเภท: integer | null

      รหัสสถานะทั่วไป คุณสามารถดูรายการรหัสการตอบกลับทั้งหมดได้ที่นี่

    • status_message
      ประเภท: string | null

      ข้อความข้อมูลทั่วไป คุณสามารถดูรายการข้อความข้อมูลทั่วไปทั้งหมดได้ที่นี่

    • tasks
      ประเภท: array (object | null)[] | null

      อาร์เรย์ของงาน

      • ประเภท: object | null · Response36Afe1097B20_BusinessDataGoogleQuestionsAndAnswersLiveTaskInfo
        • cost
          ประเภท: number | null รูปแบบ: double

          ค่าใช้จ่ายรวมของงาน, USD

        • data
          ประเภท: object | null

          มีพารามิเตอร์เดียวกับที่คุณระบุในคำขอ POST

          • propertyName
            ประเภท: object | null
        • id
          ประเภท: string | null

          ตัวระบุงาน ตัวระบุงานที่ไม่ซ้ำกันในระบบของเราในรูปแบบ UUID

        • path
          ประเภท: array (string | null)[] | null

          พาธ URL

        • result
          ประเภท: array (object | null)[] | null

          อาร์เรย์ของผลลัพธ์

          • check_url
            ประเภท: string | null

            URL โดยตรงไปยังผลลัพธ์ของเครื่องมือค้นหา
            คุณใช้ URL นี้เพื่อตรวจสอบว่าเราให้ผลลัพธ์ที่แม่นยำ

          • cid
            ประเภท: string | null

            client id ที่กำหนดโดย Google
            ไอดีเฉพาะของสถานประกอบการในพื้นที่;
            อ่านเพิ่มเติมเกี่ยวกับตัวระบุได้ในบทความ Help Center นี้

          • datetime
            ประเภท: string | null

            วันที่และเวลาที่ได้รับผลลัพธ์
            ในรูปแบบ UTC: “yyyy-mm-dd hh-mm-ss +00:00”
            ตัวอย่าง:
            2019-11-15 12:57:46 +00:00

          • feature_id
            ประเภท: string | null

            ตัวระบุเฉพาะของฟีเจอร์ SERP

          • item_types
            ประเภท: array (string | null)[] | null

            ประเภทรายการ
            ประเภทของผลการค้นหาจากเครื่องมือค้นหาที่พบในอาร์เรย์ items;
            ประเภทรายการที่เป็นไปได้: google_business_question_item

          • items
            ประเภท: array (object | null)[] | null

            อาร์เรย์ของรายการ
            รายการภายใน google_business_question_item

            • items
              ประเภท: array (object | null)[] | null

              อาร์เรย์ของรายการ
              รายการภายใน google_business_question_item

              • answer_id
                ประเภท: string | null

                ID ของคำตอบ

              • answer_text
                ประเภท: string | null

                ข้อความปัจจุบันของคำตอบ

              • original_answer_text
                ประเภท: string | null

                ข้อความต้นฉบับของคำตอบ

              • profile_image_url
                ประเภท: string | null

                URL ของรูปโปรไฟล์ของผู้ใช้

              • profile_name
                ประเภท: string | null

                ชื่อที่แสดงของผู้ใช้

              • profile_url
                ประเภท: string | null

                URL ของโปรไฟล์ของผู้ใช้

              • time_ago
                ประเภท: string | null

                เวลาที่คาดว่าคำตอบจะถูกโพสต์

              • timestamp
                ประเภท: string | null

                เวลาที่แน่นอนที่คำตอบถูกโพสต์

              • type
                ประเภท: string | null

                ประเภทขององค์ประกอบ

            • original_question_text
              ประเภท: string | null

              ข้อความต้นฉบับของคำถาม

            • profile_image_url
              ประเภท: string | null

              URL ของรูปโปรไฟล์ของผู้ใช้

            • profile_name
              ประเภท: string | null

              ชื่อที่แสดงของผู้ใช้

            • profile_url
              ประเภท: string | null

              URL ของโปรไฟล์ของผู้ใช้

            • question_id
              ประเภท: string | null

              ID ของคำถาม

            • question_text
              ประเภท: string | null

              ข้อความปัจจุบันของคำถาม

            • rank_absolute
              ประเภท: integer | null

              อันดับสัมบูรณ์ในบรรดาองค์ประกอบทั้งหมด

            • rank_group
              ประเภท: integer | null

              ตำแหน่งภายในกลุ่มขององค์ประกอบที่มีค่า type เหมือนกัน
              ตำแหน่งขององค์ประกอบที่มีค่า type ต่างกันจะไม่ถูกรวมใน rank_group

            • time_ago
              ประเภท: string | null

              เวลาที่คาดว่าคำถามถูกโพสต์

            • timestamp
              ประเภท: string | null

              เวลาที่แน่นอนที่คำถามถูกโพสต์

            • type
              ประเภท: string | null

              ประเภทขององค์ประกอบ

            • url
              ประเภท: string | null

              URL ของคำถาม

          • items_count
            ประเภท: integer | null รูปแบบ: int64

            จำนวนรายการในอาร์เรย์ items

          • items_without_answers
            ประเภท: array (object | null)[] | null

            อาร์เรย์ของรายการคำถาม Google Business ที่ไม่มีคำตอบ

            • items
              ประเภท: array (object | null)[] | null

              อาร์เรย์ของรายการ
              รายการภายใน google_business_question_item

              • answer_id
                ประเภท: string | null

                ID ของคำตอบ

              • answer_text
                ประเภท: string | null

                ข้อความปัจจุบันของคำตอบ

              • original_answer_text
                ประเภท: string | null

                ข้อความต้นฉบับของคำตอบ

              • profile_image_url
                ประเภท: string | null

                URL ของรูปโปรไฟล์ของผู้ใช้

              • profile_name
                ประเภท: string | null

                ชื่อที่แสดงของผู้ใช้

              • profile_url
                ประเภท: string | null

                URL ของโปรไฟล์ของผู้ใช้

              • time_ago
                ประเภท: string | null

                เวลาที่คาดว่าคำตอบจะถูกโพสต์

              • timestamp
                ประเภท: string | null

                เวลาที่แน่นอนที่คำตอบถูกโพสต์

              • type
                ประเภท: string | null

                ประเภทขององค์ประกอบ

            • original_question_text
              ประเภท: string | null

              ข้อความต้นฉบับของคำถาม

            • profile_image_url
              ประเภท: string | null

              URL ของรูปโปรไฟล์ของผู้ใช้

            • profile_name
              ประเภท: string | null

              ชื่อที่แสดงของผู้ใช้

            • profile_url
              ประเภท: string | null

              URL ของโปรไฟล์ของผู้ใช้

            • question_id
              ประเภท: string | null

              ID ของคำถาม

            • question_text
              ประเภท: string | null

              ข้อความปัจจุบันของคำถาม

            • rank_absolute
              ประเภท: integer | null

              อันดับสัมบูรณ์ในบรรดาองค์ประกอบทั้งหมด

            • rank_group
              ประเภท: integer | null

              ตำแหน่งภายในกลุ่มขององค์ประกอบที่มีค่า type เหมือนกัน
              ตำแหน่งขององค์ประกอบที่มีค่า type ต่างกันจะไม่ถูกรวมใน rank_group

            • time_ago
              ประเภท: string | null

              เวลาที่คาดว่าคำถามถูกโพสต์

            • timestamp
              ประเภท: string | null

              เวลาที่แน่นอนที่คำถามถูกโพสต์

            • type
              ประเภท: string | null

              ประเภทขององค์ประกอบ

            • url
              ประเภท: string | null

              URL ของคำถาม

          • keyword
            ประเภท: string | null

            คีย์เวิร์ดที่ได้รับในอาร์เรย์ POST
            คีย์เวิร์ดจะถูกคืนค่าพร้อมถอดรหัส %## (เครื่องหมาย '+' จะถูกถอดรหัสเป็นอักขระเว้นวรรค)
            ฟิลด์นี้จะเก็บพารามิเตอร์ cid หากคุณระบุไว้ในฟิลด์ keyword เมื่อตั้งงาน;
            ตัวอย่าง:
            cid:2946633002421908862
            อ่านเพิ่มเติมเกี่ยวกับพารามิเตอร์ได้ในบทความ Help Center นี้

          • language_code
            ประเภท: string | null

            รหัสภาษาในอาร์เรย์ POST

          • location_code
            ประเภท: integer | null

            รหัสสถานที่ในอาร์เรย์ POST

          • se_domain
            ประเภท: string | null

            โดเมนเครื่องมือค้นหาตามที่ระบุในอาร์เรย์ POST

        • result_count
          ประเภท: integer | null รูปแบบ: int64

          จำนวนองค์ประกอบในอาร์เรย์ result

        • status_code
          ประเภท: integer | null

          รหัสสถานะของงาน สร้างโดย DataForSEO โดยอยู่ในช่วงต่อไปนี้ได้: 10000-60000 คุณสามารถดูรายการรหัสการตอบกลับทั้งหมดได้ที่นี่

        • status_message
          ประเภท: string | null

          ข้อความข้อมูลของงาน คุณสามารถดูรายการข้อความข้อมูลทั่วไปทั้งหมดได้ที่นี่

        • time
          ประเภท: string | null

          เวลาดำเนินการ, วินาที

    • tasks_count
      ประเภท: integer | null รูปแบบ: int64

      จำนวนงานในอาร์เรย์ tasks

    • tasks_error
      ประเภท: integer | null รูปแบบ: int64

      จำนวนงานในอาร์เรย์ tasks ที่ส่งคืนพร้อมข้อผิดพลาด

    • time
      ประเภท: string | null

      เวลาดำเนินการทั้งหมด (วินาที)

    • version
      ประเภท: string | null

      เวอร์ชันปัจจุบันของ API

    application/json
  • 400

    ไม่สามารถประมวลผลคำขอได้ ตรวจสอบพารามิเตอร์ของคำขอ

  • 401

    จำเป็นต้องใช้คีย์ API ของ Felo ที่ถูกต้อง

  • 402

    ไม่สามารถดำเนินการตามคำขอได้ เนื่องจากไม่เป็นไปตามข้อกำหนดด้านการเรียกเก็บเงิน

  • 403

    บัญชีไม่ได้รับอนุญาตให้ดำเนินการนี้

  • 429

    ถึงขีดจำกัดคำขอหรือการใช้จ่ายแล้ว

  • 502

    บริการไม่สามารถดำเนินการตามคำขอให้เสร็จสิ้นได้

  • 503

    API หรือบริการเรียกเก็บเงินไม่พร้อมใช้งานชั่วคราว

  • 504

    บริการหมดเวลาระหว่างประมวลผลคำขอ

  • default

    การตอบกลับข้อผิดพลาด; การตอบกลับที่ส่งผ่านจากต้นทางอาจใช้รูปแบบของผู้ให้บริการ

    application/json
Request Example for post/v1/beta/dataforseo/business_data/google/questions_and_answers/live
curl https://openapi.felo.ai/v1/beta/dataforseo/business_data/google/questions_and_answers/live \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --data '[
  {
    "language_code": "en",
    "location_name": "Los Angeles,California,United States",
    "keyword": "The Last Bookstore"
  }
]'
{
  "version": null,
  "status_code": null,
  "status_message": null,
  "time": null,
  "cost": null,
  "tasks_count": null,
  "tasks_error": null,
  "tasks": [
    {
      "id": null,
      "status_code": null,
      "status_message": null,
      "time": null,
      "cost": null,
      "result_count": null,
      "path": [
        null
      ],
      "data": null,
      "result": [
        {
          "keyword": null,
          "se_domain": null,
          "location_code": null,
          "language_code": null,
          "check_url": null,
          "datetime": null,
          "cid": null,
          "feature_id": null,
          "item_types": [
            null
          ],
          "items_without_answers": [
            {
              "type": null,
              "rank_group": null,
              "rank_absolute": null,
              "question_id": null,
              "url": null,
              "profile_image_url": null,
              "profile_url": null,
              "profile_name": null,
              "question_text": null,
              "original_question_text": null,
              "time_ago": null,
              "timestamp": null,
              "items": [
                "[Max Depth Exceeded]"
              ]
            }
          ],
          "items_count": null,
          "items": [
            {
              "type": null,
              "rank_group": null,
              "rank_absolute": null,
              "question_id": null,
              "url": null,
              "profile_image_url": null,
              "profile_url": null,
              "profile_name": null,
              "question_text": null,
              "original_question_text": null,
              "time_ago": null,
              "timestamp": null,
              "items": [
                "[Max Depth Exceeded]"
              ]
            }
          ]
        }
      ]
    }
  ]
}
Setting Live Google My Business Questions and Answers Tasks