DataForSEO
SEO, search-engine results, keyword research, backlinks and AI visibility data.
設定即時 Google My Business 問答任務
Google Business Profile 上的問答,透過 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。
計費參考
- 計量方式:依回報的回應成本計量。
- 參考請求估算:0.2428 美元。
- 參考客戶倍率:1.0。不得對已結算的客戶金額再次套用。
僅供參考的中繼資料,並非帳戶報價、保證價格或消費上限。資源額度並非 Felo 額度。最終費用依 Felo 計費記錄為準。
- 類型: array (object | null)[]
- depth類型: integer | null
- keyword類型: string
關鍵字
必填欄位
你指定的關鍵字應指明本地商家的名稱
在keyword欄位中最多可指定 700 個字元
所有 %## 都會被解碼(另外,字元 ‘+’ 會解碼為空格)
如果需要在keyword中使用 “%” 字元,請指定為 “%25”;此欄位還可用於傳遞以下參數:
cid- 商家實體的唯一 Google 定義 ID;place_id- 商家實體在 Google Maps 中的識別碼範例:
cid:194604053573767737place_id:GhIJQWDl0CIeQUARxks3icF8U8A可在這篇說明中心文章中進一步瞭解
cid與place_id識別碼有關 DataForSEO API 中
keyword與keywords欄位的規則與限制,請參閱這篇 說明中心文章 - language類型: string
_code 搜尋引擎語言代碼
未指定language_name時為必填欄位
如果使用此欄位,則無需指定language_name
可個別向https://api.dataforseo.com/v3/business_data/google/languages發出請求,取得可用語言及其language_code清單
範例:en - language類型: string
_name 搜尋引擎語言全名
未指定language_code時為必填欄位
如果使用此欄位,則無需指定language_code
可個別向https://api.dataforseo.com/v3/business_data/google/languages發出請求,取得帶language_name的可用語言清單
範例:English - location類型: integer
_code 搜尋引擎位置代碼
若未指定location_name或location_coordinate,則為必填欄位
若使用此欄位,則無需指定location_name或location_coordinate
可個別向https://api.dataforseo.com/v3/business_data/google/locations發出請求,取得帶有location_code的可用位置清單
範例:2840 - location類型: string
_coordinate 地點的 GPS 座標
未指定location_name或location_code時為必填欄位
如果使用此欄位,則無需指定location_name或location_codelocation_coordinate參數應以 "latitude,longitude,radius" 格式指定
"latitude" 與 "longitude" 的最大小數位數為 7
"radius" 的最小值:199.9(mm)
"radius" 的最大值:199999(mm)
範例:53.476225,-2.243572,200 - location類型: string
_name 搜尋引擎地點全名
未指定location_code或location_coordinate時為必填欄位
如果使用此欄位,則無需指定location_code或location_coordinate
可個別向https://api.dataforseo.com/v3/business_data/google/locations發出請求,取得帶location_name的可用地點清單
範例:London,England,United Kingdom - tag類型: string | null
使用者自訂任務識別碼
選填欄位
字元數上限為 255
可使用此參數識別任務,並將其與結果對應
可在回應的data物件中找到指定的tag值
- 類型: object | null · Response36Afe1097B20_BusinessDataGoogleQuestionsAndAnswersLiveResponseInfo200
- 類型: number | null 格式: doublecost
任務總費用,美元
- 類型: integer | nullstatus
_code 一般狀態碼 完整回應碼清單請見此處
- 類型: string | nullstatus
_message 一般資訊訊息 完整的一般資訊訊息清單請見此處
- 類型: array (object | null)[] | nulltasks
任務陣列
- 類型: object | null · Response36Afe1097B20_BusinessDataGoogleQuestionsAndAnswersLiveTaskInfo
- cost類型: number | null 格式: double
任務總費用,美元
- data類型: object | null
包含你在 POST 請求中指定的相同參數
- property類型: object | null
Name
- id類型: string | null
任務識別碼 我們系統中 UUID 格式的唯一任務識別碼
- path類型: array (string | null)[] | null
URL 路徑
- result類型: array (object | null)[] | null
結果陣列
- check類型: string | null
_url 搜尋引擎結果的直接 URL
可用來確認我們提供了準確的結果 - cid類型: string | null
- datetime類型: string | null
收到結果的日期與時間
採用 UTC 格式:“yyyy-mm-dd hh-mm-ss +00:00”
範例:2019-11-15 12:57:46 +00:00 - feature類型: string | null
_id SERP 功能的唯一識別碼
- item類型: array (string | null)[] | null
_types 項目類型
items陣列中出現的搜尋引擎結果類型;
可能的項目類型:google_business_question_item - items類型: array (object | null)[] | null
項目陣列
google_business_question_item內的項目- items類型: array (object | null)[] | null
項目陣列
google_business_question_item內的項目- answer類型: string | null
_id 答案的 ID
- answer類型: string | null
_text 答案的目前文字
- original類型: string | null
_answer _text 答案的原始文字
- profile類型: string | null
_image _url 使用者個人資料圖片的 URL
- profile類型: string | null
_name 使用者的顯示名稱
- profile類型: string | null
_url 使用者個人資料的 URL
- time類型: string | null
_ago 答案發布的預估時間
- timestamp類型: string | null
答案發布的確切時間
- type類型: string | null
元素類型
- original類型: string | null
_question _text 問題的原始文字
- profile類型: string | null
_image _url 使用者個人資料圖片的 URL
- profile類型: string | null
_name 使用者的顯示名稱
- profile類型: string | null
_url 使用者個人資料的 URL
- question類型: string | null
_id 問題的 ID
- question類型: string | null
_text 問題的目前文字
- rank類型: integer | null
_absolute 所有元素中的絕對排名
- rank類型: integer | null
_group 具有相同
type值的元素群組內的位置
不同type值的元素位置不計入rank_group - time類型: string | null
_ago 問題發布的預估時間
- timestamp類型: string | null
問題發布的確切時間
- type類型: string | null
元素類型
- url類型: string | null
問題的 URL
- items類型: integer | null 格式: int64
_count items陣列中的項目數 - items類型: array (object | null)[] | null
_without _answers 不含回答的 Google 商家問題項目陣列
- items類型: array (object | null)[] | null
項目陣列
google_business_question_item內的項目- answer類型: string | null
_id 答案的 ID
- answer類型: string | null
_text 答案的目前文字
- original類型: string | null
_answer _text 答案的原始文字
- profile類型: string | null
_image _url 使用者個人資料圖片的 URL
- profile類型: string | null
_name 使用者的顯示名稱
- profile類型: string | null
_url 使用者個人資料的 URL
- time類型: string | null
_ago 答案發布的預估時間
- timestamp類型: string | null
答案發布的確切時間
- type類型: string | null
元素類型
- original類型: string | null
_question _text 問題的原始文字
- profile類型: string | null
_image _url 使用者個人資料圖片的 URL
- profile類型: string | null
_name 使用者的顯示名稱
- profile類型: string | null
_url 使用者個人資料的 URL
- question類型: string | null
_id 問題的 ID
- question類型: string | null
_text 問題的目前文字
- rank類型: integer | null
_absolute 所有元素中的絕對排名
- rank類型: integer | null
_group 具有相同
type值的元素群組內的位置
不同type值的元素位置不計入rank_group - time類型: string | null
_ago 問題發布的預估時間
- timestamp類型: string | null
問題發布的確切時間
- type類型: string | null
元素類型
- url類型: string | null
問題的 URL
- keyword類型: string | null
- language類型: string | null
_code POST 陣列中的語言代碼
- location類型: integer | null
_code POST 陣列中的位置代碼
- se類型: string | null
_domain POST 陣列中指定的搜尋引擎網域
- result類型: integer | null 格式: int64
_count result 陣列中的元素數
- status類型: integer | null
_code 任務的狀態碼 由 DataForSEO 產生,範圍如下:10000-60000 完整回應碼清單請見此處
- status類型: string | null
_message 任務的資訊訊息 完整的一般資訊訊息清單請見此處
- time類型: string | null
執行時間,秒
- 類型: integer | null 格式: int64tasks
_count tasks 陣列中的任務數
- 類型: integer | null 格式: int64tasks
_error tasks 陣列中傳回錯誤的任務數
- 類型: string | nulltime
總執行時間,秒
- 類型: string | nullversion
API 的目前版本
application/json - 400
無法處理該要求。請檢查請求參數。
- 401
需要有效的 Felo API 金鑰。
- 402
由於未符合計費要求,要求無法繼續。
- 403
該帳戶無權執行此操作。
- 429
已達到要求或支出上限。
- 502
服務無法完成該要求。
- 503
API 或計費服務暫時無法使用。
- 504
服務在處理要求時逾時。
- default
錯誤回應;上游透傳回應可能採用供應商格式
application/json
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]"
]
}
]
}
]
}
]
}