Setting Live Google My Business Questions and Answers Tasks
DataForSEO
SEO, search-engine results, keyword research, backlinks and AI visibility data.
Setting Live Google My Business Questions and Answers Tasks
The questions and answers on a Google Business Profile, found by keyword and location_code. Returns keyword, se_domain, location_code, language_code, check_url, datetime, cid, feature_id and item_types. Wrapped in DataForSEO's envelope: data in tasks[0].result, outcome in tasks[0].status_code - a rejected request still returns HTTP 200.
- Тип: array object[]
- Тип: object
- keywordТип: stringобязательно
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 article - depthТип: integer
parsing depth optional field number of results in SERP default value:
20max value:100Your account will be billed per each SERP containing up to 20 results; Setting depth above 20 may result in additional charges if the search engine returns more than 20 results; If the specified depth is higher than the number of questions in the response, the difference will be refunded automatically to your account balance; The cost can be calculated on the Pricing page. - languageТип: string
_code 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:en - languageТип: string
_name 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:English - locationТип: integer
_code 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:2840 - locationТип: string
_coordinate 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,200 - locationТип: string
_name 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 Kingdom - tagТип: string
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
Пустой объектПустой объект
- Тип: object200
Successful response
- Тип: array string[]items
array of google business question items with answers possible item types:
google_business_question_item - Тип: array string[]items
_without _answers array of google business question items without answers
- Тип: array string[]items
_without _answers .items array of items items within
google_business_question_item - Тип: integeritems
_without _answers .items _count the number of items in the
itemsarray - Тип: stringitems
_without _answers .original _question _text original text of the question
- Тип: stringitems
_without _answers .profile _image _url URL of the user’s profile image
- Тип: stringitems
_without _answers .profile _name displayed name of the user
- Тип: stringitems
_without _answers .profile _url URL of the user’s profile
- Тип: stringitems
_without _answers .question _id ID of the question
- Тип: stringitems
_without _answers .question _text current text of the question
- Тип: integeritems
_without _answers .rank _absolute absolute rank among all the elements
- Тип: integeritems
_without _answers .rank _group position within a group of elements with identical
typevalues positions of elements with differenttypevalues are omitted fromrank_group - Тип: stringitems
_without _answers .time _ago estimated time when the question was posted
- Тип: stringitems
_without _answers .timestamp exact time when the question was posted
- Тип: stringitems
_without _answers .type type of element = ‘google_business_question_item’
- Тип: stringitems
_without _answers .url URL of the question
- Тип: stringitems
.answer _id ID of the answer
- Тип: stringitems
.answer _text current text of the answer
- Тип: array string[]items
.items array of items within
google_business_question_itemcontains answers to the google business questions; possible item typesgoogle_business_answer_element - Тип: stringitems
.original _answer _text original text of the answer
- Тип: stringitems
.original _question _text original text of the question
- Тип: stringitems
.profile _image _url URL of the user’s profile image
- Тип: stringitems
.profile _name displayed name of the user
- Тип: stringitems
.profile _url URL of the user’s profile
- Тип: stringitems
.question _id ID of the question
- Тип: stringitems
.question _text current text of the question
- Тип: integeritems
.rank _absolute absolute rank among all the elements
- Тип: integeritems
.rank _group position within a group of elements with identical
typevalues positions of elements with differenttypevalues are omitted fromrank_group - Тип: stringitems
.time _ago estimated time when the answer was posted
- Тип: stringitems
.timestamp exact time when the answer was posted
- Тип: stringitems
.type type of the element = ‘google_business_answer_element’
- Тип: stringitems
.url URL of the question
- Тип: array string[]result
array of results
- Тип: stringresult
.check _url direct URL to search engine results you can use it to make sure that we provided accurate results
- Тип: stringresult
.cid google-defined client id unique id of a local establishment; learn more about the identifier in this help center article
- Тип: stringresult
.datetime 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:00 - Тип: stringresult
.feature _id unique identifier of the SERP feature
- Тип: array string[]result
.item _types item types types of search engine results encountered in the
itemsarray; possible item types:google_business_question_item - Тип: stringresult
.keyword 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 article - Тип: stringresult
.language _code language code in a POST array
- Тип: integerresult
.location _code location code in a POST array
- Тип: stringresult
.se _domain search engine domain as specified in a POST array
- Тип: array string[]tasks
array of tasks
- Тип: numbertasks
.cost cost of the task, USD
- Тип: objecttasks
.data contains the same parameters that you specified in the POST request
- Тип: stringtasks
.id task identifier unique task identifier in our system in the UUID format
- Тип: array string[]tasks
.path URL path
- Тип: integertasks
.result _count number of elements in the
resultarray - Тип: integertasks
.status _code 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
- Тип: stringtasks
.status _message informational message of the task you can find the full list of general informational messages here
- Тип: stringtasks
.time execution time, seconds
- Тип: stringversion
the current version of the API
- Тип: numberversion
.cost total tasks cost, USD
- Тип: integerversion
.status _code 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
- Тип: stringversion
.status _message general informational message you can find the full list of general informational messages here
- Тип: integerversion
.tasks _count the number of tasks in the
tasksarray - Тип: integerversion
.tasks _error the number of tasks in the
tasksarray that were returned an error - Тип: stringversion
.time execution time, seconds
application/json - 400
Bad request
- 401
Unauthorized
- 402
The request cannot proceed because a billing requirement is not met.
- 403
The account is not permitted to perform this operation.
- 429
Rate limit exceeded
- 500
Internal server error
- 502
The service could not complete the request.
- 503
The API or billing service is temporarily unavailable.
- 504
The service timed out while processing the request.
- default
The operation failed. Keep the response request ID when contacting Felo support.
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 '[
{},
{}
]'
{
"version": "string",
"version.status_code": 1,
"version.status_message": "string",
"version.time": "string",
"version.cost": 1,
"version.tasks_count": 1,
"version.tasks_error": 1,
"tasks": [
"string"
],
"tasks.id": "string",
"tasks.status_code": 1,
"tasks.status_message": "string",
"tasks.time": "string",
"tasks.cost": 1,
"tasks.result_count": 1,
"tasks.path": [
"string"
],
"tasks.data": {},
"result": [
"string"
],
"result.keyword": "string",
"result.se_domain": "string",
"result.location_code": 1,
"result.language_code": "string",
"result.check_url": "string",
"result.datetime": "string",
"result.cid": "string",
"result.feature_id": "string",
"result.item_types": [
"string"
],
"items_without_answers": [
"string"
],
"items_without_answers.type": "string",
"items_without_answers.rank_group": 1,
"items_without_answers.rank_absolute": 1,
"items_without_answers.question_id": "string",
"items_without_answers.url": "string",
"items_without_answers.profile_image_url": "string",
"items_without_answers.profile_url": "string",
"items_without_answers.profile_name": "string",
"items_without_answers.question_text": "string",
"items_without_answers.original_question_text": "string",
"items_without_answers.time_ago": "string",
"items_without_answers.timestamp": "string",
"items_without_answers.items": [
"string"
],
"items_without_answers.items_count": 1,
"items": [
"string"
],
"items.type": "string",
"items.rank_group": 1,
"items.rank_absolute": 1,
"items.question_id": "string",
"items.url": "string",
"items.profile_image_url": "string",
"items.profile_url": "string",
"items.profile_name": "string",
"items.question_text": "string",
"items.original_question_text": "string",
"items.time_ago": "string",
"items.timestamp": "string",
"items.items": [
"string"
],
"items.answer_id": "string",
"items.answer_text": "string",
"items.original_answer_text": "string"
}