データ API / DataForSEO / Business Data
Setting Live Google My Business Info Tasks
One Google Business Profile: name, address, phone, hours, rating, category and the attributes Google shows on the panel. Wrapped in DataForSEO's envelope: data in tasks[0].result, outcome in tasks[0].status_code - a rejected request still returns HTTP 200. The queued twin is post_dataforseo_business_google_gmb_info_submit. For what the owner has posted recently use post_dataforseo_business_google_gmb_updates_submit, and for customer opinion post_dataforseo_business_google_reviews_submit.
パラメータ
パス・クエリ・ヘッダーのパラメータはありません。
リクエストボディ
keywordstring必須keyword required field the keyword you specify should indicate the name of the local establishment you can specify up to 700 characters in the
keywordfiled all %## will be decoded (plus character ‘+’ will be decoded to a space character) if you need to use the “%” character for yourkeyword, please specify it as “%25”; this field can also be used to pass the following parameters:cid– a unique, google-defined id of the business entity;place_id– an identifier of the business entity in Google Maps;spp– a unique identifier of local services featured in thelocal_packelement of Google SERP example:cid:194604053573767737place_id:GhIJQWDl0CIeQUARxks3icF8U8Aspp:CgsvZy8xdGN4cWRraBoUChIJPZDrEzLsZIgRoNrpodC5P30learn more about thecidandplace_ididentifiers in this help center article learn more about rules and limitations ofkeywordandkeywordsfields in DataForSEO APIs in this Help Center articlelocation_namestring任意full name of search engine location required field if you don’t specify
location_codeorlocation_coordinateif you use this field, you don’t need to specifylocation_codeorlocation_coordinateyou can receive the list of available locations withlocation_nameby making a separate request tohttps://api.dataforseo.com/v3/business_data/google/locationsexample:London,England,United Kingdomlocation_codeinteger任意search engine location code required field if you don’t specify
location_nameorlocation_coordinateif you use this field, you don’t need to specifylocation_nameorlocation_coordinateyou can receive the list of available locations withlocation_codeby making a separate request to thehttps://api.dataforseo.com/v3/business_data/google/locationsexample:2840location_coordinatestring任意GPS coordinates of a location required field if you don’t specify
location_nameorlocation_codeif you use this field, you don’t need to specifylocation_nameorlocation_codelocation_coordinateparameter should be specified in the “latitude,longitude,radius” format the maximum number of decimal digits for “latitude” and “longitude”: 7 the minimum value for “radius”: 199.9 (mm) the maximum value for “radius”: 199999 (mm) example:53.476225,-2.243572,200language_namestring任意full name of search engine language required field if you don’t specify
language_codeif you use this field, you don’t need to specifylanguage_codeyou can receive the list of available languages withlanguage_nameby making a separate request tohttps://api.dataforseo.com/v3/business_data/google/languagesexample:Englishlanguage_codestring任意search engine language code required field if you don’t specify
language_nameif you use this field, you don’t need to specifylanguage_nameyou can receive the list of available languages with theirlanguage_codeby making a separate request tohttps://api.dataforseo.com/v3/business_data/google/languagesexample:entagstring任意user-defined task identifier optional field the character limit is 255 you can use this parameter to identify the task and match it with the result you will find the specified
tagvalue in thedataobject of the response
リクエスト例
curl -X POST "https://openapi.felo.ai/v1/beta/dataforseo/business_data/google/my_business_info/live" \
-H "Authorization: Bearer $FELO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"keyword": "<string>",
"location_name": "<string>",
"location_code": 0,
"location_coordinate": "<string>",
"language_name": "<string>",
"language_code": "<string>",
"tag": "<string>"
}'レスポンス
レスポンスのフィールド
versionstring任意the current version of the API
status_codeinteger任意general status code you can find the full list of the response codes here Note: we strongly recommend designing a necessary system for handling related exceptional or error conditions
status_messagestring任意general informational message you can find the full list of general informational messages here
timestring任意execution time, seconds
costnumber任意*total tasks cost, USD*
tasks_countinteger任意*the number of tasks in the
tasksarray*tasks_errorinteger任意*the number of tasks in the
tasksarray that were returned an error*tasksstring[]任意array of tasks
idstring任意task identifier unique task identifier in our system in the UUID format
status_codeinteger任意status code of the task generated by DataForSEO; can be within the following range: 10000-60000 you can find the full list of the response codes here
status_messagestring任意informational message of the task you can find the full list of general informational messages here
timestring任意execution time, seconds
costnumber任意cost of the task, USD
result_countinteger任意number of elements in the
resultarraypathstring[]任意URL path
dataobject任意contains the same parameters that you specified in the POST request
resultstring[]任意array of results
keywordstring任意keyword received in a POST array keyword is returned with decoded %## (plus character ‘+’ will be decoded to a space character) this field will contain the
cidparameter if you specified it in thekeywordfield when setting a task; example:cid:2946633002421908862learn more about the parameter in this help center articlese_domainstring任意search engine domain as specified in a POST array
location_codeinteger任意location code in a POST array
language_codestring任意language code in a POST array
check_urlstring任意direct URL to search engine results you can use it to make sure that we provided accurate results
datetimestring任意date and time when the result was received in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00” example:
2019-11-15 12:57:46 +00:00item_typesstring[]任意item types types of search engine results encountered in the
itemsarray; possible item types:google_business_infoitems_countinteger任意item types the number of items in the
itemsarrayitemsstring[]任意encountered item types types of search engine results encountered in the
itemsarray; possible item types:google_business_infotypestring任意*type of element = ‘google\_business\_info’*
rank_groupinteger任意position within a group of elements with identical
typevalues positions of elements with differenttypevalues are omitted fromrank_grouprank_absoluteinteger任意absolute rank among all the elements
positionstring任意the alignment in SERP
titlestring任意title of the element in SERP the name of the business entity for which the results are collected
original_titlestring任意original title of the element original title not translated by Google
descriptionstring任意description of the element in SERP the description of the business entity for which the results are collected
categorystring任意business category Google My Business general category that best describes the services provided by the business entity
category_idsstring[]任意global category IDs universal category IDs that do not change based on the selected country
additional_categoriesstring[]任意additional business categories additional Google My Business categories that describe the services provided by the business entity in more detail
cidstring任意google-defined client id unique id of a local establishment learn more about the identifier in this help center article
feature_idstring任意the unique identifier of the element in SERP learn more about the identifier in this help center article
addressstring任意street address of the business entity
address_infoobject任意object containing address components of the business entity
boroughstring任意administrative unit or district the business entity location belongs to
citystring任意name of the city where the business entity is located
zipstring任意ZIP code of the business entity
regionstring任意DMA region of the business entity location
country_codestring任意ISO country code of the business entity location
place_idstring任意unique place identifier place id of the local establishment featured in the element learn more about the identifier in this help center article
phonestring任意phone number of the business entity
urlstring任意absolute url of the business entity
contact_urlstring任意URL of the preferred contact page
contributor_urlstring任意URL of the user’s or entity’s Local Guides profile, if available
book_online_urlstring任意URL in the ‘book online’ button of the element URL directing users to the online booking or order page of the business entity
domainstring任意domain of the business entity
logostring任意URL of the logo featured in Google My Business profile
main_imagestring任意URL of the main image featured in Google My Business profile
total_photosinteger任意total count of images featured in Google My Business profile
snippetstring任意additional information on the business entity
latitudenumber任意latitude coordinate of the local establishments in google maps example:
"latitude": 51.584091longitudenumber任意longitude coordinate of the local establishment in google maps example:
"longitude": -0.31365919999999997is_claimedboolean任意shows whether the entity is verified by its owner on Google Maps
attributesobject任意service details in a form of user-reviewed checks; service details of a business entity displayed in a form of checks and based on user feedback and business
categoryavailable_attributesobject任意available attributes indicates attributes a business entity can offer
unavailable_attributesobject任意unavailable attributes indicates attributes a business entity cannot offer
place_topicsobject任意keywords mentioned in customer reviews contains most popular keywords related to products/services mentioned in customer reviews of a business entity and the number of reviews mentioning each keyword example:
"place_topics": {"egg roll": 48,"birthday": 33}ratingobject任意the element’s rating the popularity rate based on reviews and displayed in SERP
rating_typestring任意the type of rating here you can find the following elements:
Max5,Percents,CustomMaxvalueinteger任意the value of the rating
votes_countinteger任意the amount of feedback
rating_maxinteger任意the maximum value for a
rating_typerating_distributionobject任意the distribution of ratings of the business entity the object displays the number of 1-star to 5-star ratings, as reviewed by users
1integer任意the number of 1-star ratings
2integer任意the number of 2-star ratings
3integer任意the number of 3-star ratings
4integer任意the number of 4-star ratings
5integer任意the number of 5-star ratings
people_also_searchstring[]任意related business entities
work_timeobject任意work time details information related to operational hours of the business entity
work_hoursobject任意open hours information about work hours of the local establishment
timetableobject任意work hours timetable
sundaystring[]任意work hours on Sundays
openobject任意opening time
hourinteger任意hours in the 24-hour format
minuteinteger任意minutes
closeobject任意closing time
mondaystring[]任意work hours on Mondays
tuesdaystring[]任意work hours on Tuesdays
wednesdaystring[]任意work hours on Wednesdays
thursdaystring[]任意work hours on Thursdays
fridaystring[]任意work hours on Fridays
saturdaystring[]任意work hours on Saturday
current_statusstring任意current status of the establishment possible values:
opened,closed,temporarily_closed,closed_foreverpopular_timesobject任意popular times information related to busy hours of the business entity
popular_times_by_daysobject任意popular hours information about busy hours of the local establishment on each day of the week
sundaystring[]任意busy hours on sunday can take values of the corresponding days of the week
timeobject任意busy hours
hourinteger任意hours in a 24-hour format
minuteinteger任意minutes
popular_indexinteger任意popularity index relative time-bound popularity index measured from
0to100; higher value corresponds to a busier time of a daylocal_business_linksstring[]任意available interactions with the business list of options to interact with the business directly from search results
typestring任意*type of element = ‘menu’*
titlestring任意title of the element domain of the online menu system
urlstring任意URL to view the menu
delivery_servicesstring[]任意lists available delivery services
is_directory_itemboolean任意business establishment is a part of the directory indicates whether the business establishment is a part of the directory; if
true, the item is a part of the larger directory of businesses with the same address (e.g., a mall or a business centre); note: if the business establishment is a parent item in the directory, the value will benulldirectorystring[]任意items of the directory includes information about businesses that are located within the target business establishment and have the same address
titlestring任意title of the element in SERP the name of the business entity
itemsstring[]任意*array of directory items*
typestring任意*type of element = ‘maps\_search’*
rank_groupinteger任意position within a group of elements with identical
typevalues positions of elements with differenttypevalues are omitted from therank_grouprank_absoluteinteger任意absolute rank among all the elements
domainstring任意domain of the business entity
urlstring任意absolute url of the business entity
ratingobject任意the element’s rating the popularity rate based on reviews and displayed in SERP
rating_typestring任意the type of rating here you can find the following elements:
Max5,Percents,CustomMaxvalueinteger任意the value of the rating
votes_countinteger任意the amount of feedback
rating_maxinteger任意the maximum value for a
rating_typerating_distributionobject任意the distribution of ratings of the business entity the object displays the number of 1-star to 5-star ratings, as reviewed by users
1integer任意the number of 1-star ratings
2integer任意the number of 2-star ratings
3integer任意the number of 3-star ratings
4integer任意the number of 4-star ratings
5integer任意the number of 5-star ratings
snippetstring任意additional information about the business entity
addressstring任意street address of the business entity
address_infoobject任意object containing address components of the business entity
boroughstring任意administrative unit or district the business entity location belongs to
citystring任意name of the city where the business entity is located
zipstring任意ZIP code of the business entity
regionstring任意DMA region of the business entity location
country_codestring任意ISO country code of the business entity location
place_idstring任意unique place identifier place id of the local establishment featured in the element learn more about the identifier in this help center article
phonestring任意phone number of the business entity
main_imagestring任意URL of the main image featured in Google My Business profile
total_photosinteger任意total count of images featured in Google My Business profile
categorystring任意business category Google My Business general category that best describes the services provided by the business entity
category_idsstring[]任意global category IDs universal category IDs that do not change based on the selected country
work_hoursobject任意work hours information about work hours of the local establishment
feature_idstring任意the unique identifier of the element in SERP learn more about the identifier in this help center article
cidstring任意google-defined client id unique id of a local establishment; can be used with Google Reviews API to get a full list of reviews learn more about the identifier in this help center article
latitudenumber任意latitude coordinate of the local establishments in google maps example:
"latitude": 51.584091longitudenumber任意longitude coordinate of the local establishment in google maps example:
"longitude": -0.31365919999999997is_claimedboolean任意shows whether the entity is verified by its owner on Google Maps
local_justificationsstring[]任意Google local justifications snippets of text that “justify” why the business is showing up for search query
is_directory_itemboolean任意business establishment is a part of the directory indicates whether the business establishment is a part of the directory; if
true, the item is a part of the larger directory of businesses with the same address (e.g., a mall or a business centre); note: if the business establishment is a parent item in the directory, the value will benullprice_levelstring任意property price level can take values:
inexpensive,moderate,expensive,very_expensiveif there is no price level information, the value will benullhotel_ratinginteger任意hotel class rating class ratings range between 1-5 stars, learn more if there is no hotel class rating information, the value will be
null