Felo API PlatformFelo API Platform
全部 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 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 计费记录为准。

请求体
application/json
  • 类型: array (object | null)[]
    • keyword
      类型: string

      关键词
      必填字段
      你指定的关键词应指明本地商户的名称
      在 keyword 字段中最多可指定 700 个字符
      所有 %## 都将被解码(另外,字符 ‘+’ 会被解码为空格)
      如果需要在 keyword 中使用 “%” 字符,请将其指定为 “%25”;

      此字段还可用于传递以下参数:
      cid - 商家实体的唯一 Google 定义 ID;
      place_id - 商家实体在 Google Maps 中的标识符

      示例:
      cid:194604053573767737
      place_id:GhIJQWDl0CIeQUARxks3icF8U8A

      可在这篇帮助中心文章中进一步了解 cid 和 place_id 标识符

      有关 DataForSEO API 中 keyword 和 keywords 字段的规则与限制,请参阅这篇 帮助中心文章

    • language_code
      类型: string

      搜索引擎语言代码
      未指定 language_name 时为必填字段
      如果使用此字段,则无需指定 language_name
      可单独向 https://api.dataforseo.com/v3/business_data/google/languages 发起请求,获取可用语言及其 language_code 列表
      示例:
      en

    • language_name
      类型: string

      搜索引擎语言全名
      未指定 language_code 时为必填字段
      如果使用此字段,则无需指定 language_code
      可单独向 https://api.dataforseo.com/v3/business_data/google/languages 发起请求,获取带 language_name 的可用语言列表
      示例:
      English

    • location_code
      类型: integer

      搜索引擎位置代码
      如果未指定 location_name 或 location_coordinate,则为必填字段
      如果使用此字段,则无需指定 location_name 或 location_coordinate
      可单独向 https://api.dataforseo.com/v3/business_data/google/locations 发起请求,获取带 location_code 的可用位置列表
      示例:
      2840

    • 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
      可单独向 https://api.dataforseo.com/v3/business_data/google/locations 发起请求,获取带 location_name 的可用地点列表
      示例:
      London,England,United Kingdom

    • tag
      类型: string | null

      用户自定义任务标识符
      可选字段
      字符数上限为 255
      可使用此参数标识任务,并将其与结果对应
      可在响应的 data 对象中找到指定的 tag 值

