DataForSEO
SEO, search-engine results, keyword research, backlinks and AI visibility data.
設定即時 Google My Business 資訊任務
單一 Google Business Profile:名稱、地址、電話、營業時間、評分、類別,以及 Google 在資訊面板中顯示的屬性。採用 DataForSEO 的信封結構:資料位於 tasks[0].result,結果狀態位於 tasks[0].status_code——被拒絕的請求仍會回傳 HTTP 200。佇列版的對應端點是 post_dataforseo_business_google_gmb_info_submit。若要查看商家近期發布的更新,請使用 post_dataforseo_business_google_gmb_updates_submit;若要查看客戶評價,請使用 post_dataforseo_business_google_reviews_submit。
計費參考
- 計量方式:依回報的回應成本計量。
- 參考請求估算:0.0054 美元。
- 參考客戶倍率:1.0。不得對已結算的客戶金額再次套用。
僅供參考的中繼資料,並非帳戶報價、保證價格或消費上限。資源額度並非 Felo 額度。最終費用依 Felo 計費記錄為準。
- 類型: array (object | 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_BusinessDataGoogleMyBusinessInfoLiveResponseInfo200
- 類型: number | null 格式: doublecost
任務總費用,美元
- 類型: integer | nullstatus
_code 一般狀態碼 完整回應碼清單請見此處
- 類型: string | nullstatus
_message 一般資訊訊息 完整的一般資訊訊息清單請見此處
- 類型: array (object | null)[] | nulltasks
任務陣列
- 類型: object | null · Response36Afe1097B20_BusinessDataGoogleMyBusinessInfoLiveTaskInfo
- 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
可用來確認我們提供了準確的結果 - datetime類型: string | null
收到結果的日期與時間
採用 UTC 格式:“yyyy-mm-dd hh-mm-ss +00:00”
範例:2019-11-15 12:57:46 +00:00 - item類型: array (string | null)[] | null
_types 項目類型
items陣列中出現的搜尋引擎結果類型;
可能的項目類型:google_business_info - items類型: array (object | null)[] | null
遇到的項目類型
items陣列中出現的搜尋引擎結果類型;
可能的項目類型:google_business_info- additional類型: array string[] | null
_categories 其他商家類別
更詳細描述商家實體所提供服務的其他 Google My Business 類別 - address類型: string | null
商家實體的地址
- address類型: object | null · Response36Afe1097B20_AddressInfo
_info 包含商家實體地址組成部分的物件
- address類型: string | null
本地商家的街道地址
- borough類型: string | null
本地商家所屬的行政單位或區域
- city類型: string | null
本地商家所在城市的名稱
- country類型: string | null
_code 本地商家的 ISO 國家代碼
- region類型: string | null
本地商家所屬的 DMA 區域
- zip類型: string | null
本地商家的郵遞區號
- attributes類型: object | null · Response36Afe1097B20_BusinessDataAttributesInfo
以使用者評論勾選項形式呈現的服務詳情;
以勾選項形式展示、依據使用者意見回饋與商家category的商家實體服務詳情- available類型: object | null
_attributes 可用屬性
表示商家實體可提供的屬性- property類型: array (string | null)[] | null
Name
- unavailable類型: object | null
_attributes 不可用屬性
表示商家實體無法提供的屬性- property類型: array (string | null)[] | null
Name
- book類型: string | null
_online _url 元素「線上預訂」按鈕中的 URL
引導使用者前往商家實體線上預訂或下單頁面的 URL - category類型: string | null
商家類別
最能描述商家實體所提供服務的 Google My Business 通用類別 - category類型: array string[] | null
_ids 全域類別 ID
不隨所選國家/地區變更的通用類別 ID - cid類型: string | null
- contact類型: string | null
_url 偏好聯絡頁面的 URL
- contributor類型: string | null
_url 使用者或實體的 Local Guides 個人檔案 URL(若可用)
- description類型: string | null
SERP 中元素的說明
收集結果所針對之商家實體的說明 - directory類型: object | null · Response36Afe1097B20_BusinessDirectoryInfo
目錄的項目
包含位於目標商家實體內且地址相同的商家資訊- items類型: array (object | null)[] | null
遇到的項目類型
items陣列中出現的搜尋引擎結果類型;
可能的項目類型:google_business_info- additional類型: array string[] | null
_categories 其他商家類別
更詳細描述商家實體所提供服務的其他 Google My Business 類別 - address類型: string | null
商家實體的地址
- address類型: object | null · Response36Afe1097B20_AddressInfo
_info 包含商家實體地址組成部分的物件
- address類型: string | null
本地商家的街道地址
- borough類型: string | null
本地商家所屬的行政單位或區域
- city類型: string | null
本地商家所在城市的名稱
- country類型: string | null
_code 本地商家的 ISO 國家代碼
- region類型: string | null
本地商家所屬的 DMA 區域
- zip類型: string | null
本地商家的郵遞區號
- category類型: string | null
商家類別
最能描述商家實體所提供服務的 Google My Business 通用類別 - category類型: array string[] | null
_ids 全域類別 ID
不隨所選國家/地區變更的通用類別 ID - cid類型: string | null
- domain類型: string | null
商家實體的網域
- feature類型: string | null
_id - hotel類型: string | null
_rating - is類型: boolean | null
_claimed 顯示該實體是否已由其所有者在 Google Maps 上驗證
- is類型: boolean | null
_directory _item 商家實體是目錄的一部分
表示商家實體是否為目錄的一部分;
若為true,該項目屬於地址相同的較大商家目錄(例如購物中心或商業中心);
注意:若商家實體是目錄中的父項目,該值將為null - latitude類型: number | null
當地商家在 Google 地圖中的緯度座標
範例:"latitude": 51.584091 - local類型: array string[] | null
_justifications Google 本地推薦理由
「說明」商家為何出現在搜尋查詢結果中的文字片段 - longitude類型: number | null
當地商家在 Google 地圖中的經度座標
範例:"longitude": -0.31365919999999997 - main類型: string | null
_image Google My Business 檔案中顯示的主圖片 URL
- phone類型: string | null
商家實體的電話號碼
- place類型: string | null
_id 唯一地點識別碼
元素中所示當地商家的地點 ID
如需進一步瞭解此識別碼,請參閱這篇說明中心文章 - price類型: string | null
_level 場所價格等級
可採用下列值:inexpensive、moderate、expensive、very_expensive
如果沒有價格等級資訊,該值將為null - rank類型: integer | null
_absolute 所有元素中的絕對排名
- rank類型: integer | null
_group 在具有相同
type值的元素群組內的位置
具有不同type值的元素位置不會包含在rank_group中 - rating類型: object | null · Response36Afe1097B20_RatingInfo
元素的評分
依據評論並顯示於 SERP 的熱度評分- rating類型: integer | null
_max rating_type 的最大值
- rating類型: string | null
_type 評分類型 此處可以找到下列元素:Max5、Percents、CustomMax
- value類型: number | null 格式: double
評分的值
- votes類型: integer | null 格式: int64
_count 回饋數量
- rating類型: object | null
_distribution 商家實體的評分分布 該物件顯示使用者評論的 1 星到 5 星評分數量
- property類型: integer | null 格式: Int64
Name
- snippet類型: string | null
商家實體的附加資訊
- title類型: string | null
目錄標題
可取下列值:At this place、Directory - total類型: string | null 格式: int64
_photos Google My Business 檔案中顯示的圖片總數
- type類型: string | null
元素類型
- url類型: string | null
查看選單的 URL
- work類型: object | null · Response36Afe1097B20_BusinessWorkHoursInfo
_hours 營業時間
當地商家的營業時間資訊- work類型: object | null · Response36Afe1097B20_WorkHours
_hours 營業時間
當地商家的營業時間資訊- current類型: string | null
_status 商家的目前狀態
指出商家是否營業 - timetable類型: object | null
營業時間表
- property類型: array (object | null)[] | null
Name 週日的營業時間
- close類型: object | null · Response36Afe1097B20_TimeInfo
結束時間
- hour類型: integer | null
24 小時制的小時
- minute類型: integer | null
分鐘
- open類型: object | null · Response36Afe1097B20_TimeInfo
開始時間
- hour類型: integer | null
24 小時制的小時
- minute類型: integer | null
分鐘
- title類型: string | null
元素的標題
線上選單系統的網域
- domain類型: string | null
商家實體的網域
- feature類型: string | null
_id - hotel類型: number | null
_rating - is類型: boolean | null
_claimed 顯示該實體是否已由其所有者在 Google Maps 上驗證
- is類型: boolean | null
_directory _item 商家實體是目錄的一部分
表示商家實體是否為目錄的一部分;
若為true,該項目屬於地址相同的較大商家目錄(例如購物中心或商業中心);
注意:若商家實體是目錄中的父項目,該值將為null - latitude類型: number | null
當地商家在 Google 地圖中的緯度座標
範例:"latitude": 51.584091 - local類型: array (object | null)[] | null
_business _links 與商家可用的互動
可直接從搜尋結果與商家互動的選項清單- type類型: string | null
元素類型
- logo類型: string | null
Google 我的商家檔案中展示的標誌 URL
- longitude類型: number | null
當地商家在 Google 地圖中的經度座標
範例:"longitude": -0.31365919999999997 - main類型: string | null
_image Google My Business 檔案中顯示的主圖片 URL
- original類型: string | null
_title 項目的原始標題
未經 Google 翻譯的原始標題 - people類型: array (object | null)[] | null
_also _search 相關商家實體
- cid類型: string | null
- feature類型: string | null
_id - rating類型: object | null · Response36Afe1097B20_RatingInfo
元素的評分
依據評論並顯示於 SERP 的熱度評分- rating類型: integer | null
_max rating_type 的最大值
- rating類型: string | null
_type 評分類型 此處可以找到下列元素:Max5、Percents、CustomMax
- value類型: number | null 格式: double
評分的值
- votes類型: integer | null 格式: int64
_count 回饋數量
- title類型: string | null
SERP 中元素的標題
收集結果所針對的商家實體名稱
- phone類型: string | null
商家實體的電話號碼
- place類型: string | null
_id 唯一地點識別碼
元素中所示當地商家的地點 ID
如需進一步瞭解此識別碼,請參閱這篇說明中心文章 - place類型: object | null
_topics 顧客評論中提及的關鍵字
包含與商家實體顧客評論中提及的產品/服務相關的最熱門關鍵字,以及提及每個關鍵字的評論數
範例:
"place_topics": {
"egg roll": 48,
"birthday": 33
}- property類型: integer | null 格式: int64
Name Signed 64-bit integers (long type).
- popular類型: object | null · Response36Afe1097B20_PopularTimes
_times 熱門時段
與商家實體忙碌時段相關的資訊- popular類型: object | null
_times _by _days 熱門時段
本地商家每週各天忙碌時段的資訊- property類型: array (object | null)[] | null
Name 週日的營業時間
- popular類型: integer | null
_index 人氣指數 依時間衡量的相對人氣指數,範圍為 0 到 100; 值越高表示一天中越繁忙的時段
- time類型: object | null · Response36Afe1097B20_TimeInfo
24 小時制的小時
- hour類型: integer | null
24 小時制的小時
- minute類型: integer | null
分鐘
- position類型: string | null
SERP 中的對齊方式
- price類型: string | null
_level 場所價格等級
可採用下列值:inexpensive、moderate、expensive、very_expensive
如果沒有價格等級資訊,該值將為null - questions類型: integer | null
_and _answers _count Integer numbers.
- rank類型: integer | null
_absolute 所有元素中的絕對排名
- rank類型: integer | null
_group 具有相同
type值的元素群組內的位置
不同type值的元素位置不計入rank_group - rating類型: object | null · Response36Afe1097B20_RatingInfo
元素的評分
依據評論並顯示於 SERP 的熱度評分- rating類型: integer | null
_max rating_type 的最大值
- rating類型: string | null
_type 評分類型 此處可以找到下列元素:Max5、Percents、CustomMax
- value類型: number | null 格式: double
評分的值
- votes類型: integer | null 格式: int64
_count 回饋數量
- rating類型: object | null
_distribution 商家實體的評分分佈
該物件顯示使用者評論的 1 星到 5 星評分數- property類型: integer | null 格式: Int64
Name
- services類型: array (object | null)[] | null
商家提供的服務清單
- category類型: string | null
商家類別
最能描述商家實體所提供服務的 Google My Business 通用類別 - price類型: object | null · Response36Afe1097B20_PriceInfo
- currency類型: string | null
所列價格的貨幣 套用於該價格的貨幣 ISO 代碼
- current類型: number | null 格式: double
目前價格 表示結果中所展示產品或服務的目前價格
- displayed類型: string | null
_price 結果中的價格字串 結果中提供的原始價格字串
- is類型: boolean | null
_price _range 價格以區間形式提供 表示價格是否以區間形式提供
- max類型: number | null 格式: double
_value 最高價格 結果中所示產品或服務的最高價格
- regular類型: number | null 格式: double
一般價格 表示未套用任何折扣的產品或服務一般價格
- snippet類型: string | null
商家實體的額外資訊
- title類型: string | null
SERP 中元素的標題
收集結果所針對的商家實體名稱
- snippet類型: string | null
商家實體的額外資訊
- title類型: string | null
SERP 中元素的標題
收集結果所針對的商家實體名稱 - total類型: integer | null 格式: int64
_photos Google My Business 檔案中顯示的圖片總數
- type類型: string | null
元素類型
- url類型: string | null
商家實體的絕對 URL
- work類型: object | null · Response36Afe1097B20_BusinessWorkHoursInfo
_time 營業時間詳細資料
與商家實體營業時間相關的資訊- work類型: object | null · Response36Afe1097B20_WorkHours
_hours 營業時間
當地商家的營業時間資訊- current類型: string | null
_status 商家的目前狀態
指出商家是否營業 - timetable類型: object | null
營業時間表
- property類型: array (object | null)[] | null
Name 週日的營業時間
- close類型: object | null · Response36Afe1097B20_TimeInfo
結束時間
- hour類型: integer | null
24 小時制的小時
- minute類型: integer | null
分鐘
- open類型: object | null · Response36Afe1097B20_TimeInfo
開始時間
- hour類型: integer | null
24 小時制的小時
- minute類型: integer | null
分鐘
- items類型: integer | null 格式: int64
_count 項目類型
items陣列中的項目數 - 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/my_business_info/live \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '[
{
"language_code": "en",
"location_name": "New York,New York,United States",
"keyword": "RustyBrick, Inc."
}
]'
{
"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,
"item_types": [
null
],
"items_count": null,
"items": [
{
"type": null,
"rank_group": null,
"rank_absolute": null,
"position": null,
"title": null,
"original_title": null,
"description": null,
"category": null,
"category_ids": [
"[Max Depth Exceeded]"
],
"additional_categories": [
"[Max Depth Exceeded]"
],
"cid": null,
"feature_id": null,
"address": null,
"address_info": "[Max Depth Exceeded]",
"place_id": null,
"phone": null,
"url": null,
"contact_url": null,
"contributor_url": null,
"book_online_url": null,
"domain": null,
"logo": null,
"main_image": null,
"total_photos": null,
"snippet": null,
"latitude": null,
"longitude": null,
"is_claimed": null,
"questions_and_answers_count": null,
"attributes": "[Max Depth Exceeded]",
"place_topics": null,
"rating": "[Max Depth Exceeded]",
"hotel_rating": null,
"price_level": null,
"rating_distribution": null,
"people_also_search": [
"[Max Depth Exceeded]"
],
"work_time": "[Max Depth Exceeded]",
"popular_times": "[Max Depth Exceeded]",
"local_business_links": [
"[Max Depth Exceeded]"
],
"is_directory_item": null,
"directory": "[Max Depth Exceeded]",
"services": [
"[Max Depth Exceeded]"
]
}
]
}
]
}
]
}