文档中心 > API类目 > 万相台无界API

taobao.universalbp.new.blackword.find (屏蔽词查询)

屏蔽词查询

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
top_service_context TopServiceContext 必须 topServiceContext
  • └ biz_code
  • String
  • 必须
  • xxxxx
  • api业务线编码
  • └ login_type
  • Number
  • 可选
  • 1
  • 1: 直客(正常)登录 2: 代理直投(叉乘账号)
  • └ member_id
  • Number
  • 可选
  • 12345
  • 代理直投时被代理商家账号, 代理直投(叉乘)时必填。 直客 时也可以填入 memberId
  • └ ext
  • String
  • 可选
  • {}
  • 扩展内容, 暂时无用
bidword_single_query_v_o BidwordSingleQueryVO 必须 bidwordSingleQueryVO
  • └ campaign_id
  • Number
  • 可选
  • 68764632161
  • 计划id
  • └ adgroup_id
  • Number
  • 可选
  • 68805630167
  • 单元id
  • └ bidword_id
  • Number
  • 可选
  • 1131759830446
  • 词id

响应参数

名称 类型 示例值 描述
top_result TopResult topResult
  • info
  • TopInfo
  • 通用前端结果的Info信息
  • 请求系统信息
  • └ ok
  • Boolean
  • true
  • 是否成功
  • └ message
  • String
  • 参数错误
  • 错误信息
  • └ error_code
  • String
  • xxxxx
  • 错误编码
  • black_word_v_o_top_bulk_data
  • TopBulkData
  • 结果集
  • └ count
  • Number
  • 10
  • 成功数量
  • black_word_v_o_list
  • BlackWordVO []
  • 批量成功结果集
  • └ adgroup_id
  • Number
  • 71384876528
  • 单元id
  • └ campaign_id
  • Number
  • 71310517234
  • 计划id
  • └ black_word_id
  • Number
  • 1512269026393
  • 屏蔽词id
  • └ word
  • String
  • 小米连衣裙
  • └ match_scope
  • Number
  • 1
  • 匹配类型,中心词屏蔽:2,精确词匹配:1
  • └ block_query_type
  • String
  • OTHER
  • 品牌词:BRAND,价值词:VALUE,助攻词:MTA,机会词:OPPO, 其他词:OTHER
  • └ is_high_light
  • Number
  • 0
  • 是否高亮,1-高亮,0-不高亮

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
UniversalbpNewBlackwordFindRequest req = new UniversalbpNewBlackwordFindRequest();
UniversalbpNewBlackwordFindRequest.TopServiceContext obj1 = new UniversalbpNewBlackwordFindRequest.TopServiceContext();
obj1.setBizCode("xxxxx");
obj1.setLoginType(1L);
obj1.setMemberId(12345L);
obj1.setExt("{}");
req.setTopServiceContext(obj1);
UniversalbpNewBlackwordFindRequest.BidwordSingleQueryVO obj2 = new UniversalbpNewBlackwordFindRequest.BidwordSingleQueryVO();
obj2.setCampaignId(68764632161L);
obj2.setAdgroupId(68805630167L);
obj2.setBidwordId(1131759830446L);
req.setBidwordSingleQueryVO(obj2);
UniversalbpNewBlackwordFindResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<universalbp_new_blackword_find_response>
    <top_result>
        <info>
            <ok>true</ok>
            <message>参数错误</message>
            <error_code>xxxxx</error_code>
        </info>
        <black_word_v_o_top_bulk_data>
            <count>10</count>
            <black_word_v_o_list>
                <black_word_v_o>
                    <adgroup_id>71384876528</adgroup_id>
                    <campaign_id>71310517234</campaign_id>
                    <black_word_id>1512269026393</black_word_id>
                    <word>小米连衣裙</word>
                    <match_scope>1</match_scope>
                    <block_query_type>OTHER</block_query_type>
                    <is_high_light>0</is_high_light>
                </black_word_v_o>
            </black_word_v_o_list>
        </black_word_v_o_top_bulk_data>
    </top_result>
</universalbp_new_blackword_find_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部