响应
  • 200
    类型: object | null · Response36Afe1097B20_BusinessDataGoogleMyBusinessInfoLiveResponseInfo
    • cost
      类型: number | null 格式: double

      任务总费用,美元

    • status_code
      类型: integer | null

      通用状态码 完整响应码列表见此处

    • status_message
      类型: string | null

      通用信息性消息 完整的一般信息性消息列表见此处

    • tasks
      类型: array (object | null)[] | null

      任务数组

      • 类型: object | null · Response36Afe1097B20_BusinessDataGoogleMyBusinessInfoLiveTaskInfo
        • cost
          类型: number | null 格式: double

          任务总费用,美元

        • 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
            可用于确保我们提供了准确的结果

          • datetime
            类型: string | null

            收到结果的日期和时间
            采用 UTC 格式:“yyyy-mm-dd hh-mm-ss +00:00”
            示例:
            2019-11-15 12:57:46 +00:00

          • item_types
            类型: array (string | null)[] | null

            条目类型
            items 数组中出现的搜索引擎结果类型;
            可能的条目类型:google_business_info

          • items
            类型: array (object | null)[] | null

            遇到的条目类型
            items 数组中出现的搜索引擎结果类型;
            可能的条目类型:google_business_info

            • additional_categories
              类型: array string[] | null

              附加商家类别
              更详细地描述商家实体所提供服务的其他 Google My Business 类别

            • address
              类型: string | null

              商家实体的地址

            • address_info
              类型: object | null · Response36Afe1097B20_AddressInfo

              包含商家实体地址组成部分的对象

              • address
                类型: string | null

                本地商家的街道地址

              • borough
                类型: string | null

                本地商家所属的行政单位或区域

              • city
                类型: string | null

                本地商家所在城市的名称

              • country_code
                类型: string | null

                本地商家的 ISO 国家代码

              • region
                类型: string | null

                本地商家所属的 DMA 区域

              • zip
                类型: string | null

                本地商家的邮政编码

            • attributes
              类型: object | null · Response36Afe1097B20_BusinessDataAttributesInfo

              以用户评价勾选项形式呈现的服务详情;
              以勾选项形式展示、基于用户反馈和商家 category 的商家实体服务详情

              • available_attributes
                类型: object | null

                可用属性
                表示商家实体可提供的属性

                • propertyName
                  类型: array (string | null)[] | null
              • unavailable_attributes
                类型: object | null

                不可用属性
                表示商家实体无法提供的属性

                • propertyName
                  类型: array (string | null)[] | null
            • book_online_url
              类型: string | null

              元素“在线预订”按钮中的 URL
              引导用户前往商家实体在线预订或下单页面的 URL

            • category
              类型: string | null

              商家类别
              最能描述商家实体所提供服务的 Google My Business 通用类别

            • category_ids
              类型: array string[] | null

              全局类别 ID
              不随所选国家/地区变化的通用类别 ID

            • cid
              类型: string | null

              Google 定义的客户 ID
              本地商户的唯一 ID;
              可与 Google Reviews API 一起使用以获取完整评价列表
              如需了解该标识符的更多信息,请参阅此帮助中心文章

            • contact_url
              类型: string | null

              首选联系页面的 URL

            • contributor_url
              类型: string | null

              用户或实体的 Local Guides 个人资料 URL(如可用)

            • description
              类型: string | null

              SERP 中元素的描述
              收集结果所针对的商家实体的描述

            • directory
              类型: object | null · Response36Afe1097B20_BusinessDirectoryInfo

              目录的条目
              包含位于目标商家实体内部且地址相同的商家的信息

              • items
                类型: array (object | null)[] | null

                遇到的条目类型
                items 数组中出现的搜索引擎结果类型;
                可能的条目类型:google_business_info

                • additional_categories
                  类型: array string[] | null

                  附加商家类别
                  更详细地描述商家实体所提供服务的其他 Google My Business 类别

                • address
                  类型: string | null

                  商家实体的地址

                • address_info
                  类型: object | null · Response36Afe1097B20_AddressInfo

                  包含商家实体地址组成部分的对象

                  • address
                    类型: string | null

                    本地商家的街道地址

                  • borough
                    类型: string | null

                    本地商家所属的行政单位或区域

                  • city
                    类型: string | null

                    本地商家所在城市的名称

                  • country_code
                    类型: string | null

                    本地商家的 ISO 国家代码

                  • region
                    类型: string | null

                    本地商家所属的 DMA 区域

                  • zip
                    类型: string | null

                    本地商家的邮政编码

                • category
                  类型: string | null

                  商家类别
                  最能描述商家实体所提供服务的 Google My Business 通用类别

                • category_ids
                  类型: array string[] | null

                  全局类别 ID
                  不随所选国家/地区变化的通用类别 ID

                • cid
                  类型: string | null

                  Google 定义的客户 ID
                  本地商户的唯一 ID;
                  可与 Google Reviews API 一起使用以获取完整评价列表
                  如需了解该标识符的更多信息,请参阅此帮助中心文章

                • domain
                  类型: string | null

                  商家实体的域名

                • feature_id
                  类型: string | null

                  SERP 中元素的唯一标识符
                  如需了解该标识符的更多信息,请参阅此帮助中心文章

                • hotel_rating
                  类型: string | null

                  酒店星级评分
                  星级评分范围为 1-5 星,了解更多
                  如果没有酒店星级评分信息,该值将为 null

                • is_claimed
                  类型: boolean | null

                  显示该实体是否已由其在 Google Maps 上的所有者验证

                • is_directory_item
                  类型: boolean | null

                  商家实体是目录的一部分
                  表示商家实体是否为目录的一部分;
                  如果为 true,该条目属于地址相同的更大商家目录(例如商场或商业中心);
                  注意:如果商家实体是目录中的父级条目,该值将为 null

                • latitude
                  类型: number | null

                  本地商家在 Google 地图中的纬度坐标
                  示例:
                  "latitude": 51.584091

                • local_justifications
                  类型: array string[] | null

                  Google 本地推荐理由
                  “说明”商家为何出现在搜索查询结果中的文本片段

                • longitude
                  类型: number | null

                  本地商家在 Google 地图中的经度坐标
                  示例:
                  "longitude": -0.31365919999999997

                • main_image
                  类型: string | null

                  Google My Business 资料中展示的主图片 URL

                • phone
                  类型: string | null

                  商家实体的电话号码

                • place_id
                  类型: string | null

                  唯一地点标识符
                  元素中出现的本地商家的地点 ID
                  如需了解该标识符的更多信息,请参阅这篇帮助中心文章

                • price_level
                  类型: string | null

                  场所价格水平
                  可取值:inexpensive、moderate、expensive、very_expensive
                  如果没有价格水平信息,该值将为 null

                • rank_absolute
                  类型: integer | null

                  所有元素中的绝对排名

                • rank_group
                  类型: integer | null

                  在具有相同 type 值的元素组内的位置
                  具有不同 type 值的元素位置不包含在 rank_group 中

                • rating
                  类型: object | null · Response36Afe1097B20_RatingInfo

                  元素的评分
                  基于评价并在 SERP 中显示的热度评分

                  • rating_max
                    类型: integer | null

                    rating_type 的最大值

                  • rating_type
                    类型: string | null

                    评分类型 此处可以找到以下元素:Max5、Percents、CustomMax

                  • value
                    类型: number | null 格式: double

                    评分的值

                  • votes_count
                    类型: integer | null 格式: int64

                    反馈数量

                • rating_distribution
                  类型: object | null

                  商家实体的评分分布 该对象显示用户评价的 1 星到 5 星评分数量

                  • propertyName
                    类型: integer | null 格式: Int64
                • snippet
                  类型: string | null

                  商家实体的附加信息

                • title
                  类型: string | null

                  目录标题
                  可取以下值:At this place、Directory

                • total_photos
                  类型: string | null 格式: int64

                  Google My Business 资料中展示的图片总数

                • type
                  类型: string | null

                  元素类型

                • url
                  类型: string | null

                  查看菜单的 URL

                • work_hours
                  类型: object | null · Response36Afe1097B20_BusinessWorkHoursInfo

                  营业时间
                  本地商家的营业时间信息

                  • work_hours
                    类型: object | null · Response36Afe1097B20_WorkHours

                    营业时间
                    本地商家的营业时间信息

                    • current_status
                      类型: string | null

                      商家的当前状态
                      指示商家是否营业

                    • timetable
                      类型: object | null

                      营业时间表

                      • propertyName
                        类型: array (object | null)[] | null

                        周日的营业时间

                        • 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_id
              类型: string | null

              SERP 中元素的唯一标识符
              如需了解该标识符的更多信息,请参阅此帮助中心文章

            • hotel_rating
              类型: number | null

              酒店星级评分
              星级评分范围为 1-5 星,了解更多
              如果没有酒店星级评分信息,该值将为 null

            • is_claimed
              类型: boolean | null

              显示该实体是否已由其在 Google Maps 上的所有者验证

            • is_directory_item
              类型: boolean | null

              商家实体是目录的一部分
              表示商家实体是否为目录的一部分;
              如果为 true,该条目属于地址相同的更大商家目录(例如商场或商业中心);
              注意:如果商家实体是目录中的父级条目,该值将为 null

            • latitude
              类型: number | null

              本地商家在 Google 地图中的纬度坐标
              示例:
              "latitude": 51.584091

            • local_business_links
              类型: array (object | null)[] | null

              与商家可用的互动
              可直接从搜索结果与商家互动的选项列表

              • type
                类型: string | null

                元素类型

            • logo
              类型: string | null

              Google 我的商家资料中展示的徽标 URL

            • longitude
              类型: number | null

              本地商家在 Google 地图中的经度坐标
              示例:
              "longitude": -0.31365919999999997

            • main_image
              类型: string | null

              Google My Business 资料中展示的主图片 URL

            • original_title
              类型: string | null

              元素的原始标题
              未经 Google 翻译的原始标题

            • people_also_search
              类型: array (object | null)[] | null

              相关商家实体

              • cid
                类型: string | null

                Google 定义的客户 ID
                本地商家的唯一 ID
                如需了解该标识符的更多信息,请参阅这篇帮助中心文章

              • feature_id
                类型: string | null

                SERP 中元素的唯一标识符
                如需了解该标识符的更多信息,请参阅此帮助中心文章

              • rating
                类型: object | null · Response36Afe1097B20_RatingInfo

                元素的评分
                基于评价并在 SERP 中显示的热度评分

                • rating_max
                  类型: integer | null

                  rating_type 的最大值

                • rating_type
                  类型: string | null

                  评分类型 此处可以找到以下元素:Max5、Percents、CustomMax

                • value
                  类型: number | null 格式: double

                  评分的值

                • votes_count
                  类型: integer | null 格式: int64

                  反馈数量

              • title
                类型: string | null

                SERP 中元素的标题
                收集结果所针对的商家实体的名称

            • phone
              类型: string | null

              商家实体的电话号码

            • place_id
              类型: string | null

              唯一地点标识符
              元素中出现的本地商家的地点 ID
              如需了解该标识符的更多信息,请参阅这篇帮助中心文章

            • place_topics
              类型: object | null

              客户评论中提到的关键词
              包含与商家实体客户评论中提到的产品/服务相关的最热门关键词,以及提及每个关键词的评论数量
              示例:
              "place_topics": {
              "egg roll": 48,
              "birthday": 33
              }

              • propertyName
                类型: integer | null 格式: int64

                Signed 64-bit integers (long type).

            • popular_times
              类型: object | null · Response36Afe1097B20_PopularTimes

              热门时段
              与商家实体繁忙时段相关的信息

              • popular_times_by_days
                类型: object | null

                热门时段
                本地商家每周各天繁忙时段的信息

                • propertyName
                  类型: array (object | null)[] | null

                  周日的营业时间

                  • popular_index
                    类型: integer | null

                    人气指数 按时间衡量的相对人气指数,范围为 0 到 100; 值越高表示一天中越繁忙的时段

                  • time
                    类型: object | null · Response36Afe1097B20_TimeInfo

                    24 小时制的小时

                    • hour
                      类型: integer | null

                      24 小时制的小时

                    • minute
                      类型: integer | null

                      分钟

            • position
              类型: string | null

              SERP 中的对齐方式

            • price_level
              类型: string | null

              场所价格水平
              可取值:inexpensive、moderate、expensive、very_expensive
              如果没有价格水平信息,该值将为 null

            • questions_and_answers_count
              类型: integer | null

              Integer numbers.

            • rank_absolute
              类型: integer | null

              所有元素中的绝对排名

            • rank_group
              类型: integer | null

              具有相同 type 值的元素组内的位置
              不同 type 值的元素位置不计入 rank_group

            • rating
              类型: object | null · Response36Afe1097B20_RatingInfo

              元素的评分
              基于评价并在 SERP 中显示的热度评分

              • rating_max
                类型: integer | null

                rating_type 的最大值

              • rating_type
                类型: string | null

                评分类型 此处可以找到以下元素:Max5、Percents、CustomMax

              • value
                类型: number | null 格式: double

                评分的值

              • votes_count
                类型: integer | null 格式: int64

                反馈数量

            • rating_distribution
              类型: object | null

              商家实体的评分分布
              该对象显示用户评价的 1 星到 5 星评分数

              • propertyName
                类型: integer | null 格式: Int64
            • 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_price
                  类型: string | null

                  结果中的价格字符串 结果中提供的原始价格字符串

                • is_price_range
                  类型: boolean | null

                  价格以区间形式提供 表示价格是否以区间形式提供

                • max_value
                  类型: number | null 格式: double

                  最高价格 结果中所示产品或服务的最高价格

                • regular
                  类型: number | null 格式: double

                  常规价格 表示未应用任何折扣的产品或服务常规价格

              • snippet
                类型: string | null

                商家实体的附加信息

              • title
                类型: string | null

                SERP 中元素的标题
                收集结果所针对的商家实体的名称

            • snippet
              类型: string | null

              商家实体的附加信息

            • title
              类型: string | null

              SERP 中元素的标题
              收集结果所针对的商家实体的名称

            • total_photos
              类型: integer | null 格式: int64

              Google My Business 资料中展示的图片总数

            • type
              类型: string | null

              元素类型

            • url
              类型: string | null

              商家实体的绝对 URL

            • work_time
              类型: object | null · Response36Afe1097B20_BusinessWorkHoursInfo

              营业时间详情
              与商家实体营业时间相关的信息

              • work_hours
                类型: object | null · Response36Afe1097B20_WorkHours

                营业时间
                本地商家的营业时间信息

                • current_status
                  类型: string | null

                  商家的当前状态
                  指示商家是否营业

                • timetable
                  类型: object | null

                  营业时间表

                  • propertyName
                    类型: array (object | null)[] | null

                    周日的营业时间

                    • 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_count
            类型: integer | null 格式: int64

            条目类型
            items 数组中的条目数

          • keyword
            类型: string | null

            POST 数组中收到的关键词
            返回的关键词会解码 %##(加号“+”将解码为空格)
            cid 参数会包含在此字段中,前提是设置任务时已在 keyword 字段中指定了该参数;
            示例:
            cid:2946633002421908862
            如需了解该参数的更多信息,请参阅此帮助中心文章

          • 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

    需要有效的 Felo API 密钥。

  • 402

    由于未满足计费要求,请求无法继续。

  • 403

    该账户无权执行此操作。

  • 429

    已达到请求或支出限额。

  • 502

    服务无法完成该请求。

  • 503

    API 或计费服务暂时不可用。

  • 504

    服务在处理请求时超时。

  • default

    错误响应;上游透传响应可能采用提供方格式

    application/json
Request Example for post/v1/beta/dataforseo/business_data/google/my_business_info/live
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]"
              ]
            }
          ]
        }
      ]
    }
  ]
}
Setting Live Google My Business Info Tasks

需要帮助?