搜索门店
全部接口
V1.1
loading
V1.1
loading
所属权限 | Ads Management |
请求地址 | local_stores_search_info/get |
请求方法 | get |
全局参数
全局参数是指每一个接口都需要使用到的参数。详情参考,代码案例参考。
参数名称 | 参数类型 |
---|---|
access_token | 授权令牌,完成 OAuth 2.0 授权后获得,参考授权认证章节 |
timestamp |
当前的时间戳,单位为秒,允许客户端请求最大时间误差为 300 秒。 MarketingAPI 所使用的时间戳,若无特殊说明,均为秒级时间戳 MarketingAPI 所使用的时区为 GMT+8,例如当时间戳为 1494840119 时,表示 2017-05-15 17:21:59 |
nonce | 随机字串标识,不超过 32 个字符,由调用方自行生成,需保证全局唯一性 |
fields | get 接口增加 fields 字段,用于指定返回参数的字段列表,为选填字段。fields 取值范围为 get 接口返回的 list 中的字段。如不填写,则根据默认值进行返回 |
请求参数
标有*的参数为必填项
名称 | 类型 | 描述 |
---|---|---|
account_id*
|
integer | 广告主帐号 id,有操作权限的帐号 id,不支持代理商 id |
key_word*
|
string | 关键词 字段长度最小 1 字节,长度最大 128 字节 |
page
|
integer | 搜索页码,默认值:1 最小值 1,最大值 99999 |
page_size
|
integer | 一页显示的数据条数,默认值:10 最小值 1,最大值 20 |
请求示例
curl -G 'https://api.e.qq.com/v1.1/local_stores_search_info/get?access_token=<ACCESS_TOKEN>×tamp=<TIMESTAMP>&nonce=<NONCE>' \
-d 'account_id=<ACCOUNT_ID>' \
-d 'page=1' \
-d 'page_size=10'
应答字段
名称 | 类型 | 描述 |
---|---|---|
list
|
struct[] | 返回信息列表 |
poi_id
|
string | poi id |
local_store_name
|
string | 门店名称 |
local_store_province
|
string | 门店省 |
local_store_city
|
string | 门店城市 |
local_store_address
|
string | 门店地址 |
local_store_biz_info
|
struct | 门店经营信息 |
poi_id
|
string | poi id |
customer_profile
|
struct | 门店经营信息用户画像 |
gender
|
enum | 门店经营信息用户画像性别,[枚举详情] |
age
|
struct[] | 年龄(范围为 14~66,66 代表的是 66 岁及 66 岁以上,如 18~66 代表大于等于 18 岁) |
min
|
integer | 年龄最小值限制,(其中 15、16、17 不可以使用) |
max
|
integer | 年龄最大值限制 |
income
|
struct[] | 门店经营信息用户画像收入 |
min
|
integer | 收入最小值限制 |
max
|
integer | 收入最大值限制 |
vehicle
|
enum[] | 门店经营信息用户画像出行方式,[枚举详情] |
customer_per_cost
|
integer | 客单价 |
first_category_id
|
integer | 一级类目 id,对应门店类目的 vertical_id |
second_category_id
|
integer | 二级类目 id |
third_category_id
|
integer | 三级类目 id |
fourth_category_id
|
integer | 三级类目 id |
first_category_name
|
string | 一级类目 |
second_category_name
|
string | 二级类目 |
third_category_name
|
string | 三级类目 |
fourth_category_name
|
string | 四级类目 |
peak_period
|
struct[] | 门店高峰时间段 |
time_series
|
string | 门店经营信息客流高峰时间段 |
date
|
enum | 门店经营信息客流高峰日期,[枚举详情] |
opening_hours
|
struct[] | 门店营业时间 |
time_series
|
string | 门店经营信息营业时间段 |
date
|
enum | 门店经营信息营业时间日期,[枚举详情] |
telephone
|
string | 联系电话,小于 300 个英文字符 |
special_service
|
enum[] | 特色服务,[枚举详情] |
opening_status
|
enum | 门店经营状态,[枚举详情] |
intro
|
string | 门店介绍 |
hide_poi
|
boolean | 是否在广告上隐藏门店信息 |
wechat_ecosystem_accounts
|
struct | 门店微信生态账户 |
wxpay_merchant_id
|
string[] | 微信支付商户号,可从查询微信支付商户号接口获取,最多可输入 10 个微信支付商户号 |
wechat_official_account_id
|
string | 公众号 id |
wechat_mini_program_id
|
string | 微信小程序 id |
wechat_channels_id
|
string | 视频号 id |
page_info
|
struct | 分页配置信息 |
page
|
integer | 搜索页码 |
page_size
|
integer | 一页显示的数据条数 |
total_number
|
integer | 总条数 |
total_page
|
integer | 总页数 |
应答示例
{
"code": 0,
"message": "",
"message_cn": "",
"data": {
"list": [
{
"local_store_biz_info": {
"customer_profile": {
"age": [],
"income": [],
"vehicle": []
},
"peak_period": [],
"opening_hours": [],
"special_service": []
},
"wechat_ecosystem_accounts": {
"wxpay_merchant_id": []
}
}
],
"page_info": {
"page": 1,
"page_size": 10,
"total_number": 1,
"total_page": 1
}
}
}
可视化调试工具
问题仍未解决?
请前往腾讯广告反馈中心在线提交问题,我们的人工客服将为你服务