/** * 本文件由 Rapper 从 Rap 中自动生成,请勿修改 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671 */ export interface ModelItf { /** * 接口名:专题详情接口 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=935&itf=5793 */ api_tag_topic_$id_get: { Req: {}; Res: { data?: { picture?: string; id?: number; subtitle?: string; description?: string; status?: number; publishTime?: string; period?: number; title?: string; subjectList?: { description?: string; picture?: string; tagList?: { tagUsed?: number; validDate?: string; mark?: number; tagNameHighlight?: string; tagEffect?: number; description?: string; tagOptionNames?: string; coverage?: string; tagRank?: number; dpId?: number; tagName?: string; tagDescHighlight?: string; recOptions?: { optionRank?: number; optionName?: string; optionValue?: string; optionId?: number; }[]; id?: number; dpName?: string; qualityScore?: number; tagScore?: number; isAllTagOptionNames?: string; price?: number; tagDesc?: string; tagOptionNamesHighlight?: string; tagType?: string; collect?: boolean; }[]; title?: string; id?: number; }[]; }; trace?: string; info?: { message?: string; ok?: boolean; }; }; }; /** * 接口名:获取专题列表接口 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=935&itf=5794 */ api_tag_topic_list_get: { Req: {}; Res: { trace?: string; info?: { message?: string; ok?: boolean; }; data?: { pager?: { currentPage?: number; pageTotal?: number; position?: number; endPage?: number; previouPage?: number; /** * @mock= */ searchString?: string; pageSize?: number; total?: number; nextPage?: number; beginPage?: number; }; list?: { [k: string]: any; }[]; }; }; }; /** * 接口名:获取专题推荐接口 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=935&itf=5795 */ api_tag_topic_recommend_get: { Req: {}; Res: { info?: { message?: string; ok?: boolean; }; trace?: string; data?: { list?: { status?: number; picture?: string; title?: string; subtitle?: string; period?: number; id?: number; publishTime?: string; description?: string; }[]; }; }; }; /** * 接口名:test * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=935&itf=71759 */ 'openapi_param2_1_gateway.unionpub_report.getTbkOrderDetails_get': { Req: {}; Res: {}; }; /** * 接口名:商家版授权人群给小二版 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=947&itf=82548 */ api_crowd_sync_x2_post: { Req: { /** * 人群列表,逗号分隔 */ crowdIds?: string; }; Res: { info?: { ok?: boolean; message?: null; }; data?: null; }; }; /** * 接口名:删除商家版授权小二版 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=947&itf=82550 */ api_crowd_sync_x2_delete: { Req: { /** * 逗号分隔 */ crowdIds?: string; }; Res: { info?: { ok?: boolean; message?: null; }; data?: null; }; }; /** * 接口名:小二版上获取已授权的人群列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=947&itf=82551 */ api_crowd_sync_x2_get: { Req: { /** * 广告主ID */ memberId?: number; /** * 人群Id或名称 */ keyword?: string; }; Res: { data?: { list?: { appId?: number; applyDeliverAfterCreate?: boolean; apps?: any[]; baseCrowdExpression?: string; buildExpression?: string; businessType?: number; coverage?: number; createtime?: string; crowdId?: number; crowdName?: string; crowdNew?: number; extra?: { SYNC_X2?: string; expired?: string; is_accelerated_to_ltp?: string; isEnableCombine?: string; crowd_iter_ai?: string; }; fullStatus?: number; garudaExpression?: string; groupId?: number; hintDataSecurity?: boolean; hintDataSecurityInfo?: string; idType?: number; incomingNoService?: number; isIter?: number; isLookalike?: number; lookalikeAlgoType?: number; memberId?: number; providerName?: string; replaceFlag?: number; selectTagOptionSet?: { empty?: boolean; leaf?: boolean; operator?: number; selectTagOptionSet?: any[]; selects?: any[]; }; skipLtpRebuild?: boolean; status?: number; storageType?: number; userExpression?: string; validDate?: string; }[]; }; info?: { code?: number; ok?: boolean; requestID?: string; }; }; }; /** * 接口名:奥格-私域列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=947&itf=161039 */ api_crowd_augeNamespace_list_get: { Req: {}; Res: { data?: { description?: string; id?: number; managerId?: string; managerNick?: string; name?: string; status?: number; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:商家人群人群转标签 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=947&itf=82553 */ api_data_crowd_upload_post: { Req: { /** * 人群ID */ crowdId?: number; /** * 是否自动更新 */ autoRefresh?: boolean; tagName?: string; tagDesc?: string; vaildDate?: number; /** * 广告主ID */ memberId?: number; }; Res: { info?: { ok?: boolean; message?: null; }; data?: null; }; }; /** * 接口名:获取可以同步的渠道与用户接口 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=947&itf=5894 */ api_deliverapp_list_get: { Req: {}; Res: { trace?: string; info?: { message?: string; ok?: boolean; }; data?: { list?: { dspUrl?: string; id?: number; traceId?: string; minCoverage?: number; maxCoverage?: number; userList?: { targetId?: number; memberId?: number; deliverAppId?: number; modifier?: string; createtime?: string; nickname?: string; appId?: string; id?: string; num?: number; updatetime?: string; creator?: string; }[]; status?: string; iconMark?: string; level?: number; dspId?: number; appName?: string; }[]; }; }; }; /** * 接口名:获取同步渠道详情 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=947&itf=107077 */ api_deliverapp_xMemberDetail_get: { Req: { /** * 人群id */ crowdId?: string; /** * 渠道id */ deliverAppId?: string; }; Res: { data?: { list?: { crowdXAppId?: number; deliverAppId?: number; id?: number; memberId?: number; /** * 同步状态 -1失败 0未同步 1成功 2同步中 */ status?: number; /** * 错误信息 */ errorMsg?: string; /** * 用户名 */ nickname?: string; }[]; ''?: string; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:标签暂存架 - 获取列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=947&itf=6157 */ api_tag_cart_get: { Req: {}; Res: { info?: { ok?: boolean; message?: null; }; data?: { options?: { tagId?: number; tagName?: string; optionGroupId?: number; value?: string; type?: string; price?: null; source?: string; operatorType?: number; routeKey?: null; dpName?: null; optionNameMap?: { '1'?: string; }; optionNameMapStr?: string; }[]; collects?: any[]; }; trace?: null; }; }; /** * 接口名:标签暂存架 - 维护标签数据 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=947&itf=6158 */ api_tag_cart_post: { Req: {}; Res: { data?: {}; info?: { ok?: boolean; }; }; }; /** * 接口名:北极星-场景营销人群列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=947&itf=69232 */ api_crowd_sceneMarketingCrowds_get: { Req: { /** * 场景营销人群类型,1:北极星 */ sceneType?: number; }; Res: { info?: { message?: string; ok?: boolean; }; data?: { list?: { crowdName?: string; crowdDesc?: string; }[]; }; }; }; /** * 接口名:人群加速 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=947&itf=86603 */ api_crowd_$id_accelerate_post: { Req: {}; Res: { info?: { ok?: boolean; }; data?: null; }; }; /** * 接口名:权限管理-商家权限管理列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=947&itf=156216 */ api_employer_proxy_get: { Req: { page?: string; pageSize?: string; /** * 私域id,小二版是0 */ appId?: number; /** * 代理状态。0=申请中,1=正常,2=无效,过期或者交还代理关系。人群列表页面proxyStatus=1必传 */ proxyStatus?: number; /** * 商家nickname */ nickname?: string; }; Res: { info?: { code?: number; ok?: boolean; }; data?: { proxy?: { /** * 私域id */ appId?: number; /** * bpms审批流地址 */ bpmsUrl?: string; /** * 创建时间。2020-11-19 */ createtime?: number; /** * 商家memberId */ memberId?: number; /** * 商家nickname */ nickname?: string; /** * 代理状态。0=申请中,1=正常,2=无效,过期或者交还代理关系 */ proxyStatus?: number; /** * 有效期。2020-11-19 */ validDate?: number; }[]; pager?: { currentPage?: number; pageNum?: number; pageSize?: number; position?: number; total?: number; }; }; }; }; /** * 接口名:人群列表--触发小二人群同步达摩盘 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=947&itf=156214 */ api_employer_proxy_crowd_sync_dmp_post: { Req: { /** * 私域id。 */ appId?: number; /** * 人群id */ crowdId?: number; /** * 商家列表 */ memberIdLst?: number[]; nicknameLst?: any[]; }; Res: { info?: { code?: number; ok?: boolean; }; data?: { unmatched?: string[]; unauthorized?: string[]; }; }; }; /** * 接口名:人群列表--小二人群同步到的商家列表查询 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=947&itf=156215 */ api_employer_proxy_crowd_sync_dmp_get: { Req: { /** * 私域id */ appId?: number; /** * 人群id */ crowdId?: number; }; Res: { data?: { /** * 私域id */ appId?: number; /** * 人群id */ crowdId?: number; memberId?: number; /** * 商家nickname */ nickname?: string; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:崇志--人群列表--删除同步到的达摩盘商家副本 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=947&itf=156760 */ api_employer_proxy_crowd_sync_dmp_delete: { Req: { /** * 项目空间id */ appId?: number; /** * 人群id */ crowdId?: number; /** * 待移除的商家列表 */ memberIdLst?: number[]; }; Res: { data?: {}; info?: { ok?: boolean; }; }; }; /** * 接口名:当日广告整体报表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=988&itf=6219 */ api_adreport_get: { Req: { searchdate?: string; }; Res: { data?: { list?: { name?: string; value?: number; key?: string; sameratio?: number; linkratio?: number; }[]; }; trace?: string; info?: { message?: string; ok?: boolean; }; }; }; /** * 接口名:每日广告数据趋势 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=988&itf=6220 */ api_adreport_adreporttrend_get: { Req: { enddate?: string; filed?: string; begindate?: string; }; Res: { info?: { ok?: boolean; }; data?: { list?: { value?: number; date?: string; }[]; }; }; }; /** * 接口名:每日明细数据 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=988&itf=6221 */ api_adreport_adreportdetail_get: { Req: { enddate?: string; page?: string; pageSize?: string; begindate?: string; }; Res: { data?: { list?: { collectionnum?: number; shoppingcartnum?: number; threedaycaprate?: number; fifteendaycaprate?: number; shownum?: number; date?: string; consumeamount?: number; sevendaycaprate?: number; clicknum?: number; }[]; pager?: { position?: number; pageTotal?: number; total?: number; pageSize?: number; previouPage?: number; /** * @mock= */ searchString?: string; endPage?: number; nextPage?: number; currentPage?: number; beginPage?: number; }; }; info?: { ok?: boolean; message?: string; }; trace?: string; }; }; /** * 接口名:每日人群报表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=988&itf=6327 */ api_crowdreport_get: { Req: { ''?: string; /** * 查询时间 */ searchdate?: string; pagesize?: string; /** * 渠道id(钻展:0 直通车:1 所有渠道:-1) */ channelid?: string; page?: string; }; Res: { data?: { pager?: { pageTotal?: number; position?: number; /** * @mock= */ searchString?: string; previouPage?: number; pageSize?: number; nextPage?: number; total?: number; beginPage?: number; endPage?: number; currentPage?: number; }; list?: { shoppingcartnum?: number; crowdname?: string; sevendaycaprate?: number; sevendayorderamount?: number; sevendaydealamount?: number; threedaycaprate?: number; threedaydealamount?: number; fifteendaydealamount?: number; collectnum?: number; clicknum?: number; fifteendayorderamount?: number; consumeamount?: number; fifteendaycaprate?: number; crowdid?: number; threedayorderamount?: number; shownum?: number; channelid?: number; }[]; }; trace?: string; info?: { ok?: boolean; message?: string; }; }; }; /** * 接口名:单人群渠道明细 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=988&itf=6334 */ api_crowdreport_crowdchannelreport_get: { Req: { crowdid?: string; searchdate?: string; /** * 渠道id(钻展:0 直通车:1 所有渠道:-1) */ channelid?: string; }; Res: { info?: { ok?: boolean; message?: string; }; trace?: string; data?: { list?: { name?: string; sameratio?: number; key?: string; linkratio?: number; value?: number; }[]; }; }; }; /** * 接口名:自定义字段展示 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=988&itf=6337 */ api_adfieldmanage_get: { Req: { channelId?: string; }; Res: { trace?: string; data?: { list?: { key?: string; name?: string; }[]; }; info?: { ok?: boolean; message?: string; }; }; }; /** * 接口名:单人群渠道kpi数据趋势 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=988&itf=6426 */ api_crowdreport_crowdchannelkpitrend_get: { Req: {}; Res: { data?: { list?: { value?: number; date?: string; }[]; }; info?: { ok?: boolean; }; }; }; /** * 接口名:单人群渠道资源位明细 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=988&itf=6427 */ api_crowdreport_adresourcedetail_get: { Req: {}; Res: { trace?: string; data?: { pager?: { total?: number; position?: number; beginPage?: number; nextPage?: number; endPage?: number; previouPage?: number; currentPage?: number; pageTotal?: number; /** * @mock= */ searchString?: string; pageSize?: number; }; list?: { sevendaydealamount?: number; threedaycaprate?: number; shownum?: number; sevendayorderamount?: number; sevendaycaprate?: number; fifteendaydealamount?: number; fifteendayorderamount?: number; fifteendaycaprate?: number; adplanid?: string; adunitname?: string; collectnum?: number; adunitid?: string; threedaydealamount?: number; consumeamount?: number; clicknum?: number; threedayorderamount?: number; shoppingcartnum?: number; adplanname?: string; }[]; }; info?: { message?: string; ok?: boolean; }; }; }; /** * 接口名:单人群渠道广告计划明细 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=988&itf=6428 */ api_crowdreport_adplandetail_get: { Req: {}; Res: { info?: { message?: string; ok?: boolean; }; data?: { pager?: { /** * @mock= */ searchString?: string; pageSize?: number; nextPage?: number; previouPage?: number; position?: number; total?: number; endPage?: number; currentPage?: number; beginPage?: number; pageTotal?: number; }; list?: { sevendaydealamount?: number; fifteendaycaprate?: number; sevendaycaprate?: number; threedaycaprate?: number; sevendayorderamount?: number; shoppingcartnum?: number; collectnum?: number; fifteendayorderamount?: number; fifteendaydealamount?: number; consumeamount?: number; clicknum?: number; threedaydealamount?: number; shownum?: number; adzonename?: string; threedayorderamount?: number; }[]; }; trace?: string; }; }; /** * 接口名:推广单元kpi数据明细 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=988&itf=6431 */ api_crowdreport_adunitdetail_get: { Req: {}; Res: { trace?: string; info?: { ok?: boolean; message?: string; }; data?: { pager?: { total?: number; pageTotal?: number; endPage?: number; currentPage?: number; previouPage?: number; pageSize?: number; position?: number; beginPage?: number; /** * @mock= */ searchString?: string; nextPage?: number; }; list?: { shoppingcartnum?: number; fifteendaycaprate?: number; threedaydealamount?: number; sevendayorderamount?: number; fifteendaydealamount?: number; threedayorderamount?: number; collectnum?: number; thedate?: string; clicknum?: number; sevendaydealamount?: number; shownum?: number; consumeamount?: number; threedaycaprate?: number; fifteendayorderamount?: number; sevendaycaprate?: number; }[]; }; }; }; /** * 接口名:单人群渠道推广单元数据趋势 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=988&itf=6432 */ api_crowdreport_adunitkpitrend_get: { Req: {}; Res: { info?: { ok?: boolean; }; data?: { list?: { value?: number; date?: string; }[]; }; }; }; /** * 接口名:渠道报表总体详情 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=988&itf=6433 */ api_channelreport_get: { Req: {}; Res: { trace?: string; data?: { list?: { name?: string; value?: number; sameratio?: number; linkratio?: number; key?: string; }[]; }; info?: { message?: string; ok?: boolean; }; }; }; /** * 接口名:渠道kpi数据趋势 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=988&itf=6434 */ api_channelreport_adchanneltrend_get: { Req: {}; Res: { data?: { list?: { value?: number; date?: string; }[]; }; info?: { ok?: boolean; }; }; }; /** * 接口名:渠道每日明细 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=988&itf=6435 */ api_channelreport_adchanneldetail_get: { Req: {}; Res: { trace?: string; info?: { message?: string; ok?: boolean; }; data?: { list?: { threedaycaprate?: number; consumeamount?: number; shoppingcartnum?: number; fifteendaycaprate?: number; threedayorderamount?: number; clicknum?: number; fifteendaydealamount?: number; threedaydealamount?: number; collectnum?: number; sevendayorderamount?: number; thedate?: string; sevendaycaprate?: number; sevendaydealamount?: number; shownum?: number; fifteendayorderamount?: number; }[]; pager?: { previouPage?: number; nextPage?: number; position?: number; pageSize?: number; /** * @mock= */ searchString?: string; currentPage?: number; total?: number; pageTotal?: number; beginPage?: number; endPage?: number; }; }; }; }; /** * 接口名:获取用户最近的有数据的日期 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=988&itf=6439 */ api_adreport_thelatestdate_get: { Req: {}; Res: { data?: { date?: string; }; info?: { ok?: boolean; }; }; }; /** * 接口名:获取报表有权限的渠道 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=988&itf=6700 */ api_adpermission_get: { Req: {}; Res: { data?: { list?: { key?: string; name?: string; }[]; }; info?: { ok?: boolean; message?: string; }; }; }; /** * 接口名:获取授权页面标签列表接口 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=1013&itf=6525 */ api_union_tag_list_get: { Req: { page?: string; pageSize?: string; }; Res: { data?: { list?: { validDate?: string; tagType?: string; tagOptionNamesHighlight?: string; tagOptionNames?: string; tagRank?: string; tagDescHighlight?: string; tagName?: string; tagDesc?: string; price?: number; recOptions?: string; id?: number; tagUsed?: string; qualityScore?: number; collect?: boolean; isAllTagOptionNames?: boolean; tagScore?: string; dpName?: string; coverage?: string; tagEffect?: string; dpId?: number; tagNameHighlight?: string; }[]; pager?: { pageSize?: number; position?: number; total?: number; pageTotal?: number; currentPage?: number; previouPage?: number; /** * @mock= */ searchString?: string; endPage?: number; beginPage?: number; nextPage?: number; }; }; info?: { ok?: boolean; message?: string; }; trace?: string; }; }; /** * 接口名:协议确认接口 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=1013&itf=6535 */ api_user_data_union_agreement_get: { Req: {}; Res: { data?: string; info?: { ok?: boolean; message?: string; }; trace?: string; }; }; /** * 接口名:获取标签已授权店铺列表接口 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=1013&itf=6536 */ api_union_$id_shop_list_get: { Req: {}; Res: { trace?: string; info?: { message?: string; ok?: boolean; }; data?: { list?: { title?: string; memberId?: number; shopId?: number; authDate?: string; }[]; ''?: string; }; }; }; /** * 接口名:批量授权接口 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=1013&itf=6537 */ api_union_multi_auth_post: { Req: {}; Res: { trace?: string; info?: { ok?: boolean; message?: string; }; data?: string; }; }; /** * 接口名:取消店铺授权接口 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=1013&itf=6538 */ api_union_cancel_auth_post: { Req: {}; Res: { info?: { message?: string; ok?: boolean; }; data?: string; trace?: string; }; }; /** * 接口名:添加店铺授权接口 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=1013&itf=6539 */ api_union_auth_post: { Req: {}; Res: { trace?: string; data?: string; info?: { ok?: boolean; message?: string; }; }; }; /** * 接口名:查询店铺能否授权接口 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=1013&itf=6540 */ api_union_shop_get: { Req: {}; Res: { trace?: string; info?: { ok?: boolean; message?: string; }; data?: { shopId?: number; title?: string; memberId?: number; }; }; }; /** * 接口名:获取联盟标签列表接口 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=1013&itf=6542 */ api_union_auth_tag_list_get: { Req: {}; Res: { info?: { ok?: boolean; message?: string; }; data?: { pager?: { /** * @mock= */ searchString?: string; pageSize?: number; previouPage?: number; currentPage?: number; beginPage?: number; nextPage?: number; endPage?: number; total?: number; position?: number; pageTotal?: number; }; list?: { dpName?: string; tagDesc?: string; isAllTagOptionNames?: boolean; validDate?: string; tagType?: string; qualityScore?: number; id?: number; tagOptionNames?: string; dpId?: number; tagDescHighlight?: string; tagNameHighlight?: string; recOptions?: string; collect?: boolean; coverage?: string; tagEffect?: string; tagScore?: string; price?: number; tagOptionNamesHighlight?: string; tagUsed?: string; tagRank?: string; tagName?: string; }[]; }; trace?: string; }; }; /** * 接口名:获取我的联盟列表接口 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=1013&itf=6543 */ api_union_list_get: { Req: {}; Res: { trace?: string; info?: { ok?: boolean; message?: string; }; data?: { pager?: { total?: number; currentPage?: number; previouPage?: number; pageTotal?: number; beginPage?: number; nextPage?: number; pageSize?: number; endPage?: number; /** * @mock= */ searchString?: string; position?: number; }; list?: { shopId?: number; createtime?: string; title?: string; tagNumber?: number; memberId?: number; authDate?: string; }[]; }; }; }; /** * 接口名:针对店铺级别取消授权接口 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=1013&itf=6544 */ api_union_cancel_auth_shop_post: { Req: {}; Res: { info?: { ok?: boolean; message?: string; }; trace?: string; data?: string; }; }; /** * 接口名:获取某个店铺下的授权标签列表接口 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=1013&itf=6545 */ api_union_auth_shop_tag_list_get: { Req: {}; Res: { info?: { message?: string; ok?: boolean; }; data?: { pager?: { pageTotal?: number; pageSize?: number; currentPage?: number; /** * @mock= */ searchString?: string; nextPage?: number; beginPage?: number; previouPage?: number; endPage?: number; position?: number; total?: number; }; list?: { price?: number; validDate?: string; coverage?: string; tagEffect?: string; collect?: boolean; qualityScore?: number; recOptions?: string; tagName?: string; dpId?: number; tagOptionNamesHighlight?: string; tagDescHighlight?: string; tagType?: string; tagOptionNames?: string; isAllTagOptionNames?: boolean; tagUsed?: string; id?: number; dpName?: string; tagDesc?: string; tagNameHighlight?: string; tagScore?: string; tagRank?: string; authDate?: string; }[]; }; trace?: string; }; }; /** * 接口名:获取标签下的授权店铺列表接口 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=1013&itf=6575 */ api_tag_shop_list_get: { Req: { tagId?: string; }; Res: { trace?: string; data?: { list?: { title?: string; shopId?: number; }[]; }; info?: { ok?: boolean; message?: string; }; }; }; /** * 接口名:店铺消费者资产接口 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=53533 */ api_homepage_customer_asset_get: { Req: { /** * 截止日期 */ endDate?: string; }; Res: { data?: { /** * 行业潜在消费者渗透率 */ catPotentialUserRate?: number; /** * 行业潜在消费者 */ catPotentialUv?: number; /** * 新客 */ newUv?: number; /** * 老客 */ oldUv?: number; /** * 潜客 */ potentialUv?: number; /** * 新客潜在超级用户触达率 */ pvSuperNewUvRate?: number; /** * 老客超级用户广告触达率 */ pvSuperOldUvRate?: number; /** * 广告触达率 */ pvUserTotalAdRate?: number; /** * 新客潜在超级用户 */ superNewUv?: number; /** * 老客潜在超级用户 */ superOldUv?: number; /** * 潜客潜在超级用户 */ superPotentialUv?: number; /** * 店铺总消费者 */ userTotal?: number; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:消费者资产趋势数据接口 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=53537 */ api_homepage_customer_asset_trend_get: { Req: { /** * 开始日期,依赖周与月的选择项 */ beginDate?: string; /** * 截止日期 */ endDate?: string; }; Res: { data?: { bizDate?: string; catPotentialUserRate?: number; catPotentialUv?: number; newUv?: number; oldUv?: number; potentialUv?: number; pvSuperNewUvRate?: number; pvSuperOldUvRate?: number; pvUserTotalAdRate?: number; superNewUv?: number; superOldUv?: number; superPotentialUv?: number; /** * 店铺总消费者(这里会给出一个列表,按照日期排序),会给出所有类型数据 */ userTotal?: number; userTotalName?: string; catPotentialUvName?: string; superNewUvName?: string; superOldUvName?: string; potentialUvName?: string; superPotentialUvName?: string; newUvName?: string; oldUvName?: string; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:购买消费者价值细分 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=53538 */ api_homepage_customer_value_level_get: { Req: { bizDate?: string; }; Res: { data?: { /** * 平均购买频次 */ avgUserFrquency?: number; /** * 平均客单价 */ avgUserMoney?: number; /** * 平均购买周期 */ avgUserRecent?: number; /** * 消费者层级, 1=超级用户; 2=中价值消费者; 3=低价值购买用户, 999 = 整体购买消费者 */ customerLevel?: number; /** * 贡献金额 */ userAmount?: number; /** * 人数 */ userUv?: number; /** * 被广告触达的用户,用于计算广告触达率=pvUv/userUv */ pvUv?: number; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:超级用户来源 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=53540 */ api_homepage_super_source_get: { Req: { /** * 1=周,2=月 */ dateType?: string; /** * 截止日期 */ bizDate?: string; /** * 1=非归因流转,2=归因流转 */ dataType?: string; }; Res: { data?: { /** * 截止日期 */ bizDate?: string; /** * 升级人数 */ changeUpUv?: number; /** * 0=非店铺潜在超级用户, 1=店铺潜在超级用户, 2=老客超级用户, 3=超级用户 */ state?: number; /** * 升级流转率 */ changeRate?: number; /** * 超级用户人数 */ superUv?: number; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:购买消费者引入效率排行榜 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=53546 */ api_homepage_rank_newcustomer_get: { Req: { /** * 1=周,2=月 */ dateType?: string; /** * 截止日期 */ bizDate?: string; /** * 起始值 */ offset?: string; /** * 分页大小 */ pageSize?: string; }; Res: { data?: { /** * 店铺排名 */ rankId?: number; /** * 店铺id,用于匹配该店铺是否是本店铺 */ rankShopId?: number; /** * 店铺名称(字符串,提供给客户看) */ rankShopName?: string; /** * 引入效率指数 */ rankRate?: number; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:超级用户引入效率排行榜---参数与购买消费者引入效率排行榜一致 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=53547 */ api_homepage_rank_super_get: { Req: {}; Res: { data?: { rankId?: number; rankShopId?: number; rankShopName?: string; /** * 引入效率指数 */ rankRate?: number; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:首页-最新标签 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=53918 */ api_tag_index_newest_get: { Req: {}; Res: { info?: { ok?: boolean; message?: null; }; data?: { list?: { id?: number; tagName?: string; tagDesc?: string; dpName?: null; coverage?: null; price?: number; qualityScore?: null; validDate?: string; collect?: boolean; recOptions?: null; tagUsed?: null; tagScore?: null; tagEffect?: null; effectiveScore?: number; coverScore?: number; hotUsedScore?: number; searchScore?: number; accuracyScore?: number; isMemberRecommended?: boolean; isCatalogRecommended?: boolean; tagOptionNames?: null; tagNameHighlight?: null; tagDescHighlight?: null; tagOptionNamesHighlight?: null; isAllTagOptionNames?: null; tagType?: string; dpId?: number; tagRank?: null; authDate?: null; tagGroupId?: null; businessType?: number; chartType?: string; tableId?: number; garudaTableName?: null; garudaField?: string; sortNum?: number; analysisNum?: number; memberId?: number; perspective?: null; dataId?: null; tagShare?: number; tagStatus?: number; expandAttr?: null; creator?: null; modifier?: null; createtime?: string; updatetime?: string; options?: null; optionGroups?: null; tagGroups?: null; tagEmpowers?: null; level?: number; tagIds?: any[]; tagGroupIds?: null; tagGroupBgId?: number; tagGroupBgName?: null; tagGroupBgIds?: null; tagTypeCh?: null; tableName?: null; dpIds?: null; tagAuditStatus?: null; dictDO?: null; factoryId?: null; tagVersion?: null; extra?: null; tagAdditions?: null; tagGroupPath?: null; tagGroupBgPath?: null; }[]; }; trace?: null; }; }; /** * 接口名:首页-同行常用标签 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=53919 */ api_tag_industry_common_use_get: { Req: {}; Res: { info?: { ok?: boolean; message?: null; }; data?: { list?: { id?: number; tagName?: string; tagDesc?: string; dpName?: null; coverage?: null; price?: number; qualityScore?: null; validDate?: string; collect?: boolean; recOptions?: null; tagUsed?: null; tagScore?: null; tagEffect?: null; effectiveScore?: number; coverScore?: number; hotUsedScore?: number; searchScore?: number; accuracyScore?: number; isMemberRecommended?: boolean; isCatalogRecommended?: boolean; tagOptionNames?: null; tagNameHighlight?: null; tagDescHighlight?: null; tagOptionNamesHighlight?: null; isAllTagOptionNames?: null; tagType?: string; dpId?: number; tagRank?: null; authDate?: null; tagGroupId?: null; businessType?: number; chartType?: string; tableId?: number; garudaTableName?: null; garudaField?: string; sortNum?: number; analysisNum?: number; memberId?: number; perspective?: null; dataId?: null; tagShare?: number; tagStatus?: number; expandAttr?: null; creator?: null; modifier?: null; createtime?: string; updatetime?: string; options?: null; optionGroups?: null; tagGroups?: null; tagEmpowers?: null; level?: number; tagIds?: any[]; tagGroupIds?: null; tagGroupBgId?: number; tagGroupBgName?: null; tagGroupBgIds?: null; tagTypeCh?: null; tableName?: null; dpIds?: null; tagAuditStatus?: null; dictDO?: null; factoryId?: number; tagVersion?: null; extra?: null; tagAdditions?: null; tagGroupPath?: null; tagGroupBgPath?: null; }[]; }; trace?: null; }; }; /** * 接口名:首页-感兴趣标签 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=53920 */ api_tag_recommend_get: { Req: {}; Res: { info?: { ok?: boolean; message?: null; }; data?: { pager?: { total?: number; nextPage?: number; pageSize?: number; pageTotal?: number; endPage?: number; beginPage?: number; previouPage?: number; currentPage?: number; position?: number; }; list?: { id?: number; tagName?: string; tagDesc?: string; dpName?: null; coverage?: null; price?: number; qualityScore?: number; validDate?: string; collect?: boolean; recOptions?: { optionId?: number; optionName?: string; optionValue?: string; optionRank?: number; }[]; tagUsed?: number; tagScore?: number; tagEffect?: number; effectiveScore?: number; coverScore?: number; hotUsedScore?: number; searchScore?: number; accuracyScore?: number; isMemberRecommended?: boolean; isCatalogRecommended?: boolean; tagOptionNames?: null; tagNameHighlight?: null; tagDescHighlight?: null; tagOptionNamesHighlight?: null; isAllTagOptionNames?: null; tagType?: string; dpId?: number; tagRank?: number; authDate?: null; tagGroupId?: null; businessType?: number; chartType?: string; tableId?: number; garudaTableName?: null; garudaField?: string; sortNum?: number; analysisNum?: number; memberId?: number; perspective?: null; dataId?: null; tagShare?: number; tagStatus?: number; expandAttr?: null; creator?: null; modifier?: null; createtime?: string; updatetime?: string; options?: null; optionGroups?: null; tagGroups?: null; tagEmpowers?: null; level?: number; tagIds?: any[]; tagGroupIds?: null; tagGroupBgId?: null; tagGroupBgName?: null; tagGroupBgIds?: null; tagTypeCh?: null; tableName?: null; dpIds?: null; tagAuditStatus?: null; dictDO?: null; factoryId?: null; tagVersion?: null; extra?: { tagId?: number; tagName?: string; qualityScore?: number; coverage?: number; effectiveScore?: number; coverScore?: number; hotUsedScore?: number; searchScore?: number; accuracyScore?: number; }; tagAdditions?: any[]; tagGroupPath?: null; tagGroupBgPath?: null; }[]; }; trace?: null; }; }; /** * 接口名:首页/人群拓展页-分析显著特征副本 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=84162 */ api_analysis_feature_post: { Req: { /** * 标签组合,同原有达摩盘的coverage接口 */ selectTagOptionSet?: any[]; /** * 特征类型,2:关键词,3:标签 */ featureType?: number; }; Res: { info?: { ok?: boolean; message?: null; }; data?: { list?: { id?: number; /** * 特征类型,2:关键词,3:标签 */ type?: number; score?: number; desc?: string; tagId?: number; tagOptionGroupId?: number; tagOptionValue?: number; tagName?: string; tagOptionName?: string; keyword?: string; }[]; }; trace?: null; }; }; /** * 接口名:拉新排行榜 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=54014 */ api_rpt_rank_newaudience_get: { Req: {}; Res: { info?: { ok?: boolean; message?: null; }; data?: { data?: { condition?: { categoryId?: null; categoryName?: null; date?: string; }; self?: null; list?: { rank?: number; name?: string; tagNumber?: number; crowdNumber?: number; audienceNumber?: string; roi?: null; sort?: null; sortNumber?: null; }[]; }; }; trace?: null; }; }; /** * 接口名:回报率排行榜 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=54015 */ api_rpt_rank_roi_get: { Req: {}; Res: { info?: { ok?: boolean; message?: null; }; data?: { data?: { condition?: { categoryId?: null; categoryName?: null; date?: string; }; self?: null; list?: { rank?: number; name?: string; tagNumber?: number; crowdNumber?: number; audienceNumber?: null; roi?: string; sort?: null; sortNumber?: null; }[]; }; }; trace?: null; }; }; /** * 接口名:用户信息 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=54099 */ api_login_loginuserinfo_get: { Req: {}; Res: { data?: { /** * true:进入达摩盘成功 * false:进入达摩盘失败(消耗未达到开通门槛) */ availableUser?: boolean; loginUser?: { nickname?: string; operId?: number; operName?: string; operType?: number; requestSource?: string; shopId?: number; traceId?: string; userId?: number; userNumId?: number; }; userExtra?: { ad_agreement?: string; newbie_guide_2_0_2?: string; tag_union_agreement?: string; ma_real_agreement?: string; dmp_private_tag_upload_agreement?: string; }; permissions?: string[]; empowers?: { dataId?: string; name?: string; type?: string; }[]; csrfId?: string; accountLevel?: number; /** * 0表示不出现同步小二版的按钮 * 1表示出现 */ SYNC_X2?: number; permissions2?: { 'INSIGHT_CROWD_PORTRAIT_TABS.bak'?: { [k: string]: any; }[]; }[]; SERVER_DATE?: string; /** * 商家:dmp-site * 小二版:mdmp-site-x2 * isv:mdmp-site-isv */ SITE_NAME?: string; /** * 是否满足开通门槛 */ accountCreatable?: boolean; /** * 不满足开通时提示 */ prompt?: string; /** * 1-被清理 * 2-新用户(展示新手引导) * 3-获得新人礼包 * 4-即将被清理 * 0-达摩盘用户其他状态 */ USER_STATE?: number; deeplinkUser?: boolean; }; info?: { ok?: boolean; }; }; }; /** * 接口名:收藏标签 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=54305 */ api_tag_collect_$id_post: { Req: {}; Res: { info?: { ok?: boolean; message?: null; }; data?: {}; trace?: null; }; }; /** * 接口名:取消收藏标签 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=66413 */ api_tag_collect_$id_delete: { Req: {}; Res: { info?: { ok?: boolean; }; data?: {}; trace?: null; }; }; /** * 接口名:收藏标签列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=66417 */ api_tag_collect_get: { Req: {}; Res: { info?: { ok?: boolean; }; data?: { pager?: { currentPage?: number; nextPage?: number; total?: number; pageSize?: number; pageTotal?: number; endPage?: number; beginPage?: number; previouPage?: number; position?: number; }; groups?: { value?: number; count?: number; }[]; list?: { id?: number; tagName?: string; tagDesc?: string; dpName?: string; coverage?: number; price?: number; qualityScore?: number; validDate?: string; collect?: boolean; tagUsed?: number; tagScore?: number; tagEffect?: number; effectiveScore?: number; coverScore?: number; hotUsedScore?: number; searchScore?: number; accuracyScore?: number; isMemberRecommended?: boolean; isCatalogRecommended?: boolean; tagOptionNames?: string; tagNameHighlight?: string; tagDescHighlight?: string; tagOptionNamesHighlight?: string; tagType?: string; dpId?: number; tagIds?: any[]; tagGroupBgIds?: any[]; }[]; }; }; }; /** * 接口名:首页/人群拓展页-最大可拓展人数 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=54322 */ api_analysis_lookalike_max_coverage_post: { Req: { /** * 标签组合,同原有达摩盘的coverage接口 */ selectTagOptionSet?: any[]; }; Res: { info?: { ok?: boolean; message?: null; }; data?: { coverage?: number; }; trace?: null; }; }; /** * 接口名:菜单 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=54572 */ api_userconfig_menu_get: { Req: {}; Res: { info?: { ok?: boolean; message?: null; }; trace?: null; data?: {}; }; }; /** * 接口名:获取前端版本号 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=54597 */ cdn_version_get: { Req: { /** * dmp/de/dmp_new */ systemName?: string; }; Res: { info?: { ok?: boolean; message?: null; }; data?: { cdnVersion?: string; }; trace?: null; }; }; /** * 接口名:人群列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=55556 */ api_crowd__get: { Req: { pageSize?: string; groupId?: string; status?: string; /** * 列表类型:1=我创建的人群列表,2=合作方人群列表,3=数据银行,4=策略中心自建,5=达摩盘 */ listType?: number; /** * 人群类型筛选 */ businessType?: number; currentPage?: string; /** * 类目id。大促策略人群人群列表专用参数 */ tagGroupId?: string; /** * 1=人群列表中带有人群能够同步的渠道。只有大促策略人群使用,影响性能 */ needAllowedDeliverApps?: number; /** * 排序指标 */ sortKey?: string; /** * 1-升序,2-降序 */ sortType?: number; /** * 人群检索条件,kv结构。 * 比如expired=过期,expiring=即将过期。这里的key请参见/api/crowd/search/indicator中indicators键返回的键值对 */ strExtraCrowdQueryConditions?: string; /** * 渠道。比如1=钻展全店 */ deliverAppId?: number; /** * 逗号分隔的提供方名称 */ providerNames?: string; }; Res: { info?: { ok?: boolean; }; data?: { pager?: { nextPage?: number; pageSize?: number; total?: number; currentPage?: number; beginPage?: number; previouPage?: number; pageTotal?: number; endPage?: number; position?: number; }; crowdDeliverNum?: { delivering?: number; deliverApp?: number; undeliverApp?: number; }; list?: { selectTagOptionSet?: { operator?: number; selectTagOptionSet?: { operator?: number; selects?: any[]; selectTagOptionSet?: { [k: string]: any; }; }[]; selects?: any[]; }; crowdId?: number; crowdName?: string; coverage?: number; memberId?: number; userExpression?: string; validDate?: string; garudaExpression?: string; baseCrowdExpression?: string; warning?: number; isLookalike?: number; status?: number; createtime?: string; apps?: { appId?: number; dspId?: number; appName?: string; status?: number; iconMark?: string; }[]; options?: { tagId?: number; tagName?: string; optionGroupId?: number; value?: string; type?: string; source?: string; operatorType?: number; optionNameMap?: { '1'?: string; }; }[]; extra?: { isEnableAnalysis?: string; isEnableDelete?: string; isEnableEdit?: string; isEnableDuplicate?: string; /** * 是否允许追踪 */ isEnableTrack?: string; /** * 是否已经授权给小二版 */ SYNC_X2?: string; APPLICATION_SCENE?: number; updateLook?: string; LIVE_CROWD_EXTRA?: string; /** * 人群诊断新增 * 人群打标-是否可优化 */ isOptimizable?: string; /** * 人群诊断新增 * 是否查看了人群诊断优化建议 */ isClickOptimization?: string; expired?: string; expiring?: string; invalidTags?: string; locked?: string; canOptimization?: string; isEnableShare?: string; isEnableReport?: string; /** * 是否开启智能可迭代 */ crowd_iter_ai?: string; /** * 是否加入deeplink细分市场分析 */ deeplink_market?: string; isEnableCombine?: string; isEnableCombineFailMsg?: string; }; applyDeliverAfterCreate?: boolean; appId?: number; businessType?: number; source?: string; groupId?: number; storageType?: number; isLookalikePctrEffect?: boolean; /** * 0=没有替换方案,1=有替换方案 */ replaceFlag?: number; /** * 允许同步的渠道id列表。大促策略人群才会返回,影响性能 */ validDeliverApps?: { /** * 渠道id */ id?: number; /** * 渠道名称 */ appName?: string; /** * 图标 */ iconMark?: string; }[]; crowdNew?: string; /** * 近7天人群消耗 */ charge?: number; }[]; }; }; }; /** * 接口名:品牌人群是否允许被编辑 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=84703 */ api_crowd_$id_edit_check_get: { Req: {}; Res: { info?: { code?: number; message?: string; /** * ok=false 表示不允许被编辑 */ ok?: boolean; }; }; }; /** * 接口名:洞察模块里的人群列表接口 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=60147 */ api_crowd_insight_get: { Req: { pageSize?: string; groupId?: string; status?: string; }; Res: { info?: { code?: number; ok?: boolean; }; data?: { pager?: { currentPage?: number; pageNum?: number; pageSize?: number; position?: number; total?: number; }; list?: { appId?: number; applyDeliverAfterCreate?: boolean; apps?: { appId?: number; appName?: string; enableTime?: number; iconMark?: string; id?: number; status?: number; }[]; baseCrowdExpression?: string; businessType?: number; coverage?: number; createtime?: string; crowdId?: number; crowdName?: string; enableTime?: string; extra?: { isEnableEdit?: string; DMP_PLUS?: string; }; fullStatus?: number; garudaExpression?: string; groupId?: number; isLookalike?: number; lookalikeAlgoType?: number; memberId?: number; selectTagOptionSet?: { empty?: boolean; leaf?: boolean; operator?: number; selectTagOptionSet?: { empty?: boolean; leaf?: boolean; operator?: number; selectTagOptionSet?: { empty?: boolean; leaf?: boolean; operator?: number; selectTagOptionSet?: { empty?: boolean; leaf?: boolean; operator?: number; selectTagOptionSet?: any[]; selects?: { key?: string; names?: string; optionGroupId?: number; tagId?: number; tagName?: string; values?: string; }[]; }[]; selects?: any[]; }[]; selects?: any[]; }[]; selects?: any[]; }; status?: number; storageType?: number; validDate?: string; }[]; }; }; }; /** * 接口名:洞察--人群价值分析--获取分析模型 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=55638 */ api_analysis_crowdvalue_model_get: { Req: {}; Res: { data?: { code?: number; message?: string; optionGroupId?: number; tagId?: number; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:人群价值分析 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=55640 */ api_analysis_crowdvalue_post: { Req: { /** * 由客户选择的分析模型提供,=code */ analysisModelType?: number; /** * 人群表达式 */ selectTagOptionSet?: { /** * 人群id */ crowdId?: number; }; }; Res: { /** * 返回数据跟普通透视返回数据一致 */ data?: | string | number | boolean | { [k: string]: any; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:人群创建页面查看基础画像透视 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=59147 */ api_analysis_crowd_insight_$id_post: { Req: { /** * 人群标签组合 */ selectTagOptionSet?: {}; /** * * 136394=成交价值,136395=新潜老,136396=粉丝 * */ tagId?: number; }; Res: { info?: { ok?: boolean; code?: number; message?: null; }; data?: { data?: { '0'?: number; '1'?: number; '2'?: number; '3'?: number; '4'?: number; '5'?: number; '6'?: number; }; crossData?: null; baseCount?: number; chartDataFull?: { tagId?: string; optionValue?: string; tagOptionGroupId?: string; tagType?: string; optionId?: string; isHaveSubOption?: string; optionName?: string; tagName?: string; optionNum?: string; }[]; optionPath?: null; tagName?: null; cross?: null; }; trace?: null; }; }; /** * 接口名:显著特征列表副本 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=84164 */ api_analysis_tag_list_post: { Req: { /** * 1=基础画像,2=行业画像 */ categoryType?: number; /** * 人群表达式 */ selectTagOptionSet?: {}; /** * 1=全网TGI,2=类目TGI */ tgiType?: number; /** * 针对虚拟人群,crowdId为特殊值,0=超级用户,1=新客(低潜力购买用户),2=潜客(高潜力购买用户),3=老客(购买用户) */ crowdId?: number; }; Res: { info?: { ok?: boolean; code?: number; message?: null; }; data?: { id?: number; tagName?: string; tagDesc?: string; tagType?: string; chartType?: string; tableId?: number; tableName?: null; garudaField?: string; tagShare?: number; tagStatus?: number; memberId?: number; tbUserId?: null; tagOptionGroups?: any[]; validDate?: number; price?: number; tagAdditionsDTOs?: any[]; tagGroups?: null; jsonProperty?: null; }[]; trace?: null; }; }; /** * 接口名:显著特征tgi计算 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=56305 */ api_analysis_super_tag_$id_post: { Req: { /** * 人群表达式 */ selectTagOptionSet?: {}; /** * 1=全网,2=行业 */ tgiType?: number; /** * 1=基础画像,2=行业画像 */ categoryType?: number; /** * 人群id,普通人群填写普通人群id,超级用户=0,新客=1,潜客=2,老客=3,这里特殊人群id定义与显著特征列表保持一致 */ crowdId?: number; /** * 排除人群,用户另外选的标签组合成的SelectTagOptionSet */ 单独标签组合成SelectTagOptionSet?: {}; }; Res: { info?: { ok?: boolean; code?: number; message?: null; }; data?: { data?: { '4055'?: number; unknown?: number; }; crossData?: null; baseCount?: number; chartDataFull?: { tagId?: number; optionValue?: number; tgi?: number; tagOptionGroupId?: string; tagType?: string; optionId?: string; isHaveSubOption?: string; optionName?: string; tagName?: string; optionNum?: number; /** * 是否是显著特征true,false */ markedFeature?: boolean; }[]; optionPath?: null; tagName?: null; cross?: null; }; trace?: null; }; }; /** * 接口名:获取覆盖人数 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=56062 */ api_analysis_coverage_post: { Req: { /** * 关键词圈人计算固定人数专用字段,客户用于选择缩小比例 */ shrinkSize?: number; }; Res: { info?: { ok?: boolean; message?: string; }; data?: { coverage?: number; lookalikeSuggestion?: boolean; hintDataSecurity?: boolean; odpsSql?: string; adsSql?: string; hintDataSecurityInfo?: string; reduceSuggestion?: boolean; }; trace?: null; }; }; /** * 接口名:获取覆盖人数-自定义标签工厂 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=65903 */ api_analysis_insight_coverage_post: { Req: { /** * 关键词圈人计算固定人数专用字段,客户用于选择缩小比例 */ shrinkSize?: number; }; Res: { info?: { ok?: boolean; }; data?: { coverage?: number; }; trace?: null; }; }; /** * 接口名:人群分组信息 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=56082 */ api_crowd_group_get: { Req: {}; Res: { info?: { ok?: boolean; message?: null; }; data?: { groups?: { id?: number; memberId?: number; groupName?: string; num?: number; creator?: number; modifier?: number; createtime?: number; updatetime?: number; }[]; }; trace?: null; }; }; /** * 接口名:修改人群 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=56084 */ api_crowd_$id_put: { Req: { crowdNew?: number; crowdName?: string; groupId?: string; validDate?: string; extra?: { solidate?: string; APPLICATION_SCENE?: string; DMP_PLUS?: number; combineRecommendIds?: string; relateRecommendIds?: string; lbsStorageData?: string; }; selectTagOptionSet?: { operator?: number; selectTagOptionSet?: { operator?: number; selects?: any[]; selectTagOptionSet?: { operator?: number; selects?: any[]; selectTagOptionSet?: { selects?: { tagName?: string; tagId?: number; optionGroupId?: number; values?: string; names?: string; }[]; /** * 标签自动补全的请求ID */ requestID?: string; }[]; }[]; }[]; selects?: any[]; _isTagRecommend?: boolean; }; lookalikeAlgoType?: number; businessType?: number; isIter?: string; iterTarget?: string; lookalikeTargetCoverage?: string; crowdId?: number; /** * 自定义圈人页面停留时长(单位毫秒):标签自动补全项目使用,暂时由前端特殊处理传入,后续升级为解析埋点统计 */ pageDuration?: number; }; Res: { info?: { ok?: boolean; message?: null; }; data?: { crowdId?: number; }; trace?: null; }; }; /** * 接口名:创建人群 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=56085 */ api_crowd__post: { Req: { /** * 显示指定迭代目标。1=pv, 2=ctr, 3=cvr, 4=roi。配合isIter字段一起使用,isIter=1这个字段才生效 */ iterTarget?: number; crowdNew?: number; crowdName?: string; groupId?: string; validDate?: string; extra?: { solidate?: string; APPLICATION_SCENE?: string; DMP_PLUS?: number; combineRecommendIds?: string; relateRecommendIds?: string; lbsStorageData?: string; }; selectTagOptionSet?: { operator?: number; selectTagOptionSet?: { operator?: number; selects?: any[]; selectTagOptionSet?: { operator?: number; selects?: any[]; selectTagOptionSet?: { /** * 标签及选项 */ selects?: { tagName?: string; tagId?: string; optionGroupId?: number; values?: string; names?: string; }[]; /** * 标签自动补全的请求ID */ requestID?: string; /** * 1=来源于圈人页面左侧菜单处 */ tagFrom?: number; }[]; }[]; }[]; selects?: any[]; _isTagRecommend?: boolean; }; lookalikeAlgoType?: number; businessType?: number; isIter?: string; deliverAppIdLst?: any[]; lookalikeTargetCoverage?: string; /** * 自定义圈人页面停留时长(单位毫秒):标签自动补全项目使用,暂时由前端特殊处理传入,后续升级为解析埋点统计 */ pageDuration?: number; }; Res: { info?: { ok?: boolean; message?: null; }; data?: { crowdId?: number; }; trace?: null; }; }; /** * 接口名:混淆字体接口 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=56402 */ api_font_get: { Req: {}; Res: { info?: { ok?: boolean; message?: null; }; data?: { font?: string; }; trace?: null; }; }; /** * 接口名:/api/stationletter/top * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=56404 */ api_stationletter_top_get: { Req: {}; Res: { data?: { message?: { /** * 重要消息提示 */ content?: string; }; }; info?: { ok?: boolean; }; }; }; /** * 接口名:人群流转 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=58126 */ api_rpt_crowdflow_get: { Req: { /** * 起始日期 */ startDate?: string; /** * 结束日期 */ endDate?: string; /** * 渠道id */ channelId?: string; /** * 人群id */ crowdId?: string; /** * 模型,1:粉丝关系,2:店铺关系,3:成交价值 */ model?: number; }; Res: { trace?: string; info?: { errorCode?: string; message?: string; ok?: boolean; }; data?: { endStages?: { code?: number; uv?: number; name?: string; }[]; crowdFlowMap?: { '0'?: { '1'?: { uv?: number; rate?: number; }; '3'?: { uv?: number; rate?: number; }; }; '1'?: { '2'?: { rate?: number; uv?: number; }; '3'?: { rate?: number; uv?: number; }; '4'?: { rate?: number; uv?: number; }; }; '2'?: { '1'?: { rate?: number; uv?: number; }; '3'?: { uv?: number; rate?: number; }; '4'?: { uv?: number; rate?: number; }; }; '3'?: { '1'?: { uv?: number; rate?: number; }; '3'?: { rate?: number; uv?: number; }; }; '4'?: { '1'?: { rate?: number; uv?: number; }; '2'?: { uv?: number; rate?: number; }; '3'?: { uv?: number; rate?: number; }; }; }; startStages?: { code?: number; uv?: number; name?: string; }[]; introRate?: number; upgradeRate?: number; }; }; }; /** * 接口名:云图-获取二级类目列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=59129 */ api_rpt_yuntu_rptCloudSecondCateList_get: { Req: {}; Res: { data?: { result?: { brandId?: number; brandName?: string; firstCateId?: number; firstCateName?: string; secondCateId?: number; secondCateName?: string; shopId?: number; }[]; }; info?: { disableTime?: boolean; lockSla?: boolean; ok?: boolean; }; }; }; /** * 接口名:云图-云图分析(通用) * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=59132 */ api_rpt_yuntu_rptSearchWordCloudChart_get: { Req: { logDate?: string; firstCateId?: string; secondCateId?: string; /** * 分析类型:21-场景品牌和店铺, 22-场景二级类目, 23-场景一级类目, 31-产品品牌和店铺, 32-产品二级类目, 33-产品一级类目,41-用户品牌和店铺, 42-用户二级类目, 43-用户一级类目 */ analysisType?: string; }; Res: { data?: { result?: { analysisType?: number; brandId?: number; cateTgi?: number; chainCrowdPv?: number; crowdPv?: number; firstCateId?: number; groupId?: number; groupName?: string; pvRank?: number; searchWord?: string; secondCateId?: number; tapePv?: number; tapeTgi?: number; tgiRank?: number; thedate?: string; yoyCrowdPv?: number; }[]; }; info?: { disableTime?: boolean; lockSla?: boolean; ok?: boolean; }; }; }; /** * 接口名:人群同步任务数据准备阶段 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=59366 */ api_analysis_crowd_dump_task_post: { Req: { /** * 普通人群id,超级用户=0,新客=1,潜客=2,老客=2,与显著特征列表中的人群id定义一致 */ crowdId?: number; /** * 非必传, 2人群交并差物化 */ bizId?: string; }; Res: { data?: number; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:下载画像 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=59578 */ api_analysis_crowd_compare_export_post: { Req: { /** * 生成的透视结构组成的字符串 */ charts?: string; /** * tgi类型,1=全网,2=相似行业 */ tgiType?: number; /** * 是否對比模式 */ isSingle?: boolean; }; Res: {}; }; /** * 接口名:云图-场景预测分析 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=61134 */ api_rpt_yuntu_rptCloudSceneWordChart_get: { Req: {}; Res: { data?: { result?: { [k: string]: any; }[]; }; info?: { disableTime?: boolean; lockSla?: boolean; ok?: boolean; }; }; }; /** * 接口名:词圈人-词搜索 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=61942 */ api_crowd_word_search_post: { Req: { KeyWordCrowdQuery?: { inputKeyWord?: string; }; }; Res: { data?: { optionValue?: number; optionName?: string; }[]; info?: { ok?: boolean; }; }; }; /** * 接口名:词圈人-词推荐 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=61943 */ api_crowd_word_recommend_post: { Req: { KeyWordCrowdQuery?: { /** * 客户选择的关键词id */ selectedKeyWordIds?: any[]; }; }; Res: { data?: { optionValue?: number; optionName?: string; tagId?: number; optionGroupId?: number; }[]; info?: { ok?: boolean; }; }; }; /** * 接口名:超级新用户-获取标签列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=62071 */ api_tag_tab_get: { Req: { /** * 1:品类拉新,2:IP拉新,3:粉丝拉新,4:关系拉新,5:限制特征 */ tabId?: number; }; Res: { data?: { list?: { accuracyScore?: number; collect?: boolean; coverScore?: number; coverage?: number; dpId?: number; dpName?: string; effectiveScore?: number; hotUsedScore?: number; id?: number; isCatalogRecommended?: boolean; isMemberRecommended?: boolean; price?: number; qualityScore?: number; searchScore?: number; tagDesc?: string; tagDescHighlight?: string; tagEffect?: number; tagGroupBgIds?: any[]; tagIds?: any[]; tagName?: string; tagNameHighlight?: string; tagOptionNames?: string; tagScore?: number; tagType?: string; tagUsed?: number; validDate?: string; }[]; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:超级新用户-创建人群 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=62150 */ api_crowd_post: { Req: { /** * 拓展信息 */ extra?: { /** * 限制条件,SelectTagOptionSet结构 */ limitCondition?: string; /** * 限制类型,0表示无特征限制,1表示特征过滤,2表示特征加权 */ limitType?: number; /** * 扩展人群量级 */ extendCoverage?: number; }; /** * 传42 */ businessType?: number; /** * 存储类型,传3 */ storageType?: number; }; Res: {}; }; /** * 接口名:人群工厂-标签表达式转换 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=65065 */ api_tag_expression_translate_post: { Req: { /** * json格式,见文档 https://yuque.antfin-inc.com/docs/share/d498f64e-9468-4c2a-8cc0-9413de408276#g0nixi */ tagExpression?: string; }; Res: { data?: { selectTagOptionSet?: { empty?: boolean; leaf?: boolean; operator?: number; selectTagOptionSet?: { empty?: boolean; leaf?: boolean; operator?: number; selectTagOptionSet?: { empty?: boolean; leaf?: boolean; operator?: number; selectTagOptionSet?: { empty?: boolean; leaf?: boolean; operator?: number; selectTagOptionSet?: any[]; selects?: { key?: string; optionGroupId?: number; tagId?: number; tagName?: string; values?: string; }[]; }[]; selects?: any[]; }[]; selects?: any[]; }[]; selects?: any[]; }[]; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:dmp活动与新功能浮层-alp数据 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=65705 */ dmp_new_guide_get: { Req: {}; Res: { info?: { ok?: boolean; }; data?: { list?: { title?: string; desc?: string; imgUrl?: string; }[]; }; }; }; /** * 接口名:新手引导alp配置 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=79950 */ dmp_newbie_guide_get: { Req: {}; Res: { info?: { ok?: boolean; }; data?: { list?: { title?: string; subTitle?: string; desc?: string; flowImgUrl?: string; imgUrl?: string; btnText?: string; btnUrl?: string; isShow?: boolean; }[]; }; }; }; /** * 接口名:用户信息2 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=70543 */ api_setup_userinfo_get: { Req: {}; Res: { data?: { csrfId?: string; nickname?: string; }; info?: { ok?: boolean; }; }; }; /** * 接口名:获取所有店铺信息 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=73671 */ api_user_find_get: { Req: {}; Res: { data?: { users?: { accountLevel?: number; accountType?: number; appId?: number; completeNickname?: string; contemail?: string; createtime?: string; memberId?: number; mobile?: string; nickname?: string; shopId?: number; status?: number; tbUserId?: number; userType?: number; }[]; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:获取实时标签 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=74697 */ api_tag_realtime_get: { Req: {}; Res: { info?: { ok?: boolean; }; data?: { pager?: { currentPage?: number; nextPage?: number; total?: number; pageSize?: number; pageTotal?: number; endPage?: number; beginPage?: number; previouPage?: number; position?: number; }; groups?: { value?: number; count?: number; }[]; list?: { id?: number; tagName?: string; tagDesc?: string; dpName?: string; coverage?: number; price?: number; qualityScore?: number; validDate?: string; collect?: boolean; tagUsed?: number; tagScore?: number; tagEffect?: number; effectiveScore?: number; coverScore?: number; hotUsedScore?: number; searchScore?: number; accuracyScore?: number; isMemberRecommended?: boolean; isCatalogRecommended?: boolean; tagOptionNames?: string; tagNameHighlight?: string; tagDescHighlight?: string; tagOptionNamesHighlight?: string; tagType?: string; dpId?: number; tagIds?: any[]; tagGroupBgIds?: any[]; }[]; }; }; }; /** * 接口名:新手引导关闭状态保存 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=79954 */ api_user_newbie_guide_2_0_2_post: { Req: {}; Res: { data?: {}; info?: { ok?: boolean; }; }; }; /** * 接口名:报表首页能获取数据的最大日期 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=149574 */ api_homepage_max_date_get: { Req: {}; Res: { data?: { maxDate?: string; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:创建标签选项夹 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=154847 */ api_tag_option_pack_post: { Req: { /** * 选项夹名称 */ folderName?: string; tagId?: string; optionGroupId?: string; optionList?: { /** * 选项名称 */ optionName?: string; /** * 选项值 */ optionValue?: string; /** * 选项拓展属性 */ properties?: {}; }[]; }; Res: { info?: { ok?: boolean; }; }; }; /** * 接口名:获取创建的标签选项夹 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=154863 */ api_tag_option_pack_get: { Req: { tagId?: number; optionGroupId?: number; }; Res: { info?: { ok?: boolean; }; data?: { list?: { /** * 选项夹唯一id */ id?: number; /** * 选项夹名称 */ folderName?: string; optionList?: { optionName?: string; optionValue?: string; properties?: { 关键词?: string; 人群规模?: string; 热度?: string; }; }[]; }[]; }; }; }; /** * 接口名:删除标签选项夹 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=154873 */ api_tag_option_pack_$id_delete: { Req: {}; Res: { info?: { ok?: boolean; }; }; }; /** * 接口名:标签数据权限校验副本 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=174626 */ api_tag_check_get: { Req: { /** * 数据类型:SHOP=店铺,BRAND=品牌 */ dataType?: string; /** * ID列表,多个用英文逗号分隔 */ dataIds?: string; }; Res: { data?: { /** * 是否授权:true=已授权,false=未授权 */ granted?: boolean; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:创建达摩盘用户 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=180611 */ api_user_create_post: { Req: {}; Res: { data?: { /** * 1-初次开通 */ status?: number; }; info?: { ok?: boolean; }; }; }; /** * 接口名:写人群extra信息 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=190000 */ api_crowdExtra_post: { Req: { crowdId?: number; /** * 人群extra key * isClickOptimization:点击人群诊断优化 */ dataKey?: string; /** * 人群extra value */ dataValue?: string; }; Res: { info?: { ok?: boolean; }; }; }; /** * 接口名:达摩云修改人群有效期 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5288&itf=212262 */ api_crowd_$id_expireDate__put: { Req: { /** * 有效期 */ expireTime?: string; }; Res: { data?: { crowdId?: number; }; info?: { code?: number; ok?: boolean; requestID?: string; }; }; }; /** * 接口名:/api/stationletter/show * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=56405 */ api_stationletter_show_get: { Req: {}; Res: { data?: {}; info?: { ok?: boolean; }; }; }; /** * 接口名:/api/user/agreement * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=66172 */ api_user_agreement_post: { Req: {}; Res: { data?: {}; info?: { ok?: boolean; }; }; }; /** * 接口名:api/sms/count * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=56406 */ api_sms_count_get: { Req: {}; Res: { info?: { ok?: boolean; message?: null; }; data?: { count?: number; }; trace?: null; }; }; /** * 接口名:api/sms * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=66276 */ api_sms_get: { Req: {}; Res: { data?: { total?: number; list?: { createTime?: number; id?: number; isTop?: number; readStatus?: number; sendType?: number; subject?: string; updateTime?: number; }[]; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:api/sms/ * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=66412 */ api_sms_$id_get: { Req: {}; Res: { data?: { message?: { content?: string; createTime?: number; id?: number; isTop?: number; readStatus?: number; sendType?: number; subject?: string; updateTime?: number; }; }; info?: { code?: number; ok?: boolean; requestID?: string; }; }; }; /** * 接口名:/api/crowd/:id * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=56407 */ api_crowd_$id_get: { Req: {}; Res: { data?: { crowd?: { selectTagOptionSet?: { [k: string]: any; }[]; crowdId?: number; crowdName?: string; coverage?: number; memberId?: number; userExpression?: string; validDate?: string; garudaExpression?: string; baseCrowdExpression?: string; warning?: number; isLookalike?: number; status?: number; createtime?: string; apps?: { id?: number; appId?: number; dspId?: number; appName?: string; status?: number; enableTime?: number; iconMark?: string; }[]; options?: { tagId?: number; tagName?: string; optionGroupId?: number; value?: string; type?: string; source?: string; operatorType?: number; optionNameMap?: { '50002766'?: string; '50008141'?: string; '50016422'?: string; '50026316'?: string; }; }[]; extra?: { isEnableAnalysis?: string; isEnableDelete?: string; isEnableEdit?: string; isEnableDuplicate?: string; times?: number; selectedKeyWords?: string; userExpression?: string; 'lbsStorageData.bak'?: string; lbsStorageData?: string; preference_brand_id?: string; preference_brand_name?: string; lookalikeSuggestion?: boolean; 'tagCombination.bak'?: string; tagList?: string; crowdList?: string; lookalikeTargetCount?: string; extension_type?: string; extension_item_id?: string; extension_item_name?: string; extension_category_id?: string; }; applyDeliverAfterCreate?: boolean; appId?: number; businessType?: number; groupId?: number; storageType?: number; lookalikeAlgoType?: number; lookalikeMultiple?: number; targetFeatures?: { [k: string]: any; }[]; lookalikeTargetCount?: number; lookalikeTargetCoverage?: number; isIter?: string; }; }; info?: { ok?: boolean; }; }; }; /** * 接口名:/api/tag/search * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=56411 */ api_tag_search_get: { Req: { /** * 排序指标,1-相关度、2-使用率 */ sortIndicator?: number; /** * 1-升序、2-降序 */ sortType?: number; }; Res: { data?: { pager?: { currentPage?: number; pageNum?: number; pageSize?: number; position?: number; total?: number; }; groups?: { count?: number; value?: number; }[]; list?: { accuracyScore?: number; collect?: boolean; coverScore?: number; coverage?: number; dpId?: number; dpName?: string; effectiveScore?: number; hotUsedScore?: number; id?: number; isCatalogRecommended?: boolean; isMemberRecommended?: boolean; price?: number; qualityScore?: number; searchScore?: number; tagCreateTime?: string; tagDesc?: string; tagDescHighlight?: string; tagEffect?: number; tagGroupBgIds?: any[]; tagIds?: any[]; tagName?: string; tagNameHighlight?: string; tagScore?: number; tagType?: string; tagUsed?: number; validDate?: string; tagSearcherOptionList?: { /** * 跟关键词匹配到的选项名(逗号分隔) */ tagOptionNames?: string; /** * 对应标签选项值(逗号分隔,跟名称对齐) */ tagOptionValues?: string; /** * 对应选项组ID */ optionGroupId?: number; /** * 对应选项组名称 */ optionGroupName?: string; /** * 带高亮 */ tagOptionNamesHighlight?: string; }[]; }[]; }; info?: { code?: number; ok?: boolean; requestID?: string; }; }; }; /** * 接口名:/api/adkpimanage * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=56418 */ api_adkpimanage_get: { Req: {}; Res: { info?: { ok?: boolean; message?: null; }; data?: { list?: { key?: string; name?: string; }[]; }; trace?: null; }; }; /** * 接口名:/api/tag/:id * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=56499 */ api_tag_$id_get: { Req: {}; Res: { info?: { ok?: boolean; message?: null; }; trace?: null; data?: { /** * { * "accuracyScore": 0.0, * "chartType": "BAR", * "collect": false, * "coverScore": 4.2, * "effectiveScore": 0.0, * "garudaField": "degree", * "hotUsedScore": 5.0, * "id": 113736, * "isCatalogRecommended": true, * "isMemberRecommended": false, * "memberId": 107228333, * "optionGroups": [ * { * "fieldName": "degree", * "groupName": "店铺", * "id": 12161, * "tagId": 113736, * "type": "SHOP", * "routeKey": "SHOP", * "ext": { * "checkEmpower": "" * } * }, * { * "fieldName": "degree", * "groupName": "类目", * "id": 12162, * "tagId": 113736, * "type": "MULTI_LEVEL", * "ext": { * "filterOptions": true, * "selectValueMode": 2, * "maxSelectValueCount": 50 * } * }, * { * "fieldName": "degree", * "groupName": "搜索", * "id": 12163, * "tagId": 113736, * "type": "SEARCH", * "ext": { * "maxSelectValueCount": 30, * "groupDirection": 1, * "checkEmpower": "" * } * }, * { * "fieldName": "degree", * "groupName": "行业特征", * "id": 12164, * "tagId": 113736, * "type": "DROPDOWN", * "ext": { * "groupDirection": 1, * "hasSearch": 1 * } * }, * { * "fieldName": "degree", * "groupName": "特征属性", * "id": 12167, * "tagId": 113736, * "type": "DROPDOWN", * "ext": { * "groupDirection": 1 * } * }, * { * "fieldName": "degree", * "groupName": "属性值", * "id": 12168, * "tagId": 113736, * "type": "DROPDOWN_MULTI", * "ext": { * "groupDirection": 1 * } * }, * { * "fieldName": "degree", * "groupName": "时间", * "id": 12165, * "tagId": 113736, * "type": "INPUT" * }, * { * "fieldName": "degree", * "groupName": "性别", * "id": 12166, * "tagId": 113736, * "type": "CHECKBOX", * "ext": { * "hideInFront": 0 * } * } * ], * "options": [ * { * "id": 1623347, * "isHaveSubOption": false, * "optionGroupField": "degree", * "optionGroupId": 12161, * "optionName": "店铺名称", * "optionValue": "2", * "parentOptionId": 0, * "sortNum": 0, * "status": 1, * "tagId": 113736 * }, * { * "id": 1623347, * "isHaveSubOption": false, * "optionGroupField": "degree", * "optionGroupId": 12164, * "optionName": "本科生", * "optionValue": "2", * "parentOptionId": 0, * "sortNum": 0, * "status": 1, * "tagId": 113736 * }, * { * "id": 1623348, * "isHaveSubOption": false, * "optionGroupField": "degree", * "optionGroupId": 12164, * "optionName": "硕士及以上", * "optionValue": "3", * "parentOptionId": 0, * "sortNum": 0, * "status": 1, * "tagId": 113736 * }, * { * "id": 1623349, * "isHaveSubOption": false, * "optionGroupField": "degree", * "optionGroupId": 12164, * "optionName": "高中", * "optionValue": "4", * "parentOptionId": 0, * "sortNum": 0, * "status": 1, * "tagId": 113736 * }, * { * "id": 1623354, * "isHaveSubOption": false, * "optionGroupField": "degree", * "optionGroupId": 12165, * "optionName": "最近30天", * "optionValue": "30", * "parentOptionId": 0, * "sortNum": 0, * "status": 1, * "tagId": 113736 * }, * { * "id": 1623355, * "isHaveSubOption": false, * "optionGroupField": "degree", * "optionGroupId": 12165, * "optionName": "最近15天", * "optionValue": "15", * "parentOptionId": 0, * "sortNum": 0, * "status": 1, * "tagId": 113736 * }, * { * "id": 1623356, * "isHaveSubOption": false, * "optionGroupField": "degree", * "optionGroupId": 12166, * "optionName": "男", * "optionValue": "1", * "parentOptionId": 0, * "sortNum": 0, * "status": 1, * "tagId": 113736 * }, * { * "id": 1623357, * "isHaveSubOption": false, * "optionGroupField": "degree", * "optionGroupId": 12166, * "optionName": "女", * "optionValue": "2", * "parentOptionId": 0, * "sortNum": 0, * "status": 1, * "tagId": 113736 * } * ], * "price": 0.00, * "searchScore": 0.0, * "tableId": 6163, * "tableName": "taobao_dmp_dmp_algo_tag_combine_degree", * "tagAdditions": [ * { * createtime: 1558024329000, * dataKey: "dependencies", * dataValue: "{\"QUERY\":[{\"parentOptionGroupId\":12164,\"optionGroupId\":12167},{\"parentOptionGroupId\":12167,\"optionGroupId\":12168}]}", * id: 2364093, * tagId: 141309, * }, * { * "createtime": 1441095730000, * "dataKey": "dataType", * "dataValue": "2", * "id": 819414, * "tagId": 113736 * }, * { * "createtime": 1441095730000, * "dataKey": "DMP_TAG_MATH", * "dataValue": "从两个角度对用户学历进行预测:根据用户的物流地址中解析到具体的大学,再结合年龄及使用时长等信息预测用户学历(多方综合统计数据,长期);根据用户在社交媒体(新浪微博)中的行为、社交关系,及填写的学历等综合因素得出(收集数据)", * "id": 819415, * "tagId": 113736 * }, * { * "createtime": 1441095730000, * "dataKey": "tagAttribute", * "dataValue": "0,1", * "id": 819416, * "tagId": 113736 * }, * { * "createtime": 1441095730000, * "dataKey": "dataSource", * "dataValue": "0,1", * "id": 819417, * "tagId": 113736 * }, * { * "createtime": 1441095730000, * "dataKey": "isCustomized", * "dataValue": "0", * "id": 819418, * "tagId": 113736 * }, * { * "createtime": 1441095730000, * "dataKey": "updateCycle", * "dataValue": "0", * "id": 819419, * "tagId": 113736 * }, * { * "createtime": 1478188800000, * "dataKey": "tag_score", * "dataValue": "1.8644874233548971", * "id": 2333951, * "tagId": 113736 * }, * { * "createtime": 1478188800000, * "dataKey": "tag_effect", * "dataValue": "25.0", * "id": 2335154, * "tagId": 113736 * }, * { * "createtime": 1478188800000, * "dataKey": "tag_used", * "dataValue": "981.0", * "id": 2336357, * "tagId": 113736 * }, * { * "createtime": 1545719659000, * "dataKey": "AID_NUM", * "dataValue": "86612321", * "id": 2361438, * "tagId": 113736 * } * ], * "tagDesc": "根据用户的收货地址及社交信息综合得出", * "tagIds": [], * "tagName": "教育程度", * "tagShare": 1, * "tagStatus": 1, * "tagType": "CHECKBOX", * "validDate": "2021-3-21" * } */ tag?: {}; }; }; }; /** * 接口名:/api/deliverapp/deliverapplist * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=56504 */ api_deliverapp_deliverapplist_get: { Req: {}; Res: { info?: { ok?: boolean; message?: null; }; data?: { list?: { id?: number; dspId?: number; appName?: string; iconMark?: string; minCoverage?: number; maxCoverage?: number; status?: string; dspUrl?: string; traceId?: string; level?: number; dataBuildMode?: number; productId?: number; isUniqueCrowd?: number; type?: number; }[]; }; trace?: null; }; }; /** * 接口名:/api/deliverapp/deliverapplist isv版本 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=94132 */ api_isv_deliverapp_deliverapplist_get: { Req: {}; Res: { info?: { ok?: boolean; message?: null; }; data?: { list?: { id?: number; dspId?: number; appName?: string; iconMark?: string; minCoverage?: number; maxCoverage?: number; status?: string; dspUrl?: string; traceId?: string; level?: number; dataBuildMode?: number; productId?: number; isUniqueCrowd?: number; type?: number; }[]; }; trace?: null; }; }; /** * 接口名:/api/code * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=58130 */ api_code_get: { Req: {}; Res: { info?: { ok?: boolean; message?: null; }; data?: { code?: { codeKey?: string; codeValue?: string; description?: string; }[]; }; trace?: null; }; }; /** * 接口名:/api/tag/:id/attitude * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=58247 */ api_tag_$id_attitude_get: { Req: {}; Res: { data?: {}; info?: { ok?: boolean; }; }; }; /** * 接口名:/api/tag/:id/tag_relevancy * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=58248 */ api_tag_$id_tag_relevancy_get: { Req: {}; Res: { data?: {}; info?: { ok?: boolean; }; }; }; /** * 接口名:/api/tag/:id/up_count * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=58250 */ api_tag_$id_up_count_get: { Req: {}; Res: { data?: {}; info?: { ok?: boolean; }; }; }; /** * 接口名:/api/analysis/coverage/rate * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=59138 */ api_analysis_coverage_rate_get: { Req: {}; Res: { data?: {}; info?: { ok?: boolean; }; }; }; /** * 接口名:/api/crowd/maincontext * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=59483 */ api_crowd_maincontext_get: { Req: {}; Res: { info?: { ok?: boolean; message?: null; }; data?: { list?: { mainContextId?: number; mainContextName?: string; }[]; }; trace?: null; }; }; /** * 接口名:/api/crowd/:id/childcontext * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=59486 */ api_crowd_$id_childcontext_get: { Req: {}; Res: { info?: { ok?: boolean; code?: number; message?: null; }; data?: { list?: { title?: string; options?: { tagId?: number; tagName?: string; value?: string; dpName?: string; type?: string; optionGroupId?: number; }[]; moduleId?: number; }[]; }; trace?: null; }; }; /** * 接口名:/api/crowd/:id * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=63957 */ api_crowd_$id_delete: { Req: {}; Res: { data?: {}; info?: { ok?: boolean; }; }; }; /** * 接口名:/api/crowd/appUser/ * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=64117 */ api_crowd_appUser__get: { Req: {}; Res: { data?: { list?: { deliverAppId?: number; memberId?: number; nickname?: string; num?: number; targetId?: number; }[]; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:/api/crowd/appUser/ isv版本 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=94131 */ api_isv_crowd_appUser__get: { Req: {}; Res: { data?: { list?: { deliverAppId?: number; memberId?: number; nickname?: string; num?: number; targetId?: number; }[]; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:人群同步渠道 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=64129 */ api_crowd_app__post: { Req: { crowdId?: number; appId?: number; /** * 优酷ADM写死117810562,东风写死120994541 */ targetIds?: string; /** * 扩展字段,东风渠道时:{"brandId":12345,"agentId":12345,"source":"ADBRAIN", "dfCrowdSource":14}。商家版东风渠道新增了一个dfCrowdSource字段,值14 */ ext?: string; }; Res: { data?: {}; info?: { ok?: boolean; }; }; }; /** * 接口名:/api/crowd/group * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=64153 */ api_crowd_group_post: { Req: {}; Res: { info?: { ok?: boolean; }; }; }; /** * 接口名:/api/crowd/group/ * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=64155 */ api_crowd_group_$id_delete: { Req: {}; Res: { info?: { ok?: boolean; }; data?: null; }; }; /** * 接口名:/api/crowd/group/ * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=64156 */ api_crowd_group_$id_put: { Req: {}; Res: { info?: { ok?: boolean; }; }; }; /** * 接口名:/api/crowd/crowds/ * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=64183 */ api_crowd_crowds__delete: { Req: {}; Res: {}; }; /** * 接口名:/api/crowd/group * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=64197 */ api_crowd_group_put: { Req: {}; Res: { info?: { ok?: boolean; }; }; }; /** * 接口名:/api/crowd/multi_app * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=64219 */ api_crowd_multi_app_post: { Req: {}; Res: { info?: { ok?: boolean; }; data?: null; }; }; /** * 接口名:/api/tag/group * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=65924 */ api_tag_group_get: { Req: { /** * 1=老版达摩盘类目,2=新版达摩盘类目,3=新版达摩盘人群工厂类目 */ groupType?: number; /** * 是否需要带上自定义(特殊定义)的类目 * 比如“精选标签” * 1-精选标签(其他类型的往后枚举),0-否,参数不传时表示否 */ appendCustomGroup?: number; }; Res: { data?: { [k: string]: any; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:/api/tag/own * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=65968 */ api_tag_own_get: { Req: { /** * 1=老版达摩盘类目,2=新版达摩盘类目,3=新版达摩盘人群工厂类目 */ groupType?: number; }; Res: { info?: { ok?: boolean; }; data?: { pager?: { currentPage?: number; nextPage?: number; total?: number; pageSize?: number; pageTotal?: number; endPage?: number; beginPage?: number; previouPage?: number; position?: number; }; groups?: { value?: number; count?: number; }[]; list?: { id?: number; tagName?: string; tagDesc?: string; dpName?: string; coverage?: number; price?: number; qualityScore?: number; validDate?: string; collect?: boolean; tagUsed?: number; tagScore?: number; tagEffect?: number; effectiveScore?: number; coverScore?: number; hotUsedScore?: number; searchScore?: number; accuracyScore?: number; isMemberRecommended?: boolean; isCatalogRecommended?: boolean; tagOptionNames?: string; tagNameHighlight?: string; tagDescHighlight?: string; tagOptionNamesHighlight?: string; tagType?: string; dpId?: number; tagIds?: any[]; tagGroupBgIds?: any[]; tagExtraPrivateInfoDO?: { own?: boolean; errorMsg?: | string | { [k: string]: any; }; }; tagStatus?: number; tagStatusMsg?: string; }[]; }; }; }; /** * 接口名:/api/tag/forthcoming/offline * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=68035 */ api_tag_forthcoming_offline_get: { Req: {}; Res: { info?: { ok?: boolean; }; data?: { pager?: { currentPage?: number; nextPage?: number; total?: number; pageSize?: number; pageTotal?: number; endPage?: number; beginPage?: number; previouPage?: number; position?: number; }; groups?: { value?: number; count?: number; }[]; list?: { id?: number; tagName?: string; tagDesc?: string; dpName?: string; coverage?: number; price?: number; qualityScore?: number; validDate?: string; collect?: boolean; tagUsed?: number; tagScore?: number; tagEffect?: number; effectiveScore?: number; coverScore?: number; hotUsedScore?: number; searchScore?: number; accuracyScore?: number; isMemberRecommended?: boolean; isCatalogRecommended?: boolean; tagOptionNames?: string; tagNameHighlight?: string; tagDescHighlight?: string; tagOptionNamesHighlight?: string; tagType?: string; dpId?: number; tagIds?: any[]; tagGroupBgIds?: any[]; }[]; }; }; }; /** * 接口名:api/setup/save * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=70570 */ api_setup_save_post: { Req: {}; Res: { data?: {}; info?: { ok?: boolean; }; }; }; /** * 接口名:东风品牌代理商 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=77856 */ api_deliver_dongfeng_brand_get: { Req: { keyword?: string; }; Res: {}; }; /** * 接口名:/api/user/extra * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=79948 */ api_user_extra_get: { Req: {}; Res: {}; }; /** * 接口名:/api/user/tag/private * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=80420 */ api_user_tag_private_post: { Req: {}; Res: { info?: { ok?: boolean; }; data?: {}; }; }; /** * 接口名:商家主营类目信息 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=83215 */ api_user_shop_cate_get: { Req: {}; Res: { /** * 主营类目id【也就是行业id】 */ data?: number; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:ISV版协议签署副本 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=84684 */ api_user_isvagreement_post: { Req: {}; Res: { info?: { ok?: boolean; }; data?: null; }; }; /** * 接口名:ISV版协议签署新 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=123992 */ api_user_agreement_2_0_post: { Req: {}; Res: { info?: { ok?: boolean; }; data?: null; }; }; /** * 接口名:运营编辑接口 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=83644 */ dmp__get: { Req: {}; Res: {}; }; /** * 接口名:水印 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=92219 */ api_userconfig_waterprint_get: { Req: {}; Res: { info?: { ok?: boolean; }; data?: { waterPrintUrl?: string; }; }; }; /** * 接口名:/api/crowd * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=93502 */ api_crowd_get: { Req: {}; Res: { data?: { pager?: { currentPage?: number; pageNum?: number; pageSize?: number; position?: number; total?: number; }; crowdDeliverNum?: { delivering?: number; deliverApp?: number; undeliverApp?: number; }; list?: { accelerateStatus?: number; appId?: number; applyDeliverAfterCreate?: boolean; apps?: any[]; baseCrowdExpression?: string; businessType?: number; coverage?: number; createtime?: string; crowdId?: number; crowdName?: string; extra?: { algo_tag?: string; path?: string; shop_id?: string; crowd_type?: string; isEnableAnalysis?: string; item_id?: string; limit?: string; isEnableDelete?: string; isEnableEdit?: string; REALTIME_FLAG?: string; isEnableDuplicate?: string; isEnableCreateInsight?: string; }; fullStatus?: number; garudaExpression?: string; groupId?: number; isLookalike?: number; lookalikeAlgoType?: number; memberId?: number; providerName?: string; selectTagOptionSet?: { empty?: boolean; leaf?: boolean; operator?: number; selectTagOptionSet?: { empty?: boolean; leaf?: boolean; operator?: number; selectTagOptionSet?: { empty?: boolean; leaf?: boolean; operator?: number; selectTagOptionSet?: any[]; selects?: any[]; }[]; selects?: any[]; }[]; selects?: any[]; }; status?: number; storageType?: number; validDate?: string; enableTime?: | string | { [k: string]: any; }; userExpression?: string; businessTypeName?: string; userOperName?: string; }[]; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:/api/isv/crowdlist * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=93503 */ api_isv_crowdlist_get: { Req: {}; Res: { data?: { pager?: { currentPage?: number; pageNum?: number; pageSize?: number; position?: number; total?: number; }; crowdDeliverNum?: { delivering?: number; deliverApp?: number; undeliverApp?: number; }; list?: { accelerateStatus?: number; appId?: number; applyDeliverAfterCreate?: boolean; apps?: any[]; baseCrowdExpression?: string; businessType?: number; coverage?: number; createtime?: string; crowdId?: number; crowdName?: string; extra?: { algo_tag?: | string | { [k: string]: any; }; path?: | string | { [k: string]: any; }; shop_id?: | string | { [k: string]: any; }; crowd_type?: | string | { [k: string]: any; }; isEnableAnalysis?: string; item_id?: | string | { [k: string]: any; }; limit?: | string | { [k: string]: any; }; isEnableDelete?: string; isEnableEdit?: string; REALTIME_FLAG?: | string | { [k: string]: any; }; isEnableDuplicate?: string; isEnableCreateInsight?: string; }; fullStatus?: number; garudaExpression?: string; groupId?: number; isLookalike?: number; lookalikeAlgoType?: number; memberId?: number; providerName?: string; selectTagOptionSet?: { empty?: boolean; leaf?: boolean; operator?: number; selectTagOptionSet?: { empty?: boolean; leaf?: boolean; operator?: number; selectTagOptionSet?: { empty?: boolean; leaf?: boolean; operator?: number; selectTagOptionSet?: any[]; selects?: any[]; }[]; selects?: any[]; }[]; selects?: any[]; }; status?: number; storageType?: number; validDate?: string; enableTime?: | string | { [k: string]: any; }; }[]; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:/api/isv/crowd/app * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=93838 */ api_isv_crowd_app_post: { Req: {}; Res: { info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:/api/tag/:id/option * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=99995 */ api_tag_$id_option_get: { Req: {}; Res: { info?: { ok?: boolean; }; data?: { list?: { [k: string]: any; }[]; }; }; }; /** * 接口名:/api/tag/topic/get * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=135730 */ api_tag_topic_get_get: { Req: { topicId?: number; }; Res: { data?: { data?: { createtime?: string; creator?: number; description?: string; id?: number; mark?: number; period?: string; picture?: string; pictureType?: number; publishTime?: string; status?: number; subjectList?: { createtime?: string; description?: string; id?: number; picture?: string; pictureType?: number; sortOrder?: number; status?: number; tagList?: { description?: string; hasRight?: number; id?: number; mark?: number; recOptions?: any[]; tagDesc?: string; tagName?: string; tagType?: string; }[]; title?: string; topicId?: number; updatetime?: string; }[]; subtitle?: string; title?: string; updatetime?: string; }; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:获取ADC配置的crossConfigs * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=147472 */ cdn_version_adc_get: { Req: {}; Res: { data?: { crossConfigs?: { apiHost?: | string | { [k: string]: any; }; projectName?: string; source?: string; }[]; }; info?: { code?: number; ok?: boolean; requestID?: string; }; }; }; /** * 接口名:进入大促专题页登记 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=150848 */ api_user_promotionpage_post: { Req: {}; Res: { info?: { ok?: boolean; }; }; }; /** * 接口名:阅读新人礼包后登记 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=5515&itf=249863 */ api_user_newUserGift_post: { Req: {}; Res: { info?: { ok?: boolean; }; }; }; /** * 接口名:获取店铺全年收入规划 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=6690&itf=67376 */ api_revenue_plan_get: { Req: { /** * 年份 */ year?: number; }; Res: { data?: { monthId?: number; predictTarget?: number; /** * 记录id */ id?: number; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:店铺消费者资产 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=6690&itf=67391 */ api_revenue_assert_get: { Req: { /** * 年份与月份的组合,中间不需要加上-,比如2019年9月的值201909 */ monthId?: string; /** * 1=本店,2=目标店铺 */ shopType?: number; }; Res: { data?: { /** * 广告主id,也即memberId */ advertiserId?: number; /** * 店铺人数 */ aidUv?: number; /** * 店铺GMV */ alipayAmt?: number; /** * 广告触达率 */ avgPvRate?: number; /** * 1=本店,2=目标店铺 */ shopType?: number; /** * 1=低潜,2=高潜,3=购买,999=全部 */ custType?: number; /** * 店铺日转化率 */ avgDayRate?: number; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:人群包推荐(返回参数跟/api/crowd[GET]接口一样,也是返回人群信息,这里就不写出具返回参数了) * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=6690&itf=68229 */ api_revenue_crowd_get: { Req: { monthId?: string; custType?: string; }; Res: { info?: { ok?: boolean; }; data?: { list?: { crowdName?: string; /** * 123 */ crowdId?: number; apps?: { /** * 22 */ appId?: number; appName?: string; status?: number; id?: number; }[]; /** * 互动率或者转化率(互动率和转化率使用同一个字段)。低潜和高潜展示“互动率”。购买展示“转化率” */ actionRate?: number; /** * 覆盖人数 */ coverage?: number; }[]; }; }; }; /** * 接口名:渠道触点路径分析 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=6690&itf=67380 */ api_revenue_channel_get: { Req: { /** * 用户类型。0=店铺消费者,1=低潜用户,2=高潜用户,3=购买用户 */ userState?: number; /** * 开始日期,格式必须是yyyy-MM-dd,比如2018-09-10 */ beginDate?: string; /** * 结束日期,格式必须是yyyy-MM-dd,比如2018-10-01 */ endDate?: string; /** * 0=不需要行业数据,1=需要行业数据 */ needIndustry?: number; }; Res: { data?: { /** * path=触点路径名称; * reachCounts=出现次数; * interactionRate=互动率; * searchRate=回搜率; * visitRate=回访率; * collectCartRate=收藏加购率; * conversionRate=转化率; * adConsumeRate=广告消耗; * roi=roi * * * */ comment?: string; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:渠道触点路径分析-行业相似店铺列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=6690&itf=68602 */ api_revenue_similar_shop_get: { Req: {}; Res: { data?: { /** * 当前店铺memberId */ memberId?: number; /** * 行业相似店铺memberId */ similarMemberId?: number; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:获取店铺实际完成的GMV金额 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=6690&itf=68723 */ api_revenue_alipay_get: { Req: { /** * 年份 */ year?: number; }; Res: { data?: { alipayAmt?: number; monthId?: number; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:编辑店铺年度收入规划目标 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=6690&itf=68727 */ api_revenue_plan_post: { Req: { input?: { monthId?: number; predictTarget?: number; }[]; }; Res: { data?: {}; info?: { ok?: boolean; }; }; }; /** * 接口名:获取用户渠道预估配置信息 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=7353&itf=72286 */ api_deliverpredict_config_get: { Req: {}; Res: { data?: { /** * 配置信息,直通车类型没有id,只有name,name就是搜索的关键词 */ configDetail?: string; /** * 你可以忽略 */ configType?: string; /** * 1=钻展全店,34=钻展单品,49=直通车,105=信息流,32=优酷,31=独秀,36=特秀 */ deliverProductId?: number; /** * 长名称 */ fullname?: string; /** * 短名称 */ shortname?: string; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:更新用户渠道预估配置信息 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=7353&itf=72287 */ api_deliverpredict_config_post: { Req: { _root_?: { configDetail?: string; configType?: string; deliverProductId?: number; fullname?: string; shortname?: string; }[]; }; Res: { info?: { ok?: boolean; }; data?: {}; }; }; /** * 接口名:标签市场渠道人数预估 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=7353&itf=72289 */ api_deliverpredict_market_post: { Req: { /** * 标签组合的421结构 */ selectTagOptionSet?: {}; /** * 产品线id */ deliverProductId?: number; /** * 1=分组,2=整体,比如多个直通车关键词是计算每个关键词的覆盖人数还是所有关键词的覆盖人数 */ queryType?: number; /** * 直通车是关键词列表; * 钻展是资源位id列表; * 单品是资源包列表 * */ targets?: number[]; /** * 人群id列表,用于询量 */ crowdIds?: any[]; /** * 1=人群类型,传参数crowdIds * 2=SelectTagOptionSet类型,在未创建人群页面 */ inventoryType?: number; /** * 询量需要的参数,开始日期 */ startDate?: {}; /** * 询量需要的参数,结束日期 */ endDate?: {}; }; Res: { data?: { coverage?: { aids?: number; target?: number; }[]; mergeCoverage?: number; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:洞察页面渠道人数预估(跟标签市场参数一致) * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=7353&itf=72290 */ api_deliverpredict_insight_post: { Req: { /** * 标签组合421结构 */ selectTagOptionSet?: {}; /** * 渠道产品线id */ deliverProductId?: number; /** * 1=分组,2=合并 */ queryType?: string; crowdId?: string; extraSelectTagOptionSet?: {}; /** * 直通车是关键词列表; * 钻展是资源位id列表; * 单品是资源位列表 */ targets?: number[]; }; Res: { data?: { coverage?: { aids?: number; targetId?: number; }[]; mergeCoverage?: number; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:关键词搜索(钻展、直通车、信息流) * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=7353&itf=72293 */ api_deliverpredict_target_post: { Req: { /** * 渠道产品线id */ deliverProductId?: number; /** * 查询关键词 */ queryWord?: string; /** * 只有直通车单元取词的时候才会使用这个参数,其他情况下不需要 */ adgroupId?: number; }; Res: { data?: { /** * 钻展可竞pv是predictPv,直通车hotIndex) */ hotIndex?: number; id?: number; name?: string; predictPv?: number; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:获取直通车推广单元列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=7353&itf=72294 */ api_deliverpredict_zhitongche_adgroup_get: { Req: { /** * 查找直通车单元关键词 */ queryWord?: string; }; Res: { data?: { adgroupId?: number; adgroupName?: string; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:人群询量前置同步 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=7353&itf=83040 */ api_analysis_crowd_inventory_dump_post: { Req: { /** * 加速渠道编码,这里值=INVENTORY_PRE */ engineCode?: string; /** * 人群id */ crowdId?: number; }; Res: { /** * 1=加速中,2=加速完毕,3=加速失败 */ data?: number; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:标签管理-id类型副本 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=7522&itf=242151 */ api_odps_idTypeList_get: { Req: { /** * 私域id */ appId?: number; }; Res: { data?: { allowAppIdList?: any[]; hidden?: boolean; id?: number; name?: string; needMapping?: boolean; skipNormalAidEncode?: boolean; type?: string; value?: string; }[]; info?: { code?: number; ok?: boolean; requestID?: string; }; }; }; /** * 接口名:odps创建一方标签 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=7522&itf=73687 */ api_data_odps_upload_post: { Req: { description?: string; idColumn?: string; idType?: string; name?: string; partition?: string; projectName?: string; tableName?: string; }; Res: { data?: { id?: number; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:odps表权限校验check接口 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=7522&itf=73688 */ api_odps_check_get: { Req: { projectName?: string; tableName?: string; }; Res: { data?: { auth?: boolean; }; info?: { code?: number; ok?: boolean; message?: string; }; }; }; /** * 接口名:获取odps表字段信息columns * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=7522&itf=73689 */ api_odps_columns_get: { Req: { guid?: string; }; Res: { data?: { columns?: { comment?: string; id?: number; isPtColumnByteValue?: number; name?: string; tableGuid?: string; }[]; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:查询消费者分布情况 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=7570&itf=73763 */ api_homepage_customer_distribution_get: { Req: { /** * 查询日期类型:1=周,2=月;3=自定义, * 即,初始日期相比较bizdate,往前推7天或者30天 */ dateType?: number; /** * 数据类型:1=非归因流转(非广告触达消费者),2=归因流转(广告触达消费者) */ dataType?: number; /** * 业务日期,即最终状态日期 */ bizDate?: string; /** * 分析维度:1=店铺,2=超级用户,3=追踪人群 */ analysisType?: number; /** * analysisType=3时,analysisObjectId表示人群ID */ analysisObjectId?: number; startDate?: string; }; Res: { data?: { /** * 当前状态:START=初始状态,FINISH=终止状态 */ status?: string; /** * 日期 */ date?: string; /** * analysisType=1,3时:非店铺消费者UV */ nonCustUv?: number; /** * analysisType=1,3时:新客UV */ newCustUv?: number; /** * analysisType=1,3时:潜客UV */ potentialCustUv?: number; /** * analysisType=1,3时:老客UV */ oldCustUv?: number; /** * analysisType=2时:非店铺潜在超级用户 */ nonShopPotentialSuperUv?: number; /** * analysisType=2时:店铺潜在超级用户 */ shopPotentialSuperUv?: number; /** * analysisType=2时:老客非超级用户 */ oldNonSuperUv?: number; /** * analysisType=2时:超级用户 */ superUv?: number; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:查询消费者流转情况 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=7570&itf=53539 */ api_homepage_customer_circulation_get: { Req: { /** * 取值1,2; 1=周,2=月,3=自定义 */ dateType?: string; /** * 取值1,2; 1=非归因流转,2=归因流转 */ dataType?: string; /** * 截止日期 */ bizDate?: string; /** * analysisType=1、3、4、5时,查询消费者类型: 0=非店铺消费者,1=新客,2=潜客,3=老客; * analysisType=2时,查询消费者类型: 0=非店铺潜在超级用户,1=店铺潜在超级用户,2=老客非超级用户,3=超级用户; */ queryStateType?: string; /** * 查询流转状态:START=初始状态,FINISH=终止状态 */ queryStatus?: string; /** * 分析维度:1=店铺,2=超级用户,3=追踪人群,4=达摩盘曝光(报表使用),5=全店广告曝光(报表使用) */ analysisType?: number; /** * analysisType=3时,analysisObjectId表示人群ID */ analysisObjectId?: number; /** * 当dateType=3时,表示报表开始日期 */ startDate?: string; }; Res: { data?: { nonCustUv?: number; newCustUv?: number; potentialCustUv?: number; oldCustUv?: number; nonShopPotentialSuperUv?: number; shopPotentialSuperUv?: number; oldNonSuperUv?: number; superUv?: number; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:添加人群至追踪列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=7570&itf=73789 */ api_crowd_track_put: { Req: { crowdIds?: string; /** * 1:商家版新潜老,2:小二版aipl */ trackType?: string; }; Res: { data?: {}; info?: { ok?: boolean; }; }; }; /** * 接口名:查询人群追踪列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=7570&itf=73792 */ api_crowd_track_list_get: { Req: { currentPage?: number; pageSize?: number; }; Res: { data?: { list?: { id?: number; crowdId?: number; crowdName?: string; startDate?: string; /** * 追踪状态:0=未开启,1=追踪中,2=追踪结束 */ status?: number; enableReport?: boolean; /** * 是否允许结束追踪 */ enableFinish?: boolean; }[]; pager?: { nextPage?: number; pageSize?: number; total?: number; currentPage?: number; beginPage?: number; previouPage?: number; pageTotal?: number; endPage?: number; position?: number; }; }; info?: { ok?: boolean; }; }; }; /** * 接口名:追踪人群操作 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=7570&itf=73797 */ api_crowd_track_operate_post: { Req: { crowdId?: number; /** * 操作类型:1=开启追踪|重启追踪,2=结束追踪,3=删除 */ operateType?: string; startDate?: string; brands?: { brandName?: string; brandId?: number; categories?: { cateName?: string; cateId?: number; }[]; }[]; }; Res: { data?: {}; info?: { ok?: boolean; message?: string; }; }; }; /** * 接口名:查看人群追踪报告 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=7570&itf=73801 */ api_crowd_track_report_get: { Req: { /** * 人群id */ crowdId?: number; /** * 开始日期 */ startDate?: string; /** * 结束日期 */ endDate?: string; }; Res: { data?: { date?: string; nonCustUv?: number; newCustUv?: number; potentialCustUv?: number; oldCustUv?: number; }[]; info?: { ok?: boolean; message?: string; }; }; }; /** * 接口名:查看人群追踪详情 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=7570&itf=74234 */ api_crowd_track_detail_get: { Req: { /** * 人群ID */ crowdId?: number; }; Res: { data?: { crowdId?: number; name?: string; status?: number; isEnableReport?: boolean; trackType?: number; trackObjIds?: string; trackRecords?: { title?: string; coverage?: number; status?: number; startDate?: string; endDate?: | string | { [k: string]: any; }; /** * 人群对应的标签数据 */ storageData?: string; }[]; }; info?: { ok?: boolean; message?: string; }; }; }; /** * 接口名:查询品牌接口 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=7570&itf=75512 */ api_puti_report_brand_aipl_brand_get: { Req: { brandName?: string; startDate?: string; endDate?: string; }; Res: { data?: { brand_name?: string; brand_id?: number; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:查询类目接口 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=7570&itf=75513 */ api_puti_report_brand_aipl_brand_cat_get: { Req: { startDate?: number; endDate?: number; brandId?: number; }; Res: { data?: { cat_id2?: number; cat_name2?: string; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:查询匹配点位列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=7638&itf=74516 */ api_lbs_poi_get: { Req: { query?: string; }; Res: { data?: { id?: string; name?: string; district?: string; adcode?: string; location?: string; address?: string; hasWkt?: boolean; area?: number; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:批量上传查询点位列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=7638&itf=74533 */ api_lbs_upload_post: { Req: { /** * 上传文件 */ filename?: string; }; Res: { data?: { lbsPois?: { id?: string; name?: string; district?: string; adcode?: string; location?: string; address?: string; hasWkt?: boolean; /** * 位点面积 */ area?: number; }[]; total?: number; fail?: number; /** * 本次上传文件的ID,唯一标示一次文件上传 */ fileId?: number; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:下载批量上传数据模板 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=7638&itf=74537 */ api_lbs_template_get: { Req: {}; Res: {}; }; /** * 接口名:下载批量解析出错数据 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=7638&itf=74538 */ api_lbs_fail_get: { Req: { /** * 上传文件返回的文件id */ fileId?: number; }; Res: {}; }; /** * 接口名:具体门店圈人人群预估 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=7638&itf=74539 */ api_analysis_coverage_get: { Req: { selectTagOptionSet?: { operator?: number; selectTagOptionSet?: { operator?: number; selects?: any[]; selectTagOptionSet?: { operator?: number; selects?: any[]; selectTagOptionSet?: { selects?: { /** * 门店圈人标签ID,待定 */ tagId?: number; /** * 标签optionId,四个option group,分别是:门店半径,到达类型,时间周期,到达频次 */ optionGroupId?: number; /** * 1 门店半径optionGroup: * names为门店名称 * 2 到达类型optionGroup: * names为到达/常驻 * 3 时间周期optionGroup: * names为近x天 * 4 到达频次optionGroup: * names为区间 */ names?: string; /** * 1 门店半径optionGroup: * values格式:aoiid:x*y:radis:area,其中redis = 0 代表默认边界,radis > 0代表自定义边界大小 * 2 到达类型optionGroup: * values为用户选择结果 * 3 时间周期optionGroup: * values为用户选择结果 * 4 到达频次optionGroup: * values为用户填写结果 */ values?: string; }[]; }[]; }[]; }[]; selects?: any[]; }; }; Res: {}; }; /** * 接口名:LBS圈楼-查询覆盖楼宇数 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=7638&itf=83179 */ api_lbsBuilding_count_post: { Req: { /** * 区域编码list */ zoneCodes?: any[]; /** * 楼宇类型list */ buildingTypeIds?: any[]; /** * poilist */ pois?: any[]; /** * 1, 3, 5 */ poiRange?: string; /** * basic:基础属性; shopAround:店铺周边; crowdRelate:人群圈楼 */ queryType?: string; /** * gird */ grids?: string; /** * 优选比例 */ rate?: string; /** * 人群圈楼的base人群id */ crowdId?: string; }; Res: { data?: { screenCount?: number; buildingCount?: number; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:LBS圈楼-创建楼宇包 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=7638&itf=83182 */ api_lbsBuilding_create_post: { Req: { /** * 1, 3, 5 */ poiRange?: string; /** * basic:基础属性; shopAround:店铺周边; crowdRelate:人群圈楼 */ queryType?: string; /** * gird */ grids?: string; /** * 优选比例 */ rate?: string; /** * 人群圈楼的base人群id */ crowdId?: string; /** * 区域编码list */ zoneCodes?: any[]; /** * 楼宇类型list */ buildingTypeIds?: any[]; /** * poilist */ pois?: any[]; crowdName?: string; groupId?: string; validDate?: string; buildingLimit?: string; /** * 前端编辑需要还原展示的信息放在这里 */ extra?: {}; }; Res: { data?: { crowdId?: number; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:LBS圈楼-修改楼宇包 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=7638&itf=83459 */ api_lbsBuilding_modify_$id_put: { Req: { /** * 1, 3, 5 */ poiRange?: string; /** * basic:基础属性; shopAround:店铺周边; crowdRelate:人群圈楼 */ queryType?: string; /** * gird */ grids?: string; /** * 优选比例 */ rate?: string; /** * 人群圈楼的base人群id */ crowdId?: string; /** * 区域编码list */ zoneCodes?: any[]; /** * 楼宇类型list */ buildingTypeIds?: any[]; /** * poilist */ pois?: any[]; crowdName?: string; groupId?: string; validDate?: string; buildingLimit?: string; /** * 前端编辑需要还原展示的信息放在这里 */ extra?: {}; }; Res: { data?: { crowdId?: number; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:拿帮助文档的一级目录 数据 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=7759&itf=75339 */ api_directory_getTree_get: { Req: {}; Res: { data?: { node?: { auditor?: null; child?: { auditor?: null; child?: null; contentType?: null; createtime?: number; dataType?: null; desiredPage?: number; dicDesc?: null; endRow?: number; extendInfo?: null; firstPage?: boolean; id?: number; isPagein?: number; isleaf?: number; lastPage?: boolean; maxContentCount?: number; maxDisplayDays?: number; name?: string; nextPage?: number; orderColumn?: null; orderStr?: null; orderType?: string; pageUrl?: null; parentNode?: null; parentid?: number; perPageSize?: number; previousPage?: number; returnCount?: number; startRow?: number; status?: number; thumbnailSize?: null; toPage?: number; totalItem?: number; totalPage?: number; updatetime?: number; }[]; contentType?: null; createtime?: number; dataType?: null; desiredPage?: number; dicDesc?: null; endRow?: number; extendInfo?: null; firstPage?: boolean; id?: number; isPagein?: number; isleaf?: number; lastPage?: boolean; maxContentCount?: number; maxDisplayDays?: number; name?: string; nextPage?: number; orderColumn?: null; orderStr?: null; orderType?: string; pageUrl?: null; parentNode?: null; parentid?: null; perPageSize?: number; previousPage?: number; returnCount?: number; startRow?: number; status?: number; thumbnailSize?: null; toPage?: number; totalItem?: number; totalPage?: number; updatetime?: number; }; }; info?: { message?: null; ok?: boolean; }; }; }; /** * 接口名:帮助文档的二级文章列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=7759&itf=75342 */ api_commoncontent_findContents_get: { Req: {}; Res: {}; }; /** * 接口名:拿帮助文档的每篇文章内容 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=7759&itf=75343 */ api_commoncontent_getContent_get: { Req: {}; Res: {}; }; /** * 接口名:多分组透视分析 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8292&itf=79365 */ api_analysis_chart_post: { Req: { crowdId?: number; /** * 这个默认传false */ needUnknown?: boolean; tagId?: number; tagOptionGroupId?: number; }; Res: { chartDataFull?: { optionId?: string; tagId?: string; optionValue?: string; tagOptionGroupId?: string; tagType?: string; isHaveSubOption?: string; /** * 超级风暴、品牌特秀、品牌专区(底下文字) */ optionName?: string; tagName?: string; optionNum?: string; }[]; }; }; /** * 接口名:行业全量 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8292&itf=84581 */ api_analysis_shop_main_cate_get: { Req: {}; Res: { data?: { optionName?: string; optionValue?: number; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:获取用户对应的品牌列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8373&itf=79999 */ api_databank_aipl_get: { Req: {}; Res: { data?: { /** * 品牌ID */ brandId?: string; /** * 品牌名称 */ brandName?: string; projectId?: number; /** * -1未申请、0申请中、1申请通过、2申请拒绝 */ status?: number; /** * 拒绝原因 */ refuseReason?: | { [k: string]: any; } | string; createTime?: string; /** * 申请通过时间 */ updateTime?: string; /** * deeplink授权状态 * 1申请通过、2申请拒绝、3补充审批 * 状态为1、2时跟AIPL统一的显示规则;3时显示如下文案: * 如需获得DEEPLNK数据授权,请登录数据银行进行品牌授权。查看详情(超链:https://www.yuque.com/docs/share/57e175c4-097f-436e-aab4-2837ddcbb2b9?spm=a2e3k.23893535._src_dmp-new_views_pages_home_empty-aipl-apply.d57737a6c.253b25ebSgzo28) */ deeplinkStatus?: number; /** * 拒绝原因 */ deeplinkRefuseReason?: | { [k: string]: any; } | string; deeplinkCreateTime?: string; deeplinkUpdateTime?: string; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:获取用户对应的Deeplink品牌列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8373&itf=247674 */ api_databank_deeplink_get: { Req: {}; Res: { data?: { /** * 品牌ID */ brandId?: string; /** * 品牌名称 */ brandName?: string; projectId?: number; /** * -1未申请、0申请中、1申请通过、2申请拒绝 */ status?: number; /** * 拒绝原因 */ refuseReason?: | { [k: string]: any; } | string; createTime?: string; /** * 申请通过时间 */ updateTime?: string; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:申请品牌aipl权限 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8373&itf=80000 */ api_databank_aipl_apply_post: { Req: { projectId?: number; brandId?: string; }; Res: { info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:aipl二级类目 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8373&itf=89296 */ api_databank_aipl_cate_get: { Req: { brandId?: number; }; Res: { data?: { cateId?: string; cateName?: string; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:达摩盘权益列表((返回参数跟全部权益列表一致)) * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=7079&itf=70289 */ api_power_center_all_get: { Req: { /** * 1=核心权益 * 2=全部权益 */ powerType?: number; }; Res: { data?: { childResource?: { accountType?: number; /** * 3表示白名单 */ powerStatus?: number; roleId?: number; roleLevel?: number; roleName?: string; roleXResourceConfig?: { functionDescription?: string; functionId?: number; functionName?: string; powerType?: number; topicIcon?: string; }; }[]; entranceCondition?: string; /** * 0=未达到获取该权益的资格 * 1=达到获取该权益的资格 * 2=已经获取该权益 */ powerStatus?: number; quitCondition?: string; roleLevelCode?: number; roleLevelName?: string; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:广告主拥有的权益列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=7079&itf=130719 */ api_power_center_own_get: { Req: {}; Res: { data?: { childResource?: { /** * 0=未达到获取该权益的资格 * 1=达到获取该权益的资格 * 2=已经获取该权益 * 3=白名单 */ powerStatus?: number; roleExternalInfoJson?: { /** * 子功能点准入条件 */ entranceCondition?: string; /** * 权益名称,比如第一方数据上传 */ externalName?: string; /** * 权益介绍文案介绍文案 */ functionDescription?: string; /** * 子功能点权益清退条件 */ quitCondition?: string; /** * icon */ topicIcon?: string; }; /** * 权益等级 * 1=基础权益 * 2=S1尊享 * 3=S2尊享 * 4=S3尊享 * 5=S4尊享 */ roleLevel?: number; /** * 权益名称,比如基础用户 */ roleName?: string; }[]; /** * 权益准入条件 */ entranceCondition?: string; /** * 子权益状态 * 0=未达到获取该权益的资格 * 1=达到获取该权益的资格 * 2=已经获取该权益 */ powerStatus?: number; roleLevelCode?: number; roleLevelName?: string; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:权益申请 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=7079&itf=70531 */ api_power_center_request_post: { Req: { /** * 1=基础用户 * 2=S1尊享 * 3=S2尊享 * 4=S3尊享 * 5=S4尊享 */ roleLevel?: number; }; Res: { data?: { /** * 展示信息 */ msg?: string; /** * 0=未申请 * 1=申请中 * 2=审核通过 * 3=审核拒绝 */ status?: number; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:准入条件列表(查看列表,当所有的powerStatus都是1时才能申请准入按钮) * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=7079&itf=70540 */ api_power_center_access_condition_get: { Req: {}; Res: { data?: { entranceCondition?: string; /** * 0=未达到资格 * 1=达到资格 */ powerStatus?: number; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:获取权益申请状态 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=7079&itf=70601 */ api_power_center_request_get: { Req: { /** * 初始状态是1=基础权益 */ roleLevel?: number; }; Res: { data?: { /** * 展现信息 */ msg?: string; /** * 0=未申请 * 1=申请中 * 2=审核通过 * 3=审核拒绝 */ status?: number; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:广告主消耗金额值 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=7079&itf=70659 */ api_power_center_asset_get: { Req: {}; Res: { data?: { /** * 消耗金额 */ asset?: number; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:是否满足下一层权益 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=7079&itf=70668 */ api_power_center_next_get: { Req: {}; Res: { data?: { /** * ture表示满足下一层层级条件,false表示不满足 */ next?: boolean; /** * 下一层级权益名称 */ nextRoleName?: string; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:查询客户账号层级 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=7079&itf=71845 */ api_power_center_account_level_get: { Req: {}; Res: { data?: { accountLevel?: number; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:商家权益信息概要 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=7079&itf=128203 */ api_power_center_user_get: { Req: {}; Res: { data?: { power?: { /** * 账号类型 * 1=店铺账号 * 2=猫超 * 4=天猫国际 * 8=达人 */ accountType?: number; /** * 已开通权益等级 * 1=基础用户 * 2=S1尊享 * 3=S2尊享 * 4=S3尊享 * 5=S4尊享 * 6=S5尊享 */ accountLevel?: number; /** * dmp积分 */ dmpPoint?: number; /** * 跟dmp积分适配的权益等级 * 同accountLevel的简介 * 积分达到顶层或降到底层以下时有特殊展示逻辑,见boundary参数 */ floorLevel?: number; /** * 适配等级的门槛dmp积分 */ floorLevelDmpPoint?: number; /** * 即将达到的权益等级 * 同accountLevel的简介 * 积分达到顶层或降到底层以下时有特殊展示逻辑,见boundary参数 */ ceilingLevel?: number; /** * 即将达到等级的门槛dmp积分 */ ceilingLevelDmpPoint?: number; /** * 权益状态 * 1= 达到当前层级积分,但未达到下一层级积分 * 2= 达到下一层级积分,提醒商家升级 * 3= 积分不满足当前层级,提醒商家要加大消耗,进行保级操作 */ powerProfileStatus?: number; /** * 开通当前权益等级最近一次时间(开通时间,非申请时间) * yyyy-mm-dd格式 */ lastOpenTime?: string; /** * 申请状态 * 0=未申请 * 1=申请中 * 2=审核通过 * 3=审核拒绝 */ applyStatus?: number; /** * 展示的权益信息 */ displayLevelInfo?: { /** * 权益等级 */ level?: number; childResource?: { /** * 资源名称 */ functionName?: string; /** * 资源描述 */ functionDescription?: string; /** * 资源ID */ functionId?: number; powerType?: number; /** * 图标 */ topicIcon?: string; /** * 功能介绍文档url */ functionDetailUrl?: string; }[]; /** * 多少同行已获得该权益 */ peersStatus?: string; }; /** * 升级/降级提示信息,没有则为空(operationType=-1) */ promptMsg?: string; /** * 操作类型 * -1=没有操作,0=降级,1=升级 */ operationType?: number; /** * 操作记录的ID */ operationId?: number; /** * 边界等级特殊逻辑(为了满足积分达到底层&顶层时进度条透出两个层级):1表示到达底层以下,2表示到达顶层 * boundary=1时,floor=1,ceiling=2(正常情况积分位于1~2层级之间时,boundary=null) * boundary=2时,floor=5,ceiling=6(正常情况积分位于5~6层级之间时,boundary=null) * 中间阶段boundary字段不返回,floor、ceiling就是正常理解的上下界等级 */ boundary?: number; /** * 权益类型(约定100以内为达摩盘基础权益类型code定义范围,从100开始为专属权益类型code) * 1=达摩盘基础权益类型-核心权益 * 2=达摩盘基础权益类型-所有权益 * 100=专属权益类型-品专 */ powerType?: number; }; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:不再提示升降级提醒 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=7079&itf=131863 */ api_power_center_noprompt_post: { Req: { /** * 权益操作记录的ID,从商家权益信息概要接口出参获取 */ operationId?: string; }; Res: { info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:一键申请全部权益 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=7079&itf=128711 */ api_power_center_request_all_post: { Req: {}; Res: { data?: { /** * 展示信息 */ msg?: string; /** * 2=审核通过 * 3=审核拒绝 */ status?: number; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:商家组查询-查询当前小二可见的所有商家组 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8564&itf=81280 */ user_rule_listGroupByEmp_get: { Req: {}; Res: { data?: { data?: { comment?: | string | { [k: string]: any; }; creatorName?: string; creatorNum?: string; endRow?: number; firstPage?: boolean; gmtCreate?: number; gmtModified?: number; groupName?: string; id?: number; lastPage?: boolean; nextPage?: number; pageSize?: number; perPageSize?: number; permission?: number; previousPage?: number; returnCount?: number; startRow?: number; status?: number; toPage?: number; totalItem?: number; totalPage?: number; userCount?: number; }[]; }; success?: boolean; }; }; /** * 接口名:客户查询-查询小二的关注组列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8564&itf=81281 */ user_follow_listGroupByEmp_get: { Req: {}; Res: { success?: boolean; data?: { empName?: string; empNum?: string; gmtCreate?: number; groupId?: number; gmtModified?: number; groupName?: string; }[]; }; }; /** * 接口名:活动管理-上传文件 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8564&itf=81287 */ user_file_upload_post: { Req: {}; Res: { success?: boolean; data?: { userGroup?: { id?: number; userCount?: number; }; varNameList?: any[]; }; }; }; /** * 接口名:模板列表接口-获取业务线列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8564&itf=81252 */ api_operation_template_business_type_list_get: { Req: {}; Res: { info?: { ok?: boolean; }; data?: { name?: string; id?: number; }[]; }; }; /** * 接口名:模板列表接口-模板查询接口 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8564&itf=81253 */ api_operation_template_find_get: { Req: {}; Res: { success?: boolean; errorCode?: null; msg?: null; info?: { ok?: boolean; }; data?: { list?: { id?: number; name?: string; description?: string; businessType?: number; expireDate?: number; createFactorType?: null; status?: string; creator?: string; creatorName?: string; createTime?: number; updateTime?: number; crowdRules?: { id?: number; templateId?: number; crowdName?: string; crowdDesc?: string; createTime?: number; updateTime?: null; tagOptionValues?: string; validDate?: number; selectTagOptionSet?: { operator?: number; selectTagOptionSet?: { operator?: number; selectTagOptionSet?: { operator?: number; selectTagOptionSet?: { operator?: number; selectTagOptionSet?: any[]; selects?: { tagId?: number; tagName?: string; optionGroupId?: number; values?: string; names?: null; crowdId?: null; adapterType?: null; adapter?: null; key?: string; }[]; leaf?: boolean; empty?: boolean; }[]; selects?: any[]; leaf?: boolean; empty?: boolean; }[]; selects?: any[]; leaf?: boolean; empty?: boolean; }[]; selects?: any[]; leaf?: boolean; empty?: boolean; }; }[]; crowdRule?: {}; }[]; pager?: { currentPage?: number; pageSize?: number; total?: number; }; }; }; }; /** * 接口名:模板列表接口-生成人群包 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8564&itf=81282 */ api_operation_crowd_package_create_post: { Req: {}; Res: { info?: { ok?: boolean; }; success?: boolean; errorCode?: null; msg?: null; data?: string; }; }; /** * 接口名:人群包管理-查询人群包列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8564&itf=81290 */ api_operation_crowd_package_find_get: { Req: {}; Res: { info?: { ok?: boolean; }; success?: boolean; errorCode?: null; msg?: null; data?: { list?: { id?: number; name?: string; templateId?: number; crowdRuleId?: number; memberListId?: number; memberListName?: | string | { [k: string]: any; }; status?: string; crowdCount?: null; createTime?: number; crowdTemplate?: { id?: number; name?: string; description?: string; businessType?: number; expireDate?: number; createFactorType?: null; status?: string; creator?: string; creatorName?: string; createTime?: number; updateTime?: number; crowdRule?: { validDate?: string; }; }; filterRules?: null; crowdRule?: { id?: number; templateId?: number; crowdName?: string; crowdDesc?: string; createTime?: number; updateTime?: null; tagOptionValues?: string; validDate?: number; selectTagOptionSet?: null; }; grantTimes?: number; apps?: any[]; targetInfo?: {}; targetType?: string; }[]; pager?: { currentPage?: number; pageSize?: number; total?: number; }; }; }; }; /** * 接口名:人群包管理-人群包删除 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8564&itf=81295 */ api_operation_crowd_package_$id_delete_delete: { Req: {}; Res: { info?: { ok?: boolean; }; data?: {}; }; }; /** * 接口名:人群包管理-人群包预跑 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8564&itf=81297 */ api_operation_crowd_package_$id_prerun_get: { Req: {}; Res: { info?: { ok?: boolean; }; data?: null; }; }; /** * 接口名:渠道管理-获取所有可用渠道 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8564&itf=81299 */ api_operation_channel_find_get: { Req: {}; Res: { success?: boolean; errorCode?: null; msg?: null; data?: { result?: { id?: number; createtime?: number; updatetime?: number; name?: string; dmpDeliverAppId?: number; }[]; }; info?: { ok?: boolean; }; }; }; /** * 接口名:人群包管理-人群包授权 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8564&itf=81301 */ api_operation_crowd_package_$id_push_put: { Req: {}; Res: { msg?: string; errorCode?: string; success?: boolean; info?: { ok?: boolean; message?: string; }; }; }; /** * 接口名:人群包管理-人群包预跑结果查看副本 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8564&itf=82539 */ api_operation_crowd_package_$id_result_get: { Req: {}; Res: { info?: { ok?: boolean; }; errorCode?: null; msg?: null; data?: { list?: { targetId?: number; targetName?: string; crowdId?: number; status?: number; coverage?: number; }[]; pager?: { toPage?: number; perPageSize?: number; itemTotal?: number; }; }; }; }; /** * 接口名:人群包管理-设置人群包过滤 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8564&itf=81303 */ api_operation_crowd_package_$id_filter_put: { Req: {}; Res: { info?: { ok?: boolean; }; data?: string; }; }; /** * 接口名:人群包管理-人群包详情 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8564&itf=81306 */ api_operation_crowd_package_$id_detail_get: { Req: {}; Res: {}; }; /** * 接口名:人群规则编辑-人群规则查询 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8564&itf=81307 */ api_operation_crowd_rule_get: { Req: {}; Res: { data?: { createtime?: number; crowdName?: string; ext?: { lookalikeAlgoType?: number; businessType?: number; lookalikeMultiple?: number; lookalikeTargetCount?: number; preference_brand_id?: string; preference_brand_name?: string; }; id?: number; tagOptionValues?: string; templateId?: number; updatetime?: number; validDate?: number; selectTagOptionSet?: { [k: string]: any; }; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:模板列表接口-新建模板 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8564&itf=81308 */ api_operation_template_create_post: { Req: {}; Res: { info?: { ok?: boolean; }; data?: number; }; }; /** * 接口名:模板列表接口-模板编辑接口 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8564&itf=81309 */ api_operation_template_edit_put: { Req: {}; Res: { info?: { ok?: boolean; }; }; }; /** * 接口名:人群规则编辑-可使用宏名称列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8564&itf=81374 */ api_operation_crowd_rule_macro_get: { Req: { tagIds?: string; }; Res: { info?: { ok?: boolean; }; success?: boolean; errorCode?: null; msg?: null; data?: any[]; }; }; /** * 接口名:人群规则编辑-创建人群规则 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8564&itf=81380 */ api_operation_crowd_rule_post: { Req: {}; Res: { info?: { ok?: boolean; }; success?: boolean; errorCode?: null; msg?: null; data?: string; }; }; /** * 接口名:人群规则编辑-人群规则编辑 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8564&itf=81381 */ api_operation_crowd_rule_put: { Req: {}; Res: { info?: { ok?: boolean; }; success?: boolean; errorCode?: null; msg?: null; data?: string; }; }; /** * 接口名:获取服务商授权的商家列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8564&itf=82506 */ api_isv_advList_get: { Req: {}; Res: { data?: { memberId?: number; wangwang?: string; extNumId?: number; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:删除模板 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8564&itf=82669 */ api_operation_template_$id_delete: { Req: {}; Res: { info?: { ok?: boolean; }; data?: null; }; }; /** * 接口名:获取可推送主营类目列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8564&itf=83029 */ api_operation_category_main_list_get: { Req: {}; Res: { data?: { list?: { categoryId?: number; categoryName?: string; }[]; }; info?: { ok?: boolean; }; }; }; /** * 接口名:提交一个人群聚类任务 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8621&itf=81816 */ api_cluster_submitClusterTask_post: { Req: { /** * 待聚类人群Id */ crowdId?: number; /** * 选择类目Id */ categoryId?: number; /** * 选择品牌Id */ brandId?: number; /** * 选择店铺Id */ shopId?: number; /** * 聚类标签Id,逗号分隔 */ tagIds?: string; taskName?: string; }; Res: { data?: { kmeansTaskId?: number; /** * RUNNING, * SUCCEED, * FAILED * */ status?: string; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:查询特定用户聚类任务执行状态 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8621&itf=81820 */ api_cluster_queryClusterTask_get: { Req: { pageSize?: number; currentPage?: number; }; Res: { data?: { taskList?: { crowdName?: string; kmeansTaskId?: number; kmeansTaskName?: string; tags?: { /** * 基础属性 */ basicAttributes?: string[]; /** * 生活兴趣 */ interests?: string[]; /** * 营销偏好 */ marketPreference?: string[]; /** * 行业属性 */ industryAttributes?: string[]; }; status?: string; /** * 建议聚类数目, * 只有status=finished时才有意义 */ adviceCount?: number; kmeansCountArray?: number[]; }[]; pager?: { pageSize?: number; position?: number; total?: number; pageTotal?: number; currentPage?: number; previouPage?: number; searchString?: string; endPage?: number; beginPage?: number; nextPage?: number; }; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:获得一次人群聚类任务的结果概览 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8621&itf=81822 */ api_cluster_queryOverviewResult_get: { Req: { /** * 聚类任务的Id */ kmeansTaskId?: number; /** * 聚成多少类 */ kmeansCnt?: number; }; Res: { data?: { crowdList?: { clusterName?: string; subClusterIdx?: number; /** * 人群量 */ crowdNum?: number; /** * 占比 */ percentage?: number; /** * 行业互动率 */ industryInteractivity?: number; /** * 品牌互动率 */ brandInteractivity?: number; tags?: { /** * 基础属性 */ basicAttributes?: string[]; /** * 生活兴趣 */ interests?: string[]; /** * 营销偏好 */ marketPreference?: string[]; /** * 行业偏好 */ industryAttributes?: string[]; }; /** * 店铺互动率 */ shopInteractivity?: number; /** * 人群GMV */ crowdGMV?: number; }[]; /** * 聚成多少类 */ kmeansCnt?: number; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:获得某次人群聚类中某个人群子类的详细信息 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8621&itf=81827 */ api_cluster_queryDetailResult_get: { Req: { kmeansTaskId?: number; kmeansCnt?: number; /** * 子群篮的序号(从1开始) */ subClusterIdx?: number; }; Res: { data?: { clusterDetail?: { clusterName?: string; subClusterIdx?: number; /** * 人群量 */ crowdNum?: number; /** * 占比 */ percentage?: number; /** * 行业交互率 */ industryInteractivity?: number; /** * 品牌交互度 */ brandInteractivity?: number; basicAttributes?: { tagName?: string; /** * 选项值 */ optionName?: string; /** * 子群标签占比 */ clusterPercentage?: number; /** * 分析人群标签占比 */ crowdPercentage?: number; /** * 差异度 */ diff?: number; }[]; interests?: { tagName?: string; optionName?: string; clusterPercentage?: number; crowdPercentage?: number; diff?: number; }[]; markePreference?: { tagName?: string; optionName?: string; clusterPercentage?: number; crowdPercentage?: number; diff?: number; }[]; industryAttributes?: { tagName?: string; optionName?: string; clusterPercentage?: number; crowdPercentage?: number; diff?: number; }[]; /** * 店铺互动率 */ shopInteractivity?: number; /** * 人群GMV */ crowdGMV?: number; }; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:提交一个商品智能推荐任务 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8621&itf=81860 */ api_cluster_recommend_post: { Req: { kmeansTaskId?: number; kmeansCnt?: number; subClusterIdxList?: number[]; shopId?: number; }; Res: { data?: { recTaskId?: number; status?: string; shopName?: string; crowdName?: string; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:查询特定用户所有商品智能推荐任务的状态 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8621&itf=81862 */ api_cluster_queryRecommend_get: { Req: { pageSize?: number; currentPage?: number; }; Res: { data?: { recommendList?: { crowdName?: string; shopId?: number; shopName?: string; itemList?: { itemName?: string; itemId?: number; itemLink?: string; }[]; status?: string; subClusterIdx?: number[]; kmeansTaskId?: number; kmeansCnt?: number; }[]; pager?: { pageSize?: number; position?: number; total?: number; pageTotal?: number; currentPage?: number; previouPage?: number; searchString?: string; endPage?: number; beginPage?: number; nextPage?: number; }; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:提交一个用户扩增任务 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8621&itf=81864 */ api_cluster_userExtension_post: { Req: { /** * 智能商品推荐时该值为0 */ shopId?: number; kmeansTaskId?: number; kmeansCnt?: number; /** * 人群子群篮下标 */ subClusterIdx?: number[]; /** * 商品Id */ ItemId?: number; /** * 目标人群量级 */ crowdNum?: number; /** * 人群名称 */ crowdName?: string; /** * 人群有效期 */ validTime?: string; /** * 1: 表示自定义商品策略 * 2: 表示智能商品策略 */ taskType?: number; }; Res: { data?: { extensionTaskId?: number; status?: string; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:查询特定用户所有扩增任务的状态 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8621&itf=81868 */ api_cluster_queryExtensionTask_get: { Req: { memberId?: number; pageSize?: string; currentPage?: string; }; Res: { data?: { extensionTaskList?: { extensionTaskId?: number; status?: string; createTime?: string; crowdName?: string; crowdId?: number; provider?: string; expireTime?: string; coverage?: number; }[]; pager?: { pageSize?: number; position?: number; total?: number; pageTotal?: number; currentPage?: number; previouPage?: number; searchString?: string; endPage?: number; beginPage?: number; nextPage?: number; }; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:通过子群篮创建人群&不使用策略创建人群 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8621&itf=82072 */ api_cluster_createCrowd_post: { Req: { kmeansTaskId?: number; kmeansCnt?: number; /** * 人群子类的下标,逗号分隔 */ subClusterIdxList?: string; /** * 目标人群名称 */ targetCrowdName?: string; /** * 目标人群的量级 */ targetCrowdNum?: number; /** * 人群的有效期 */ validData?: string; }; Res: { data?: { extensionTaskId?: number; status?: string; }; info?: { message?: string; ok?: boolean; }; }; }; /** * 接口名:计算子群篮的人数 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8621&itf=82074 */ api_cluster_countClusterNumber_get: { Req: { kmeansTaskId?: number; kmeansCnt?: number; clusterIdxList?: number[]; }; Res: { info?: { ok?: boolean; message?: string; }; data?: { count?: number; }; }; }; /** * 接口名:达摩盘高阶版通用标签推荐 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8697&itf=274240 */ api_tag_common_recommend_post: { Req: { /** * 标签选项效果数据时使用 */ selectTagOptionSet?: {}; /** * 类目id */ cateId?: number; /** * 公私域标示:1.公域 2.私域 */ globalType?: number; /** * 渠道id 钻展=1;2=直通车;3=超级推荐,99=全部 */ channelId?: number; /** * 排行榜类型 1=竞争热度排行榜; 2=质优潜力榜;3=点击效果榜 */ rankType?: number; /** * 业务id。1=圈人统一标签组合-常规推荐,2=圈人统一-关联标签推荐,3=达摩盘高阶版-排行榜,4=达摩盘高阶版-场景推荐,5=达摩盘高阶版关联推荐。 * * 以下是2020年8月新增的业务id。6-达摩盘高阶版-系统推荐2020-08版本,7=达摩盘高阶版-猜你喜欢2020-08版本,8=达摩盘高阶版-组合推荐2020-08版本,9=达摩盘高阶版-标签排行榜2020-08版本 * 双十一大促相关,10=大促标签排行榜,11=大促组合排行榜 * 双十二大促相关,13=大促标签排行榜,14=大促组合排行榜,15-单品洞察标签推荐,16=标签推荐页-今日精选,17=标签推荐页-标签排行榜,18=标签推荐页-关联组合推荐,19=优质人群推荐,20=营销渠道策略分析,21=达摩云人群模板推荐。 */ queryBizId?: number; /** * 达摩盘高阶版-系统推荐新增参数。特征类型 1=店铺用户,2=店铺会员,3=店铺粉丝 */ featureType?: number; /** * 达摩盘高阶版-排行榜新增参数。排行榜周期。1=周排行榜,2=半月排行榜,3=月排行榜 */ rankPeriod?: number; /** * 达摩盘高阶版-标签组合新增参数。场景类型 1=同行常用,2=为你推荐,3=热门场景 * bizId=20时:12=渠道资产页面的推荐,13=二级渠道未成交人群收割。 * 25=deeplink-会员招募拉新,26=deeplink-会员首购引导,27=deeplink-会员复购引导。 */ sceneType?: number; /** * 过滤已使用的推荐标识符,0=不过滤,1=过滤 */ filterUsed?: number; /** * 达摩盘高阶版-标签组合新增参数。 组合功能, 1=促点击,2=促转化,3=促拉新 */ targetType?: number; /** * 类目id */ tagGroupId?: number; /** * 人群id。达摩盘报表显著特征新增参数 */ crowdId?: number; /** * 时间窗口:7/15/30等 */ timeWindow?: number; /** * 品牌ID */ brandId?: number; }; Res: { data?: { pager?: { pageSize?: number; total?: number; }; list?: { combinationKeyId?: number; selectTagOptionSet?: { [k: string]: any; }[]; tag?: { empty?: boolean; leaf?: boolean; operator?: number; selectTagOptionSet?: any[]; selects?: { key?: string; names?: string; optionGroupId?: number; tagId?: number; tagName?: string; values?: string; }[]; }; /** * 热度信息,0~10,数值越大热度越高 */ rank?: number; /** * 覆盖用户数目 */ coverage?: number; /** * ctr指数 */ ctrIndex?: string; /** * ppc指数 */ ppcIndex?: string; /** * 标签推荐8月版-标签推荐新增参数。最近使用次数 */ recentUsedCount?: number; /** * 标签推荐8月版-标签推荐新增参数。打标信息 */ tagMessage?: string; /** * 标签推荐8月版-标签推荐新增参数。排名类型,1=上升,2=下降。配合changeRank字段使用,表示上升名次和下降名次 */ sortType?: number; /** * 标签组合8月版-组合方案枚举值(用来表示交并差关系)给到前端出对应的图例 */ combinationSchemaValue?: number; /** * 标签组合8月版-推荐理由 */ recommendedReason?: string; /** * 触达用户 */ touchUv?: number; /** * 上升或者下降名次 */ changeRank?: number; /** * 行业平均消耗 */ cateAvgCharge?: number; /** * 总推荐量 */ totalRecordCnt?: number; /** * 已采纳数量 */ hasUsedCnt?: number; /** * 1:已使用 */ hasUsed?: number; /** * 推荐渠道 */ apps?: { appId?: number; appName?: string; iconMark?: string; }[]; /** * 新版优质标签组合推荐-建议人群放大倍数 * 有值就放大、没值不放大,有值肯定是>0 */ expand?: number; /** * 达摩盘报表-优质人群特征新增 * 特征类型描述 */ featureTypeDesc?: string; /** * 推荐名称 */ title?: string; }[]; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:行业常用标签=拉新场景标签 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8697&itf=82367 */ api_tag_industry_frequency_get: { Req: { /** * 1-一级类目,2=二级类目 */ cateType?: number; /** * 类目id */ cateId?: number; /** * 分页 */ page?: number; /** * 分页大小 */ pageSize?: number; /** * 1=老版本,我这边默认是1,2=新版本,新版本里需要设置这个值 */ versionNum?: number; }; Res: { data?: { list?: { combinationTags?: { accuracyScore?: number; coverScore?: number; effectiveScore?: number; hotUsedScore?: number; id?: number; searchScore?: number; tagName?: string; tagOptionGroups?: { id?: number; tagOptions?: { isHaveSubOption?: boolean; optionName?: string; optionValue?: string; tagId?: number; }[]; }[]; }[]; hotUsedScore?: number; tag?: { accuracyScore?: number; coverScore?: number; effectiveScore?: number; hotUsedScore?: number; id?: number; searchScore?: number; tagName?: string; tagOptionGroups?: { id?: number; tagOptions?: { isHaveSubOption?: boolean; optionName?: string; optionValue?: string; tagId?: number; }[]; }[]; }; }[]; pager?: { total?: number; pageSize?: number; page?: number; }; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:店铺常用标签=老客维系标签 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8697&itf=82624 */ api_tag_shop_frequency_get: { Req: { /** * 类目id */ cateId?: number; /** * 类目类型,1=一级类目,2=二级类目 */ cateType?: number; /** * 分页 */ page?: number; /** * 分页大小 */ pageSize?: number; /** * 1=老版本,默认是1,老版本不需要传该值,2=新版本,需要传该值 */ versionNum?: number; }; Res: { data?: { list?: { combinationTags?: { accuracyScore?: number; coverScore?: number; effectiveScore?: number; hotUsedScore?: number; id?: number; searchScore?: number; tagName?: string; tagOptionGroups?: { id?: number; tagOptions?: { isHaveSubOption?: boolean; optionName?: string; optionValue?: string; tagId?: number; }[]; }[]; }[]; hotUsedScore?: number; tag?: { accuracyScore?: number; coverScore?: number; effectiveScore?: number; hotUsedScore?: number; id?: number; searchScore?: number; tagName?: string; tagOptionGroups?: { id?: number; tagOptions?: { isHaveSubOption?: boolean; optionName?: string; optionValue?: string; tagId?: number; }[]; }[]; }; }[]; pager?: { total?: number; pageSize?: number; page?: number; }; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:标签排行榜 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8697&itf=89071 */ api_tag_rank_list_get: { Req: { /** * 分页 */ page?: number; /** * 分页大小 */ pageSize?: number; /** * 排行榜类型,1=竞争热度榜,2=质优潜力榜,3=点击效果榜 */ rankType?: number; /** * 投放渠道,1=钻展,2=直通车,3=超级推荐 */ deliverType?: number; /** * 类目id */ cateId?: number; /** * 类目类型,1=一级类目(主营类目),2=二级类目 */ cateType?: number; }; Res: { data?: { list?: { combinationTags?: { accuracyScore?: number; coverScore?: number; effectiveScore?: number; hotUsedScore?: number; id?: number; searchScore?: number; tagName?: string; tagOptionGroups?: { id?: number; tagOptions?: { isHaveSubOption?: boolean; optionName?: string; optionValue?: string; tagId?: number; }[]; }[]; }[]; hotUsedScore?: number; tag?: { accuracyScore?: number; coverScore?: number; effectiveScore?: number; hotUsedScore?: number; id?: number; searchScore?: number; tagName?: string; tagOptionGroups?: { id?: number; tagOptions?: { isHaveSubOption?: boolean; optionName?: string; optionValue?: string; tagId?: number; }[]; }[]; }; }[]; pager?: { total?: number; pageSize?: number; page?: number; }; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:最新上线标签接口(跟即将下线接口参数一样,返回值也是一样的) * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8697&itf=71646 */ api_tag_new_arrival_get: { Req: {}; Res: { info?: { ok?: boolean; }; data?: { pager?: { currentPage?: number; nextPage?: number; total?: number; pageSize?: number; pageTotal?: number; endPage?: number; beginPage?: number; previouPage?: number; position?: number; }; groups?: { value?: number; count?: number; }[]; list?: { id?: number; tagName?: string; tagDesc?: string; dpName?: string; coverage?: number; price?: number; qualityScore?: number; validDate?: string; collect?: boolean; tagUsed?: number; tagScore?: number; tagEffect?: number; effectiveScore?: number; coverScore?: number; hotUsedScore?: number; searchScore?: number; accuracyScore?: number; isMemberRecommended?: boolean; isCatalogRecommended?: boolean; tagOptionNames?: string; tagNameHighlight?: string; tagDescHighlight?: string; tagOptionNamesHighlight?: string; tagType?: string; dpId?: number; tagIds?: any[]; tagGroupBgIds?: any[]; tagCreateTime?: string; options?: { optionName?: string; }[]; }[]; }; }; }; /** * 接口名:热点标签 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8697&itf=82368 */ api_tag_keyword_hot_get: { Req: { /** * 分页 */ page?: number; /** * 分页大小 */ pageSize?: number; /** * 1=优酷热词,2=淘宝热词 */ tagType?: number; /** * 一级类目id,比如18=女装 */ categoryId?: number; }; Res: { data?: { list?: { /** * 关键词id,也就是标签选项的optionId */ keywordId?: any[]; /** * 关键词名称,也就是标签选项的optionName */ keywordName?: any[]; /** * 标记 */ keywordTag?: any[]; /** * 热度分,范围[0-1] */ score?: number[]; }[]; pager?: { total?: number; page?: number; pageSize?: number; }; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:标签人群绑定 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8697&itf=84261 */ api_tag_crowd_bind_post: { Req: { /** * 标签组合选项列表 */ selects?: any[]; /** * 人群id */ crowdId?: number; /** * 渠道id */ deliverAppId?: number; }; Res: { data?: boolean; info?: { code?: number; /** * true成功,false=失败 */ ok?: boolean; }; }; }; /** * 接口名:首页标签推荐模块动态配置选项 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8697&itf=89046 */ api_tag_homepage_config_get: { Req: {}; Res: { /** * 首页标签推荐动态配置id */ data?: number[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:店铺类目信息 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8697&itf=89110 */ api_shop_cate_get: { Req: {}; Res: { data?: { [k: string]: any; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:标签推荐渠道配置 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8697&itf=92695 */ api_tag_deliver_config_get: { Req: {}; Res: { data?: { /** * 渠道名称【给客户看的】 */ deliverName?: string; /** * 渠道id【给程序用的】 */ deliverType?: number; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:店铺主营类目id * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=8697&itf=92885 */ api_shop_main_cate_get: { Req: {}; Res: { /** * 主营类目id */ data?: number; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:查询优选宝贝码表副本 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=9591&itf=98660 */ api_dict_preference_item_get: { Req: { /** * 名称,模糊匹配 */ name?: string; }; Res: { info?: { code?: number; ok?: boolean; }; data?: { list?: { id?: number; name?: string; }[]; }; }; }; /** * 接口名:查询优选店铺码表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=9591&itf=88060 */ api_dict_preference_shop_get: { Req: { /** * 名称,模糊匹配 */ name?: string; }; Res: { info?: { code?: number; ok?: boolean; }; data?: { list?: { id?: number; name?: string; }[]; }; }; }; /** * 接口名:查询优选品牌码表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=9591&itf=88061 */ api_dict_preference_brand_get: { Req: { /** * 名称,模糊匹配 */ name?: string; }; Res: { info?: { code?: number; ok?: boolean; }; data?: { list?: { id?: number; name?: string; }[]; }; }; }; /** * 接口名:创建优选人群 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=9591&itf=88063 */ api_crowd_备用_post: { Req: { /** * 标签选项组合 */ selectTagOptionSet?: {}; /** * 人群名称 */ crowdName?: string; /** * 有效期 */ validDate?: string; /** * 拓展字段 */ extra?: { /** * 优选店铺id */ preference_shop_id?: number; /** * 优选店铺名称 */ preference_shop_name?: string; /** * 优选品牌id */ preference_brand_id?: number; /** * 优选品牌名称 */ preference_brand_name?: string; /** * 目标人数 */ lookalikeTargetCount?: number; }; /** * 优选百分比 */ lookalikeMultiple?: number; /** * lookalike类型,固定传19 */ lookalikeAlgoType?: number; /** * 1 */ businessType?: number; }; Res: {}; }; /** * 接口名:查询自定义扩展宝贝拉新码表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=9591&itf=242771 */ api_dict_custom_lookalike_item_get: { Req: { /** * 宝贝名称,可选,模糊查询 */ name?: string; }; Res: { info?: { code?: number; ok?: boolean; }; data?: { list?: { id?: number; name?: string; }[]; }; }; }; /** * 接口名:查询全部的主营一级类目码表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=9591&itf=281712 */ api_dict_main_category_get: { Req: { /** * 名称,可选,模糊查询 */ name?: string; }; Res: { info?: { code?: number; ok?: boolean; }; data?: { list?: { /** * 主营类目id */ id?: number; /** * 主营类目名称 */ name?: string; }[]; }; }; }; /** * 接口名:获取扩展人数上下限 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=9591&itf=242811 */ api_crowd_extension_coverage_config_get: { Req: { /** * lookalike类型,与创建时相同 */ lookalikeAlgoType?: number; }; Res: { data?: { /** * 允许的最大人数 */ maxCount?: number; /** * 允许的最小人数 */ minCount?: number; }; info?: { ok?: boolean; }; }; }; /** * 接口名:人群加速接口 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=9848&itf=89477 */ api_crowd_accelerate_task_post: { Req: { /** * 业务id,2=人群交并差 */ bizId?: number; /** * 人群id */ crowdId?: number; }; Res: { /** * 1=加速中,2=加速完毕,3=加速失败 */ data?: number; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:洞察标签列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=9853&itf=89509 */ api_tag_analysisTag_get: { Req: { page?: string; pageSize?: string; }; Res: { info?: { ok?: boolean; }; data?: { pager?: { currentPage?: number; nextPage?: number; total?: number; pageSize?: number; pageTotal?: number; endPage?: number; beginPage?: number; previouPage?: number; position?: number; }; groups?: { value?: number; count?: number; }[]; list?: { id?: number; tagName?: string; tagDesc?: string; dpName?: string; coverage?: number; price?: number; qualityScore?: number; validDate?: string; collect?: boolean; tagUsed?: number; tagScore?: number; tagEffect?: number; effectiveScore?: number; coverScore?: number; hotUsedScore?: number; searchScore?: number; accuracyScore?: number; isMemberRecommended?: boolean; isCatalogRecommended?: boolean; tagOptionNames?: string; tagNameHighlight?: string; tagDescHighlight?: string; tagOptionNamesHighlight?: string; tagType?: string; dpId?: number; tagIds?: any[]; tagGroupBgIds?: any[]; tagExtraPrivateInfoDO?: { own?: boolean; }; tagStatus?: number; }[]; }; }; }; /** * 接口名:查询标签授权信息 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=9853&itf=89510 */ api_tag_findTagEmpower_get: { Req: { tagId?: string; }; Res: { data?: { appId?: number; createtime?: number; creator?: number; id?: number; modifier?: number; permission?: number; productId?: number; tagId?: number; tagIds?: null; targetId?: number; targetName?: string; tbNickname?: | { [k: string]: any; } | string; type?: number; updatetime?: number; }[]; info?: { message?: null; ok?: boolean; }; }; }; /** * 接口名:标签授权 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=9853&itf=89515 */ api_tag_saveTagEmpower_post: { Req: { /** * 固定传3, 代表数据透视和数据使用 */ permission?: number; /** * 标签id */ tagId?: number; /** * 和上面查询接口一样, 2代表授权给用户 */ type?: number; /** * 多个用户,分隔 */ targetName?: string; }; Res: { data?: {}; info?: { message?: null; ok?: boolean; }; }; }; /** * 接口名:私域-saas列表副本 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=9853&itf=219312 */ api_userconfig_app_saas_get: { Req: {}; Res: { data?: { accessKey?: | string | { [k: string]: any; }; createtime?: number; extData?: string; id?: number; isUniqueCrowd?: number; name?: string; owner?: string; status?: number; updatetime?: number; }[]; info?: { code?: number; ok?: boolean; requestID?: string; }; createtime?: number; }; }; /** * 接口名:查找小二 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=9853&itf=89516 */ api_user_findEmployee_get: { Req: { page?: string; pageSize?: string; /** * 用户名, 模糊搜索 */ nickname?: string; }; Res: { data?: { users?: { accountType?: number; appId?: number; completeNickname?: string; contemail?: string; createtime?: string; memberId?: number; mobile?: string; nickname?: string; status?: number; tbUserId?: number; userType?: number; }[]; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:标签修改 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=9853&itf=89517 */ api_tag_analysisTag_$id_modify_put: { Req: { /** * 标签名称 */ tagName?: number; /** * 标签描述 */ tagDesc?: string; /** * 有效期 */ validDate?: string; }; Res: { data?: {}; info?: { message?: null; ok?: boolean; }; ok?: boolean; }; }; /** * 接口名:标签删除 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=9853&itf=89518 */ api_tag_analysisTag_$id_delete_delete: { Req: {}; Res: { data?: {}; info?: { message?: null; ok?: boolean; }; ok?: boolean; }; }; /** * 接口名:获取标签分组列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11139&itf=99907 */ $regx_api_dmp_tag_group_list_get: { Req: { /** * 钻展前端组件bizCode, eg1: 钻展破圈自定义 zszwPoquanZidingyi */ bizCode?: string; /** * 默认true */ needTags?: boolean; /** * 常量 1 ,后续可能扩展 */ groupType?: number; }; Res: { data?: { [k: string]: any; }[]; info?: { ok?: boolean; /** * 错误提示 */ message?: string; }; }; }; /** * 接口名:获取标签详情 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11139&itf=100011 */ $regx_api_dmp_tag_get_get: { Req: { /** * 前端业务身份 */ bizCode?: string; /** * 标签id */ tagId?: number; }; Res: { data?: { tag?: { [k: string]: any; }[]; }; info?: { ok?: boolean; message?: string; }; }; }; /** * 接口名:标签选项搜索查询 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11139&itf=99924 */ $regx_api_dmp_tag_option_list_get: { Req: { /** * 前端业务身份 */ bizCode?: string; optionGroupId?: number; /** * 分页起始位置 */ offset?: number; /** * 分页大小 */ pageSize?: number; /** * 选项名称模糊搜索 */ optionName?: string; parentOptionId?: number; tagId?: number; parentOptionValue?: string; }; Res: { info?: { ok?: boolean; message?: string; }; data?: { list?: { [k: string]: any; }[]; }; }; }; /** * 接口名:创建人群 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11139&itf=99940 */ $regx_api_dmp_crowd_create_post: { Req: { dmpCrowd?: { /** * SelectTagOptionSet结构 */ selectTagOptionSetDTO?: {}; /** * 隐藏人群 82,,常用人群 83 */ businessType?: number; /** * 人群名称 */ crowdName?: string; }; /** * 前端业务身份 */ bizCode?: string; }; Res: { data?: { /** * 人群id */ crowdId?: number; }; info?: { ok?: boolean; message?: string; }; }; }; /** * 接口名:人群预估 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11139&itf=99966 */ $regx_api_dmp_analysis_coverage_post: { Req: { /** * 前端业务身份 */ bizCode?: string; analysisQueryVO?: { /** * selectTagOptionSet结构 */ selectTagOptionSet?: string; lookalikeAlgoType?: string; lookalikeMultiple?: string; }; }; Res: { data?: { /** * 有加密 -- 覆盖人数 */ coverage?: number; /** * 仪表盘 */ level?: number; /** * 1 表示模糊处理过 */ hintDataSecurity?: number; lookalikeSuggestion?: boolean; adPredictOn?: boolean; hintDataSecurityInfo?: string; }; info?: { ok?: boolean; message?: string; }; }; }; /** * 接口名:人群列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11139&itf=101596 */ $regx_api_dmp_crowd_list_get: { Req: { pageSize?: string; groupId?: string; status?: string; /** * 人群类型筛选 */ businessType?: number; /** * 列表类型:1=我创建的人群列表,2=合作方人群列表,3=数据银行,4=策略中心自建,5=达摩盘 */ listType?: number; bizCode?: string; crowdName?: string; page?: string; /** * 人群id */ crowdIdList?: any[]; /** * 私域 */ dmpAppIdList?: any[]; /** * 是否需要tag */ withCrowdXTag?: boolean; }; Res: { info?: { ok?: boolean; }; data?: { crowdDeliverNum?: { delivering?: number; deliverApp?: number; undeliverApp?: number; }; list?: { isLookalikePctrEffect?: boolean; selectTagOptionSetDTO?: { operator?: number; selectTagOptionSetDTO?: { operator?: number; selects?: any[]; selectTagOptionSetDTO?: { [k: string]: any; }; }[]; selects?: any[]; }; crowdId?: number; crowdName?: string; coverage?: number; memberId?: number; userExpression?: string; validDate?: string; garudaExpression?: string; baseCrowdExpression?: string; warning?: number; isLookalike?: number; status?: number; createtime?: string; apps?: { appId?: number; dspId?: number; appName?: string; status?: number; iconMark?: string; }[]; options?: { tagId?: number; tagName?: string; optionGroupId?: number; value?: string; type?: string; source?: string; operatorType?: number; optionNameMap?: { '1'?: string; }; }[]; extra?: { isEnableAnalysis?: string; APPLICATION_SCENE?: number; isEnableDelete?: string; isEnableEdit?: string; isEnableDuplicate?: string; /** * 是否已经授权给小二版 */ SYNC_X2?: string; /** * 是否允许追踪 */ isEnableTrack?: string; }; applyDeliverAfterCreate?: boolean; dmpAppId?: string; businessType?: number; source?: string; groupId?: number; storageType?: number; }[]; pager?: { previouPage?: number; pageTotal?: number; endPage?: number; position?: number; nextPage?: number; pageSize?: number; total?: number; currentPage?: number; beginPage?: number; }; count?: number; }; message?: null; }; }; /** * 接口名:获取人群详情 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11139&itf=101107 */ $regx_api_dmp_crowd_get_get: { Req: { dmpCrowdId?: number; /** * 业务身份 */ bizCode?: string; }; Res: { data?: { dmpCrowd?: { lookalikeTargetCount?: number; lookalikeAlgoType?: number; lookalikeMultiple?: number; targetFeatures?: { [k: string]: any; }[]; crowdId?: number; crowdName?: string; coverage?: number; memberId?: number; validDate?: string; warning?: number; isLookalike?: number; status?: number; createtime?: string; apps?: { id?: number; appId?: number; dspId?: number; appName?: string; status?: number; enableTime?: number; iconMark?: string; }[]; options?: { tagId?: number; tagName?: string; optionGroupId?: number; value?: string; type?: string; source?: string; operatorType?: number; optionNameMap?: { '50002766'?: string; '50008141'?: string; '50016422'?: string; '50026316'?: string; }; }[]; extra?: { times?: number; preference_brand_id?: string; preference_brand_name?: string; tagCombination?: string; tagList?: string; crowdList?: string; lbsStorageData?: string; lookalikeSuggestion?: boolean; isEnableAnalysis?: string; isEnableDelete?: string; isEnableEdit?: string; isEnableDuplicate?: string; 'lbsStorageData.bak'?: string; selectedKeyWords?: string; userExpression?: string; }; applyDeliverAfterCreate?: boolean; dmpAppId?: number; businessType?: number; groupId?: number; storageType?: number; selectTagOptionSetDTO?: { [k: string]: any; }[]; }; }; info?: { ok?: boolean; }; message?: null; }; }; /** * 接口名:达摩盘人群转换业务线人群 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11139&itf=100041 */ $regx_api_dmp_crowd_convert_post: { Req: { /** * 前端业务身份 */ bizCode?: string; dmpCrowdIdList?: any[]; }; Res: { data?: { /** * 业务线人群 */ bizCrowdList?: { crowdId?: number; crowdValue?: number; canEdit?: boolean; }[]; }; info?: { ok?: boolean; message?: string; }; }; }; /** * 接口名:删除人群 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11139&itf=101598 */ $regx_api_dmp_crowd_delete_post: { Req: { dmpCrowdId?: number; /** * 业务身份 */ bizCode?: string; }; Res: { info?: { ok?: boolean; }; data?: {}; }; }; /** * 接口名:修改人群 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11139&itf=101756 */ $regx_api_dmp_crowd_modify_post: { Req: { bizCode?: string; dmpCrowd?: { crowdId?: string; crowdName?: string; selectTagOptionSet?: string; }; }; Res: { info?: { ok?: boolean; }; data?: { crowdId?: number; }; }; }; /** * 接口名:查询权限 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11139&itf=104168 */ $regx_api_dmp_permission_get: { Req: { bizCode?: string; }; Res: { /** * dmpPlatform 达摩盘平台权限 * * dmpBizBase 业务线达摩盘权限(浮层是否可用) * * dmpBizVip 业务线达摩盘高级权限 */ data?: string[]; info?: { ok?: boolean; message?: string; }; }; }; /** * 接口名:标签推荐 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11139&itf=104321 */ $regx_api_dmp_tag_recommend_list_post: { Req: { bizCode?: string; /** * 查询业务id * * 1=圈人统一标签组合-常规推荐 * * 2=圈人统一关联标签推荐 */ queryBizId?: number; /** * 仅在关联特征推荐时需要,传select选项信息 */ selectTagOptionSetDTO?: {}; }; Res: { data?: { list?: { /** * 标签组合信息 */ selectTagOptionSetDTO?: { [k: string]: any; }[]; rank?: number; uv?: number; ctrIndex?: string; ppcIndex?: string; combinationKeyId?: string; }[]; }; info?: { ok?: boolean; }; }; }; /** * 接口名:人群模板 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11139&itf=104358 */ $regx_api_dmp_crowd_template_list_get: { Req: { bizCode?: string; /** * 模版类型(预留字段,待定) */ templateType?: number; }; Res: { data?: { list?: { /** * 模版名称,用于人群名称 */ name?: string; /** * 模版描述,提示用 */ description?: string; /** * 规则对象 */ crowdRule?: { /** * 圈人规则对应的标签语法树(可能有变量) */ selectTagOptionSetDTO?: { [k: string]: any; }[]; /** * 拓展信息,拓展信息定义可以先看下近贤文档,搜索 人群模板配置信息 https://yuque.antfin-inc.com/docs/share/b9d9dc09-9c95-4ff5-af6b-86acd4f2e945?#1U5tw */ ext?: string; }; ext?: string; }[]; }; info?: { ok?: boolean; }; }; }; /** * 接口名:广告效果数据预估 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11139&itf=104392 */ $regx_api_dmp_analysis_adpredict_post: { Req: { bizCode?: string; selectTagOptionSetDTO?: {}; analysisSetting?: { /** * 仅当人群扩量时需要,16(前端传) */ lookalikeAlgoType?: number; /** * 仅当人群扩量时需要,扩量倍数(前端传) */ lookalikeMultiple?: number; }; adPredictQuery?: { /** * 1-广告效果分析,2-单标签选项效果 */ queryType?: number; /** * 1-钻展,2-直通车,3-超推(前端传) */ deliverType?: number; /** * 一级类目id */ cateId?: number; }; }; Res: { data?: { adPredict?: { ctrIndex?: string; ppcIndex?: string; rank?: number; 'coverage -- 近贤给的接口还没有这个字段,待定'?: number; industryCompetitionPredicts?: { ppcIndex?: string; dailyReachUV?: number; competeMemberCnt?: number; competeHotIndex?: number; }[]; dailyReachUV?: number; hint?: number; }; }; info?: { ok?: boolean; }; }; }; /** * 接口名:数据查询工具服务 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11139&itf=104442 */ $regx_api_dmp_tool_extradata_get: { Req: { bizCode?: string; /** * 查询店铺主营类目。返回数据见 data. shopMainCate */ queryShopMainCate?: number; queryShopId?: number; }; Res: { data?: { shopMainCate?: { cateId?: number; cateName?: string; }[]; shopId?: number; }; info?: { ok?: boolean; }; }; }; /** * 接口名:扩量人群创建接口 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11139&itf=225245 */ api_crowd_advice_post: { Req: { /** * 直通车-subway * 超推-feedFlow * 钻展-zszw */ bizCode?: string; /** * 用户勾选的人群集合 */ adviceList?: { /** * 人群类型:1=天宫人群,2=高阶版白盒人群,3=基础版白盒人群(只有2和3) */ sugType?: number; /** * 达摩盘人群id【原样回传】 */ dmpCrowdId?: number; /** * 判断建议策略: 1-兜底走looklike,0-白盒建议,【原样回传】 */ isDefault?: number; /** * 用于lookalike的放大倍数, 其他人群默认为0【原样回传】 */ extendSize?: number; /** * 扩量机会: 用于build/扩量逻辑的字段; 场景机会: 记录deliverAppId(同步渠道id) * * suggestList下多条expBuildSugStruct,(只在用户勾选的suggest里有dmp人群才传,即sugType=2 || 3) */ expBuildSugStructList?: string[]; }[]; }; Res: { data?: { crowdList?: { /** * 原人群id */ oldCrowdId?: number; /** * 新人群id */ newCrowdId?: number; /** * 新人群名称 */ newCrowdName?: string; }[]; }; info?: { code?: number; ok?: boolean; message?: string; }; }; }; /** * 接口名:达摩盘人群优化建议提示 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11139&itf=235181 */ api_crowd_advice_tip_get: { Req: { /** * 查询类型:TOTAL=汇总,DETAIL=分渠道 */ queryType?: string; }; Res: { data?: { channelAdvice?: { /** * 渠道:0=全部、1-直通车、2-钻展、3-超推 * */ channel?: number; /** * 可优化人群数量 */ advice_cnt?: number; }[]; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:扩量机会-获取建议 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11139&itf=225578 */ $regx_api_crowd_whitebox_extend_suggest_get_get: { Req: { /** * 直通车-subway * 超推-feedFlow * 钻展-zszw */ bizCode?: string; /** * 直通车场景下可以切换是否在单元下或全量查询 */ queryParam?: { campaignId?: number; adgroupId?: number; }; }; Res: { data?: { list?: { campaignId?: number; /** * 计划名称 */ campaignName?: string; adgroupId?: number; /** * 单元名称 */ adgroupName?: string; /** * BP侧人群id */ crowdId?: number; /** * BP侧人群名称 */ crowdName?: string; /** * dmp侧人群id */ dmpCrowdId?: number; /** * 覆盖受众 */ crowdSize?: number; /** * 叠加买词覆盖受众 - 直通车才有 */ crowdSizeWithWord?: number; /** * 人群排序 */ crowdRank?: number; /** * 判断建议策略: 1-兜底走looklike,0-白盒建议 */ isDefault?: number; suggestList?: { /** * 建议类型[1天宫人群、2高阶版白盒人群、3基础版白盒人群、4流量智选、5竞品词包、6洼地词包] * * 1- 3人群 (2,3是DMP人群,DMP人群需要请求dmp接口返回新旧id) * 4-6 词 */ sugType?: number; /** * 优化建议文案 */ suggestion?: string; /** * 用户build具体建议的字段,回传给后端 */ expBuildSugStruct?: string; /** * 推荐理由文案 */ suggestionIncUv?: string; sugRank?: number; }[]; campaignGroupId?: number; /** * 计划组名称 */ campaignGroupName?: string; /** * 覆盖情况解析文案 */ coverageInfo?: string; /** * 用于lookalike的放大倍数, 其他人群默认为0 */ extendSize?: number; }[]; }; info?: { errorCode?: null; message?: null; ok?: boolean; redirectUrl?: null; unlockUrl?: null; }; }; }; /** * 接口名:扩量机会-采纳建议 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11139&itf=225620 */ $regx_api_crowd_whitebox_extend_suggest_apply_post: { Req: { bizCode?: string; applySuggestList?: { campaignId?: number; adgroupId?: number; crowdId?: number; crowdRank?: number; /** * 人群建议 */ crowdExtendSuggest?: { /** * dmp老人群id(dmp人群) */ oldDmpId?: number; /** * dmp新人群id(dmp人群) */ newDmpId?: number; /** * gidStruct(天宫人群)取expBuildSugStruct字段 */ gidStruct?: string; sugType?: number; sugRank?: number; /** * dmp新人群名称(dmp人群) */ newDmpName?: string; }[]; /** * 词建议 */ wordExtendSuggest?: { sugType?: number; /** * 取expBuildSugStruct字段 */ wordSugStruct?: string; sugRank?: number; }[]; /** * 达摩盘人群id,dmp老人群id(dmp人群) */ dmpCrowdId?: number; }[]; }; Res: { info?: { errorCode?: null; message?: string; ok?: boolean; redirectUrl?: null; unlockUrl?: null; }; }; }; /** * 接口名:场景机会-获取建议 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11139&itf=225626 */ $regx_api_crowd_whitebox_scene_suggest_get_get: { Req: { bizCode?: string; queryParam?: { campaignId?: number; adgroupId?: number; }; }; Res: { data?: { list?: { campaignId?: number; campaignName?: string; adgroupId?: number; adgroupName?: string; crowdId?: number; crowdName?: string; dmpCrowdId?: number; crowdSize?: number; crowdRank?: number; isDefault?: number; suggestList?: { sugType?: number[]; suggestion?: string; expBuildSugStruct?: string; sugRank?: string; }[]; campaignGroupId?: number; campaignGroupName?: string; }[]; }; info?: { errorCode?: null; message?: null; ok?: boolean; redirectUrl?: null; unlockUrl?: null; }; }; }; /** * 接口名:场景机会-采纳建议 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11139&itf=225654 */ $regx_api_crowd_whitebox_scene_suggest_apply_post: { Req: { bizCode?: string; applySuggestList?: { campaignId?: number; adgroupId?: number; crowdId?: number; crowdRank?: number; crowdSceneSuggest?: { /** * 用的是 expBuildSugStruct 值 */ deliverAppId?: number; sugType?: number; sugRank?: number; }[]; /** * 达摩盘人群id */ dmpCrowdId?: number; }[]; }; Res: { info?: { errorCode?: null; message?: null; ok?: boolean; redirectUrl?: null; unlockUrl?: null; }; data?: { /** * 错误code */ errorCode?: string; /** * 采纳错误信息 */ partialErrorMsg?: string; }[]; }; }; /** * 接口名:溢价机会-获取建议 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11139&itf=240887 */ $regx_api_crowd_whitebox_price_suggest_get_get: { Req: { bizCode?: string; queryParam?: { campaignId?: number; /** * 0-出价 * 1-溢价 */ priceType?: number; adgroupId?: number; }; }; Res: { data?: { list?: { constraintType?: string; campaignId?: number; adgroupId?: number; campaignName?: string; adgroupName?: string; crowdId?: number; crowdName?: string; crowdRank?: number; /** * 当前溢价(单位10%) */ discount?: number; /** * 当前出价 (单位分) */ defaultPrice?: number; /** * 建议溢价(单位X%) */ sugDiscount?: number; /** * 建议出价(单位分) */ sugPrice?: number; /** * 预估提升百分比 (如果没值,提示数据量较少文案) * 单位 X% */ predictImprovePer?: number; /** * 出价的单位 */ constraintValueDesc?: string; /** * 营销目标 * 2-成交量 * 4-泛加购量 * 8-点击量 * 32-关注量 * 64-曝光量 * * 【钻展才有】 * 如果 marketingAim = 64,图表展示 曝光量yPv,其他展示 点击量yClick 对吧 * */ marketingAim?: number; campaignGroupId?: number; campaignGroupName?: string; /** * 前端列表用来区分的key */ uniquePriceSugKey?: string; }[]; }; info?: { errorCode?: null; message?: null; redirectUrl?: null; ok?: boolean; unlockUrl?: null; }; }; }; /** * 接口名:溢价机会-获取建议-备份改动历史-先不要删 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11139&itf=225656 */ $regx_bak_api_crowd_whitebox_price_suggest_get_get: { Req: {}; Res: {}; }; /** * 接口名:溢价机会-采纳建议 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11139&itf=225658 */ $regx_api_crowd_whitebox_price_suggest_apply_post: { Req: { bizCode?: string; applySuggestList?: { campaignId?: string; adgroupId?: string; crowdId?: string; crowdRank?: string; crowdPriceSuggest?: { sugType?: number; sugDiscount?: number; sugPrice?: number; marketingAim?: number; priceType?: number; }[]; }[]; }; Res: { info?: { errorCode?: null; message?: null; ok?: boolean; redirectUrl?: null; unlockUrl?: null; }; }; }; /** * 接口名:溢价机会-获取预估曲线 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11139&itf=226077 */ $regx_api_crowd_whitebox_price_simulator_get_get: { Req: { bizCode?: string; querySimulatorParam?: { /** * 钻展必选 */ campaignId?: number; adgroupId?: number; /** * 超推/直通车必选 */ crowdId?: number; /** * 0-出价 * 1-溢价 */ priceType?: number; }; }; Res: { data?: { /** * 直通车、超推 */ crowdId?: number; /** * 预估曲线(模拟器) */ simulator?: { /** * 0-出价 * 1-溢价 */ priceMode?: number; xMin?: number; xMax?: number; pointNum?: number; pointList?: { /** * 顺序值 */ index?: number; /** * 直通车: 溢价比例,X % * 钻展:出价,分 * 超推:出价,分 */ xValue?: number; /** * 点击 */ yClick?: number; /** * 曝光 */ yPv?: number; /** * 点击量提升,X% */ yClickRate?: number; /** * 展现量提升,X% */ yPvRate?: number; }[]; }; /** * 钻展 */ campaignId?: string; }; info?: { errorCode?: null; message?: null; ok?: boolean; redirectUrl?: null; unlockUrl?: null; }; }; }; /** * 接口名:获取用户信息 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11139&itf=235814 */ $regx_api_member_getInfo_get: { Req: { bizCode?: string; }; Res: { data?: { csrfID?: string; }; info?: { ok?: boolean; }; }; }; /** * 接口名:提交一个场景圈人任务 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11802&itf=104073 */ api_scenario_cluster_addTask_post: { Req: { taskName?: string; /** * 单品Id列表 */ productIdList?: any[]; /** * 单品名称列表 */ productNameList?: string; /** * 行为类型 * 1 购买 * 2 收藏 * 3 浏览 * 4 加购 * 5 搜索 * 6 预售下单 * * 如果是多值列请用逗号分隔 */ behaviorValue?: string; /** * 近N天 */ timeWindow?: string; /** * 行为名称 * 购买,收藏加购 ,浏览 * * 如果是多值列请用逗号分隔 */ behavior?: string; /** * 单品一级类目列表 */ productLevelList?: string; /** * 单品二级类目列表 */ productCateList?: string; /** * 单品属性列表 */ productTags?: string; /** * 自定义事件开始 */ timeStart?: string; /** * 自定义时间结束 */ timeEnd?: string; /** * 1 表示新版本单品 * 0 表示旧版本 */ newVersion?: string; /** * 1:表示入口是洞察任务列表 * 2:表示入口是榜单创建的任务 */ srcWeb?: string; }; Res: { info?: { ok?: boolean; }; data?: {}; }; }; /** * 接口名:列出所有场景圈人 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11802&itf=104133 */ api_scenario_cluster_list_get: { Req: { pageSize?: number; page?: number; /** * 不填为所有 */ status?: string; }; Res: { data?: { pager?: { currentPage?: number; pageNum?: number; pageSize?: number; position?: number; total?: number; }; taskList?: { kmeansTaskName?: string; kmeansTaskId?: number; productNames?: string; behavior?: string; status?: string; createDate?: string; updateDate?: string; adviceCount?: number; timeWindow?: string; clusterCrowd?: { crowdName?: string; coverage?: number; businessType?: string; extensionTagName?: string; clusterLevelName?: string; ''?: string; }[]; productNameList?: any[]; }[]; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:获取店铺下所有宝贝列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11802&itf=105055 */ api_scenario_cluster_getItems_get: { Req: { pageSize?: number; page?: string; /** * 搜索宝贝名称 */ itenName?: string; /** * 为true表示jcgp单品 */ jcgpItem?: boolean; }; Res: { data?: { pager?: { currentPage?: number; pageNum?: number; pageSize?: number; position?: number; total?: number; }; itemList?: { itemId?: number; itemTitle?: string; level1Id?: number; level1Name?: string; cateId?: number; cateName?: string; picUrl?: string; tags?: string; analyzeStatus?: string; }[]; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:删除一个场景圈人任务 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11802&itf=104293 */ api_scenario_cluster_delete_post: { Req: { kmeansTaskId?: number; }; Res: { data?: { success?: boolean; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:查看一个场景聚类任务结果 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11802&itf=104153 */ api_scenario_cluster_view_get: { Req: { kmeansTaskId?: number; kmeansCnt?: number; }; Res: { data?: { adviceInfo?: { subClusterIdx?: number; text?: string; /** * 人群名称 */ subClusterName?: string; /** * 转化能手 * 历史最佳 */ clusterTag?: string; }[]; crowdList?: { kmeansTaskId?: number; subClusterIdx?: number; clusterName?: string; crowdNum?: number; percentage?: number; conclusion?: string; tags?: { /** * 基础信息 */ basicAttributes?: { tagNameWithValue?: string; diff?: number; tagId?: number; optionGroupId?: number; optionName?: string; optionValue?: number; selects?: any[]; newDiffScore?: number; }[]; /** * (单品偏好) */ interests?: { tagNameWithValue?: string; diff?: number; tagId?: number; optionGroupId?: number; optionName?: string; optionValue?: number; selects?: { [k: string]: any; }[]; newDiffScore?: number; }[]; /** * 行业偏好 */ industryAttributes?: { tagNameWithValue?: string; diff?: number; tagId?: number; optionGroupId?: number; optionName?: string; optionValue?: number; selects?: { [k: string]: any; }[]; newDiffScore?: number; }[]; /** * 渠道偏好 */ marketPreference?: { tagNameWithValue?: string; diff?: number; tagId?: number; optionGroupId?: number; optionName?: string; optionValue?: number; selects?: { [k: string]: any; }[]; newDiffScore?: number; }[]; }; /** * 人群名称 */ rate1?: string; /** * 人群建议文案 */ rate2?: string; /** * 宝贝粒度 点击率 */ rate3?: string; /** * 叶子类目 点击率 */ rate4?: string; /** * 宝贝粒度 点击转化率 */ rate5?: string; /** * 叶子类目 点击转化率 */ rate6?: string; /** * 叶子类目 件单价(衡量购买力) */ rate7?: string; /** * 宝贝粒度 行动率 */ rate8?: string; /** * 叶子类目 行动率 */ rate9?: string; productNameList?: any[]; /** * 打标数据 */ rate10?: string; /** * 421的标签结构表示的人群 */ selectTagOptionSet?: { [k: string]: any; }[]; }[]; headerInfo?: { /** * 单品名称 */ productNameList?: any[]; /** * 单品属性 */ productAttributeText?: string; /** * 行为 */ behavior?: string; /** * 周期 */ timeWindow?: string; /** * 人群量级 */ count?: number; /** * 开始周期 */ timeStart?: string; /** * 结束周期 */ timeEnd?: string; /** * 1 表示新版 * 0 表示旧版 */ newVersion?: string; }; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:查看显著特征详情 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11802&itf=104170 */ api_scenario_cluster_detail_get: { Req: { kmeansTaskId?: number; kmeansCnt?: number; subClusterIdx?: number; }; Res: { data?: { clusterDetail?: { tagsInDetail?: { basicAttributes?: { tagNameWithValue?: string; diff?: number; tagId?: number; optionGroupId?: number; optionName?: string; optionValue?: number; selects?: string; newDiffScore?: string; }[]; interests?: { tagNameWithValue?: string; diff?: number; tagId?: number; optionGroupId?: number; optionName?: string; optionValue?: number; selects?: string; newDiffScore?: string; }[]; marketPreference?: { tagNameWithValue?: string; diff?: number; tagId?: number; optionGroupId?: number; optionName?: string; optionValue?: number; selects?: string; newDiffScore?: string; }[]; industryAttributes?: { tagNameWithValue?: string; diff?: number; tagId?: number; optionGroupId?: number; optionName?: string; optionValue?: number; selects?: string; newDiffScore?: string; }[]; }; rate1?: string; rate2?: string; rate3?: string; rate4?: string; rate5?: string; rate6?: string; rate7?: string; rate8?: string; rate9?: string; rate10?: string; }; /** * 1表示升级版 */ newVersion?: string; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:直接生成人群 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11802&itf=104171 */ api_scenario_cluster_createCrowd_post: { Req: { kmeansTaskId?: number; /** * 来自adviceCnt */ kmeansCnt?: number; subClusterIdxList?: number[]; crowdName?: string; validTime?: string; subClusterNameList?: any[]; /** * 分组 */ groupId?: string; /** * 非空时表示直接应用到渠道 */ deliverAppIdLst?: any[]; /** * 421表示的人群结构 */ base?: string; }; Res: { data?: { crowdId?: number; }; info?: { message?: string; ok?: boolean; }; }; }; /** * 接口名:人群覆盖数目 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11802&itf=104394 */ api_scenario_cluster_coverage_post: { Req: { kmeansTaskId?: number; extensionTag?: number[]; /** * 所用到的子类 */ subClusterIdxList?: any[]; /** * 表示基础人群的421结构 */ base?: {}; /** * 表示扩展人群的421结构 */ candidate?: string; }; Res: { data?: { count?: number; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:人群智能扩展 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11802&itf=104176 */ api_scenario_cluster_expand_post: { Req: { kmeansTaskId?: number; subClusterIdxList?: any[]; /** * 只传递标签Id * 1~6表示不同扩展方向 */ extensionTag?: number; crowdName?: string; validTime?: string; targetCrowdNum?: number; groupId?: number; /** * 非空时表示直接同步到渠道 */ deliverAppIdLst?: any[]; subClusterNameList?: any[]; /** * 1促进点击 * 2促进收藏架构 * 3促进成交 */ optimizeAim?: number; /** * 1 排除已选单品人群 * 2 排除已选单品老客 * 3 排除本店老客 */ excludeOption?: number; /** * 1 默认打开 * 0 默认关闭 */ dailyUpdate?: number; /** * 表示基础人群的421结构 */ base?: string; /** * 表示扩展人群的421结构 */ candidate?: string; }; Res: { info?: { ok?: boolean; }; data?: null; }; }; /** * 接口名:广告预估 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11802&itf=104416 */ api_scenario_cluster_predict_post: { Req: { kmeansTaskId?: string; subClusterIdxList?: any[]; extensionTag?: number; cateId?: string; cateType?: string; deliverType?: string; keywords?: string; targetCrowdNum?: number; /** * 表示基础人群的421结构 */ base?: {}; /** * 表示候选人群的421结构 */ candidate?: {}; }; Res: { data?: { dailyReachUV?: number; ctr?: number; ppc?: number; ppcIndex?: string; ctrIndex?: string; hintDataSecurity?: boolean; industryCompetitionPredicts?: { competeMemberCnt?: number; dailyReachUV?: number; competeHotIndex?: number; ppcIndex?: string; ppcLevel?: number; hintDataSecurity?: string; hintDataSecurityInfo?: string; }[]; hintDataSecurityInfo?: string; hint?: number; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:获取种子人群覆盖数 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11802&itf=105974 */ api_scenario_cluster_seedCoverage_post: { Req: { behaviorValue?: string; productIdList?: any[]; timeStart?: string; timeEnd?: string; }; Res: { data?: { count?: number; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:获取扩展方向列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11802&itf=153189 */ api_scenario_cluster_getExtensionTag_get: { Req: { /** * 1 日常推广 * 2 大促拉新 */ type?: string; kmeansTaskId?: string; }; Res: { data?: { text?: string; /** * 421结构组成的列表 */ tagList?: { [k: string]: any; }[]; type?: number; }[]; info?: { ok?: boolean; }; }; }; /** * 接口名:获取用户目前已经消耗的quota * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11802&itf=106647 */ api_scenario_cluster_getUsedQuota_get: { Req: {}; Res: { data?: { total?: number; used?: number; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:重跑任务 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11802&itf=106876 */ api_scenario_cluster_reRun_post: { Req: { /** * 重跑任务Id */ kmeansTaskId?: string; }; Res: { info?: { ok?: boolean; }; data?: {}; }; }; /** * 接口名:单品诊断获取文本信息 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11802&itf=125772 */ api_scenario_cluster_insightItem_get: { Req: { memberId?: number; }; Res: { data?: { items?: { itemList?: { item_id?: number; /** * 宝贝名称 */ item_title?: string; /** * 单品流量指数 */ item_ipv_cur_30d?: string; /** * 单品流量指数同比 */ item_ipv_pre_30d_hb?: number; /** * 相似宝贝同期 */ sim_item_ipv_cur_30d?: string; /** * 单品对店铺的贡献指数 */ shop_contri_cur_30d?: string; pic_url?: string; item_rank?: string; item_price?: number; /** * 1 流量下降 * 2 成交贡献下降 * 3 未创建分析任务 * * 4潜力预售商品标 * 5天猫双11预售标 /双11现货标 * 6淘宝开门红标/狂欢日标 * * 可能存在多个值 */ type?: number[]; /** * 一级类目id */ level1Id?: number; /** * 一级类目名称 */ level1Name?: string; /** * 二级类目id */ level2Id?: number; /** * 二级类目名称 */ level2Name?: string; /** * 叶子类目id */ cateId?: number; /** * 叶子类目属性 */ cateName?: string; /** * 单品属性,逗号分隔 */ tags?: string; shop_contri_pre_30d_hb?: string; /** * 0 表示不支持单品策略 * 1 表示支持单品策略 */ has_strategy?: string; /** * 0 表示数据准备中 * 1 表示支持单品策略 */ analyze_status?: string; }[]; /** * 1 流量单品 * 2 成交单品 * 3 自定义单品 */ type?: number; itemName?: string; }[]; adviceList?: { text?: string; type?: number; }[]; }; info?: { ok?: boolean; }; }; }; /** * 接口名:人群分类投放效果 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11802&itf=125825 */ api_scenario_cluster_effect_get: { Req: { kmeansTaskId?: string; /** * 聚类数目 */ kmeansCnt?: string; }; Res: { data?: { effect?: { clusterDetail?: { clusterName?: number; crowdNum?: number; percentage?: number; rate1?: number; rate2?: number; rate3?: number; rate4?: number; rate5?: number; rate6?: string; rate7?: string; rate8?: string; rate9?: string; rate10?: string; diffScore?: string; }; }[]; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:获取店铺一级类目与二级类目 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11802&itf=131859 */ api_scenario_cluster_category_get: { Req: { memberId?: string; /** * 限制一级类目id * -1表示查询一级类目 */ cateId?: string; }; Res: { data?: { cateId?: number; cateName?: string; /** * 1,一级类目,2,二级类目 */ cateLevel?: number; /** * 为0代表是一级类目 */ parentId?: number; }[]; info?: { ok?: boolean; }; }; }; /** * 接口名:人群智能迭代红黑榜 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11802&itf=132737 */ api_scenario_cluster_updateLook_get: { Req: { /** * 人群Id */ crowdId?: string; }; Res: { data?: { positive?: { featureName?: string; score?: number; }[]; negative?: { featureName?: string; score?: number; }[]; /** * 1 表示打开迭代 * 0 表示关闭迭代或者尚未进行过迭代 */ dailyUpdate?: number; /** * 最近一次更新的分区 */ ds?: string; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:编辑一个人群有效期和名称 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11802&itf=132830 */ api_scenario_cluster_editCrowd_post: { Req: { crowdId?: string; crowdName?: string; /** * yyyy-MM-dd */ validDate?: string; }; Res: { info?: { ok?: boolean; }; data?: null; }; }; /** * 接口名:人群迭代功能打开或者关闭 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11802&itf=134437 */ api_scenario_cluster_updateChange_post: { Req: { /** * 1 表示打开 * 0 表示关闭 */ dailyUpdate?: number; crowdId?: number; }; Res: { info?: { ok?: boolean; }; data?: {}; }; }; /** * 接口名:获得一个用户是否为白名单用户 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11802&itf=139918 */ api_scenario_cluster_checkIfWhiteList_get: { Req: {}; Res: { data?: boolean; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:校验用户是否有权限进行智能扩展 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11802&itf=156419 */ api_scenario_cluster_checkIfEmpower_get: { Req: {}; Res: { /** * 1:表示当前用户等级未达到 * 2:表示当前系统降级中 * 3:表示正常权限 */ data?: string; }; }; /** * 接口名:人群策略-核心人群 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11802&itf=174324 */ api_scenario_cluster_strategy_crowd_post: { Req: { /** * 30,90,180 */ timeWindow?: string; itemId?: string; }; Res: { data?: { count?: number; detail?: { /** * 单品浏览 */ browseCnt?: number; /** * 单品搜索 */ searchCnt?: number; /** * 单品收藏加购 */ collectCnt?: number; /** * 单品浏览购买转化率 */ browseCnt_ratio?: number; /** * 单品搜索购买转化率 */ searchCnt_ratio?: number; /** * 单品收藏加购购买转化率 */ collectCnt_ratio?: number; /** * 单品购买人群 */ buyCnt?: number; }; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:人群策略-店铺人群 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11802&itf=174389 */ api_scenario_cluster_strategy_shop_post: { Req: { timeWindow?: string; itemId?: string; }; Res: { data?: { count?: number; detail?: { /** * 广告渠道曝光人群 */ adImpressedCnt?: number; /** * 内容渠道浏览人群 */ contentBroCnt?: number; /** * 活动渠道浏览人群 */ activityBroCnt?: number; /** * 广告渠道曝光人群购买转化率 */ adImpressedCnt_ratio?: number; /** * 内容渠道浏览人群购买转化率 */ contentBroCnt_ratio?: number; /** * 活动渠道浏览人群购买转化率 */ activityBroCnt_ratio?: number; /** * 店铺浏览人群 */ browseCnt?: number; /** * 推荐渠道曝光人群 */ recTouchCnt?: number; /** * 推荐渠道曝光人群购买转化率 */ recTouchCnt_ratio?: number; }; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:人群策略-叶子类目细分 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11802&itf=174390 */ api_scenario_cluster_strategy_cate_post: { Req: { timeWindow?: string; itemId?: string; cateId?: string; page?: number; pageSize?: number; /** * 1:年龄 * 2:性别 * 3 年龄*性别 */ type?: string; /** * 1 升序 * 2 降序 */ sortType?: string; /** * 1 规模 * 2 兴趣度 */ sortKey?: string; itemName?: string; }; Res: { data?: { detailList?: { /** * 人群名称 */ ageTitle?: string; /** * 单品规模 */ count?: number; /** * 兴趣度 */ interests?: number; /** * 421结构人群标签用于投放 */ selectTagOptionSet?: { [k: string]: any; }[]; genderTitle?: string; }[]; pager?: { currentPage?: number; pageNum?: number; pageSize?: number; position?: number; total?: number; }; /** * 累计浏览人群规模 */ count?: number; /** * 全局最高信息 */ detail?: { /** * 421标签结构 */ selectTagOptionSet?: { [k: string]: any; }[]; }; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:人群策略-叶子类目关键词 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11802&itf=174394 */ api_scenario_cluster_strategy_keyword_post: { Req: { timeWindow?: string; itemId?: string; cateId?: string; page?: string; pageSize?: string; sortType?: string; sortKey?: string; itemName?: string; }; Res: { data?: { detailList?: { /** * 关键词 */ word?: string; /** * 未成交人群规模 */ count?: number; /** * 兴趣度 */ interests?: number; /** * 421标签结构 */ selectTagOptionSet?: { [k: string]: any; }[]; }[]; pager?: { currentPage?: number; pageNum?: number; pageSize?: number; position?: number; total?: number; }; /** * 叶子类目累计浏览人群规模 */ count?: number; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:单品策略-获取人群推荐 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11802&itf=174419 */ api_scenario_cluster_strategy_recommend_post: { Req: { /** * 叶子类目Id */ cateId?: number; /** * 15=单品核心策略 */ queryBizId?: number; /** * 用于单品核心策略人群推荐 * 4 单品核心人群 * 5 店铺触达人群 * 7 品牌人群 * 8 叶子类目人群 */ subBizId?: string; timeWindow?: string; /** * 宝贝Id */ itemId?: string; /** * 需要排除的人群推荐主键key */ uniqueIdList?: any[]; /** * 0 表示人群策略页面的推荐 * 1 表示更多人群列表中的推荐 */ recType?: string; page?: string; pageSize?: string; /** * 1 升序 * 2 降序 */ sortType?: string; /** * 0 默认 按照后端推荐的rank出 * 1 coverage * 2 ctr */ sortKey?: string; /** * 1级类目Id */ cateLevel1Id?: string; }; Res: { data?: { pager?: { pageSize?: number; total?: number; }; list?: { /** * 唯一性主键 */ combinationKeyId?: string; /** * 421标签结构 */ selectTagOptionSet?: { [k: string]: any; }[]; rank?: number; /** * 覆盖量 */ coverage?: number; /** * ctr指数 */ ctrIndex?: string; /** * 推荐名称 */ title?: string; }[]; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:基础特征洞察标签列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11802&itf=174587 */ api_scenario_cluster_strategy_tag_get: { Req: { timeWindow?: string; itemId?: string; }; Res: { info?: { ok?: boolean; code?: number; message?: null; }; data?: { id?: number; tagName?: string; tagDesc?: string; tagType?: string; chartType?: string; tableId?: number; tableName?: null; garudaField?: string; tagShare?: number; tagStatus?: number; memberId?: number; tbUserId?: null; tagOptionGroups?: any[]; validDate?: number; price?: number; tagAdditionsDTOs?: any[]; tagGroups?: null; jsonProperty?: null; }[]; trace?: null; }; }; /** * 接口名:基础特征洞察获取主人群 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11802&itf=174588 */ api_scenario_cluster_strategy_baseCrowd_get: { Req: { timeWindow?: string; itemId?: string; /** * 单品名称 */ itemName?: string; }; Res: { data?: { crowdTitle?: string; selectTagOptionSet?: { [k: string]: any; }[]; count?: number; /** * 0 表示人群过少 冷启动 * 1 表示正常 */ enableInsight?: number; /** * 可洞察的最小人群规模 */ enableInsightCoverage?: number; }; info?: { ok?: boolean; }; }; }; /** * 接口名:获取用户级别 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11802&itf=186578 */ api_scenario_cluster_getUserLevel_get: { Req: {}; Res: { /** * 1 S1尊享用户 * 2 S2尊享用户 * 3 * 4 * 5 */ data?: number; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:检查S4以上用户是否有权限进行单品洞察 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11802&itf=188452 */ api_scenario_cluster_checkS4Status_get: { Req: {}; Res: { data?: boolean; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:列出自定义圈人所有宝贝 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11802&itf=191420 */ api_scenario_cluster_strategy_listAnalyzeItem_get: { Req: {}; Res: {}; }; /** * 接口名:人群策略-店铺渠道数据 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11802&itf=191426 */ api_scenario_cluster_strategy_shopChannel_post: { Req: { timeWindow?: string; itemId?: string; /** * 0 全部 * 1 广告 * 2 推荐 * 3 内容 * 4 活动 */ channelType?: string; /** * 1 人群规模 * 2 兴趣度 */ sortKey?: string; /** * 1 升序 * 2 降序 */ sortType?: string; }; Res: { data?: { detailList?: { channelName?: string; channelType?: number; count?: number; interests?: number; selectTagOptionSet?: { [k: string]: any; }[]; minusSelectTagOptionSet?: string; }[]; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:人群策略-品牌数据 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11802&itf=191742 */ api_scenario_cluster_strategy_brand_post: { Req: { itemId?: string; timeWindow?: string; brandId?: string; brandName?: string; }; Res: { data?: { /** * 品牌30天浏览人群 */ count?: number; detail?: { /** * 品牌30天浏览人群 */ brandBrowseCnt?: number; /** * 本店品牌30天浏览 */ shopBrandBrowseCnt?: number; /** * 其他店铺品牌30天浏览 */ otherShopBrandBrowseCnt?: number; /** * 其他店铺品牌30天购买 */ otherShopBrandBuyCnt?: number; /** * 其他店铺品牌30天未购买 */ otherShopBrandUnPurchaseCnt?: number; }; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:新增一个自定义分析单品 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11802&itf=191858 */ api_scenario_cluster_strategy_addAnalyzeItem_post: { Req: { analyzeItemList?: { itemId?: number; itemTitle?: string; picUrl?: string; /** * 叶子类目id */ cateId?: number; /** * 叶子类目属性 */ cateName?: string; }[]; }; Res: { data?: null; info?: { ok?: boolean; }; }; }; /** * 接口名:取消自定义分析单品 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11802&itf=191859 */ api_scenario_cluster_strategy_cancelAnalyzeItem_post: { Req: { itemIdList?: any[]; }; Res: { data?: null; info?: { ok?: boolean; }; }; }; /** * 接口名:获取当前店铺品牌 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11802&itf=192429 */ api_scenario_cluster_strategy_getBrandInfo_get: { Req: {}; Res: { data?: { brandName?: string; brandId?: number; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:获取当前剩余单品额度 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11802&itf=192430 */ api_scenario_cluster_strategy_getAnalyzeQuota_get: { Req: {}; Res: { data?: { /** * 总共拥有的分析单品额度 */ total?: number; /** * 已经提交的分析单品数目 */ used?: number; }; info?: { ok?: boolean; }; }; }; /** * 接口名:获取可以提交自定义分析单品的列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11802&itf=192431 */ api_scenario_cluster_strategy_getAnalyzeItemList_get: { Req: { /** * 单品名称 */ itenName?: string; }; Res: { data?: { pager?: { currentPage?: number; pageNum?: number; pageSize?: number; position?: number; total?: number; }; itemList?: { itemId?: number; itemTitle?: string; level1Id?: number; level1Name?: string; cateId?: number; cateName?: string; picUrl?: string; tags?: string; analyzeStatus?: string; }[]; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:圈人界面-广告预估-覆盖数ctr等计算 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11440&itf=101973 */ api_ad_predict__post: { Req: { analysisSetting?: { ext?: {}; lookalikeAlgoType?: number; needUnknown?: boolean; sampled?: boolean; /** * 421结构体 */ selectTagOptionSet?: any[]; }; /** * 类目id */ cateId?: number; /** * 类目类型。1=一级类目,2=二级类目 */ cateType?: number; /** * 渠道类型。钻展=1;2=直通车;3=超级推荐 */ deliverType?: number; /** * 直通车渠道关键词 */ keywords?: any[]; }; Res: { data?: { /** * 预估触达人数。这里也是fake了的 */ dailyReachUV?: number; /** * ctr。小数,没乘以100 */ ctr?: number; /** * ppc */ ppc?: number; /** * ppc模糊化值 */ ppcIndex?: string; /** * ctr模糊化值 */ ctrIndex?: string; /** * 有值且为true,表示超过了1Y,前端直接展示超过1Y */ hintDataSecurity?: boolean; /** * 人群竞争分析 */ industryCompetitionPredicts?: { /** * 竞争商家数量 */ competeMemberCnt?: number; /** * 可触达用户数目。这个数据是fake过的 */ dailyReachUV?: number; /** * 竞争热度,1-4,值越大越激烈 */ competeHotIndex?: number; /** * 点击出价,直接展现 */ ppcIndex?: string; /** * 最小为1,最大为4.正常情况下是排好序的,小的在前,大的在后 */ ppcLevel?: number; /** * 有值且为true,表示超过了1Y,前端直接展示超过1Y */ hintDataSecurity?: boolean; hintDataSecurityInfo?: string; }[]; hintDataSecurityInfo?: string; /** * 范围提醒 * 0 过窄 * 1 适中 * 2 宽泛 */ hint?: number; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:圈人界面-广告预估-直通车关键词搜索 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11440&itf=102091 */ api_ad_predict_keyword_get: { Req: { /** * 1=一级类目,2=二级类目 */ cateType?: number; /** * 类目id,通过cateType字段标明是一级还是二级类目 */ cateId?: string; /** * 输入查找的关键词 */ searchWord?: string; page?: number; pageSize?: number; }; Res: { data?: { pager?: { currentPage?: number; pageNum?: number; pageSize?: number; position?: number; total?: number; }; list?: string[]; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:返回旧版信息收集 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11440&itf=103095 */ api_user_old_version_post: { Req: { /** * 选择的原因。多个原因逗号分隔 */ select?: string; /** * 调回老版原因 */ reason?: string; }; Res: { info?: { ok?: boolean; }; }; }; /** * 接口名:东风品牌代理商接口 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11440&itf=121048 */ api_crowd_dongfeng_brands_get: { Req: {}; Res: { data?: { list?: { /** * 代理商id */ agentId?: number; /** * 品牌id */ id?: number; /** * 品牌名称 */ name?: string; /** * 代理商名称 */ agentName?: string; }[]; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:新老标签映射关系 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11440&itf=126526 */ api_tag_mapping_get: { Req: { /** * 老版标签id */ tagId?: number; }; Res: { data?: { list?: { /** * 新版标签名称 */ tag2_name?: string; /** * 新版标签id */ tag2_id?: string; }[]; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:老版下线-标签需求反馈 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11440&itf=126671 */ api_user_tag_requirement_feedback_post: { Req: { /** * 标签名称 */ tagName?: string; /** * 标签需求 */ tagRequirement?: string; }; Res: { info?: { ok?: boolean; }; data?: null; }; }; /** * 接口名:新老人群总量接口 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11440&itf=129792 */ api_crowd_oldnew_count_get: { Req: { /** * 1=我创建的人群菜单,2=合作方人群 */ listType?: number; }; Res: { data?: { /** * 总人群量 */ all?: number; /** * 老版人群数量 */ old?: number; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:老版人群对应的新版本结构 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=11440&itf=133488 */ api_crowd_$id_new_set_get: { Req: {}; Res: { info?: { ok?: boolean; }; data?: { newSet?: { empty?: boolean; leaf?: boolean; operator?: number; selectTagOptionSet?: { empty?: boolean; leaf?: boolean; operator?: number; selectTagOptionSet?: { empty?: boolean; leaf?: boolean; operator?: number; selectTagOptionSet?: { empty?: boolean; leaf?: boolean; operator?: number; selectTagOptionSet?: any[]; selects?: { key?: string; names?: string; optionGroupId?: number; tagId?: number; tagName?: string; values?: string; }[]; }[]; selects?: any[]; }[]; selects?: any[]; }[]; selects?: any[]; }; }; }; }; /** * 接口名:行业直播人群覆盖 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=16755&itf=136531 */ api_live_industry_info_get: { Req: { memberId?: string; /** * 时间窗口 * 7,15,30 */ timeWindow?: string; }; Res: { data?: { /** * 类目名称 */ category?: string; /** * 类目Id */ categoryId?: number; crowds?: { /** * 人群数目 */ count?: number; /** * 增长 */ growth?: number; /** * 行业营销覆盖 */ industryCover?: number; /** * 店铺营销覆盖 */ shopCover?: number; /** * 投放商家数 */ deliverCnt?: number; /** * 1 观看 * 2 互动 * 3 成交 * 4 流失 * 5 转粉 */ type?: number; /** * 411结构用来表示人群 */ selectTagOptionSet?: { [k: string]: any; }[]; /** * 指示人群类别的option group */ targetOptionGroup?: number; }[]; /** * 1:正常 * 2:用户加入不足2天 */ status?: number; }; info?: { ok?: boolean; }; }; }; /** * 接口名:行业直播优选圈人-计算扩展方向人群量 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=16755&itf=136533 */ api_live_industry_coverage_post: { Req: { memberId?: string; /** * 优选公域人群 421标签结构 */ candidate?: {}; /** * 优选人群基础 421标签结构 * 1 店铺老客 * 2 单品购买人群 */ base?: number; /** * 是否老客排除 * 1 是 * 0 否 */ exclude?: number; }; Res: { /** * 扩展上限 */ data?: { count?: number; }; info?: { ok?: boolean; }; }; }; /** * 接口名:行业直播优选圈人-实时扩展 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=16755&itf=136536 */ api_live_industry_pick_post: { Req: { /** * 公域候选421标签结构 */ candidate?: {}; /** * 基础人群 * 421标签结构 */ base?: number; /** * 扩展人数 */ targetCrowdNum?: string; crowdName?: string; validDate?: string; /** * 基础人群的枚举值 * 老客 * 类目购买 */ baseType?: string; /** * 行业直播人群枚举值 * 1,2,3,4,5 */ candidateType?: string; timeWindow?: string; }; Res: { data?: { crowdId?: string; }; info?: { ok?: boolean; code?: number; }; }; }; /** * 接口名:单品列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=16755&itf=136537 */ api_live_item_get: { Req: { pageSize?: number; page?: string; itenName?: string; }; Res: { data?: { pager?: { currentPage?: number; pageNum?: number; pageSize?: number; position?: number; total?: number; }; itemList?: { itemId?: number; itemTitle?: string; level1Id?: number; level1Name?: string; cateId?: number; cateName?: string; picUrl?: string; tags?: string; }[]; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:店铺直播人群覆盖 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=16755&itf=136539 */ api_live_shop_info_get: { Req: { memberId?: string; timeWindow?: string; }; Res: { data?: { crowds?: { count?: number; growth?: number; /** * 行业营销覆盖 */ industryCover?: number; /** * 本店营销覆盖 */ shopCover?: number; /** * 行业人群计数 */ industryCount?: number; /** * 1 观看 * 2 互动 * 3 成交 * 4 流失 * 5 转粉 */ type?: number; /** * 人群421结构 */ selectTagOptionSet?: { [k: string]: any; }[]; }[]; category?: string; /** * 1:正常 * 2:用户加入不足2天 * 3:后端没有数据 */ status?: number; }; info?: { ok?: boolean; }; }; }; /** * 接口名:关键人群特征洞察-基础特征模式 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=16755&itf=136540 */ api_live_shop_insightBasic_get: { Req: { memberId?: string; timeWindow?: string; }; Res: { data?: { crowds?: { type?: number; count?: number; tags?: { LIFE_INTERESTS?: { tagNameWithValue?: string; tagName?: number; tagId?: number; selects?: { tagName?: string; tagId?: string; optionGroupId?: number; values?: string; names?: string; }[]; diff?: string; }[]; MARKET_PREFER?: { tagNameWithValue?: string; tagName?: number; tagId?: number; selects?: { tagName?: string; tagId?: string; optionGroupId?: number; values?: string; names?: string; }[]; diff?: string; }[]; INDUSTRY_PREFER?: { tagNameWithValue?: string; tagId?: number; selects?: { tagName?: string; tagId?: string; optionGroupId?: number; values?: string; names?: string; }[]; diff?: string; tagName?: string; }[]; BASIC_ATTRIBUTE?: string; }; show?: string; }[]; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:关键人群特征洞察-对比模式 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=16755&itf=137311 */ api_live_shop_insightCompare_get: { Req: { memberId?: number; timeWindow?: number; }; Res: { data?: { crowds?: { type?: number; count?: number; tagList?: { tagNameWithValue?: string; diff?: number; tagId?: number; selects?: { [k: string]: any; }[]; tagName?: string; }[]; /** * 相似度 */ similarity?: string; /** * 0 隐藏 * 1 显示 */ show?: string; }[]; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:智能扩展人群-计算扩展方向人群数 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=16755&itf=136595 */ api_live_shop_coverage_post: { Req: { /** * 直播人群 * 421的标签结构 */ base?: {}; /** * 扩展方向 * 421标签结构 */ candidate?: {}; }; Res: { data?: { count?: number; }; info?: { ok?: boolean; }; }; }; /** * 接口名:智能扩展人群-实时扩展 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=16755&itf=136597 */ api_live_shop_pick_post: { Req: { /** * 基础人群421结构 */ base?: {}; /** * 扩展方向421结构 */ candidate?: {}; targetCrowdNum?: number; /** * 店铺直播人群类型 * 1~5 */ baseType?: string; /** * 扩展方向枚举值 */ candidateType?: string; timeWindow?: string; }; Res: { data?: { crowdId?: number; }; info?: { ok?: boolean; }; }; }; /** * 接口名:获取扩展方向的默认选项值 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=16755&itf=136681 */ api_live_getExtensionTag_get: { Req: { memberId?: string; /** * 1 表示行业优选人群中优选人群基础 * 2 表示日常推广 * 3 表示大促推广 * 4 直播引流 * 5 站外回流 */ type?: string; }; Res: { data?: { text?: string; /** * 421结构组成的列表 */ tagList?: { [k: string]: any; }[]; type?: number; }[]; info?: { ok?: boolean; }; }; }; /** * 接口名:人群策略分析获取分析维度标签 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=16755&itf=137279 */ api_live_industry_feature_get: { Req: { memberId?: number; }; Res: { data?: { tagName?: string; tagId?: number; /** * 421结构 */ selectTagOptionSet?: { [k: string]: any; }[]; targetOptionGroupId?: string; expansionType?: string; }[]; info?: { ok?: boolean; }; }; }; /** * 接口名:获取直播分析人群预测 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=16755&itf=138603 */ api_live_predict_post: { Req: { cateId?: string; cateType?: string; deliverType?: string; keywords?: string; targetCrowdNum?: number; /** * 种子人群421结构 */ base?: {}; /** * 候选集的421结构 */ candidate?: {}; }; Res: { data?: { dailyReachUV?: number; ctr?: number; ppc?: number; ppcIndex?: string; ctrIndex?: string; hintDataSecurity?: boolean; industryCompetitionPredicts?: { competeMemberCnt?: number; dailyReachUV?: number; competeHotIndex?: number; ppcIndex?: string; ppcLevel?: number; hintDataSecurity?: string; }[]; hintDataSecurityInfo?: string; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:检查是否有扩展权限 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=16755&itf=145392 */ api_live_checkIfEmpower_get: { Req: {}; Res: { /** * 1:表示当前用户等级未达到 * 2:表示当前系统降级中 * 3:表示正常权限 */ data?: number; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:获取最近一个分区时间 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=16755&itf=145689 */ api_live_getLatestDS_get: { Req: {}; Res: { data?: string; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:直播修改人群 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=16755&itf=145690 */ api_live_editCrowd_post: { Req: { crowdId?: number; crowdName?: string; validTime?: string; }; Res: { info?: { ok?: boolean; }; data?: {}; }; }; /** * 接口名:洞察页/-分析显著特征 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=12304&itf=53942 */ api_analysis_insight_feature_post: { Req: { /** * 4: 新版洞察 */ featureType?: number; selectTagOptionSet?: { operator?: number; selectTagOptionSet?: { empty?: | boolean | { [k: string]: any; }; leaf?: | boolean | { [k: string]: any; }; operator?: number; selectTagOptionSet?: { empty?: boolean; leaf?: boolean; operator?: number; selectTagOptionSet?: { empty?: boolean; leaf?: boolean; operator?: number; selectTagOptionSet?: { empty?: boolean; leaf?: boolean; operator?: number; selectTagOptionSet?: any[]; selects?: { key?: string; names?: string; optionGroupId?: number; tagId?: number; tagName?: string; values?: string; }[]; }[]; selects?: any[]; }[]; selects?: any[]; }[]; selects?: any[]; id?: | number | { [k: string]: any; }; name?: | string | { [k: string]: any; }; storageType?: | number | { [k: string]: any; }; }[]; selects?: any[]; }; crowdId?: number; effectQuery?: { /** * ppc/ctr等,按需请求 */ indexTypes?: any[]; /** * 类目id,ppc/ctr时需要 */ cateId?: number; /** * 渠道,ppc/ctr时需要 */ deliverType?: number; }; /** * 分析需要用到的特征标签池,3084:用户特征,3090:品类特征,3091:渠道特征,3092:私域特征 */ tagGroupIds?: any[]; /** * 对比人群421结构 */ compareSelectTagOptionSet?: {}; /** * 对比人群id */ compareCrowdId?: number; }; Res: { data?: { list?: { id?: number; score?: number; tagId?: number; tagName?: string; tagOptionGroupId?: number; tagOptionName?: string; tagOptionValue?: string; type?: number; /** * ppc指数 */ ppcIndex?: string; /** * ctr指数 */ ctrIndex?: number; /** * 覆盖人数 */ coverage?: number; /** * 占比 */ rate?: number; tgiIndex?: number; tagGroupId?: number; }[]; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:普通透视结果 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=12304&itf=55739 */ api_analysis_tag_$id_post: { Req: { /** * 1=全网,2=行业 */ tgiType?: number; /** * 人群表达式 */ selectTagOptionSet?: {}; /** * 人群id,只有洞察界面需要关注该字段,0=超级用户,1=新客,2=潜客,3=老客 */ crowdId?: number; effectQuery?: { /** * ppc/ctr/cvr等,按需请求(cvr目前仅报表使用) */ IndexTypes?: any[]; /** * 类目id,分析ctr/ppc时需要 */ cateId?: number; /** * 渠道,分析ctr/ppc时需要 */ deliverType?: number; }; /** * 新版洞察 固定传2.0; * 老版不用传,或者传1.0 */ version?: string; /** * 多分组透视 */ multiGroupOptions?: { /** * 标签id */ tagId?: number; /** * 分组id */ optionGroupId?: number; /** * 选项类型。1=透视类型,作为透视字段,2=查询类型,作为查询条件 */ optionType?: number; /** * 分组下选择的值,一般是optionType=2时需要指定 */ values?: string; }[]; /** * 洞察下钻父选项id,只有下钻类型标签才需要传 */ parentOptionId?: number; ext?: { /** * 迭代洞察字段用于区分迭代人群还是种子人群 */ '{"IS_ITER":"true","CROWD_TYPE":"BASE"}'?: string; }; }; Res: { data?: { chartDataFull?: { tagId?: string; rate?: string; ctrIndex?: number; optionValue?: string; tagOptionGroupId?: string; tagType?: string; optionId?: string; isHaveSubOption?: string; ppcIndex?: string; optionName?: string; tagName?: string; optionNum?: string; qiankeRate?: number; ctrRptIndex?: number; cvrRptIndex?: number; }[]; data?: { '20532'?: number; '20533'?: number; '29923'?: number; }; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:洞察--画像透视分析--基础画像--自定义画像全量标签列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=12304&itf=55757 */ api_category_tags_get: { Req: { /** * 行业id。【小二版专用参数,商家版不需要,商家版我会内部自动补充】 */ shopCateId?: number; /** * 高阶版洞察 标签池 * 3084:用户特征,3090:品类特征,3091:渠道特征,3092:私域特征 */ tagGroupIds?: any[]; }; Res: { info?: { ok?: boolean; code?: number; }; data?: { categoryName?: string; tags?: { id?: number; tagName?: string; tagDesc?: string; tagType?: string; chartType?: string; tableId?: number; garudaField?: string; tagShare?: number; tagStatus?: number; memberId?: number; tagOptionGroups?: any[]; validDate?: number; price?: number; tagAdditionsDTOs?: any[]; }[]; }[]; }; }; /** * 接口名:洞察页面/默认洞察标签列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=12304&itf=56058 */ api_analysis_insight_tag_list_post: { Req: { /** * 行业id【比如女装行业】,只有小二版需要,就是那个行业列表返回的value */ shopCateId?: number; /** * 高阶版洞察 标签池 * 3084:用户特征,3090:品类特征,3091:渠道特征,3092:私域特征 */ tagGroupIds?: any[]; }; Res: { info?: { ok?: boolean; code?: number; message?: null; }; data?: { id?: number; tagName?: string; tagDesc?: string; tagType?: string; chartType?: string; tableId?: number; tableName?: null; garudaField?: string; tagShare?: number; tagStatus?: number; memberId?: number; tbUserId?: null; tagOptionGroups?: any[]; validDate?: number; price?: number; tagAdditionsDTOs?: any[]; tagGroups?: null; jsonProperty?: null; }[]; trace?: null; }; }; /** * 接口名:新建洞察计划 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=12304&itf=108310 */ api_analysis_plan_post: { Req: { /** * 洞察计划名称 */ name?: string; /** * 前端设置,json结构,前端任意存取 */ frontSettings?: string; }; Res: { info?: { ok?: boolean; message?: null; }; data?: { id?: number; }; }; }; /** * 接口名:修改洞察计划 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=12304&itf=108329 */ api_analysis_plan_$id_put: { Req: { /** * 洞察计划名称 */ name?: string; /** * 前端设置,json结构,前端任意存取 */ frontSettings?: string; }; Res: { info?: { ok?: boolean; message?: null; }; data?: { id?: number; }; }; }; /** * 接口名:删除洞察计划 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=12304&itf=108326 */ api_analysis_plan_$id_delete: { Req: {}; Res: { info?: { ok?: boolean; message?: null; }; }; }; /** * 接口名:查询洞察计划 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=12304&itf=108328 */ api_analysis_plan_get: { Req: { /** * 分页大小 */ pageSize?: number; /** * 页数 */ currentPage?: number; }; Res: { data?: { pager?: { currentPage?: number; pageNum?: number; pageSize?: number; position?: number; total?: number; }; list?: { id?: number; name?: string; frontSettings?: string; createtime?: string; }[]; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:营销渠道策略-人群资产概览 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=12304&itf=218089 */ api_channelStrategy_overview_get: { Req: { /** * 二级类目ID * 若为全部类目,传-1 */ cateId?: number; /** * 时间周期 * 7-近7天,15-近15天,30近30天 */ period?: number; }; Res: { data?: { list?: { /** * 资产指标名 */ name?: string; /** * 资产指标key */ key?: string; /** * 资产指标值 */ value?: number; /** * 指标描述 */ tips?: string; /** * 图标链接 */ icon?: string; }[]; }; info?: { ok?: boolean; code?: number; }; }; }; /** * 接口名:营销渠道策略-渠道人群资产分布 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=12304&itf=218259 */ api_channelStrategy_distribution_get: { Req: { /** * 二级类目ID * 若为全部类目,传-1 */ cateId?: number; /** * 时间周期 * 7-近7天,15-近15天,30近30天 */ period?: number; /** * 资产指标key */ indicator?: string; /** * 渠道ID * -1表示查询全部一级渠道 */ channelId?: number; }; Res: { data?: { list?: { /** * 子渠道名称 */ name?: string; /** * 子渠道ID */ id?: number; /** * 标签选项信息 * 通用的结构 */ selectTagOptionSet?: { leaf?: boolean; operator?: number; selects?: { tagId?: number; tagName?: string; optionGroupId?: number; key?: string; names?: string; values?: string; }[]; }; /** * 渠道资产指标信息 */ indicator?: { /** * 渠道资产指标名 */ name?: string; /** * 渠道资产指标key */ key?: string; /** * 渠道资产指标值 */ value?: number; /** * 占比,不带% */ portion?: number; /** * 指标描述 */ tips?: string; }; /** * 转化率信息 */ conversion?: { /** * 各渠道能产出最深指标的比率名称 */ name?: string; /** * 对应比率的值,不带% */ value?: number; /** * 转化率描述 */ tips?: string; }; /** * 所属渠道类型,-999表示无归属渠道类型 */ deliverType?: number; tips?: string; }[]; desc?: string; }; info?: { ok?: boolean; }; }; }; /** * 接口名:营销渠道策略-渠道人群流转漏斗 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=12304&itf=218330 */ api_channelStrategy_funnel_get: { Req: { /** * 二级类目ID * 若为全部类目,传-1 */ cateId?: number; /** * 时间周期 * 7-近7天,15-近15天,30近30天 */ period?: number; /** * 二级渠道ID */ channelId?: number; /** * 是否需要同行数据 */ needPeer?: boolean; }; Res: { data?: { /** * 漏斗数据 */ list?: { name?: string; key?: string; /** * 指标值 */ value?: string; /** * 同行对比值 */ peerValue?: string; /** * 本店:占上一层的份额比例 */ portion?: string; /** * 同行:占上一层的份额比例 */ peerPortion?: string; /** * 对应portion的名称 */ portionName?: string; /** * 标签选项信息 */ tag?: { operator?: number; selects?: { tagId?: number; tagName?: string; optionGroupId?: number; key?: string; names?: string; values?: string; }[]; leaf?: boolean; }; }[]; /** * 投放优化建议 */ deliverOptimization?: { /** * 触达未成交人群数 */ reachUndealUv?: number; /** * 分析的渠道 */ analysisChannel?: string; }; }; info?: { ok?: boolean; }; }; }; /** * 接口名:大促人群轮播混动 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=17220&itf=139445 */ api_crowd_promotion_roll_get: { Req: { /** * 兼容遗留场景-默认不传为大促轮播 * 0-大促专题页轮播 * 1-标签推荐页实时人群播报 */ bizId?: number; }; Res: { data?: { list?: { crowdName?: string; selectTagOptionSet?: { [k: string]: any; }[]; userTime?: number; userName?: string; }[]; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:不同类目下标签使用量汇总数据 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=17220&itf=139454 */ api_tag_promotion_profile_get: { Req: {}; Res: { data?: { list?: { /** * 类目id */ tagGroupId?: number; /** * 标签使用量 */ tagUsedCnt?: number; /** * 客均采纳量 */ memberUsedPerCnt?: number; /** * 采纳商家数量 */ memberUsedCnt?: number; /** * 标签总量 */ tagCnt?: number; /** * 类目下的标签数量 */ tagGroupIdTagCnt?: number; }[]; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:报表-顶部指标 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=17220&itf=140338 */ api_promotion_double11_report_get: { Req: { /** * brandId。有品牌的情况下,需要传该参数 */ brandId?: number; }; Res: { data?: { metric?: { /** * 指标名称 */ name?: string; /** * 指标英文代号 */ key?: string; /** * 指标值 */ value?: number; /** * 行业值 */ benchmark?: number; /** * 今日新增,百分比 */ increase?: number; /** * 是否默认指标。1=默认指标,0=非默认指标 */ isDefault?: number; /** * 是否可以被替换。 1=不允许被替换,0=可以被替换。 */ canNotReplaced?: number; /** * 指标值显示方式,1:显示数值本身、2:按百分比显示、3:分子分母类型 */ valueType?: number; /** * valueType=3时的分母 */ divisor?: number; /** * valueType=3时同行分母 */ benchmarkDivisor?: number; /** * 说明文案 */ tip?: string; /** * 扩展信息,比如”大促最佳曝光频次“ */ ext?: string; }[]; activity?: { /** * 活跃度 */ score?: number; /** * 击败用户数 */ defeatRate?: number; }; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:报表-顶部指标-趋势图 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=17220&itf=140342 */ api_promotion_double11_report_daily_get: { Req: { /** * 指标英文代号 */ key?: string; }; Res: { data?: { date?: string; value?: number; benchmark?: number; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:标签集-数据效果 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=17220&itf=140389 */ api_promotion_double11_tagGroupReport_get: { Req: { /** * 标签组id */ tagGroupId?: string; }; Res: { data?: { metric?: { /** * 指标名称 */ name?: string; /** * 指标英文代号 */ key?: string; /** * 指标值 */ value?: number; /** * 行业标杆 */ benchmark?: number; /** * 今日新增 */ increase?: number; }[]; usage?: { /** * 使用标签数 */ used?: number; /** * 标签总量 */ total?: number; /** * 使用标签总人数 */ headcount?: number; /** * 平均数 */ avg?: number; }; }; info?: { code?: number; ok?: boolean; }; name?: string; }; }; /** * 接口名:标签集-数据效果-趋势图 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=17220&itf=140391 */ api_promotion_double11_tagGroupReport_daily_get: { Req: { /** * 指标英文代号 */ key?: string; /** * 标签组id */ tagGroupId?: string; }; Res: { data?: { date?: string; value?: number; benchmark?: number; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:报表-deeplink * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=17220&itf=272777 */ api_promotion_double11_report_deeplink_get: { Req: { /** * brandId。 */ brandId?: number; }; Res: { data?: { /** * 蓄水期 */ promotionInitialStage?: { metrics?: { /** * 是否可以被替换。 1=不允许被替换,0=可以被替换 */ canNotReplaced?: number; /** * 单元格类型。1=有自身值,也有同行对比值,默认是1。2=只有本身 */ cellType?: number; /** * 是否默认指标。1=默认指标,0=非默认指标,默认是0 */ isDefault?: number; /** * 指标列 */ key?: string; /** * 指标列名称 */ name?: string; /** * 指标列值 */ value?: number; /** * 指标值显示方式,1:显示数值本身、2:按百分比显示、3:分子分母类型、4=字符串类型 */ valueType?: number; /** * 同行对比值 */ benchmark?: number; tips?: string; }[]; /** * DEEPLINK_D(2001, "发现人群", ""), * DEEPLINK_E(2002, "种草人群", ""), * DEEPLINK_E2(2003, "热爱人群", ""), * DEEPLINK_P(2004, "行动人群", ""), * DEEPLINK_I(2006, "首购人群", ""), * DEEPLINK_N(2007, "复购人群", ""), * DEEPLINK_K(2008, "忠诚人群", ""), * DEEPLINK_O(0, "新增人群", ""), */ stage?: string; /** * deeplink阶段中文名称 */ stageName?: string; }[]; /** * 人群资产概览 */ crowdAssertProfile?: { metrics?: { canNotReplaced?: number; cellType?: number; isDefault?: number; key?: string; name?: string; value?: string | number; valueType?: number; benchmark?: number; }[]; stage?: string; stageName?: string; }[]; /** * 大促正式期 */ promotionExplosionStage?: { metrics?: { canNotReplaced?: number; cellType?: number; isDefault?: number; key?: string; name?: string; value?: number; valueType?: number; benchmark?: number; tips?: string; }[]; stage?: string; stageName?: string; }[]; maxDate?: string; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:人群诊断 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=17220&itf=272815 */ api_promotion_double11_diagnosis_get: { Req: { /** * 2=deeplink部分诊断,1=顶部诊断 */ type?: number; /** * type=2时,需要传brandId参数 */ brandId?: number; }; Res: { data?: { /** * 带有超链的文案(文案3) */ crowdUrlMessage?: string; /** * 普通诊断文案(文案2) */ diagnosisMessage?: string; /** * 大促状态文案(文案1) */ title?: string; /** * 人群打标,跟上面的人群模板人群标记进行匹配,进行高亮显示 */ crowdLabel?: string; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:达摩盘精选人群榜单,包含榜单下人群模板 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=17336&itf=140248 */ $regx_api_dmp_crowd_findJxTemplateTopics_get: { Req: { bizCode?: string; /** * 根据模版名称/描述/理由等关键词进行搜索 */ templateKeyword?: string; /** * 是否返回榜单下模板 */ needTemplates?: boolean; /** * 单元id */ adgroupId?: number; /** * 计划id */ campaignId?: number; }; Res: { /** * 字符串属性示例 */ data?: { list?: { /** * 榜单id */ topicId?: number; /** * 榜单名称 */ topicName?: string; /** * 榜单描述 */ topicDesc?: string; /** * 榜单图标 */ topicIcon?: string; /** * 扩展属性 {"mark":"打标标记"} */ ext?: { uuidMark?: string; algorScene?: string; }; /** * 人群模板集合 */ templates?: { /** * 模板id */ templateId?: number; /** * 模板名称 */ templateName?: string; /** * 模板描述 */ templateDesc?: string; /** * 推荐理由,其中高亮的部分自带标记 */ highlight?: string; /** * 有效期,yyyy-MM-dd格式 */ validDate?: string; /** * { * "used":"true", // 是否使用 * "mark":"打标", // 打标 * "hot": "5 " // 人群热度(0-10) * } */ ext?: { used?: boolean; mark?: string; hot?: number; }; }[]; }[]; }; /** * 对象属性示例 */ info?: { /** * 对象属性示例 */ ok: boolean; message: string; }; }; }; /** * 接口名:达摩盘精选人群模版预估覆盖人数 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=17336&itf=140279 */ $regx_api_dmp_crowd_countJxTemplateCoverage_get: { Req: { bizCode?: string; /** * 榜单id */ topicId?: string; /** * 模板id */ templateId?: string; }; Res: { /** * 预估数值 */ data?: number; info?: { ok: boolean; message: string; }; }; }; /** * 接口名:使用模版生成人群 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=17336&itf=140280 */ $regx_api_dmp_crowd_applyJxTemplate_post: { Req: { bizCode?: string; templateBaseInfoList?: { /** * 榜单id */ topicId?: number; /** * 模板id */ templateId?: number; }[]; }; Res: { /** * 人群id */ data?: { list: { /** * 榜单id */ topicId?: number; /** * 模板id */ templateId?: number; /** * 达摩盘人群id */ dmpCrowdId?: number; }[]; }; info?: { ok: boolean; message: string; }; }; }; /** * 接口名:达摩盘精选查询已添加人群 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=17336&itf=140288 */ $regx_api_dmp_crowd_findJxCrowd_get: { Req: { bizCode?: string; /** * dmp人群id */ dmpCrowdIdList?: any[]; }; Res: { data?: { list: { /** * 达摩盘人群id */ crowdId?: number; /** * 达摩盘人群名称 */ crowdName?: string; /** * 人群扩展信息 * { * "templateId": "1223345" * } */ extra?: { templateId?: number; topicId?: number; }; }[]; }; info?: { ok: boolean; message: string; }; }; }; /** * 接口名:精选人群转换层业务能使用的人群 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=17336&itf=141030 */ $regx_api_dmp_crowd_jxconvert_post: { Req: { bizCode?: string; /** * dmp人群id集合 */ dmpCrowdIdList?: any[]; /** * 调用来源,记录日志使用 */ callSource?: string; }; Res: { data?: { bizCrowdList: { /** * 业务人群id */ crowdId?: number; /** * 业务人群名称 */ crowdName?: string; crowdDTO?: { tagList?: { tagId?: number; }[]; }; }[]; }; info?: { ok: boolean; message: string; }; }; }; /** * 接口名:查询模版使用情况(轮播) * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=17336&itf=142069 */ $regx_api_dmp_crowd_findJxTemplateUsage_get: { Req: { bizCode?: string; /** * 当前页要显示数据的起始位置 */ offset?: number; /** * 每页显示的记录条数 */ pageSize?: number; /** * (默认否) 是否取最新数据,此处固定传true */ orderByRecent?: number; }; Res: { data?: { list: { /** * 模板id */ templateId?: number; /** * 模板名称 */ templateName?: string; /** * 用户昵称 */ nickName?: string; /** * 模板使用时间,时间戳格式 */ useTime?: number; }[]; }; info?: { ok: boolean; message: string; }; }; }; /** * 接口名:示例接口 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=17725&itf=142677 */ example_1600086175066_get: { Req: { /** * 请求属性示例 */ foo?: string; }; Res: { /** * 字符串属性示例 */ string?: string; /** * 数字属性示例 */ number?: number; /** * 布尔属性示例 */ boolean?: boolean; /** * 正则属性示例 */ regexp?: string; /** * 函数属性示例 */ function?: string; /** * 数组属性示例 */ array?: { /** * 数组元素示例 */ foo?: number; /** * 数组元素示例 */ bar?: string; }[]; /** * 自定义数组元素示例 */ items?: any[]; /** * 对象属性示例 */ object?: { /** * 对象属性示例 */ foo?: number; /** * 对象属性示例 */ bar?: string; }; /** * 占位符示例 */ placeholder?: string; }; }; /** * 接口名:指标概览 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=18021&itf=144530 */ api_report_overview_get: { Req: { /** * 开始日期,yyyy-mm-dd */ beginDate?: string; /** * 结束日期,yyyy-mm-dd */ endDate?: string; /** * 人群id * 不为空表示查询人群概览,否则表示查询账户概览 * reportType=1时传沉淀人群的destTypeId */ crowdId?: number; /** * 渠道类型。 * 1-钻展,2-直通车,3-超级推荐,4-超级互动 * crowdId&deliverType不为空表示查询渠道概览数据 * reportType=1时传channelId */ deliverType?: number; /** * 要查询的指标列表,所有指标见“通用指标列表”接口 * 新增补充指标:dmpChargeRate(达摩盘消耗占比,小数类型,周报用) */ indicators?: string[]; /** * 0或不传-不需要环比 * 1-查询环比数据 */ growthRatioType?: number; /** * 报表类型 * 0或不传-查询常规人群报表 * 1-查询渠道沉淀人群报表 */ reportType?: number; }; Res: { data?: { /** * 所有指标 */ name?: string; /** * 指标值 */ value?: number; /** * 所有指标 */ key?: string; /** * 同行对比值 */ peerValue?: number; /** * 1:重点关注 */ focus?: number; /** * 跟同行均值的差值 */ peerDiff?: number; /** * 指标提示 */ tips?: string; /** * 0:数量指标(整型)、1:金额指标(浮点型)、2:比率指标(浮点型且需要转成百分比) */ valueType?: number; /** * 减少21%,增长10.3% */ growthRatio?: number; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:指标趋势图 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=18021&itf=144547 */ api_report_indicator_trend_get: { Req: { /** * 开始日期,yyyy-mm-dd */ beginDate?: string; /** * 结束日期,yyyy-mm-dd */ endDate?: string; /** * 指标列表,只有一项时返回该指标和同行对比,有多项时则返回多项指标值 */ indicators?: string[]; /** * 渠道类型。 * 1-钻展,2-直通车,3-超级推荐,4-超级互动 * 不为空表示查询渠道报表趋势图 * reportType=1时传channelId */ deliverType?: number; /** * 人群id * 不为空表示查询人群报表趋势图 * reportType=1时传沉淀人群的destTypeId */ crowdId?: number; /** * 0或不传-查询曲线按天粒度 * 1-查询曲线按自然周粒度 */ dateType?: number; /** * 报表类型 * 0或不传-查询常规人群报表 * 1-查询渠道沉淀人群报表 */ reportType?: number; }; Res: { data?: { date?: string; /** * 同行对比值 * 入参指标列表只有一项时返回该指标的同行对比,有多项时没有同行对比值 */ peerValue?: number; /** * 入参指标对应的值,key以指标名命名 */ charge?: number; /** * 入参指标对应的值(入参指标列表有多项时),key以指标名命名 */ shopSgUv?: number; /** * 0:数量指标(整型)、1:金额指标(浮点型)、2:比率指标(浮点型且需要转成百分比) */ valueType?: number; }[]; info?: { ok?: boolean; code?: number; }; }; }; /** * 接口名:人群周使用数&消费者分层 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=18021&itf=144548 */ api_report_usagelayer_get: { Req: { /** * 开始日期,yyyy-mm-dd */ beginDate?: string; /** * 结束日期,yyyy-mm-dd */ endDate?: string; /** * 1:人群周使用数 * 2:曝光用户店铺消费者分层 */ type?: number; }; Res: { data?: { /** * type=2时,取值为 * ["费店铺消费者","潜客","新客","老客"] */ name?: string; /** * type=2时,取值为 * ["nonCust","potentialCust","newCust","oldCust"] */ key?: string; /** * 指标值 */ value?: number; /** * 同行对比值 */ peerValue?: number; /** * float类型。 * type=1时表示占上一层的份额比例,如已消耗人群占比、已同步人群占比; * type=2时表示该类型消费者数量占比 */ portion?: number; /** * 同行占比 */ peerPortion?: number; }[]; info?: { ok?: boolean; code?: number; }; }; }; /** * 接口名:人群周使用数&消费者分层柱状趋势图 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=18021&itf=144552 */ api_report_usagelayer_trend_get: { Req: { /** * 开始日期,yyyy-mm-dd */ beginDate?: string; /** * 结束日期,yyyy-mm-dd */ endDate?: string; /** * 1:人群周使用数 * 2:曝光用户店铺消费者分层 */ type?: number; }; Res: { data?: { /** * 横坐标时间点,type=2时为具体日期,yyyy-mm-dd */ timePoint?: string; list?: { /** * type=2时,取值为 * ["费店铺消费者","潜客","新客","老客"] */ name?: string; /** * type=2时,取值为 * ["nonCust","potentialCust","newCust","oldCust"] */ key?: string; /** * 指标值 */ value?: number; /** * float类型。 * type=1时表示占上一层的份额比例,如已消耗人群占比、已同步人群占比; * type=2时表示该类型消费者数量占比 */ portion?: number; /** * 同行对比值 */ peerValue?: number; /** * 同行的各层占比 */ peerPortion?: number; }[]; }[]; info?: { ok?: boolean; code?: number; }; }; }; /** * 接口名:渠道列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=18021&itf=144554 */ api_report_channel_list_get: { Req: { /** * 开始日期,yyyy-mm-dd */ beginDate?: string; /** * 结束日期,yyyy-mm-dd */ endDate?: string; /** * 指标列表。 * 注意:消耗人群数chargedCrowdNum和渠道消耗占比chargeRatio是必选指标,不单独入参 */ indicators?: string[]; /** * 查询人群下渠道列表数据,若参数为空表示查询店铺渠道列表数据 */ crowdId?: number; }; Res: { data?: { /** * 渠道类型。 * 1-钻展,2-直通车,3-超级推荐,4-超级互动 */ deliverType?: number; /** * 渠道名称 */ name?: string; record?: { /** * 指标key */ key?: string; /** * 指标名 */ name?: string; /** * 指标值 */ value?: number; /** * 0:数量指标(整型)、1:金额指标(浮点型)、2:比率指标(浮点型且需要转成百分比) */ valueType?: number; }[]; /** * 消耗人群数(本店) */ chargedCrowdNum?: number; /** * 消耗人群数(同行) */ peerChargedCrowdNum?: number; /** * 当前渠道消耗占比(本店) */ chargeRatio?: string; /** * 当前渠道消耗占比(同行) */ peerChargeRatio?: string; /** * 本店该渠道是否有投放 */ isDelivered?: boolean; /** * 同行展现人数,当isDelivered=false时需要用到 */ peerShowUv?: number; charge?: number; peerCharge?: number; /** * 渠道的颜色标识 */ color?: string; }[]; info?: { ok?: boolean; code?: number; }; }; }; /** * 接口名:人群列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=18021&itf=144555 */ api_report_crowd_list_get: { Req: { /** * 开始日期,yyyy-mm-dd */ beginDate?: string; /** * 结束日期,yyyy-mm-dd */ endDate?: string; /** * 指标列表。 * 注意:覆盖人数coverage是人群列表独有指标,不单独入参 */ indicators?: string[]; pagesize?: number; page?: number; /** * 排序指标 */ sortIndicator?: string; /** * 1-升序,2-降序 */ sortType?: number; /** * 搜索关键字,根据人群名称搜索,支持模糊搜索 */ keyword?: string; }; Res: { info?: { ok?: boolean; code?: number; }; data?: { list?: { id?: number; name?: string; coverage?: number; record?: { key?: string; name?: string; value?: number; /** * 0:数量指标(整型)、1:金额指标(浮点型)、2:比率指标(浮点型且需要转成百分比) */ valueType?: number; }[]; }[]; pager?: { pageSize?: number; total?: number; currentPage?: number; }; }; }; }; /** * 接口名:人群列表下载 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=18021&itf=154603 */ api_report_crowd_list_download_get: { Req: { /** * 开始日期,yyyy-mm-dd */ beginDate?: string; /** * 结束日期,yyyy-mm-dd */ endDate?: string; }; Res: {}; }; /** * 接口名:渠道投放计划列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=18021&itf=144596 */ api_report_campaign_list_get: { Req: { /** * 开始日期,yyyy-mm-dd */ beginDate?: string; /** * 结束日期,yyyy-mm-dd */ endDate?: string; /** * 指标列表 */ indicators?: string[]; pagesize?: number; page?: number; /** * 渠道类型。 * 1-钻展,2-直通车,3-超级推荐,4-超级互动 */ deliverType?: number; /** * 排序指标 */ sortIndicator?: string; /** * 1-升序,2-降序 */ sortType?: number; /** * 人群id */ crowdId?: number; }; Res: { data?: { pager?: { nextPage?: number; pageSize?: number; total?: number; currentPage?: number; beginPage?: number; previouPage?: number; pageTotal?: number; endPage?: number; position?: number; }; list?: { /** * 计划id */ id?: number; /** * 计划名称 */ name?: string; /** * 投放状态 */ deliverStatus?: string; record?: { key?: string; name?: string; value?: number; /** * 0:数量指标(整型)、1:金额指标(浮点型)、2:比率指标(浮点型且需要转成百分比) */ valueType?: number; }[]; /** * 跳转到登录bp的url */ toUrl?: string; }[]; }; info?: { ok?: boolean; code?: number; }; }; }; /** * 接口名:渠道投放人群列表推荐 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=18021&itf=145266 */ api_report_channel_crowdlist_get: { Req: { /** * 1:人群推荐-已同步未使用 * 2:人群推荐-本渠道优质 */ type?: number; /** * 渠道类型。 * 1-钻展,2-直通车,3-超级推荐,4-超级互动 */ deliverType?: number; }; Res: { data?: { /** * 人群id */ id?: number; /** * 人群name */ name?: string; /** * 提供方 */ provider?: string; /** * 有效日期-开始 */ beginValidDate?: string; /** * 有效日期-截止 */ endValidDate?: string; /** * 覆盖人数 */ coverage?: number; /** * 人群投放状态 * 0:未投放,1:已投放 */ deliverStatus?: number; /** * 跳转到登录bp的url */ toUrl?: string; }[]; info?: { ok?: boolean; code?: number; }; }; }; /** * 接口名:渠道投放漏斗渠道配置(控制漏斗模块显示哪些渠道tab) * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=18021&itf=302885 */ api_report_channel_funnel_config_get: { Req: {}; Res: { data?: { /** * 渠道名称【给客户看的】 */ deliverName?: string; /** * 渠道id【给程序用的】 */ deliverType?: number; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:渠道投放漏斗分析 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=18021&itf=145555 */ api_report_channel_funnel_get: { Req: { /** * reportType=1时传沉淀人群的destTypeId */ crowdId?: number; /** * 渠道类型。 * 1-钻展,2-直通车,3-超级推荐,4-超级互动 * reportType=1时传channelId */ deliverType?: number; /** * 报表类型 * 0或不传-查询常规人群报表 * 1-查询渠道沉淀人群报表 */ reportType?: number; /** * 时间周期 * reportType=1时传15/30/60 */ period?: number; }; Res: { data?: { /** * 投放漏斗数据 */ list?: { name?: string; key?: string; /** * 指标值 */ value?: number; /** * 同行对比值 */ peerValue?: number; /** * 本店:占上一层的份额比例 */ portion?: number; /** * 同行:占上一层的份额比例 */ peerPortion?: number; /** * 对应portion的名称 */ portionName?: string; /** * value和peerValue为null时,给出具体的提示 */ tips?: string; }[]; /** * 投放优化建议 */ deliverOptimization?: { /** * 同行展现用户数均值 */ peerShowUv?: number; /** * 同行曝光用户的平均计费ppc * 若人群自身PPC>同行ppc,该指标不对外透出 */ peerPPC?: number; /** * 是否建议扩展目标人群 */ isExpand?: boolean; /** * 有人群场景优化点 */ hasCrowdScene?: boolean; /** * 是否有优质人群特征 */ hasExcellentTag?: boolean; /** * 该人群中,有xx可在推荐渠道被触达,类型为小数(0.12=12%) */ reachUvRatio?: number; }; }; info?: { ok?: boolean; code?: number; }; }; }; /** * 接口名:通用指标列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=18021&itf=146184 */ api_report_indicators_get: { Req: {}; Res: { data?: { key?: string; name?: string; /** * 指标提示 */ tips?: string; /** * 是否为默认指标 */ default?: boolean; /** * true:指标可排序 * false:指标不可排序 */ isSort?: boolean; /** * 0:数量指标(整型)、1:金额指标(浮点型)、2:比率指标(浮点型且需要转成百分比) */ valueType?: number; }[]; info?: { ok?: boolean; code?: number; }; }; }; /** * 接口名:用户主营类目 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=18021&itf=146526 */ api_report_maincat_get: { Req: {}; Res: { data?: { /** * 主营类目id */ categoryId?: number; /** * 主营类目名称 */ categoryName?: string; }; info?: { ok?: boolean; code?: number; }; }; }; /** * 接口名:获取用户最近的有数据的日期 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=18021&itf=148586 */ api_report_thelatestdate_get: { Req: {}; Res: { data?: { date?: string; }; info?: { ok?: boolean; }; }; }; /** * 接口名:人群详情页-渠道人群场景指导-单品榜单 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=18021&itf=189988 */ api_report_channel_crowdScene_get: { Req: { crowdId?: number; /** * 渠道类型。 * 1-钻展,2-直通车,3-超级推荐,4-超级互动 */ deliverType?: number; }; Res: { data?: { items?: { itemList?: { item_id?: number; /** * 宝贝名称 */ item_title?: string; /** * 单品流量指数 */ item_ipv_cur_30d?: string; /** * 单品流量指数同比 */ item_ipv_pre_30d_hb?: number; /** * 相似宝贝同期 */ sim_item_ipv_cur_30d?: string; /** * 单品对店铺的贡献指数 */ shop_contri_cur_30d?: string; pict_url?: string; item_rank?: string; item_price?: number; /** * 1 流量下降 * 2 成交贡献下降 * 3 未创建分析任务 * * 4潜力预售商品标 * 5天猫双11预售标 /双11现货标 * 6淘宝开门红标/狂欢日标 * * 可能存在多个值 */ type?: number[]; /** * 一级类目id */ level1Id?: number; /** * 一级类目名称 */ level1Name?: string; /** * 二级类目id */ level2Id?: number; /** * 二级类目名称 */ level2Name?: string; /** * 叶子类目id */ cateId?: number; /** * 叶子类目属性 */ cateName?: string; /** * 单品属性,逗号分隔 */ tags?: string; shop_contri_pre_30d_hb?: string; /** * 0 表示不支持单品策略 * 1 表示支持单品策略 */ has_strategy?: string; }[]; type?: number; itemName?: string; }[]; adviceList?: { text?: string; type?: number; }[]; }; info?: { ok?: boolean; }; }; }; /** * 接口名:获取模板列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=20424&itf=160164 */ api_operation_new_template_find_get: { Req: {}; Res: { data?: { pager?: { currentPage?: number; pageNum?: number; pageSize?: number; position?: number; total?: number; }; list?: { createtime?: number; crowdRule?: { createtime?: | number | { [k: string]: any; }; crowdName?: | string | { [k: string]: any; }; id?: | number | { [k: string]: any; }; selectTagOptionSet?: { empty?: | boolean | { [k: string]: any; }; leaf?: | boolean | { [k: string]: any; }; operator?: | number | { [k: string]: any; }; selectTagOptionSet?: { empty?: boolean; leaf?: boolean; operator?: number; selectTagOptionSet?: any[]; selects?: { key?: string; names?: string; optionGroupId?: number; tagId?: number; tagName?: string; values?: string; }[]; }[]; selects?: any[]; }; tagOptionValues?: | string | { [k: string]: any; }; templateId?: | number | { [k: string]: any; }; updatetime?: | number | { [k: string]: any; }; validDate?: | number | { [k: string]: any; }; }; description?: string; id?: number; memberId?: number; name?: string; /** * 1 表示未授权 * 2 表示已经授权 * 3 表示过期 */ status?: number; updatetime?: number; /** * 有效期 */ validDate?: | number | { [k: string]: any; }; }[]; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:获取榜单列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=20424&itf=160165 */ api_operation_new_topic_find_get: { Req: {}; Res: { data?: { data?: { createtime?: number; deliverAppId?: number; description?: string; ext?: string; icon?: string; id?: number; name?: string; updatetime?: number; }[]; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:对模板进行授权 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=20424&itf=160166 */ api_operation_template_empower_post: { Req: { /** * 授权对象id,逗号分隔 */ targetIdList?: string; /** * 上传文件 */ fileName?: string; templateId?: number; /** * 榜单id,多个值以逗号分隔 */ topicIdList?: string; /** * 赋值类型 * 0: 开发给全体用户 * 1:开放给对应memberid * 2:开发给指定类目 */ empowerType?: number; }; Res: {}; }; /** * 接口名:获取模板详情 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=20424&itf=160168 */ api_operation_template_$id_detail_get: { Req: { crowdRule?: { createtime?: number; crowdName?: string; id?: number; selectTagOptionSet?: { empty?: boolean; leaf?: boolean; operator?: number; selectTagOptionSet?: { empty?: boolean; leaf?: boolean; operator?: number; selectTagOptionSet?: any[]; selects?: { key?: string; names?: string; optionGroupId?: number; tagId?: number; tagName?: string; values?: string; }[]; }[]; selects?: any[]; }; tagOptionValues?: string; templateId?: number; updatetime?: number; validDate?: number; }; }; Res: { data?: { createtime?: number; crowdRule?: { createtime?: number; crowdName?: string; id?: number; selectTagOptionSet?: { empty?: boolean; leaf?: boolean; operator?: number; selectTagOptionSet?: { empty?: boolean; leaf?: boolean; operator?: number; selectTagOptionSet?: any[]; selects?: { key?: string; names?: string; optionGroupId?: number; tagId?: number; tagName?: string; values?: string; }[]; }[]; selects?: any[]; }[]; tagOptionValues?: string; templateId?: number; updatetime?: number; validDate?: number; ext?: { lookalikeAlgoType?: number; businessType?: number; dimensionDynamic?: number; lookalikeMultiple?: number; lookalikeTargetCount?: string; preference_dimension?: string; preference_item_id?: number; preference_item_name?: string; preference_target?: string; solidate?: string; tagCombination?: string; }; }; description?: string; id?: number; memberId?: number; name?: string; status?: number; updatetime?: number; validDate?: number; isIter?: string; iterTarget?: string; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:/api/data/csv/upload * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=20376&itf=79442 */ api_data_csv_upload_post: { Req: { /** * 品牌id */ brandId?: string; /** * 品牌商id */ smartId?: string; /** * 触达渠道 */ channel?: string; /** * 会员关系 */ membership?: string; /** * 消费关系 */ purchase?: string; }; Res: { success?: boolean; index?: number; }; }; /** * 接口名:一方上传支持的数据类型 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=20376&itf=160041 */ api_data_csv_type_get: { Req: {}; Res: { data?: { list?: { /** * 支持的数据类型名称 */ name?: string; /** * 对应的code */ value?: number; }[]; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:获取数银品牌商账号列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=20376&itf=277116 */ api_databank_account_get: { Req: { /** * 品牌id */ brandId?: string; }; Res: { data?: { brandId?: string; brandName?: string; /** * 品牌商id */ smartId?: number; /** * 品牌商名称 */ smartName?: string; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:商家拥有的推广单元权限配置列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=21017&itf=165366 */ api_crowd_adgroup_config_get: { Req: { /** * 人群Id */ crowdId?: number; /** * 业务类型。 * 默认是1,表示人群列表页面,配合输入crowdId参数; * 2=渠道资产沉淀页面,配合参数inputKey=channelId_destTypeId; * 3=营销渠道策略分析,inputKey=channelId_cateId_combinationKeyId * 4=deeplink未加深人群宝贝绑定单元 * inputKey=itemId(宝贝ID) */ inputType?: number; /** * 渠道资产沉淀跨渠道预估的人群覆盖数等指标。默认参数为0,表示不需要,1=表示需要,存在性能问题 */ needCoverageRate?: number; /** * 业务输入。根据不同业务自定义拼接 */ inputKey?: string; }; Res: { data?: { /** * 业务身份code。zszwPoquanQuanceng=钻展 * feedFlowItem=信息流 * subwaySearch=直通车 */ bizCode?: string; /** * 描述 */ description?: string; /** * 直通车,超推,钻展 */ title?: string; /** * bp的链接 */ url?: string; /** * 人群覆盖数 */ crowdCoverage?: number; /** * 广告预估数 */ adPredictCoverage?: number; /** * true=直接展示hintDataSecurityInfo信息 */ hintDataSecurity?: string; /** * 人群小于1000 */ hintDataSecurityInfo?: string; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:人群绑定单元接口 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=21017&itf=165379 */ api_crowd_adgroup_bind_post: { Req: { /** * 业务身份code */ bizCode?: string; crowdBpAdgroupDO?: { /** * 推广单元id */ adgroupId?: number; /** * 人群id */ crowdId?: number; /** * 人群名称 */ crowdName?: string; /** * 出价。直通车是溢价,客户输入50,传给后端是150。超推是竞价,客户输入单位是元,传给后端是分 * 超推智能场景且systemBid≠3、5时传溢价 */ price?: number; /** * 业务身份code */ bizCode?: string; /** * 50-绑定超推智能智能场景计划 */ campaignType?: number; /** * 将超推单元计划展示信息bidView里的systemBid原样带回 * (campaignType=50时必传) */ systemBid?: number; /** * 超推智能场景的基础出价 * 将超推单元计划展示信息的basePrice原样带回 * (campaignType=50且systemBid≠3、5时必传) */ basePrice?: number; }[]; /** * 业务类型。 * 默认是1,表示人群列表页面,配合输入crowdId参数; * 2=渠道资产沉淀页面,配合参数inputKey=channelId_destTypeId; * 3=营销渠道策略分析,inputKey=channelId_cateId_combinationKeyId * 4=deeplink未加深人群宝贝绑定单元 * inputKey=itemId(宝贝ID) */ inputType?: number; /** * 根据inputType定义的业务类型来拼接 */ inputKey?: string; /** * 通用的人群421结构 */ selectTagOptionSet?: {}; }; Res: { data?: { success?: { adgroupId?: number; bizCode?: string; success?: boolean; }[]; error?: { adgroupId?: number; bizCode?: string; errorMessage?: string; success?: boolean; }[]; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:直通车计划单元信息查询[自定义+智能匹配] * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=21017&itf=165380 */ api_crowd_adgroup_ztc_get: { Req: { /** * 类型。1=用户自定义,2=智能匹配 */ type?: number; /** * 人群id */ crowdId?: number; page?: number; pageSize?: number; /** * 绑定状态 * 0-未绑定,1-绑定中,2-已绑定 * 查询全部状态时该参数置空不传 */ adgroupStatus?: number; /** * 计划类型 * 直通车:0-标准推广 * 超推:16-商品推广 * 钻展: * 11-未知人群探索 * 12-泛兴趣人群拉新 * 13-兴趣人群收割 * 21-自定义计划 * 查询全部计划类型时该参数置空不传 */ campaignType?: number; /** * 搜索框,单元或计划名称 */ keyword?: string; /** * 搜索类型,1-按单元搜索,2-按计划搜索 */ searchType?: number; /** * 业务类型。 * 默认是1,表示人群列表页面,配合输入crowdId参数; * 2=渠道资产沉淀页面,配合参数inputKey=channelId_destTypeId; * 3=营销渠道策略分析,inputKey=channelId_cateId_combinationKeyId * 4=deeplink未加深人群宝贝绑定单元 * inputKey=itemId(宝贝ID) */ inputType?: number; /** * 输入。按照指定规则拼接的key */ inputKey?: string; }; Res: { data?: { pager?: { currentPage?: number; pageNum?: number; pageSize?: number; position?: number; total?: number; }; list?: { /** * 推广单元id */ adgroupId?: number; /** * 推广单元名称 */ adgroupName?: string; /** * 计划信息 */ campaign?: { /** * 计划id */ campaignId?: number; /** * 计划名称 */ campaignName?: string; /** * 计划类型 */ campaignType?: number; context?: {}; /** * 计划投放投放状态。1=正在投放,0=暂停投放 */ status?: number; /** * 预算信息 */ dayBudget?: { /** * 限额/预算金额 */ dayBudget?: number; /** * 限额名称,直通车是日限额,超推、钻展是日预算或周期预算 */ budgetName?: string; /** * 投放有效期,如果有值则展示 */ budgetPeriod?: string; /** * 限额/预算金额,已加上文字描述 */ budgetValue?: string; }; }; context?: {}; /** * 绑定的人群信息 */ crowdRefList?: { context?: {}; crowd?: { context?: {}; /** * 人群id */ crowdId?: number; /** * 人群名称 */ crowdName?: string; targetLabel?: { context?: {}; labelId?: number; labelName?: string; options?: { context?: {}; optionName?: string; optionValue?: string; }[]; targetType?: number; }; targetType?: number; }; /** * 人群绑定单元接口中的真实出价信息,只有adgroupStatus=1、2时才有值 */ priceDTO?: { bidPrice?: number; context?: {}; /** * 人群溢价。前端显示需要减100 */ discount?: number; }; }[]; /** * 推广单元状态。0=暂停,1=投放 */ status?: number; /** * 宝贝信息 */ materialViewDTO?: { /** * 宝贝链接url */ linkUrl?: string; /** * 宝贝id */ materialId?: number; /** * 宝贝出价信息 */ userDefineProperties?: { /** * 宝贝出价 */ item_price?: string; }; /** * 宝贝图片 */ imgUrl?: string; /** * 宝贝名称 */ materialName?: string; }; /** * 绑定状态 * 0-未绑定,1-绑定中,2-已绑定 */ adgroupStatus?: number; /** * 打标信息 */ label?: string; /** * 建议出价金额 * 直通车是溢价;超推是出价(单位为分) */ recommendPrice?: number; }[]; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:超推单元计划信息查询[自定义+智能推荐] * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=21017&itf=165382 */ api_crowd_adgroup_chaotui_get: { Req: { /** * 类型。1=用户自定义,2=智能匹配 */ type?: number; /** * 人群id */ crowdId?: boolean; page?: number; pageSize?: number; /** * 计划类型 * 直通车:0-标准推广 * 超推: * 16-商品推广(自定义计划) * 50-智能场景计划 * 钻展: * 11-未知人群探索 * 12-泛兴趣人群拉新 * 13-兴趣人群收割 * 21-自定义计划 * 查询全部计划类型时该参数置空不传 */ campaignType?: number; /** * 搜索框,单元或计划名称 */ keyword?: string; /** * 搜索类型,1-按单元搜索,2-按计划搜索 */ searchType?: number; /** * 业务类型。 * 默认是1,表示人群列表页面,配合输入crowdId参数; * 2=渠道资产沉淀页面,配合参数inputKey=channelId_destTypeId; * 3=营销渠道策略分析,inputKey=channelId_cateId_combinationKeyId * 4=deeplink未加深人群宝贝绑定单元 * inputKey=itemId(宝贝ID) */ inputType?: number; /** * 输入,按照指定规则拼接的key */ inputKey?: string; }; Res: { data?: { pager?: { currentPage?: number; pageNum?: number; pageSize?: number; position?: number; total?: number; }; list?: { /** * 推广单元id */ adgroupId?: number; /** * 推广单元名称 */ adgroupName?: string; campaign?: { /** * 推广计划id */ campaignId?: number; /** * 推广计划名称 */ campaignName?: string; /** * 计划类型 */ campaignType?: number; context?: {}; /** * 推广计划状态。1=正在投放,0=暂停投放 */ status?: number; /** * 预算信息 */ dayBudget?: { /** * 每日400元 */ dayBudget?: number; /** * 限额名称,直通车是日限额,超推、钻展是日预算或周期预算 */ budgetName?: string; /** * 限额/预算金额,已加上文字描述 */ budgetValue?: string; /** * 投放有效期,如果有值则展示 */ budgetPeriod?: string; }; bidView?: { /** * 3表示系统出价、5表示系统出价有上限,不需要设置价格 */ systemBid?: number; }; marketing?: { /** * 超推智能单元计划打标映射关系 * 1100 超级管家 * 1091 独享橱窗 * 1025 新品推广 * 1032 爆款拉新 * 1027 关联营销 * 1040 会员营销 * 如果不在枚举里面,就不需要展示 */ marketScene?: number; /** * marketScene对应的名称,有值就展示 */ marketSceneName?: string; }; }; context?: {}; /** * 人群信息 */ crowdRefList?: { context?: {}; crowd?: { context?: {}; /** * 人群id */ crowdId?: number; /** * 人群名称 */ crowdName?: string; targetLabel?: { context?: {}; labelId?: number; labelName?: string; options?: { context?: {}; optionName?: string; optionValue?: string; }[]; targetType?: number; }; targetType?: number; }; /** * 出价信息 */ priceDTO?: { bidPrice?: number; context?: {}; discount?: number; }; }[]; /** * 推广单元状态。0=暂停,1=投放 */ status?: number; /** * 宝贝相关信息 */ materialViewDTO?: { /** * 宝贝链接 */ linkUrl?: string; /** * 宝贝id */ materialId?: number; userDefineProperties?: { /** * 宝贝出价 */ item_price?: string; }; /** * 宝贝图片 */ imgUrl?: string; /** * 宝贝名称 */ materialName?: string; }; /** * 绑定状态 * 0-未绑定,1-绑定中,2-已绑定 */ adgroupStatus?: number; /** * 建议出价金额 * 直通车是溢价;超推是出价(单位为分) */ recommendPrice?: number; /** * 智能场景的单元基础价格,单位分 */ basePrice?: number; }[]; }; /** * 推广单元投放状态。1=投放,0=暂停 */ info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:钻展单元信息查询[自定义+智能匹配] * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=21017&itf=165386 */ api_crowd_adgroup_zszw_get: { Req: { /** * 类型。1=用户自定义,2=智能匹配 */ type?: number; /** * 人群id */ crowdId?: number; page?: number; pageSize?: string; /** * 计划类型 * 直通车:0-标准推广 * 超推:16-商品推广 * 钻展: * 45-未知人群探索 * 46-泛兴趣人群拉新 * 47-兴趣人群收割 * 48-自定义计划 * 查询全部计划类型时该参数置空不传 */ campaignType?: number; /** * 搜索框,计划或计划组名称 */ keyword?: string; /** * 搜索类型,1-按计划搜索,2-按计划组搜索(bp接口暂时不支持按计划组搜索) */ searchType?: number; /** * 业务类型。默认是1,表示人群列表页面,配合输入crowdId参数;2=渠道资产沉淀页面,配合参数inputKey=channelId_destTypeId;3=营销渠道策略分析,inputKey=channelId_cateId_combinationKeyId */ inputType?: number; /** * 输入的key,按照指定规则生成 */ inputKey?: string; }; Res: { data?: { pager?: { currentPage?: number; pageNum?: number; pageSize?: number; position?: number; total?: number; }; list?: { adgroupList?: { /** * 推广单元id */ adgroupId?: number; /** * 推广单元名称 */ adgroupName?: string; context?: {}; /** * 人群信息 */ crowdRefList?: { context?: {}; crowd?: { context?: {}; /** * 人群id */ crowdId?: number; /** * 人群名称 */ crowdName?: string; /** * 定向信息 */ targetLabel?: { context?: {}; labelId?: number; labelName?: string; options?: { context?: {}; optionName?: string; optionValue?: string; }[]; targetType?: number; }; targetType?: number; }; /** * 出价信息 */ priceDTO?: { bidPrice?: number; context?: {}; discount?: number; }; }[]; materialViewDTO?: { /** * 宝贝链接地址 */ linkUrl?: string; /** * 宝贝id */ materialId?: number; /** * 宝贝出价信息 */ userDefineProperties?: { /** * 宝贝价格 */ item_price?: string; }; /** * 宝贝名称 */ materialName?: string; }; /** * 绑定状态 * 0-未绑定,1-绑定中,2-已绑定 * 10-AI优选:绑定人群时不让选择该计划 */ adgroupStatus?: number; }[]; /** * 计划组信息 */ campaignGroup?: { context?: {}; /** * 计划组id */ id?: number; /** * 计划组名称 */ name?: string; /** * 钻展计划类型 */ sceneId?: number; }; /** * 计划id */ campaignId?: number; /** * 计划名称 */ campaignName?: string; campaignType?: number; context?: {}; /** * 计划投放状态信息。1=正在投放,0=暂停投放 */ status?: number; /** * 预算信息 */ dayBudget?: { /** * 每日400元 */ dayBudget?: number; /** * 限额名称,直通车是日限额,超推、钻展是日预算或周期预算 */ budgetName?: string; /** * 限额/预算金额,已加上文字描述 */ budgetValue?: string; /** * 投放有效期,如果有值则展示 */ budgetPeriod?: string; }; }[]; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:人群应用渠道以及渠道应用返回结果建议 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=21017&itf=171485 */ api_crowd_adgroup_deliverapp_post: { Req: { /** * 人群id */ crowdId?: number; /** * subwaySearch,feedFlowItem,zszwPoquanQuanceng不同渠道的业务身份 */ bizCodes?: string; }; Res: { data?: { /** * true=表示是需要调整大小。false=其他错误,直接展示错误信息message字段信息 */ adjust?: boolean; message?: string; /** * true应用渠道成功,false=失败,在失败的情况下,需要看adjust字段来判断是否需要进行放大缩小处理 */ success?: boolean; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:引力魔方计划信息查询[自定义+智能匹配] * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=21017&itf=302640 */ api_crowd_adgroup_mofang_get: { Req: { /** * 类型。1=用户自定义,2=智能匹配 */ type?: number; /** * 搜索框,单元或计划名称 */ keyword?: string; /** * 搜索类型,1-按单元搜索,2-按计划搜索 */ searchType?: number; page?: number; pageSize?: number; /** * 人群id */ crowdId?: number; /** * 业务类型。 * 默认是1,表示人群列表页面,配合输入crowdId参数; * 2=渠道资产沉淀页面,配合参数inputKey=channelId_destTypeId; * 3=营销渠道策略分析,inputKey=channelId_cateId_combinationKeyId * 4=deeplink未加深人群宝贝绑定 */ inputType?: number; }; Res: {}; }; /** * 接口名:搜索联想 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=21551&itf=168596 */ api_tag_search_association_get: { Req: { /** * 客户输入词 */ query?: string; }; Res: { data?: { list?: any[]; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:标签精选 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=21551&itf=254638 */ api_tag_jingxuan_get: { Req: { /** * 场景 * 1-标签市场,2-自定义圈人页面 */ scene?: number; page?: number; pageSize?: number; }; Res: { info?: { ok?: boolean; }; data?: { pager?: { currentPage?: number; nextPage?: number; total?: number; pageSize?: number; pageTotal?: number; endPage?: number; beginPage?: number; previouPage?: number; position?: number; }; groups?: { value?: number; count?: number; }[]; list?: { id?: number; tagName?: string; tagDesc?: string; dpName?: string; coverage?: number; price?: number; qualityScore?: number; validDate?: string; collect?: boolean; tagUsed?: number; tagScore?: number; tagEffect?: number; effectiveScore?: number; coverScore?: number; hotUsedScore?: number; searchScore?: number; accuracyScore?: number; isMemberRecommended?: boolean; isCatalogRecommended?: boolean; tagOptionNames?: string; tagNameHighlight?: string; tagDescHighlight?: string; tagOptionNamesHighlight?: string; tagType?: string; dpId?: number; tagIds?: any[]; tagGroupBgIds?: any[]; }[]; }; }; }; /** * 接口名:商家周报列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=24850&itf=192478 */ api_weekly_report_get: { Req: {}; Res: { data?: { /** * 周报id */ id?: number; /** * 0=未读,1=已读 */ readStatus?: number; /** * 默认引导语 */ reportDefaultIntroduction?: string; /** * 个性化引导语 */ reportPersonalizedIntroduction?: string; /** * 标题 */ reportTitle?: string; /** * 周报类型。1=新客,2=老客,3=流失客户,4=其他 */ reportType?: number; /** * 开始日期 */ beginDate?: number; /** * 结束日期 */ endDate?: number; /** * 行业名称 */ mainCateName?: string; /** * 同行业中开通达摩盘商家数量 */ numMainCateUsers?: number; /** * 在老客的情况下,是否需要出新手引导。true表示需要 */ needNewGuide?: boolean; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:店铺老客周报--投放人群诊断 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=24850&itf=194391 */ api_weekly_report_old_crowd_diagnosis_get: { Req: { /** * 周报id */ weeklyReportId?: number; }; Res: { data?: { numAppliedCrowds?: number; numNewCrowds?: number; numUnappliedCrowds?: number; topCrowds?: { crowdId?: number; crowdName?: string; /** * 1=消耗top,2=点击top,3=收藏加购top,4=投资回报率top */ crowdTopType?: number; /** * +12表示上升,-12表示下降 */ numChange?: number; /** * 是否新增上榜。1=新增上榜,否则不是 */ newTopFlag?: number; /** * 周环比 */ weeklyChain?: number; }[]; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:店铺老客周报--投放人群诊断--人群TOP榜单 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=24850&itf=194466 */ api_weekly_report_old_crowd_top_get: { Req: { /** * 跟人群诊断接口crowdTopType字段保持一致。1=消耗top,2=点击top,3=收藏加购top,4=投资回报率top */ crowdTopType?: number; /** * 周报id */ weeklyReportId?: number; }; Res: { data?: { crowdId?: number; crowdName?: string; /** * 1=消耗top,2=点击top,3=收藏加购top,4=投资回报率top */ crowdTopType?: number; /** * 跟crowdTopType一起看,1表示的消耗,2表示的点击值,没有乘以100% */ value?: number; /** * 环比 */ weeklyChain?: number; /** * 正数表示上升,负数表示下降。比如10,表示上升10位,-10表示下降10位 */ numChange?: number; /** * 1=新上榜,else非新上榜 */ newTopFlag?: number; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:店铺老客周报--单品推广小结 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=24850&itf=194552 */ api_weekly_report_old_item_summary_get: { Req: { /** * 周报id */ weeklyReportId?: number; }; Res: { data?: { /** * 投放单品数量 */ numItems?: number; /** * 单品信息 */ topItems?: { /** * 指标。1=展现下降,2=ctr下降,0=其他。如果是1,则看uvWeeklyRate,如果是2,则看ctrWeeklyRate,如果是0,则看numChange或者newTopFlag */ indicatorFlag?: number; /** * 单品id */ itemId?: number; /** * 单品名称 */ itemName?: string; /** * 展现环比 */ uvWeeklyRate?: number; /** * 点击率周环比 */ ctrWeeklyRate?: number; /** * 上升或者下降名次 */ numChange?: number; /** * 是否新上榜标识符 1=新上榜,else不是 */ newTopFlag?: number; }[]; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:店铺老客周报--单品推广小结--单品TOP排行榜 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=24850&itf=194553 */ api_weekly_report_old_item_top_get: { Req: { /** * 周报id */ weeklyReportId?: number; }; Res: { data?: { /** * 达摩盘消耗 */ chargeDmp?: number; /** * 达摩盘消耗周环比 */ chargeDmpWeeklyRate?: number; /** * 收藏加购率 */ col?: number; /** * 收藏加购率周环比 */ colWeeklyRate?: number; /** * 点击率 */ ctr?: number; /** * 点击率周环比 */ ctrWeeklyRate?: number; /** * 宝贝id */ itemId?: number; /** * 宝贝名称 */ itemName?: string; /** * 宝贝图片url */ itemPicUrl?: string; /** * 宝贝价格 */ itemPrice?: number; /** * 投资回报率 */ roi?: number; /** * 展现人数 */ uv?: number; /** * 展现人数周环比 */ uvWeeklyRate?: number; /** * 投资回报率周环比 */ roiWeeklyRate?: string; /** * 枚举值,1=流量下降,其他后面需要再加 */ indicatorTag?: number; /** * 1=新增上榜,非1表示其他 */ newTopFlag?: number; /** * 宝贝上升或者下降的位次。人群增速最快,增长了12位。正数表示增长,负数表示下降 */ numChange?: number; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:店铺老客周报--单品推广小结--绑定TOP3单品人群投放效果总结 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=24850&itf=194554 */ api_weekly_report_old_item_top_crowd_get: { Req: { /** * 周报id */ weeklyReportId?: number; /** * 宝贝id */ itemId?: number; }; Res: { data?: { /** * 达摩盘消耗 */ chargeDmp?: number; /** * 达摩盘消耗周环比 */ chargeDmpWeeklyRate?: number; /** * 人群id */ crowdId?: number; /** * 人群名称 */ crowdName?: string; /** * 点击率 */ ctr?: number; /** * 点击率周环比 */ ctrWeeklyRate?: number; /** * 1=点击率波动环比最大标 */ crowdTag?: number; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:商家周报状态更新为已读 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=24850&itf=195610 */ api_weekly_report_$id_put: { Req: {}; Res: { info?: { ok?: boolean; }; data?: {}; }; }; /** * 接口名:万堂书院-课程列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=24850&itf=199612 */ yx_channel_content_findContent_get: { Req: {}; Res: { msg?: null; errorCode?: null; data?: { result?: { applyCount?: number; auditInfo?: null; canGetPushLiveUrl?: boolean; categoryFullName?: null; categoryId?: number; categoryName?: string; content?: null; contentTagList?: number[]; costType?: string; courseDetailUrl?: string; courseExt?: null; courseNo?: null; courseType?: string; creatorMainName?: string; creatorMainNum?: number; creatorName?: string; description?: string; endTime?: string; extLinkIdList?: number[]; extLinkList?: any[]; firstPublishTime?: string; flag?: null; followCount?: number; gmtCreate?: string; gmtModified?: string; halfPictureUrl?: null; hasApply?: boolean; hasFollow?: boolean; hasHistoryCourse?: boolean; id?: number; lector?: { alipay?: null; areaCode?: string; assessment?: null; attachmentUrl?: null; auditInfo?: null; bonus?: null; city?: null; courseCount?: number; detailAddress?: null; email?: null; extendPermission?: null; followCount?: number; gender?: null; gmtCreate?: null; gmtModified?: null; halfPictureUrl?: | string | { [k: string]: any; }; hasFollow?: boolean; id?: number; introduction?: string; isKeepLevel?: null; isOrgan?: number; keepLevelForm?: null; knowWt?: null; level?: number; levelUpdateTime?: string; mainPictureUrl?: string; mainUserId?: number; memberId?: null; mobilePhone?: null; modelBonus?: null; modelBonusUpdateTime?: null; name?: null; nick?: string; occupation?: null; orderNum?: null; organScale?: null; permanentCity?: null; province?: null; region?: null; remark?: null; status?: null; tagsMap?: null; type?: string; wangwang?: string; }; liveUrl?: null; mainPictureUrl?: string; mainWorker?: null; name?: string; orderNum?: number; privateCourse?: number; pubExt?: null; publishTime?: string; pvCount?: number; replayUrl?: string; startTime?: string; status?: string; tagList?: string[]; videoMaterialList?: any[]; workerNicks?: null; }[]; }; success?: boolean; }; }; /** * 接口名:万堂书院-课程地址 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=24850&itf=199613 */ yx_channel_content_detail_get: { Req: {}; Res: {}; }; /** * 接口名:人群列表检索条件--提供方人群提示 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=27061&itf=209062 */ api_crowd_search_indicator_get: { Req: { /** * 1=我创建的人群,2=合作方人群 */ listType?: number; }; Res: { data?: { /** * 人群指标 */ indicators?: { /** * 检索对应的key */ key?: string; /** * 展示给客户看的名称 */ message?: string; /** * 检索key对应的value,一般不需要 */ value?: number; }[]; /** * 提供方名称 */ providers?: { /** * 提供方名称 */ providerName?: string; }[]; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:崇志-触发小二人群分享-POST * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=27061&itf=210986 */ api_employer_proxy_crowd_share_post: { Req: { /** * 人群id */ crowdId?: number; /** * 人群id列表,批量人群分享。crowdId和crowdIdList这两个参数互斥,用来区分是否批量模式,因为批量模式下只能添加,不能删除 */ crowdIdList?: number; /** * 分享给的小二列表memberId信息 */ memberIdLst?: number; /** * 目标租户id */ targetAppId?: number; }; Res: { info?: { ok?: boolean; }; }; }; /** * 接口名:崇志-人群分享给的小二列表查询-GET * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=27061&itf=210990 */ api_employer_proxy_crowd_share_get: { Req: { /** * 人群id */ crowdId?: number; /** * 租户id */ appId?: number; }; Res: { data?: { appId?: number; crowdId?: number; memberId?: number; nickname?: string; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:崇志--小二信息检索接口 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=27061&itf=210994 */ api_user_employee_get: { Req: { /** * 小二输入的花名 */ nickname?: string; /** * 分页 */ page?: number; /** * 分页大小 */ pageSize?: number; appId?: string; }; Res: { data?: { appId?: number; /** * memberId */ memberId?: number; /** * nickname */ nickname?: string; }[]; info?: { code?: number; ok?: boolean; requestID?: string; }; }; }; /** * 接口名:渠道沉淀人群列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=28041&itf=216034 */ api_crowd_channel_property_get: { Req: { /** * 渠道id */ channelId?: number; /** * 定向分类id(二级菜单的第一层) */ destClassId?: number; /** * 时间周期。近15天,近30天 */ period?: number; /** * 跟query/index接口返回的queryIndexVale字段意义一致 */ queryIndexValue?: number; /** * 分页大小 */ pageSize?: number; /** * 分页 */ page?: number; /** * 定向id(二级菜单的第二层) */ destTypeId?: number; }; Res: { data?: { list?: { /** * 渠道id */ channelId?: string; /** * 渠道名称 */ channelName?: string; /** * 人群覆盖数 */ coverage?: number; crowdCharge?: number; crowdChargeRate?: number; crowdCoverageRate?: number; /** * 定向分类 */ destClassName?: string; destTypeId?: string; destTypeName?: string; memberId?: number; period?: number; }[]; pager?: { pageSize?: string; total?: string; }; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:渠道列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=28041&itf=216131 */ api_crowd_channel_property_channel_get: { Req: {}; Res: { data?: { /** * 渠道id */ channelId?: string; /** * 渠道名称 */ channelName?: string; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:渠道人群检索指标 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=28041&itf=216157 */ api_crowd_channel_property_query_index_get: { Req: { /** * 渠道id * */ channelId?: number; /** * 定向分类id(二级菜单的第一层 */ destClassId?: string; /** * 时间周期。近15天,近30天 */ period?: string; /** * 定向id(二级菜单的第二层) */ destTypeId?: string; }; Res: { data?: { /** * 人群数 */ count?: number; /** * 描述,待运营同学添加 */ desc?: string; name?: string; /** * 1,2,3,4 */ queryIndexValue?: number; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:定向分类 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=28041&itf=216287 */ api_crowd_channel_property_dest_class_get: { Req: { /** * 渠道id */ channelId?: number; }; Res: { data?: { /** * 渠道id */ channelId?: string; /** * 渠道名称 */ channelName?: string; /** * 分类id */ destClassId?: string; /** * 分类名称 */ destClassName?: string; /** * 定向id */ destTypeId?: string; /** * 定向名称 */ destTypeName?: string; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:渠道沉淀人群首页信息透出 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=28041&itf=283631 */ api_crowd_channel_property_homepage_get: { Req: { /** * 渠道id,不传表示所有渠道 */ channelId?: number; /** * 时间周期。近15天,近30天 */ period?: number; /** * 跟query/index接口返回的queryIndexVale字段意义一致 */ queryIndexValue?: number; }; Res: { data?: { channelId?: number; /** * 渠道名称 */ channelName?: string; /** * 触达uv环比。 * 若为正数或0,则显示“恭喜!您在xxx渠道的xxx定向人群在过去15天触达用户数提升了xxx%,快去查看吧!” * 若为负数,则显示“注意!您在xxx渠道的xxx定向人群在过去15天触达用户数下降了xxx%,快去查看吧!” */ crowdCoverageRate?: number; destTypeId?: number; /** * 人群信息 */ destTypeName?: string; /** * 入参period */ period?: number; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:投前诊断详情 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=29052&itf=223521 */ api_strategy_crowd_analysis_chart_post: { Req: { /** * 人群结构。参见api/analysis/tag/{tagId}) */ selectTagOptionSet?: {}; /** * 客户勾选的单个选项(跟洞察那边参数保持一致 参见api/analysis/tag/{tagId}) */ extraSelectTagOptionSet?: {}; /** * 人群id,参见api/analysis/tag/{tagId}) */ crowdId?: number; /** * 投前诊断类型 1=人群成长空间 2=人群商业价值 3=本店转化机会 4=近30天营销效率 */ insightType?: number; effectQuery?: { cateId?: string; deliverType?: string; }; }; Res: { data?: { CROWD?: { hint?: { /** * 老客转化可能性指数(123=低中高) */ oldChangeRatioIndex?: string; /** * 新客转化可能性指数(123=低中高) */ newChangeRatioIndex?: string; /** * 活跃率指数(123=低中高) */ activeRateIndex?: string; /** * 可渗透空间指数(123=低中高) */ crowdSpaceIndex?: string; /** * 客单价指数(123=低中高) */ pctIndex?: string; /** * 人群特征相关性指数(123=低中高) */ featureIndex?: string; }; /** * 新客转化可能性。(需要做成%) */ newChangeRatio?: number; /** * 老客转化可能性。(需要做成%) */ oldChangeRatio?: number; /** * 得分(小数,不需要做成%) */ score?: number; /** * 可渗透空间(整数,不需要做成%) */ space?: number; /** * 平均客单价(小数,不需要%) */ pct?: number; /** * 点击率(需要做成%) */ ctr?: number; /** * 收藏加购率(页面文案不对,但是用该指标,需要做成%) */ cvr?: number; /** * 人群相关度(需要做成%) */ similarity?: number; /** * 人群覆盖规模(整数,不需要%) */ crowdCoverage?: number; /** * 活跃率(需要%) */ activeRate?: number; /** * 渗透率 */ spaceRate?: number; }; BASE?: { hint?: {}; newChangeRatio?: number; oldChangeRatio?: number; }; }; info?: { code?: number; ok?: boolean; requestID?: string; }; }; }; /** * 接口名:小二精选人群-页面list * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=30610&itf=226082 */ api_topic_template__get: { Req: { /** * 大促页面的精选人群 queryBizId=1 * 达摩盘首页精选人群 queryBizId=2 */ queryBizId?: string; }; Res: { data?: { description?: string; id?: number; name?: string; templateVOS?: { createtime?: string; description?: string; highlight?: string; id?: number; mark?: string; memberId?: number; name?: string; /** * 推送时间 */ promotionTime?: string; status?: number; updatetime?: string; usageIndex?: number; /** * 是否被采纳 */ used?: boolean; /** * 有效时间 */ validDate?: string; crowdLabel?: string; /** * isNewMark=1表示“上新”打标 * choosyMark=1表示“精选”打标 */ ext?: string; }[]; ext?: string; }[]; info?: { code?: number; ok?: boolean; requestID?: string; }; }; }; /** * 接口名:详情页-计算覆盖人数 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=30610&itf=230036 */ api_topic_template_$id_coverage_post: { Req: {}; Res: { data?: number; info?: { code?: number; ok?: boolean; requestID?: string; }; }; }; /** * 接口名:推荐人群采纳 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=30610&itf=230301 */ api_topic_template_agree_post: { Req: { /** * topic主题 */ topicId?: string; /** * templateId 模板id */ templateId?: string; /** * kv结构 */ contextParams?: { /** * 品牌名称 */ brandName?: string; /** * 品牌id */ brandValue?: string; }; }; Res: { data?: number; info?: { code?: number; ok?: boolean; requestID?: string; }; }; }; /** * 接口名:创建模板开启迭代 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=30610&itf=296963 */ api_operation_new_template_create_post: { Req: { highlight?: string; description?: string; validDate?: string; name?: string; usageIndex?: number; mark?: string; crowdRule?: { selectTagOptionSet?: { operator?: number; selectTagOptionSet?: { operator?: number; selects?: any[]; selectTagOptionSet?: { operator?: number; selects?: any[]; selectTagOptionSet?: { selects?: { tagName?: string; tagId?: string; optionGroupId?: number; values?: string; names?: string; }[]; tagFrom?: number; }[]; }[]; }[]; selects?: any[]; _isTagRecommend?: boolean; }; ext?: { lookalikeAlgoType?: number; businessType?: number; solidate?: string; }; }; /** * 是否开启迭代 * 开启迭代:1 * 不开启迭代:0 */ isIter?: string; /** * 优化展现量:1 * 优化点击率:2 * */ iterTarget?: string; }; Res: { data?: string; info?: { code?: number; ok?: boolean; requestID?: string; }; }; }; /** * 接口名:修改模板开启迭代 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=30610&itf=296966 */ api_operation_new_template_edit_put: { Req: { highlight?: string; description?: string; validDate?: string; name?: string; usageIndex?: number; mark?: string; crowdRule?: { selectTagOptionSet?: { operator?: number; selectTagOptionSet?: { operator?: number; selects?: any[]; selectTagOptionSet?: { operator?: number; selects?: any[]; selectTagOptionSet?: { selects?: { tagName?: string; tagId?: number; optionGroupId?: number; values?: string; names?: string; }[]; tagFrom?: null; }[]; }[]; }[]; selects?: any[]; _isTagRecommend?: boolean; }; ext?: { lookalikeAlgoType?: string; businessType?: number; solidate?: string; }; id?: number; }; id?: number; /** * 是否开启迭代 * 开启迭代:1 * 不开启迭代:0 */ isIter?: string; /** * 优化展现量:1 * 优化点击率:2 */ iterTarget?: string; }; Res: { data?: string; info?: { code?: number; ok?: boolean; requestID?: string; }; }; }; /** * 接口名:智能迭代人群列表查询 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=31348&itf=241021 */ api_crowd_iter_get: { Req: { /** * 分页 */ page?: number; /** * 分页大小 */ pageSize?: number; /** * 1=待迭代,2=迭代中,3=暂停迭代 */ status?: number; /** * 人群名称模糊搜索 */ crowdNameLike?: string; /** * 显示指定迭代目标。1=pv, 2=ctr, 3=cvr, 4=roi */ iterTarget?: number; /** * 是否仅显示纯粹的人群信息,不包含近7日CTR变化、展现量等信息 */ pure?: boolean; }; Res: { data?: { pager?: { currentPage?: number; pageNum?: number; pageSize?: number; position?: number; total?: number; }; list?: { /** * 人群覆盖数 */ coverage?: number; /** * 人群id */ crowdId?: number; /** * 人群名称 */ crowdName?: string; /** * 近7天点击率变化,正负数区分 */ ctrRate7?: number; /** * 近7天cvr变化 */ cvrRate7?: number; /** * 近7天展现量变化 */ pvRate7?: number; /** * 迭代人群状态。1=待迭代,2=迭代中,3=暂停迭代 */ status?: number; /** * 停止原因 */ stopReason?: string; diagnosisContentList?: any[]; /** * 迭代方向。1=pv,2=ctr */ iterTarget?: number; }[]; /** * 1=冷启动状态,2=非冷启动状态 */ new?: string; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:迭代人群报表汇总 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=31348&itf=241022 */ api_crowd_iter_$id_rpt_get: { Req: { /** * 人群id */ id?: number; /** * 开始日期 */ startTime?: string; /** * 结束日期 */ endTime?: string; }; Res: { data?: { ITER?: { click?: number; consume?: number; crowdId?: number; ctr?: number; cvr?: number; name?: string; pv?: number; /** * 如果值是1.2,表示迭代人群提升了20%。只有迭代目标是pv才展现这个指标 */ crowdMultiple?: number; /** * 占比。已乘100 */ percent?: string; }; BASE?: { /** * 点击量 */ click?: number; /** * 消耗 */ consume?: number; /** * 人群id */ crowdId?: number; /** * 点击率 */ ctr?: number; /** * cvr转化率 */ cvr?: number; /** * 人群名称 */ name?: string; /** * 展现量 */ pv?: number; /** * 占比。已乘100 */ percent?: number; }; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:暂停人群迭代 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=31348&itf=241023 */ api_crowd_iter_$id_pause_put: { Req: { /** * 人群id */ id?: number; }; Res: { data?: null; info?: { ok?: boolean; }; }; }; /** * 接口名:移除智能人群迭代 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=31348&itf=241024 */ api_crowd_iter_$id_delete_delete: { Req: { /** * 人群id */ id?: number; }; Res: { data?: null; info?: { ok?: boolean; }; }; }; /** * 接口名:开启人群智能迭代 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=31348&itf=241025 */ api_crowd_iter_$id_start_post: { Req: { /** * 人群id */ id?: number; /** * 显示指定迭代目标。1=pv, 2=ctr, 3=cvr, 4=roi */ iterTarget?: number; }; Res: { data?: null; info?: { ok?: boolean; }; }; }; /** * 接口名:迭代报表趋势图 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=31348&itf=241647 */ api_crowd_iter_$id_rpt_trend_get: { Req: { /** * 人群id */ id?: number; /** * 开始日期 */ startTime?: string; /** * 结束日期 */ endTime?: string; }; Res: { data?: { ITER?: { /** * 点击量 */ click?: number; /** * 消耗 */ consume?: number; /** * 人群id */ crowdId?: number; /** * 点击率ctr */ ctr?: number; /** * 转化率cvr */ cvr?: number; /** * 日期 */ dateTime?: string; /** * 迭代特征 */ iterFeatureList?: { dateTime?: string; /** * 特征推荐度,值越大表示越好 */ feaRank?: number; /** * 标签名称 */ tagName?: string; /** * 选项名称 */ tagValueName?: string; }[]; name?: string; pv?: number; /** * 占比。已乘100 */ percent?: string; }; BASE?: { click?: number; consume?: number; crowdId?: number; ctr?: number; cvr?: number; dateTime?: number; name?: string; pv?: number; /** * 占比。已乘100 */ percent?: string; }; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:quota限制 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=31348&itf=241686 */ api_crowd_iter_quota_get: { Req: {}; Res: { data?: { /** * quota总量 */ quota?: number; /** * 已经使用的数量 */ used?: number; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:洞察标签类目 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=31348&itf=243055 */ api_analysis_insight_tagGroup_list_get: { Req: {}; Res: { data?: { appId?: number; hotKeywords?: any[]; id?: number; parentId?: number; sortNum?: number; tagGroupName?: string; tags?: any[]; }[]; info?: { code?: number; ok?: boolean; requestID?: string; }; }; }; /** * 接口名:品牌可分析的最晚日期 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=31633&itf=242897 */ api_asset_deeplink_maxDate_get: { Req: { brandId?: number; }; Res: { data?: { date?: string; }; info?: { ok?: boolean; code?: number; }; }; }; /** * 接口名:品牌可分析的最早日期 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=31633&itf=247617 */ api_asset_deeplink_minDate_get: { Req: { brandId?: number; }; Res: { data?: { date?: string; }; info?: { ok?: boolean; code?: number; }; }; }; /** * 接口名:DEEPLINK状态分层接口 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=31633&itf=243689 */ api_asset_deeplink_statusList_get: { Req: {}; Res: { data?: { /** * DEEPLINK层次状态码 */ id?: number; /** * DEEPLINK层次英文名称 */ key?: string; /** * DEEPLINK层次中文名称 */ name?: string; }[]; info?: { ok?: boolean; code?: number; }; }; }; /** * 接口名:品牌人群资产概览 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=31633&itf=242890 */ api_asset_deeplink_overview_get: { Req: { /** * 截止日期 */ bizDate?: string; /** * 品牌ID */ brandId?: number; /** * 开始日期 */ startDate?: string; /** * 是否获取同行的值 * 0-否(查本店) 1-是(查同行) */ benchmark?: number; /** * 类目ID,-999表示全部类目 */ cateId?: number; /** * 查询日期类型:1=周,2=月,3=日,4=自定义。 * 周、月即表示初始日期相比较bizdate,往前推7天或者30天 */ dateType?: number; /** * 是否对比前一周期的值 * 0-否 1-是 */ isCompare?: number; /** * 细分市场分析的人群ID * 二期新增入参 */ crowdId?: number; /** * 0-差集人群、1-交集人群、2-并集人群 * 二期需求-未渗透市场机会策略分析传0 */ crowdOperator?: number; }; Res: { data?: { /** * 总资产情况 */ overall?: { /** * 消费者品牌资产总量 */ assetAll?: number; /** * 消费者品牌资产增量 */ assetAllIncr?: number; /** * 广告关系触达率 */ reachedRate?: number; /** * 资产增长率 */ assetAllGrowthRate?: number; /** * 消费者关系加深率 */ deepenRate?: number; }; /** * 资产分层 */ list?: { /** * DEEPLINK层次状态码 */ statusId?: number; /** * DEEPLINK层次中文名称 */ statusName?: string; /** * 对应AIPL层次中文名称 */ aiplName?: string; /** * 人群资产规模 */ uv?: number; /** * 人群资产规模增长率 */ uvGrowthRate?: number; /** * 新增资产规模 */ addedUv?: number; /** * 营销覆盖规模 */ reachedUv?: number; /** * 营销覆盖触达率 */ reachedUvRate?: number; /** * 营销覆盖规模指标说明 */ reachedUvTips?: string; /** * DEEPLINK层次英文名称 */ statusKey?: string; /** * 对应AIPL层次英文名称 */ aiplKey?: string; color?: string; /** * DEEPLINK层次详细描述 */ tips?: string; }[]; }; info?: { ok?: boolean; code?: number; }; }; }; /** * 接口名:品牌人群资产趋势图 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=31633&itf=242966 */ api_asset_deeplink_trend_get: { Req: { /** * 截止日期 */ bizDate?: string; /** * 品牌ID */ brandId?: number; /** * 开始日期 */ startDate?: string; /** * DEEPLINK层次状态码 */ statusId?: number; /** * 类目ID,-999表示全部类目 */ cateId?: number; /** * 查询日期类型:1=周,2=月,3=日,4=自定义。 * 周、月即表示初始日期相比较bizdate,往前推7天或者30天 */ dateType?: number; }; Res: { data?: { title?: string; list?: { date?: string; uv?: number; uvName?: string; addedUv?: number; addedUvName?: string; reachedUv?: number; reachedUvName?: string; }[]; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:品牌人群资产营销渠道分布 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=31633&itf=243334 */ api_asset_deeplink_distribution_get: { Req: { /** * 类目ID,-999表示全部类目 */ cateId?: number; /** * 开始日期 */ startDate?: string; /** * 截止日期 */ bizDate?: string; /** * 品牌ID */ brandId?: number; /** * DEEPLINK层次状态码 */ statusId?: number; /** * 渠道ID * -1表示查询全部一级渠道 */ channelId?: number; /** * 查询日期类型:1=周,2=月,3=日,4=自定义。 * 周、月即表示初始日期相比较bizdate,往前推7天或者30天 */ dateType?: number; /** * 是否获取同行的值 * 0-否(查本店) 1-是(查同行) * 二期新增入参 */ benchmark?: number; }; Res: { data?: { list?: { /** * 子渠道名称 */ name?: string; /** * 子渠道ID */ id?: number; indicator?: { /** * 渠道资产指标名 */ name?: string; /** * 渠道资产指标key */ key?: string; /** * 渠道资产指标值 */ value?: number; /** * 该渠道占比,不带% */ portion?: number; }; tips?: string; /** * 子渠道英文标识 */ key?: string; }[]; /** * 柱状图标题 */ title?: string; }; info?: { ok?: boolean; }; }; }; /** * 接口名:品牌人群资产流转概览 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=31633&itf=243335 */ api_asset_deeplink_transfer_overview_get: { Req: { /** * 类目ID,-999表示全部类目 */ cateId?: number; /** * 开始日期 */ startDate?: string; /** * 截止日期 */ bizDate?: string; /** * 品牌ID */ brandId?: number; /** * 是否获取同行的值 * 0-否(查本店) 1-是(查同行) */ benchmark?: number; /** * 查询日期类型:1=周,2=月,3=日,4=自定义。 * 周、月即表示初始日期相比较bizdate,往前推7天或者30天 */ dateType?: number; /** * 细分市场分析的人群ID * 二期新增入参 */ crowdId?: number; }; Res: { data?: { /** * 资产规模变化描述 */ scaleDesc?: string; /** * 资产主要流向描述 */ transferDesc?: string; /** * 新增资产分析 */ addedDesc?: string; /** * 初始资产信息 */ initialAsset?: { /** * 总资产 */ all?: number; /** * DEEPLINK分层 */ list?: { statusId?: number; statusName?: string; /** * 对应AIPL层次中文名称 */ aiplName?: string; /** * 人群资产规模 */ uv?: number; /** * 营销覆盖触达率 */ reachedUvRate?: number; /** * 对应AIPL层次英文名称 */ aiplKey?: string; }[]; }; /** * 结束资产信息 */ endAsset?: { /** * 总资产数量 */ all?: number; /** * 总资产规模变化率 */ growthRate?: number; /** * DEEPLINK分层 */ list?: { statusId?: number; statusName?: string; /** * 对应AIPL层次中文名称 */ aiplName?: string; /** * 人群资产规模 */ uv?: number; /** * 人群资产规模变化率 */ uvGrowthRate?: number; /** * 对应AIPL层次英文名称 */ aiplKey?: string; }[]; /** * 总资产加深率 */ deepenRate?: number; }; /** * 圈选流转建议的人群 */ transferData?: string; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:品牌人群资产流转 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=31633&itf=243336 */ api_asset_deeplink_transfer_get: { Req: { /** * 类目ID,-999表示全部类目 */ cateId?: number; /** * 开始日期 */ startDate?: string; /** * 截止日期 */ bizDate?: string; /** * 品牌ID */ brandId?: number; /** * DEEPLINK层次状态码 */ statusId?: number; /** * 查询日期类型:1=周,2=月,3=日,4=自定义。 * 周、月即表示初始日期相比较bizdate,往前推7天或者30天 */ dateType?: number; /** * 是否获取同行的值 * 0-否(查本店) 1-是(查同行) * 二期新增入参 */ benchmark?: number; /** * 细分市场分析的人群ID * 二期新增入参 */ crowdId?: number; }; Res: { data?: { list?: { /** * 流转人数 */ uv?: number; /** * 结束层次状态码 */ statusId?: number; /** * 流转率 */ uvRate?: number; }[]; /** * 资产加深率 */ deepenRate?: number; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:品牌人群资产渠道流转贡献 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=31633&itf=243337 */ api_asset_deeplink_transfer_channel_get: { Req: { /** * 类目ID,-999表示全部类目 */ cateId?: number; /** * 开始日期 */ startDate?: string; /** * 截止日期 */ bizDate?: string; /** * 品牌ID */ brandId?: number; /** * 是否获取同行的值 * 0-否(查本店) 1-是(查同行) */ benchmark?: number; /** * DEEPLINK层次状态码 */ statusId?: number; /** * 查询日期类型:1=周,2=月,3=日,4=自定义。 * 周、月即表示初始日期相比较bizdate,往前推7天或者30天 */ dateType?: number; /** * 细分市场分析的人群ID * 二期新增入参 */ crowdId?: number; }; Res: { data?: { /** * 标题 */ title?: string; /** * 资产加深描述 */ deepenDesc?: string; /** * 资产规模变化描述 */ scaleDesc?: string; /** * 渠道列表 */ list?: { /** * 分层流转情况列表 */ transforms?: { name?: string; /** * 分层人群规模 */ uv?: number; /** * 流转占比 */ uvRate?: number; /** * 是否置灰显示 */ disable?: boolean; /** * 结束状态 */ statusId?: number; color?: string; }[]; name?: string; /** * 人群规模 */ uv?: number; /** * 触达占比 */ reachedUvRate?: number; /** * 渠道加深率 或者 触达加深的流转占比 * 二期涉及指标 */ deepenRate?: number; key?: string; /** * 触达频次,二期新增指标 */ reachedFreq?: number; /** * 加深人数,二期新增指标 */ deepenUv?: number; /** * 未加深人数,二期新增指标 */ undeepenUv?: number; /** * 渠道未加深率 或者 触达未加深的流转占比 * 二期新增指标 */ undeepenRate?: number; }[]; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:DEEPLINK营销渠道接口 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=31633&itf=243703 */ api_asset_deeplink_channelList_get: { Req: {}; Res: { /** * channel1Id:一级渠道ID * channel1Name:一级渠道名称 * channel2Id:二级渠道ID * channel2Name:二级渠道名称 */ data?: { [k: string]: any; }[]; info?: { ok?: boolean; code?: number; }; }; }; /** * 接口名:品牌人群资产-人群规模 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=31633&itf=243453 */ api_asset_deeplink_coverage_get: { Req: { /** * 圈选流转人群的FAE表达式。 * dataType=transfer时形式如0,2003;2001,2001_2002:表示圈选新增人群流转到热爱的人群 并上 发现流转到发现和种草的人群; * dataType=其他情况时,transferData传statusId */ transferData?: string; /** * 开始日期 */ startDate?: string; /** * 截止日期 */ bizDate?: string; /** * 品牌ID */ brandId?: number; /** * 类目ID,-999表示全部类目 */ cateId?: number; /** * 选择营销渠道,多个之间用逗号分隔 */ channels?: string; /** * uv:资产看板-全部人群 * addedUv:资产看板-新增人群 * reachedUv:资产看板-触达人群 * transfer:流转人群 */ dataType?: string; /** * 细分市场分析的人群ID * 二期新增入参 */ crowdId?: number; /** * 查询日期类型:1=周,2=月,3=日,4=自定义。 * 周、月即表示初始日期相比较bizdate,往前推7天或者30天 */ dateType?: number; }; Res: { data?: { coverage?: number; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:品牌人群资产-圈选DEEPLINK人群 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=31633&itf=243379 */ api_asset_deeplink_crowd_create_post: { Req: { /** * 开始日期 */ startDate?: string; /** * 截止日期 */ bizDate?: string; /** * 品牌ID */ brandId?: number; /** * 类目ID,-999表示全部类目 */ cateId?: number; /** * 人群有效期 */ validDate?: string; /** * 人群名称 */ crowdName?: string; /** * 圈选流转人群的FAE表达式。 * dataType=transfer时形式如0,2003;2001,2001_2002:表示圈选新增人群流转到热爱的人群 并上 发现流转到发现和种草的人群; * dataType=其他情况时,transferData传statusId */ transferData?: string; /** * 选择营销渠道,多个之间用逗号分隔 */ channels?: string; /** * uv:资产看板-全部人群 * addedUv:资产看板-新增人群 * transfer:流转人群 */ dataType?: string; /** * 查询日期类型:1=周,2=月,3=日,4=自定义。 * 周、月即表示初始日期相比较bizdate,往前推7天或者30天 */ dateType?: number; /** * 人群extra信息,用于记录埋点等 */ extra?: {}; /** * 细分市场分析的人群ID * 二期新增入参 */ crowdId?: number; /** * 细分市场人群类型:0-预定义人群,1-自定义人群 */ crowdType?: number; }; Res: { data?: { message?: string; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:品牌人群资产-FAE人群导出(含加速) * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=31633&itf=243402 */ api_asset_deeplink_crowd_dump_post: { Req: { /** * 人群名称 */ crowdName?: string; /** * 圈选流转人群的FAE表达式。 * dataType=transfer时形式如0,2003;2001,2001_2002:表示圈选新增人群流转到热爱的人群 并上 发现流转到发现和种草的人群; * dataType=其他情况时,transferData传statusId,多个之间用逗号分隔 */ transferData?: string; /** * 开始日期 */ startDate?: string; /** * 截止日期 */ bizDate?: string; /** * 品牌ID */ brandId?: number; /** * 类目ID,-999表示全部类目 */ cateId?: number; /** * 选择营销渠道,多个之间用逗号分隔 */ channels?: string; /** * 查询日期类型:1=周,2=月,3=日,4=自定义。 * 周、月即表示初始日期相比较bizdate,往前推7天或者30天 */ dateType?: number; /** * 人群有效期 */ validDate?: string; /** * uv:资产看板-全部人群 * addedUv:资产看板-新增人群 * transfer:流转人群 * market:细分市场-二期新增类型 */ dataType?: string; /** * 虚拟的人群ID * 二期新增入参 */ virtualId?: number; /** * 细分市场分析的人群ID * 二期新增入参 */ crowdId?: number; /** * 细分市场人群类型:0-预定义人群,1-自定义人群 */ crowdType?: number; /** * 场景ID * 1-市场未渗透人群、2-竞品覆盖直接投放、3-竞品覆盖叠加更多特征、4-圈选人群浮层叠加更多特征 */ sceneId?: number; }; Res: { data?: { /** * 导出结果的唯一标识 */ id?: number; /** * 人群结构 */ selectTagOptionSet?: { [k: string]: any; }[]; /** * 人群extra埋点信息 */ extra?: { deeplink_assets_create_5?: string; }; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:二期-品牌人群资产流转-状态未加深人群竞品覆盖 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=31633&itf=272839 */ api_asset_deeplink_transfer_undeepen_compete_get: { Req: { /** * 查询日期类型:1=周,2=月,3=日,4=自定义。 * 周、月即表示初始日期相比较bizdate,往前推7天或者30天 */ dateType?: number; /** * 开始日期 */ startDate?: string; /** * 截止日期 */ bizDate?: string; /** * 品牌ID */ brandId?: number; /** * DEEPLINK层次状态码 */ statusId?: number; /** * 细分市场分析的人群ID */ crowdId?: number; }; Res: { data?: { /** * 竞品覆盖建议描述 */ desc?: string; /** * 初态-未加深人群信息 */ initialCrowd?: { /** * 人群描述 */ name?: string; /** * 人群规模 */ uv?: number; /** * 虚拟的人群ID,创建人群时需要使用 */ virtualId?: number; }; /** * 终态人群信息 */ finalCrowdList?: { /** * 人群描述 */ name?: string; /** * 人群规模 */ uv?: number; /** * 虚拟的人群ID */ virtualId?: number; }[]; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:二期-品牌人群资产流转-状态未加深人群渠道分布 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=31633&itf=272897 */ api_asset_deeplink_transfer_undeepen_distribution_get: { Req: { /** * 查询日期类型:1=周,2=月,3=日,4=自定义。 * 周、月即表示初始日期相比较bizdate,往前推7天或者30天 */ dateType?: number; /** * 开始日期 */ startDate?: string; /** * 截止日期 */ bizDate?: string; /** * 品牌ID */ brandId?: number; /** * DEEPLINK层次状态码 */ statusId?: number; /** * 细分市场分析的人群ID */ crowdId?: number; }; Res: { info?: { code?: number; ok?: boolean; }; data?: { /** * 渠道分布 */ channelList?: { /** * 渠道名称 */ name?: string; /** * 人群规模 */ uv?: number; }[]; /** * 媒介渠道活跃建议 */ desc?: string; }; }; }; /** * 接口名:二期-品牌人群资产流转-状态未加深人群宝贝推荐 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=31633&itf=272924 */ api_asset_deeplink_transfer_undeepen_itemRecommend_get: { Req: { /** * 查询日期类型:1=周,2=月,3=日,4=自定义。 * 周、月即表示初始日期相比较bizdate,往前推7天或者30天 */ dateType?: number; /** * 开始日期 */ startDate?: string; /** * 截止日期 */ bizDate?: string; /** * 品牌ID */ brandId?: number; /** * DEEPLINK层次状态码 */ statusId?: number; /** * 细分市场分析的人群ID */ crowdId?: number; }; Res: { info?: { code?: number; ok?: boolean; }; data?: { /** * 宝贝列表 */ itemList?: { /** * 宝贝名称 */ name?: string; /** * 宝贝价格 */ price?: number; /** * 宝贝图片 */ imgUrl?: string; /** * 宝贝id */ id?: number; /** * 货品兴趣度,取值范围0~10 */ heat?: number; }[]; }; }; }; /** * 接口名:二期-细分市场渗透概览 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=31633&itf=272978 */ api_asset_deeplink_market_overview_get: { Req: { /** * 品牌ID */ brandId?: number; /** * 人群ID */ crowdId?: number; /** * 是否获取同行的值 * 0-否(查本店) 1-是(查同行) */ benchmark?: number; }; Res: { info?: { code?: number; ok?: boolean; }; data?: { /** * 市场人群规模 */ crowdUv?: number; /** * 已渗透市场人群规模 */ crowdSeepUv?: number; /** * 未渗透市场人群规模 */ crowdUnseepUv?: number; /** * 本品牌资产渗透率 */ assetSeepRate?: number; /** * 品牌资产覆盖加深率 */ assetDeepenRate?: number; }; }; }; /** * 接口名:二期-细分市场渗透趋势图 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=31633&itf=272986 */ api_asset_deeplink_market_trend_get: { Req: { /** * 品牌ID */ brandId?: number; /** * 人群ID */ crowdId?: number; }; Res: { info?: { code?: number; ok?: boolean; }; data?: { list?: { date?: string; /** * 市场规模 */ crowdUv?: number; /** * 本品牌资产渗透 */ crowdSeepUv?: number; }[]; }; }; }; /** * 接口名:二期-添加人群至细分市场 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=31633&itf=273005 */ api_asset_deeplink_market_crowd_post: { Req: { /** * 人群ID */ crowdIds?: any[]; }; Res: { info?: { code?: number; ok?: boolean; }; data?: { /** * 操作成功 */ message?: string; }; }; }; /** * 接口名:二期-细分市场删除人群 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=31633&itf=273012 */ api_asset_deeplink_market_crowd_delete: { Req: { /** * 人群ID */ crowdIds?: any[]; }; Res: { info?: { code?: number; ok?: boolean; }; data?: { /** * 操作成功 */ message?: string; }; }; }; /** * 接口名:二期-细分市场人群列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=31633&itf=273010 */ api_asset_deeplink_market_crowdList_get: { Req: {}; Res: { info?: { code?: number; ok?: boolean; }; data?: { list?: { crowdId?: number; /** * 人群名称 */ crowdName?: string; /** * 市场添加时间 */ marketCreateDate?: string; /** * 市场分析到期时间 */ marketValidDate?: string; /** * 数据统计结束日期,不超过marketValidDate */ marketEndDate?: string; /** * true-可删除,false-不可删除 */ deletable?: boolean; /** * 1:有效(可查看市场分析) * 2:过期失效(预留) * 3:草稿状态、数据未ready(不可查看市场分析) */ status?: number; /** * 人群类型,0-预定义人群、1-自定义添加人群 */ crowdType?: number; /** * 人群描述信息 */ crowdDesc?: string; }[]; /** * 账户下市场额度 */ quota?: number; /** * 添加当天开始计算,人群规模在100万~1.5亿范围外不支持添加! */ desc?: string; }; }; }; /** * 接口名:一方标签-列表(已有接口, 方便查看) * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=32010&itf=245630 */ api_tag_own__get: { Req: { /** * 页码 */ page?: number; /** * 每页数量 */ pageSize?: string; /** * 品牌id */ brandId?: string; /** * 标签来源, 4达摩盘一方上传, 7qa同步 */ tagSourceType?: string; }; Res: { info?: { ok?: boolean; }; data?: { pager?: { currentPage?: number; nextPage?: number; total?: number; pageSize?: number; pageTotal?: number; endPage?: number; beginPage?: number; previouPage?: number; position?: number; }; groups?: { value?: number; count?: number; }[]; list?: { tagStatus?: number; id?: number; tagName?: string; tagStatusMsg?: string; tagDesc?: string; dpName?: string; coverage?: number; price?: number; qualityScore?: number; validDate?: string; collect?: boolean; tagUsed?: number; tagScore?: number; tagEffect?: number; effectiveScore?: number; coverScore?: number; hotUsedScore?: number; searchScore?: number; accuracyScore?: number; isMemberRecommended?: boolean; isCatalogRecommended?: boolean; tagOptionNames?: string; tagNameHighlight?: string; tagDescHighlight?: string; tagOptionNamesHighlight?: string; tagType?: string; dpId?: number; tagIds?: any[]; tagGroupBgIds?: any[]; tagExtraPrivateInfoDO?: { own?: boolean; errorMsg?: | string | { [k: string]: any; }; }; brandId?: string; brandName?: string; tagSourceType?: string; tagSourceName?: string; }[]; }; }; }; /** * 接口名:一方标签-上传(已有接口, 方便查看) * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=32010&itf=245632 */ api_data_csv_upload__post: { Req: { /** * 品牌id */ brandId?: string; }; Res: { success?: boolean; index?: number; }; }; /** * 接口名:通用-品牌列表(已有接口, 方便查看) * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=32010&itf=245633 */ api_databank_aipl__get: { Req: {}; Res: { data?: { /** * 品牌ID */ brandId?: string; /** * 品牌名称 */ brandName?: string; projectId?: number; /** * -1未申请、0申请中、1申请通过、2申请拒绝 */ status?: number; /** * 拒绝原因 */ refuseReason?: | { [k: string]: any; } | string; createTime?: string; /** * 申请通过时间 */ updateTime?: string; }[]; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:品牌资产-汇总数据 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=32010&itf=245634 */ api_assets_deeplink_brand_summary_get: { Req: { /** * 品牌id */ brandId?: string; /** * 截止日期 */ theDate?: string; }; Res: { data?: { brandName?: string; theDate?: string; brandId?: number; dataList?: { universal?: { uv?: number; desc?: string; }; ad_inner?: { uv?: number; desc?: string; }; firstparty?: { uv?: number; desc?: string; }; ad_outer?: { uv?: number; desc?: string; }; lianmeng?: { uv?: number; desc?: string; }; }; }; info?: { code?: number; ok?: boolean; requestID?: string; }; }; }; /** * 接口名:品牌资产-分类数据 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=32010&itf=245933 */ api_assets_deeplink_brand_detail_get: { Req: { /** * 品牌id */ brandId?: string; /** * 截止日期 */ theDate?: string; /** * qa:quickaudience上传, * dmp:dmp上传, * other: 其他 * -------------------------- * tianhe:外投天合, * ud: 外投ud效果, * ud_brand: 外投ud品牌渠道, * llbum: 流量宝 * -------------------------- * lianmeng: 联盟 */ subType?: string; /** * firstparty: 一方 * ad_outer: 外投 * lianmeng: 联盟 */ type?: string; }; Res: { data?: { brandName?: string; theDate?: string; brandId?: number; dataList?: { uv?: number; statusCode?: number; name?: string; aiplStatus?: string; aiplName?: string; selectTagOptionSet?: { [k: string]: any; }[]; }[]; allUv?: number; }; info?: { code?: number; ok?: boolean; requestID?: string; }; }; }; /** * 接口名:品牌资产-获取最大日期 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=32010&itf=246260 */ api_assets_deeplink_brand_maxDate_get: { Req: {}; Res: { data?: string; info?: { code?: number; ok?: boolean; requestID?: string; }; }; }; /** * 接口名:获取有数据的日期范围 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=34131&itf=263843 */ api_asset_deeplink_member_dateRange_get: { Req: {}; Res: { data?: { /** * 最小日期 */ minDate?: string; /** * 最大日期 */ maxDate?: string; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:会员核心资产 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=34131&itf=263709 */ api_asset_deeplink_member_core_get: { Req: { /** * 查询时间周期,7、15、30 */ period?: number; /** * 查询日期 */ date?: string; /** * 品牌ID */ brandId?: number; }; Res: { data?: { /** * 累计会员人数 */ mbrUv?: number; /** * 累计会员人数-环比增长率,小数,不带% */ mbrUvGrowthRate?: number; /** * 累计会员人数-同行标杆 */ mbrUvBenchmark?: number; /** * 累计会员人数-环比增长率-同行标杆,小数,不带% */ mbrUvGrowthRateBenchmark?: number; /** * 会员成交金额 */ mbrPayAmt?: number; /** * 会员成交金额-环比增长率 */ mbrPayAmtGrowthRate?: number; /** * 会员成交金额-同行标杆 */ mbrPayAmtBenchmark?: number; /** * 会员成交金额-环比增长率-同行标杆 */ mbrPayAmtGrowthRateBenchmark?: number; /** * 会员成交金额占比 */ mbrPayAmtRate?: number; /** * 会员成交金额占比-同行标杆 */ mbrPayAmtRateBenchmark?: number; /** * 新增会员人数 */ newMbrUv?: number; /** * 新增会员人数-环比增长率 */ newMbrUvGrowthRate?: number; /** * 新增会员人数-同行标杆 */ newMbrUvBenchmark?: number; /** * 新增会员人数-同行标杆-环比增长率 */ newMbrUvGrowthRateBenchmark?: number; /** * 会员成交溢价 * 统计周期内成交会员客单/成交非会员客单 */ mbrPremium?: number; /** * 会员成交溢价-环比增长率 */ mbrPremiumGrowthRate?: number; /** * 会员成交溢价-同行标杆 */ mbrPremiumBenchmark?: number; /** * 会员成交溢价-同行标杆-环比增长率 */ mbrPremiumGrowthRateBenchmark?: number; /** * 会员成交客单价 */ mbrATV?: number; /** * 会员成交客单价-同行 */ mbrATVBenchmark?: number; /** * 新增会员首购人数 */ newMbrIUv?: number; /** * 新增会员首购人数-环比增长率 */ newMbrIUvGrowthRate?: number; /** * 新增会员首购人数-同行标杆 */ newMbrIUvBenchmark?: number; /** * 新增会员首购人数-环比增长率-同行标杆 */ newMbrIUvGrowthRateBenchmark?: number; /** * 新增会员复购人数 */ newMbrNUv?: number; /** * 新增会员复购人数-环比增长率 */ newMbrNUvGrowthRate?: number; /** * 新增会员复购人数-同行标杆 */ newMbrNUvBenchmark?: number; /** * 新增会员复购人数-环比增长率-同行标杆 */ newMbrNUvGrowthRateBenchmark?: number; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:会员分层详情(会员资产四象限) * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=34131&itf=267890 */ api_asset_deeplink_member_layer_get: { Req: { /** * 查询时间周期,7、15、30 */ period?: number; /** * 查询日期 */ date?: string; /** * 品牌ID */ brandId?: number; }; Res: { data?: { /** * D发现 & E种草人群-人群规模 */ crowdDE1Uv?: number; /** * 对应客单价 */ crowdDE1Atv?: number; /** * E热爱人群 &P 行动非会员人群-人群规模 */ crowdE2PNonUv?: number; /** * 对应客单价 */ crowdE2PNonAtv?: number; /** * P行动会员人群-人群规模 */ crowdPMbrUv?: number; /** * 对应客单价 */ crowdPMbrAtv?: number; /** * I首购非会员 & N复购&K忠诚人群-人群规模 */ crowdINonNKUv?: number; /** * 对应客单价 */ crowdINonNKAtv?: number; /** * I首购会员 & K忠诚人群-人群规模 */ crowdIMbrKUv?: number; /** * 对应客单价 */ crowdIMbrKAtv?: number; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:品牌人群会员资产概览 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=34131&itf=263848 */ api_asset_deeplink_member_overview_get: { Req: { /** * 查询时间周期,7、15、30 */ period?: number; /** * 查询日期 */ date?: string; /** * 品牌ID */ brandId?: number; /** * 运营场景,1-入会、2-首购 */ sceneType?: number; }; Res: { data?: { list?: { statusId?: number; statusName?: string; aiplName?: string; /** * 人群资产规模 */ uv?: number; /** * 本店营销覆盖触达人数 */ reachedUv?: number; /** * 本店营销覆盖触达率 */ reachedUvRate?: number; statusKey?: string; aiplKey?: string; color?: string; tips?: string; /** * 是否会员资产 * 2-全部资产、1-会员、0-非会员 */ mbrType?: number; /** * 是否置灰显示 */ disable?: boolean; /** * 人群资产规模-同行标杆 */ uvBenchmark?: number; /** * 营销覆盖触达率-同行标杆 */ reachedUvRateBenchmark?: number; }[]; }; info?: { ok?: boolean; code?: number; }; }; }; /** * 接口名:分层人群机会 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=34131&itf=264029 */ api_asset_deeplink_member_crowd_get: { Req: { /** * 查询时间周期,7、15、30 */ period?: number; /** * 查询日期 */ date?: string; /** * 品牌ID */ brandId?: number; /** * deeplink层次id */ statusId?: number; /** * 是否会员资产 * 2-全部资产、1-会员、0-非会员 */ mbrType?: number; /** * 运营场景,1-入会、2-首购 */ sceneType?: number; }; Res: { data?: { /** * 会员资产 */ mbr?: { /** * 人群规模 */ uv?: number; uvBenchmark?: number; /** * 该分层下的会员人群 */ selectTagOptionSet?: { [k: string]: any; }[]; /** * 人群埋点信息 */ extraDataValue?: string; }; /** * 非会员资产 */ nonMbr?: { uv?: number; /** * 同行会员占比,小数,不带% */ mbrUvRateInBenchmark?: number; /** * 该分层下的非会员人群 */ selectTagOptionSet?: { [k: string]: any; }[]; /** * 人群埋点信息 */ extraDataValue?: string; /** * 是否需要计算同行会员占比 * 目前会员场景需要、首购场景无法计算 */ needMbrUvRateInBenchmark?: boolean; }; /** * 入会效率,第一阶段上线暂时不展示 */ mbrEfficiency?: string; /** * 非会员人群机会 */ nonMbrGuide?: string; /** * 分层人群机会的标题 */ title?: string; }; info?: { ok?: boolean; code?: number; }; }; }; /** * 接口名:圈选DEEPLINK会员人群 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=34131&itf=264080 */ api_asset_deeplink_member_crowd_create_post: { Req: { /** * 人群有效期 */ validDate?: string; /** * 人群名称 */ crowdName?: string; /** * 运营场景为入会(sceneType=1)时,取值1表示会员、0-非会员; * 运营场景为首购(sceneType=1)时,取值1表示首购、0-未首购 */ mbrType?: number; /** * 多个statusId,之间用英文逗号分隔 */ statusIds?: string; /** * 品牌ID */ brandId?: number; /** * 运营场景,1-入会、2-首购 */ sceneType?: number; }; Res: { data?: { message?: string; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:圈选DEEPLINK会员人群-叠加更多特征 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=34131&itf=264084 */ api_asset_deeplink_member_crowd_select_get: { Req: { /** * 运营场景为入会(sceneType=1)时,取值1表示会员、0-非会员; * 运营场景为首购(sceneType=1)时,取值1表示首购、0-未首购 */ mbrType?: number; /** * 多个statusId,之间用英文逗号分隔 */ statusIds?: string; /** * 品牌ID */ brandId?: number; /** * 运营场景,1-入会、2-首购 */ sceneType?: number; }; Res: { data?: { /** * 人群结构(多个标签交并差),供跳转到自定义圈人页面使用 */ selectTagOptionSet?: { [k: string]: any; }[]; /** * 人群埋点信息 */ extraDataValue?: string; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:圈选DEEPLINK会员人群规模 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=34131&itf=266059 */ api_asset_deeplink_member_crowd_coverage_get: { Req: { /** * 运营场景为入会(sceneType=1)时,取值1表示会员、0-非会员; * 运营场景为首购(sceneType=1)时,取值1表示首购、0-未首购 */ mbrType?: number; /** * 多个statusId,之间用英文逗号分隔 */ statusIds?: string; /** * 品牌ID */ brandId?: number; /** * 运营场景,1-入会、2-首购 */ sceneType?: number; }; Res: { data?: { coverage?: number; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:营销贡献分析-概览 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=34131&itf=271505 */ api_asset_deeplink_member_channel_overview_get: { Req: { /** * 查询时间周期,7、15、30 */ period?: number; /** * 查询日期 */ date?: string; /** * 品牌ID */ brandId?: number; /** * 运营场景,1-入会、2-首购 */ sceneType?: number; }; Res: { data?: { /** * 渠道效率描述 */ transferEfficiency?: string; /** * 渠道贡献描述 */ transferContribution?: string; /** * 累计资产信息 */ totalVO?: { /** * 时间区间内总(入会/首购)人数 */ uv?: number; /** * 时间区间内总(入会/首购)人数-同行均值 */ uvBenchmark?: number; /** * 时间区间内总(入会/首购)人数环比增长 */ uvGrowthRate?: number; /** * 时间区间内总(入会/首购)人数环比增长-同行均值 */ uvGrowthRateBenchmark?: number; }; /** * 触达资产信息 */ reachedVO?: { /** * 触达入会/首购人数 */ uv?: number; /** * 触达入会/首购人数-同行 */ uvBenchmark?: number; /** * 触达入会/首购率 * 举例入会率=触达入会人数/触达人数 */ effectRate?: number; /** * 触达入会/首购率-同行 */ effectRateBenchmark?: number; }; /** * 未触达资产信息 */ unreachedVO?: { /** * 未入会/首购人数 */ uv?: number; /** * 未入会/首购人数-同行 */ uvBenchmark?: number; /** * 未触达入会/首购率 */ effectRate?: number; /** * 未触达入会/首购率-同行 */ effectRateBenchmark?: number; /** * 控制未触达入会/首购率指标本店和同行(effectRate、effectRateBenchmark)是否展示的标识,查看会员首购模块时目前不展示该指标 */ needEffectRate?: boolean; }; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:营销贡献分析-渠道分布 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=34131&itf=271504 */ api_asset_deeplink_member_channel_distribution_get: { Req: { /** * 查询时间周期,7、15、30 */ period?: number; /** * 查询日期 */ date?: string; /** * 品牌ID */ brandId?: number; /** * 运营场景,1-入会、2-首购 */ sceneType?: number; }; Res: { data?: { /** * 触达占比数据list */ reachedChannelList?: { /** * 当前渠道触达占比 */ rate?: number; /** * 当前渠道触达占比-同行 */ rateBenchmark?: number; /** * 当前渠道名称 */ channelName?: string; }[]; /** * 触达入会/首购数据list */ effectChannelList?: { /** * 当前渠道触达占比 */ rate?: number; /** * 当前渠道触达占比-同行 */ rateBenchmark?: number; /** * 当前渠道名称 */ channelName?: string; }[]; }; info?: { ok?: boolean; code?: number; }; }; }; /** * 接口名:模板隐藏/显示 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=33024&itf=254153 */ api_operation_template_$id_$id_get: { Req: {}; Res: { info?: { ok?: boolean; }; }; }; /** * 接口名:达摩云人群推荐模板--场景配置信息 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=34230&itf=264491 */ api_crowd_scene_config_get: { Req: {}; Res: { data?: { list?: { /** * 场景ID */ sceneId?: number; /** * 场景名称 */ sceneName?: string; }[]; }; info?: { code?: number; ok?: boolean; }; }; }; /** * 接口名:查询头 - 获取计划列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=34529&itf=267217 */ api_quickcase_campaignlist_get: { Req: { /** * 流量类型 */ pvTypeCode?: string; /** * 计划开始时间 */ startTime?: string; /** * 计划结束时间 */ endTime?: string; /** * UD品牌必传 */ token?: string; /** * bp名称 */ bp?: string; }; Res: { data?: { cost?: number; id?: number; name?: string; }[]; info?: { ok?: boolean; }; }; }; /** * 接口名:查询头 - 查询品牌 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=34529&itf=267287 */ api_quickcase_attribrandlist_post: { Req: { /** * 关键词搜索 */ keyword?: string; /** * bp名称 */ bp?: string; /** * UD品牌必传 */ token?: string; }; Res: { data?: { brandId?: number; brandName?: string; }[]; info?: { ok?: boolean; }; }; }; /** * 接口名:查询头 - 查询客户店铺 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=34529&itf=267296 */ api_quickcase_advshop_post: { Req: { bp?: string; token?: string; }; Res: { data?: { id?: number; shopName?: string; shopId?: string; }[]; info?: { ok?: boolean; }; }; }; /** * 接口名:流量分布效果 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=34529&itf=281502 */ api_quickcase_moduledatav2_56_post: { Req: { query?: { brandIds?: number[]; conversionCycle?: number; endTime?: string; pv?: { campaignId?: number; pvType?: string; }[]; startTime?: string; shopIds?: number[]; }; moduleId?: number; extQuery?: { /** * 计算方式。1 - 按曝光看效果;2 - 按点击看效果 */ computeType?: number; }; bp?: string; token?: string; }; Res: { data?: { debugInfo?: {}; rpt?: { pre?: { headers?: { DEEPLINK开始状态?: string; }; targets?: { ctr?: number; clk?: string; lnd?: string; member_uv?: string; db_rdrct_zb?: number; imp?: string; clk_uv?: string; lnd_zb?: number; db_rdrct_uv?: string; db_rdrct_uv_zb?: number; imp_uv?: string; lnd_uv?: string; clk_zb?: number; member_uv_zb?: number; ctr_uv?: number; db_rdrct?: string; imp_zb?: number; lnd_uv_zb?: number; imp_uv_zb?: number; clk_uv_zb?: number; ta_rate?: number; uv?: number; uv_zb?: number; }; }[]; all_pre?: { headers?: { DEEPLINK开始状态?: string; }; targets?: { ctr?: number; clk?: string; lnd?: string; member_uv?: string; db_rdrct_zb?: number; imp?: string; clk_uv?: string; lnd_zb?: number; db_rdrct_uv?: string; db_rdrct_uv_zb?: number; imp_uv?: string; lnd_uv?: string; clk_zb?: number; member_uv_zb?: number; ctr_uv?: number; db_rdrct?: string; imp_zb?: number; lnd_uv_zb?: number; imp_uv_zb?: number; clk_uv_zb?: number; ta_rate?: number; uv?: number; uv_zb?: number; }; }[]; post_imp?: { headers?: { DEEPLINK开始状态?: string; }; targets?: { od_uv?: string; dl_mny?: string; o2o_member?: string; dl?: string; dl_uv?: string; dl_zb?: number; cart?: string; brnd_inter_ratio?: number; shop_star_zb?: number; cart_uv_zb?: number; sch_clk_uv?: string; dl_mny_zb?: number; brnd_inter_zb?: number; od_zb?: number; shop_star_uv?: string; sch_clk_zb?: number; atv?: string; cart_uv?: string; cart_zb?: number; dl_ratio?: number; vst_agn_ratio?: number; star_ratio?: number; sch_clk?: string; brnd_inter?: string; shop_star_ratio?: number; brnd_sch_ratio?: number; sch_clk_ratio?: number; brnd_sch?: string; star_uv?: string; star_uv_zb?: number; active_member_uv_zb?: number; od_uv_zb?: number; vst_agn?: string; vst_agn_zb?: number; cart_ratio?: number; vst_agn_uv?: string; od?: string; dl_uv_zb?: number; active_member_uv?: string; brnd_inter_uv_zb?: number; star_zb?: number; brnd_inter_uv?: string; shop_star?: string; star?: string; brnd_sch_zb?: number; vst_agn_uv_zb?: number; brnd_sch_uv_zb?: number; brnd_sch_uv?: string; sch_clk_uv_zb?: number; shop_star_uv_zb?: number; active_member_ratio?: number; o2o_member_zb?: number; o2o_member_ratio?: number; }; }[]; all_post_imp?: { headers?: { DEEPLINK开始状态?: string; }; targets?: { od_uv?: string; dl_mny?: string; o2o_member?: string; dl?: string; dl_uv?: string; dl_zb?: number; cart?: string; brnd_inter_ratio?: number; shop_star_zb?: number; cart_uv_zb?: number; sch_clk_uv?: string; dl_mny_zb?: number; brnd_inter_zb?: number; od_zb?: number; shop_star_uv?: string; sch_clk_zb?: number; atv?: string; cart_uv?: string; cart_zb?: number; dl_ratio?: number; vst_agn_ratio?: number; star_ratio?: number; sch_clk?: string; brnd_inter?: string; shop_star_ratio?: number; brnd_sch_ratio?: number; sch_clk_ratio?: number; brnd_sch?: string; star_uv?: string; star_uv_zb?: number; active_member_uv_zb?: number; od_uv_zb?: number; vst_agn?: string; vst_agn_zb?: number; cart_ratio?: number; vst_agn_uv?: string; od?: string; dl_uv_zb?: number; active_member_uv?: string; brnd_inter_uv_zb?: number; star_zb?: number; brnd_inter_uv?: string; shop_star?: string; star?: string; brnd_sch_zb?: number; vst_agn_uv_zb?: number; brnd_sch_uv_zb?: number; brnd_sch_uv?: string; sch_clk_uv_zb?: number; shop_star_uv_zb?: number; active_member_ratio?: number; o2o_member_zb?: number; o2o_member_ratio?: number; }; }[]; }; }; info?: { code?: number; ok?: boolean; requestID?: string; }; }; }; /** * 接口名:一期模块 - DEEPLINK资产分析 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=34529&itf=267331 */ api_quickcase_moduledatav2_51_post: { Req: { query?: { /** * 品牌id */ brandIds?: number[]; /** * 归因周期 */ conversionCycle?: number; /** * 结束时间 */ endTime?: string; /** * 为空选择所有计划 */ pv?: { /** * 计划ID */ campaignId?: number; /** * 计划渠道标识 * df * hudongcheng * 其余待定 */ pvType?: string; }[]; /** * 开始时间 */ startTime?: string; /** * 店铺id */ shopIds?: number[]; }; moduleId?: number; /** * 模块额外查询条件,51模块没有 */ extQuery?: {}; /** * hudongcheng * ud * wanxiangtai * onebp */ bp?: string; token?: string; }; Res: { info?: { code?: number; ok?: boolean; requestID?: string; message?: string; }; data?: { debugInfo?: {}; rpt?: { /** * 分日新增趋势 */ rpt2?: { headers?: { 日期?: string; DEEPLINK终止状态?: string; }; targets?: { /** * 广告触达新增人数 */ ad_new?: number; /** * 整体新增人数 */ uv?: number; }; }[]; /** * 对应看板 */ rpt0?: { headers?: { /** * all - 全部;d - 发现;e1 - 种草;e2 - 热爱;p - 行动;i - 首购;n - 复购;k - 忠诚 */ DEEPLINK终止状态?: string; }; targets?: { /** * 广告触达新增 */ ad_new?: number; /** * 新增 */ new?: number; /** * 广告触达新增占比 */ ad_new_zb?: number; /** * 广告触达加深人数 */ ad_deepen?: number; /** * 广告触达加深率 */ ad_deepen_rate?: number; /** * 消费者整体关系加深率 */ deepen_rate?: number; }; }[]; }; }; }; }; /** * 接口名:人群洞察 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=34529&itf=277931 */ api_quickcase_crowd_tagv2_post: { Req: { query?: { /** * 品牌id */ brandIds?: number[]; /** * 归因周期 */ conversionCycle?: number; /** * 结束时间 */ endTime?: string; /** * 为空选择所有计划 */ pv?: { /** * 计划ID */ campaignId?: number; /** * 计划渠道标识 * df * hudongcheng * 其余待定 */ pvType?: string; }[]; /** * 开始时间 */ startTime?: string; /** * 店铺id */ shopIds?: number[]; }; /** * hudongcheng * ud * wanxiangtai * onebp */ bp?: string; token?: string; /** * 1 - 加深率;2 - 点击率;3 - 曝光占比 */ type?: number; /** * 标签id */ tagId?: number; /** * 51写死 */ moduleId?: number; }; Res: { data?: { chart?: { chartDataFull?: { tagId?: string; rate?: number; optionValue?: string; tgi?: | string | { [k: string]: any; }; tagOptionGroupId?: string; tagType?: string; optionId?: string; isHaveSubOption?: string; optionName?: string; tagName?: string; optionNum?: string; }[]; data?: { '2'?: number; '3'?: number; '4'?: number; '5'?: number; '6'?: number; '7'?: number; }; }; }; info?: { code?: number; ok?: boolean; requestID?: string; message?: string; }; }; }; /** * 接口名:资产流转 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=34529&itf=278134 */ api_quickcase_moduledatav2_post: { Req: { query?: { /** * 品牌id */ brandIds?: number[]; /** * 归因周期 */ conversionCycle?: number; /** * 结束时间 */ endTime?: string; /** * 为空选择所有计划 */ pv?: { /** * 计划ID */ campaignId?: number; /** * 计划渠道标识 * df * hudongcheng * 其余待定 */ pvType?: string; }[]; /** * 开始时间 */ startTime?: string; /** * 店铺id */ shopIds?: number[]; }; moduleId?: number; /** * 模块额外查询条件,51模块没有 */ extQuery?: {}; /** * hudongcheng * ud * wanxiangtai * onebp */ bp?: string; token?: string; }; Res: { data?: { debugInfo?: {}; rpt?: { rpt0?: { headers?: { /** * d,e1,e2,p, i, n, k, all, z */ DEEPLINK开始状态?: string; }; targets?: { uv?: number; ad_deepen_rate?: number; /** * 资产规模变化率,只有all有值 */ new?: number; }; }[]; rpt1?: { headers?: { DEEPLINK开始状态?: string; DEEPLINK终止状态?: string; }; targets?: { uv?: number; rate?: number; }; }[]; rpt2?: { headers?: { DEEPLINK终止状态?: string; }; targets?: { uv?: number; }; }[]; }; }; info?: { code?: number; ok?: boolean; requestID?: string; }; }; }; /** * 接口名:结案模块人群导出 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=34529&itf=267336 */ api_quickcase_dumpModuleCrowd_post: { Req: { query?: { advId?: number; brandIds?: number[]; conversionCycle?: number; endTime?: string; pv?: { campaignId?: number; pvType?: string; }[]; startTime?: string; shopIds?: number[]; }; moduleId?: string; extQuery?: { brandId?: number; aiplType?: number; }; dumpQueries?: { rptTitle?: string; headers?: { DEEPLINK终止状态?: string; DEEPLINK开始状态?: string; }; /** * 英文逗号分隔 */ targets?: string; }[]; crowdName?: string; validDate?: string; bp?: string; token?: string; }; Res: { info?: { code?: number; ok?: boolean; requestID?: string; }; }; }; /** * 接口名:查询BP个性化配置 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=34529&itf=267668 */ api_quickcase_bpdefine_get: { Req: { /** * bp标识 */ bp?: string; token?: string; }; Res: { data?: { global_setting?: { defaultQuery?: { conversionType?: number; faeModel?: string; loyalType?: number; scope?: number; tagInfos?: { id?: number; name?: string; }[]; }; deliverAppId?: number; pvType?: { code?: string; name?: string; }[]; uiSetting?: { hudongcheng?: { campaignTitle?: string; conversionCycle?: number[]; hideActivity?: boolean; }; }; }; module_setting?: { extQuery?: { aiplType?: string; brandId?: string; }; moduleId?: number; rptTitles?: string[]; targets?: string[]; }[]; }; info?: { code?: number; ok?: boolean; requestID?: string; }; }; }; /** * 接口名:获取算法列表(达摩云) * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=35387&itf=273027 */ api_crowd_algor_get: { Req: { scene?: string; }; Res: { data?: { createTime?: number; ext?: string; id?: number; name?: string; updateTime?: number; }[]; info?: { code?: number; ok?: boolean; requestID?: string; }; }; }; /** * 接口名:标签自动补全开关状态 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=36547&itf=288603 */ api_tag_fill_switch_get: { Req: {}; Res: { info?: { ok?: boolean; message?: null; }; data?: { /** * 0-功能关闭、1-功能打开 */ switch?: number; }; }; }; /** * 接口名:打开/关闭标签自动补全开关 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=36547&itf=282176 */ api_tag_fill_switch_put: { Req: { /** * 0-开关关闭、1-开关打开 */ switch?: number; /** * 标签信息补全接口返回的requestID,若没有该key,则参数可不传 */ requestID?: string; }; Res: { info?: { ok?: boolean; message?: null; }; }; }; /** * 接口名:标签信息自动补全 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=36547&itf=282180 */ api_tag_fill_$id_get: { Req: { /** * 标签所处位置,1交集框 2并集框 4差集框 */ operator?: number; }; Res: { data?: { tag?: { empty?: boolean; leaf?: boolean; operator?: number; selectTagOptionSet?: any[]; selects?: { key?: string; names?: string; optionGroupId?: number; tagId?: number; tagName?: string; values?: string; }[]; }; }; info?: { code?: number; ok?: boolean; /** * 唯一ID */ requestID?: string; }; }; }; /** * 接口名:场景人群创建 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=39106&itf=303635 */ api_scene_crowd_post: { Req: { /** * 主场景code。consumer=消费者运营,item=货品运营,member=会员运营 */ sceneType?: string; /** * 子场景code,配合sceneType字段使用。比如sceneType=consumer,subSceneType=new表示消费者运营下的新客扩展 */ subSceneType?: string; /** * 迭代目标 1=pv, 2=ctr, 3=cvr, 4=roi */ iterTarget?: number; /** * 客户期望人群规模。用户自动编辑的规模 */ targetCoverage?: number; /** * 人群特征保留 */ crowdFeatures?: { /** * 标签id */ tagId?: number; /** * 分组id */ optionGroupId?: number; /** * 选项值。逗号分隔 */ values?: string; /** * 选项名称。逗号分隔 */ names?: string; }[]; }; Res: {}; }; /** * 接口名:场景人群修改 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=39106&itf=303636 */ api_scene_crowd_put: { Req: {}; Res: {}; }; /** * 接口名:场景人群规模覆盖数 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=39106&itf=303637 */ api_scene_crowd_coverage_get: { Req: {}; Res: {}; }; /** * 接口名:宝贝检索 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=671&mod=39106&itf=303638 */ api_scene_crowd_item_get: { Req: {}; Res: {}; }; /** * 接口名:dmp活动与新功能浮层-alp数据 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7042&mod=39081&itf=303183 */ dmp_dmp_new_guide_get: { Req: {}; Res: { info?: { ok?: boolean; }; data?: { list?: { title?: string; desc?: string; imgUrl?: string; }[]; }; }; }; /** * 接口名:新手引导alp配置 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7042&mod=39081&itf=303184 */ dmp_dmp_newbie_guide_get: { Req: {}; Res: { info?: { ok?: boolean; }; data?: { list?: { title?: string; subTitle?: string; desc?: string; flowImgUrl?: string; imgUrl?: string; btnText?: string; btnUrl?: string; isShow?: boolean; }[]; }; ok?: boolean; list?: any[]; title?: string; desc?: string; imgUrl?: string; }; }; /** * 接口名:jsonp_festival_red_date * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7042&mod=39081&itf=303190 */ dmp_jsonp_festival_red_date_get: { Req: {}; Res: { info?: { ok?: boolean; }; data?: { startDate?: string; endDate?: string; festivalText?: string; recommendIds?: { id?: string; text?: string; }[]; }; }; }; /** * 接口名:json_202003191758015 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7042&mod=39081&itf=303351 */ dmp_json_202003191758015_get: { Req: {}; Res: { info?: { ok?: boolean; }; data?: { markConfigs?: { menuName?: string; markText?: string; isImg?: boolean; permissionKey?: string; }[]; markConfigsSub?: { menuName?: string; markText?: string; isImg?: boolean; permissionKey?: string; }[]; }; }; }; /** * 接口名:spmlog_tips * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7042&mod=39081&itf=303352 */ dmp_spmlog_tips_get: { Req: {}; Res: { info?: { ok?: boolean; }; data?: any[]; }; }; /** * 接口名:json_20201201_164843_782 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7042&mod=39081&itf=303353 */ dmp_json_20201201_164843_782_get: { Req: {}; Res: { info?: { ok?: boolean; }; data?: { menuName?: string; groupId?: string; periods?: { title?: string; start?: string; end?: string; defaultKeys?: string[]; hot?: boolean; }[]; titleImg?: string; tips?: string; }; }; }; /** * 接口名:dmp_new_important_notice * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7042&mod=39081&itf=303354 */ dmp_dmp_new_important_notice_get: { Req: {}; Res: { info?: { ok?: boolean; }; data?: { show?: boolean; num?: string; title?: string; content?: string; }; }; }; /** * 接口名:dmp_new_guide_mask * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7042&mod=39081&itf=303355 */ dmp_dmp_new_guide_mask_get: { Req: {}; Res: { info?: { ok?: boolean; }; data?: { list?: { count?: string | number; path?: string; guides?: { 'data-guide-id'?: string; title?: string; content?: string; permissionKey?: string; position?: string; width?: string; noScroll?: boolean; isNav?: boolean; }[]; }[]; }; }; }; /** * 接口名:dmp_new_guide_mask_after_create * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7042&mod=39081&itf=303356 */ dmp_dmp_new_guide_mask_after_create_get: { Req: {}; Res: { info?: { ok?: boolean; }; data?: { list?: { count?: number; path?: string; noScroll?: boolean; guides?: { 'data-guide-id'?: string; title?: string; content?: string; permissionKey?: string; position?: string; width?: string; }[]; }[]; }; }; }; /** * 接口名:dmp_new_guide_mask_newbie * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7042&mod=39081&itf=303357 */ dmp_dmp_new_guide_mask_newbie_get: { Req: {}; Res: { info?: { ok?: boolean; }; data?: { list?: { count?: string | number; path?: string; noScroll?: boolean; guides?: { 'data-guide-id'?: string; title?: string; content?: string; permissionKey?: string; position?: string; width?: string; noBtn?: boolean; closeGuideText?: string; }[]; }[]; }; }; }; /** * 接口名:json_20210722_200809_73 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7042&mod=39081&itf=303359 */ dmp_json_20210722_200809_73_get: { Req: {}; Res: { info?: { ok?: boolean; }; data?: { crowdLimit?: string; crowdLimitMore?: string; }; }; }; /** * 接口名:dmp_subside_crowds_docs * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7042&mod=39081&itf=303364 */ dmp_dmp_subside_crowds_docs_get: { Req: {}; Res: { info?: { ok?: boolean; }; data?: { list?: { title?: string; desc?: string; image?: string; url?: string; }[]; }; }; }; /** * 接口名:bp_crowd_tab_mark * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7042&mod=39081&itf=303360 */ dmp_bp_crowd_tab_mark_get: { Req: {}; Res: { info?: { ok?: boolean; }; data?: { tabMarks?: { '1'?: string; '2'?: string; '3'?: string; }; }; }; }; /** * 接口名:bp_crowd_source_list * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7042&mod=39081&itf=303361 */ dmp_bp_crowd_source_list_get: { Req: {}; Res: { info?: { ok?: boolean; }; data?: { sourceList?: { value?: string; text?: string; deliverAppId?: string; deliverId?: string; webBizCodes?: string[]; }[]; }; }; }; /** * 接口名:json_20200806_094332_686 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7042&mod=39081&itf=303362 */ dmp_json_20200806_094332_686_get: { Req: {}; Res: { info?: { ok?: boolean; }; data?: any[]; }; }; /** * 接口名:json_20211001_101003_950 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7042&mod=39081&itf=303365 */ dmp_json_20211001_101003_950_get: { Req: {}; Res: { data?: { list?: { sceneGroupName?: string; sceneGroupDesc?: string; sceneList?: { sceneName?: string; sceneDesc?: string; sceneValue?: string; }[]; }[]; }; info?: { ok?: boolean; }; }; }; /** * 接口名:item_rank_mark * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7042&mod=39081&itf=303366 */ dmp_item_rank_mark_get: { Req: {}; Res: { info?: { ok?: boolean; }; data?: { markConfigs?: { type?: string; markText?: string; markType?: string; markMode?: string; }[]; }; }; }; /** * 接口名:dmp_new_home_carousel_banner * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7042&mod=39081&itf=303367 */ dmp_dmp_new_home_carousel_banner_get: { Req: {}; Res: { info?: { ok?: boolean; }; data?: { bannerPic?: string; bannerUrl?: string; }[]; }; }; /** * 接口名:jsonp_201908030004352_7e7714c * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7042&mod=39081&itf=303368 */ dmp_jsonp_201908030004352_7e7714c_get: { Req: {}; Res: { info?: { ok?: boolean; }; data?: { tmallPerm?: string; show?: boolean; image?: string; showOpenBtn?: boolean; dialogBtnText?: string; btns?: { text?: string; desc?: string; link?: string; perm?: string; out?: boolean; }[]; dialogTitleImage?: string; dialogBottomImage?: string; dialogBtns?: { text?: string; desc?: string; link?: string; perm?: string; out?: boolean; }[]; list?: { title?: string; start?: string; end?: string; bg?: string; lightBg?: string; subs?: { title?: string; lines?: { title?: string; desc?: string; link?: string; }[]; }[]; }[]; }; }; }; /** * 接口名:jsonp_201909232054101_358238b * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7042&mod=39081&itf=303369 */ dmp_jsonp_201909232054101_358238b_get: { Req: {}; Res: { info?: { ok?: boolean; }; data?: { mainColor?: string; secondaryColor?: string; show?: boolean; image?: string; showDialog?: boolean; showOpenBtn?: boolean; dialogBtnText?: string; btns?: any[]; dialogTitleImage?: string; dialogBottomImage?: string; list?: { title?: string; start?: string; end?: string; bg?: string; lightBg?: string; dialogBtns?: { text?: string; desc?: string; link?: string; perm?: string; permDeny?: string; func?: string; out?: boolean; }[]; subs?: { title?: string; lines?: { title?: string; desc?: string; link?: string; }[]; }[]; }[]; }; }; }; /** * 接口名:home-deeplink-modules * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7042&mod=39081&itf=303372 */ 'dmp_home-deeplink-modules_get': { Req: {}; Res: { info?: { ok?: boolean; }; data?: { list?: { title?: string; marks?: { text?: string; }[]; desc?: string; img?: string; permissionKey?: string; noAccessText?: string; noAccessDocsUrl?: string; path?: string; }[]; }; }; }; /** * 接口名:home-helper-docs * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7042&mod=39081&itf=303373 */ 'dmp_home-helper-docs_get': { Req: {}; Res: { info?: { ok?: boolean; }; data?: { list?: { docName?: string; docUrl?: string; permissionKey?: string; markText?: string; tag?: string; }[]; }; }; }; /** * 接口名:home-crowds-modules * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7042&mod=39081&itf=303374 */ 'dmp_home-crowds-modules_get': { Req: {}; Res: { info?: { ok?: boolean; }; data?: { list?: { title?: string; shortDesc?: string; marks?: { text?: string; }[]; desc?: string; img?: string; permissionKey?: string; noAccessText?: string; noAccessDocsUrl?: string; path?: string; }[]; }; }; }; /** * 接口名:dmp_tag_markets_insight_tips * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7042&mod=39081&itf=303375 */ dmp_dmp_tag_markets_insight_tips_get: { Req: {}; Res: { info?: { ok?: boolean; }; data?: { itemSearchKeys?: string[]; itemGroupIds?: string[]; liveSearchKeys?: string[]; liveGroupIds?: string[]; }; }; }; /** * 接口名:获取标签分组列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7039&mod=39059&itf=302974 */ api_dmp_tag_group_list_get: { Req: { /** * 常量 1 ,后续可能扩展 */ groupType?: number; /** * 钻展前端组件bizCode, eg1: 钻展破圈自定义 zszwPoquanZidingyi */ bizCode?: string; /** * 默认true */ needTags?: boolean; }; Res: { data?: { [k: string]: any; }[]; info?: { ok?: boolean; /** * 错误提示 */ message?: string; }; }; }; /** * 接口名:获取标签详情 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7039&mod=39059&itf=302978 */ api_dmp_tag_get_get: { Req: { /** * 前端业务身份 */ bizCode?: string; /** * 标签id */ tagId?: number; }; Res: { data?: { tag?: { [k: string]: any; }[]; }; info?: { ok?: boolean; message?: string; }; }; }; /** * 接口名:标签选项搜索查询 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7039&mod=39059&itf=302976 */ api_dmp_tag_option_list_get: { Req: { tagId?: number; /** * 前端业务身份 */ bizCode?: string; optionGroupId?: number; /** * 分页起始位置 */ offset?: number; /** * 分页大小 */ pageSize?: number; /** * 选项名称模糊搜索 */ optionName?: string; parentOptionId?: number; parentOptionValue?: string; }; Res: { data?: { list?: { [k: string]: any; }[]; }; info?: { ok?: boolean; message?: string; }; }; }; /** * 接口名:创建人群 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7039&mod=39059&itf=302975 */ api_dmp_crowd_create_post: { Req: { dmpCrowd?: { /** * SelectTagOptionSet结构 */ selectTagOptionSetDTO?: {}; /** * 隐藏人群 82,,常用人群 83 */ businessType?: number; /** * 人群名称 */ crowdName?: string; }; /** * 前端业务身份 */ bizCode?: string; }; Res: { data?: { /** * 人群id */ crowdId?: number; }; info?: { ok?: boolean; message?: string; }; }; }; /** * 接口名:人群预估 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7039&mod=39059&itf=302977 */ api_dmp_analysis_coverage_post: { Req: { /** * 前端业务身份 */ bizCode?: string; analysisQueryVO?: { /** * selectTagOptionSet结构 */ selectTagOptionSet?: string; lookalikeAlgoType?: string; lookalikeMultiple?: string; }; }; Res: { data?: { /** * 有加密 -- 覆盖人数 */ coverage?: number; hintDataSecurityInfo?: string; adPredictOn?: boolean; lookalikeSuggestion?: boolean; /** * 1 表示模糊处理过 */ hintDataSecurity?: number; /** * 仪表盘 */ level?: number; }; info?: { ok?: boolean; message?: string; }; }; }; /** * 接口名:人群列表 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7039&mod=39059&itf=302981 */ api_dmp_crowd_list_get: { Req: { bizCode?: string; crowdName?: string; page?: string; /** * 人群id */ crowdIdList?: any[]; /** * 私域 */ dmpAppIdList?: any[]; /** * 是否需要tag */ withCrowdXTag?: boolean; pageSize?: string; groupId?: string; status?: string; /** * 人群类型筛选 */ businessType?: number; /** * 列表类型:1=我创建的人群列表,2=合作方人群列表,3=数据银行,4=策略中心自建,5=达摩盘 */ listType?: number; }; Res: { info?: { ok?: boolean; }; data?: { count?: number; crowdDeliverNum?: { delivering?: number; deliverApp?: number; undeliverApp?: number; }; list?: { isLookalikePctrEffect?: boolean; selectTagOptionSetDTO?: { operator?: number; selectTagOptionSetDTO?: { operator?: number; selects?: any[]; selectTagOptionSetDTO?: { [k: string]: any; }; }[]; selects?: any[]; }; crowdId?: number; crowdName?: string; coverage?: number; memberId?: number; userExpression?: string; validDate?: string; garudaExpression?: string; baseCrowdExpression?: string; warning?: number; isLookalike?: number; status?: number; createtime?: string; apps?: { appId?: number; dspId?: number; appName?: string; status?: number; iconMark?: string; }[]; options?: { tagId?: number; tagName?: string; optionGroupId?: number; value?: string; type?: string; source?: string; operatorType?: number; optionNameMap?: { '1'?: string; }; }[]; extra?: { isEnableAnalysis?: string; APPLICATION_SCENE?: number; isEnableDelete?: string; isEnableEdit?: string; isEnableDuplicate?: string; /** * 是否已经授权给小二版 */ SYNC_X2?: string; /** * 是否允许追踪 */ isEnableTrack?: string; }; applyDeliverAfterCreate?: boolean; dmpAppId?: string; businessType?: number; source?: string; groupId?: number; storageType?: number; }[]; pager?: { previouPage?: number; pageTotal?: number; endPage?: number; position?: number; nextPage?: number; pageSize?: number; total?: number; currentPage?: number; beginPage?: number; }; }; message?: null; }; }; /** * 接口名:获取人群详情 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7039&mod=39059&itf=302982 */ api_dmp_crowd_get_get: { Req: { dmpCrowdId?: number; /** * 业务身份 */ bizCode?: string; }; Res: { data?: { dmpCrowd?: { lookalikeTargetCount?: number; lookalikeAlgoType?: number; lookalikeMultiple?: number; targetFeatures?: { [k: string]: any; }[]; crowdId?: number; crowdName?: string; coverage?: number; memberId?: number; validDate?: string; warning?: number; isLookalike?: number; status?: number; createtime?: string; apps?: { id?: number; appId?: number; dspId?: number; appName?: string; status?: number; enableTime?: number; iconMark?: string; }[]; options?: { tagId?: number; tagName?: string; optionGroupId?: number; value?: string; type?: string; source?: string; operatorType?: number; optionNameMap?: { '50002766'?: string; '50008141'?: string; '50016422'?: string; '50026316'?: string; }; }[]; extra?: { times?: number; preference_brand_id?: string; preference_brand_name?: string; tagCombination?: string; tagList?: string; crowdList?: string; lbsStorageData?: string; lookalikeSuggestion?: boolean; isEnableAnalysis?: string; isEnableDelete?: string; isEnableEdit?: string; isEnableDuplicate?: string; 'lbsStorageData.bak'?: string; selectedKeyWords?: string; userExpression?: string; }; applyDeliverAfterCreate?: boolean; dmpAppId?: number; businessType?: number; groupId?: number; storageType?: number; selectTagOptionSetDTO?: { [k: string]: any; }[]; }; }; info?: { ok?: boolean; }; message?: null; }; }; /** * 接口名:达摩盘人群转换业务线人群 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7039&mod=39059&itf=302979 */ api_dmp_crowd_convert_post: { Req: { /** * 前端业务身份 */ bizCode?: string; dmpCrowdIdList?: any[]; }; Res: { data?: { /** * 业务线人群 */ bizCrowdList?: { crowdId?: number; crowdValue?: number; canEdit?: boolean; }[]; }; info?: { ok?: boolean; message?: string; }; }; }; /** * 接口名:删除人群 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7039&mod=39059&itf=302983 */ api_dmp_crowd_delete_post: { Req: { dmpCrowdId?: number; /** * 业务身份 */ bizCode?: string; }; Res: { info?: { ok?: boolean; }; data?: {}; }; }; /** * 接口名:修改人群 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7039&mod=39059&itf=302980 */ api_dmp_crowd_modify_post: { Req: { bizCode?: string; dmpCrowd?: { crowdId?: string; crowdName?: string; selectTagOptionSet?: string; }; }; Res: { info?: { ok?: boolean; }; data?: { crowdId?: number; }; }; }; /** * 接口名:查询权限 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7039&mod=39059&itf=302993 */ api_dmp_permission_get: { Req: { bizCode?: string; }; Res: { /** * dmpPlatform 达摩盘平台权限 * * dmpBizBase 业务线达摩盘权限(浮层是否可用) * * dmpBizVip 业务线达摩盘高级权限 */ data?: string[]; info?: { ok?: boolean; message?: string; }; }; }; /** * 接口名:标签推荐 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7039&mod=39059&itf=302985 */ api_dmp_tag_recommend_list_post: { Req: { bizCode?: string; /** * 查询业务id * * 1=圈人统一标签组合-常规推荐 * * 2=圈人统一关联标签推荐 */ queryBizId?: number; /** * 仅在关联特征推荐时需要,传select选项信息 */ selectTagOptionSetDTO?: {}; }; Res: { data?: { list?: { /** * 标签组合信息 */ selectTagOptionSetDTO?: { [k: string]: any; }[]; rank?: number; uv?: number; ctrIndex?: string; ppcIndex?: string; combinationKeyId?: string; }[]; }; info?: { ok?: boolean; }; }; }; /** * 接口名:人群模板 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7039&mod=39059&itf=302984 */ api_dmp_crowd_template_list_get: { Req: { bizCode?: string; /** * 模版类型(预留字段,待定) */ templateType?: number; }; Res: { data?: { list?: { /** * 模版名称,用于人群名称 */ name?: string; /** * 模版描述,提示用 */ description?: string; /** * 规则对象 */ crowdRule?: { /** * 圈人规则对应的标签语法树(可能有变量) */ selectTagOptionSetDTO?: { [k: string]: any; }[]; /** * 拓展信息,拓展信息定义可以先看下近贤文档,搜索 人群模板配置信息 https://yuque.antfin-inc.com/docs/share/b9d9dc09-9c95-4ff5-af6b-86acd4f2e945?#1U5tw */ ext?: string; }; ext?: string; }[]; }; info?: { ok?: boolean; }; }; }; /** * 接口名:广告效果数据预估 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7039&mod=39059&itf=302987 */ api_dmp_analysis_adpredict_post: { Req: { bizCode?: string; selectTagOptionSetDTO?: {}; analysisSetting?: { /** * 仅当人群扩量时需要,16(前端传) */ lookalikeAlgoType?: number; /** * 仅当人群扩量时需要,扩量倍数(前端传) */ lookalikeMultiple?: number; }; adPredictQuery?: { /** * 1-广告效果分析,2-单标签选项效果 */ queryType?: number; /** * 1-钻展,2-直通车,3-超推(前端传) */ deliverType?: number; /** * 一级类目id */ cateId?: number; }; }; Res: { data?: { adPredict?: { hint?: number; ctrIndex?: string; ppcIndex?: string; rank?: number; 'coverage -- 近贤给的接口还没有这个字段,待定'?: number; industryCompetitionPredicts?: { ppcIndex?: string; dailyReachUV?: number; competeMemberCnt?: number; competeHotIndex?: number; }[]; dailyReachUV?: number; }; }; info?: { ok?: boolean; }; }; }; /** * 接口名:数据查询工具服务 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7039&mod=39059&itf=302994 */ api_dmp_tool_extradata_get: { Req: { queryShopId?: number; bizCode?: string; /** * 查询店铺主营类目。返回数据见 data. shopMainCate */ queryShopMainCate?: number; }; Res: { data?: { shopId?: number; shopMainCate?: { cateId?: number; cateName?: string; }[]; }; info?: { ok?: boolean; }; }; }; /** * 接口名:扩量机会-获取建议 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7039&mod=39059&itf=302989 */ api_crowd_whitebox_extend_suggest_get_get: { Req: { /** * 直通车-subway * 超推-feedFlow * 钻展-zszw */ bizCode?: string; /** * 直通车场景下可以切换是否在单元下或全量查询 */ queryParam?: { campaignId?: number; adgroupId?: number; }; }; Res: { data?: { list?: { campaignId?: number; /** * 计划名称 */ campaignName?: string; adgroupId?: number; /** * 单元名称 */ adgroupName?: string; /** * BP侧人群id */ crowdId?: number; /** * BP侧人群名称 */ crowdName?: string; /** * dmp侧人群id */ dmpCrowdId?: number; /** * 覆盖受众 */ crowdSize?: number; /** * 叠加买词覆盖受众 - 直通车才有 */ crowdSizeWithWord?: number; /** * 人群排序 */ crowdRank?: number; /** * 判断建议策略: 1-兜底走looklike,0-白盒建议 */ isDefault?: number; suggestList?: { /** * 建议类型[1天宫人群、2高阶版白盒人群、3基础版白盒人群、4流量智选、5竞品词包、6洼地词包] * * 1- 3人群 (2,3是DMP人群,DMP人群需要请求dmp接口返回新旧id) * 4-6 词 */ sugType?: number; /** * 优化建议文案 */ suggestion?: string; /** * 用户build具体建议的字段,回传给后端 */ expBuildSugStruct?: string; /** * 推荐理由文案 */ suggestionIncUv?: string; sugRank?: number; }[]; campaignGroupId?: number; /** * 计划组名称 */ campaignGroupName?: string; /** * 覆盖情况解析文案 */ coverageInfo?: string; /** * 用于lookalike的放大倍数, 其他人群默认为0 */ extendSize?: number; }[]; }; info?: { errorCode?: null; message?: null; ok?: boolean; redirectUrl?: null; unlockUrl?: null; }; }; }; /** * 接口名:扩量机会-采纳建议 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7039&mod=39059&itf=302988 */ api_crowd_whitebox_extend_suggest_apply_post: { Req: { bizCode?: string; applySuggestList?: { campaignId?: number; adgroupId?: number; crowdId?: number; crowdRank?: number; /** * 人群建议 */ crowdExtendSuggest?: { /** * dmp老人群id(dmp人群) */ oldDmpId?: number; /** * dmp新人群id(dmp人群) */ newDmpId?: number; /** * gidStruct(天宫人群)取expBuildSugStruct字段 */ gidStruct?: string; sugType?: number; sugRank?: number; /** * dmp新人群名称(dmp人群) */ newDmpName?: string; }[]; /** * 词建议 */ wordExtendSuggest?: { sugType?: number; /** * 取expBuildSugStruct字段 */ wordSugStruct?: string; sugRank?: number; }[]; /** * 达摩盘人群id,dmp老人群id(dmp人群) */ dmpCrowdId?: number; }[]; }; Res: { info?: { errorCode?: null; message?: string; ok?: boolean; redirectUrl?: null; unlockUrl?: null; }; }; }; /** * 接口名:场景机会-获取建议 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7039&mod=39059&itf=302991 */ api_crowd_whitebox_scene_suggest_get_get: { Req: { bizCode?: string; queryParam?: { campaignId?: number; adgroupId?: number; }; }; Res: { data?: { list?: { campaignId?: number; campaignName?: string; adgroupId?: number; adgroupName?: string; crowdId?: number; crowdName?: string; dmpCrowdId?: number; crowdSize?: number; crowdRank?: number; isDefault?: number; suggestList?: { sugType?: number[]; suggestion?: string; expBuildSugStruct?: string; sugRank?: string; }[]; campaignGroupId?: number; campaignGroupName?: string; }[]; }; info?: { errorCode?: null; message?: null; ok?: boolean; redirectUrl?: null; unlockUrl?: null; }; }; }; /** * 接口名:场景机会-采纳建议 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7039&mod=39059&itf=302990 */ api_crowd_whitebox_scene_suggest_apply_post: { Req: { bizCode?: string; applySuggestList?: { /** * 达摩盘人群id */ dmpCrowdId?: number; campaignId?: number; adgroupId?: number; crowdId?: number; crowdRank?: number; crowdSceneSuggest?: { /** * 用的是 expBuildSugStruct 值 */ deliverAppId?: number; sugType?: number; sugRank?: number; }[]; }[]; }; Res: { data?: { /** * 错误code */ errorCode?: string; /** * 采纳错误信息 */ partialErrorMsg?: string; }[]; info?: { redirectUrl?: null; unlockUrl?: null; errorCode?: null; message?: null; ok?: boolean; }; }; }; /** * 接口名:溢价机会-获取建议 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7039&mod=39059&itf=302999 */ api_crowd_whitebox_price_suggest_get_get: { Req: { bizCode?: string; queryParam?: { campaignId?: number; /** * 0-出价 * 1-溢价 */ priceType?: number; adgroupId?: number; }; }; Res: { data?: { list?: { constraintType?: string; campaignId?: number; adgroupId?: number; campaignName?: string; adgroupName?: string; crowdId?: number; crowdName?: string; crowdRank?: number; /** * 当前溢价(单位10%) */ discount?: number; /** * 当前出价 (单位分) */ defaultPrice?: number; /** * 建议溢价(单位X%) */ sugDiscount?: number; /** * 建议出价(单位分) */ sugPrice?: number; /** * 预估提升百分比 (如果没值,提示数据量较少文案) * 单位 X% */ predictImprovePer?: number; /** * 出价的单位 */ constraintValueDesc?: string; /** * 营销目标 * 2-成交量 * 4-泛加购量 * 8-点击量 * 32-关注量 * 64-曝光量 * * 【钻展才有】 * 如果 marketingAim = 64,图表展示 曝光量yPv,其他展示 点击量yClick 对吧 * */ marketingAim?: number; campaignGroupId?: number; campaignGroupName?: string; /** * 前端列表用来区分的key */ uniquePriceSugKey?: string; }[]; }; info?: { errorCode?: null; message?: null; redirectUrl?: null; ok?: boolean; unlockUrl?: null; }; }; }; /** * 接口名:溢价机会-获取建议-备份改动历史-先不要删 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7039&mod=39059&itf=302995 */ bak_api_crowd_whitebox_price_suggest_get_get: { Req: {}; Res: { /** * 溢价机会建议列表用来区分的key */ uniquePriceSugKey?: string; }; }; /** * 接口名:溢价机会-采纳建议 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7039&mod=39059&itf=302992 */ api_crowd_whitebox_price_suggest_apply_post: { Req: { bizCode?: string; applySuggestList?: { campaignId?: string; adgroupId?: string; crowdId?: string; crowdRank?: string; crowdPriceSuggest?: { marketingAim?: number; priceType?: number; sugType?: number; sugDiscount?: number; sugPrice?: number; }[]; }[]; }; Res: { info?: { errorCode?: null; message?: null; ok?: boolean; redirectUrl?: null; unlockUrl?: null; }; }; }; /** * 接口名:溢价机会-获取预估曲线 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7039&mod=39059&itf=302996 */ api_crowd_whitebox_price_simulator_get_get: { Req: { bizCode?: string; querySimulatorParam?: { /** * 钻展必选 */ campaignId?: number; adgroupId?: number; /** * 超推/直通车必选 */ crowdId?: number; /** * 0-出价 * 1-溢价 */ priceType?: number; }; }; Res: { data?: { /** * 直通车、超推 */ crowdId?: number; /** * 预估曲线(模拟器) */ simulator?: { /** * 0-出价 * 1-溢价 */ priceMode?: number; xMin?: number; xMax?: number; pointNum?: number; pointList?: { /** * 顺序值 */ index?: number; /** * 直通车: 溢价比例,X % * 钻展:出价,分 * 超推:出价,分 */ xValue?: number; /** * 点击 */ yClick?: number; /** * 曝光 */ yPv?: number; /** * 点击量提升,X% */ yClickRate?: number; /** * 展现量提升,X% */ yPvRate?: number; }[]; }; /** * 钻展 */ campaignId?: string; }; info?: { errorCode?: null; message?: null; ok?: boolean; redirectUrl?: null; unlockUrl?: null; }; }; }; /** * 接口名:获取用户信息 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7039&mod=39059&itf=302998 */ api_member_getInfo_get: { Req: { bizCode?: string; }; Res: { data?: { csrfID?: string; }; info?: { ok?: boolean; }; }; }; /** * 接口名:达摩盘精选人群榜单,包含榜单下人群模板 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7039&mod=39060&itf=303002 */ api_dmp_crowd_findJxTemplateTopics_get: { Req: { bizCode?: string; /** * 计划id */ campaignId?: number; /** * 根据模版名称/描述/理由等关键词进行搜索 */ templateKeyword?: string; /** * 是否返回榜单下模板 */ needTemplates?: boolean; /** * 单元id */ adgroupId?: number; }; Res: { /** * 字符串属性示例 */ data?: { list?: { /** * 榜单id */ topicId?: number; /** * 榜单名称 */ topicName?: string; /** * 榜单描述 */ topicDesc?: string; /** * 榜单图标 */ topicIcon?: string; /** * 扩展属性 {"mark":"打标标记"} */ ext?: { uuidMark?: string; algorScene?: string; }; /** * 人群模板集合 */ templates?: { /** * 模板id */ templateId?: number; /** * 模板名称 */ templateName?: string; /** * 模板描述 */ templateDesc?: string; /** * 推荐理由,其中高亮的部分自带标记 */ highlight?: string; /** * 有效期,yyyy-MM-dd格式 */ validDate?: string; /** * { * "used":"true", // 是否使用 * "mark":"打标", // 打标 * "hot": "5 " // 人群热度(0-10) * } */ ext?: { used?: boolean; mark?: string; hot?: number; }; }[]; }[]; }; /** * 对象属性示例 */ info?: { message: string; /** * 对象属性示例 */ ok: boolean; }; }; }; /** * 接口名:达摩盘精选人群模版预估覆盖人数 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7039&mod=39060&itf=303003 */ api_dmp_crowd_countJxTemplateCoverage_get: { Req: { /** * 榜单id */ topicId?: string; /** * 模板id */ templateId?: string; bizCode?: string; }; Res: { /** * 预估数值 */ data?: number; info?: { ok: boolean; message: string; }; }; }; /** * 接口名:使用模版生成人群 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7039&mod=39060&itf=303004 */ api_dmp_crowd_applyJxTemplate_post: { Req: { bizCode?: string; templateBaseInfoList?: { /** * 榜单id */ topicId?: number; /** * 模板id */ templateId?: number; }[]; }; Res: { /** * 人群id */ data?: { list: { /** * 榜单id */ topicId?: number; /** * 模板id */ templateId?: number; /** * 达摩盘人群id */ dmpCrowdId?: number; }[]; }; info?: { ok: boolean; message: string; }; }; }; /** * 接口名:达摩盘精选查询已添加人群 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7039&mod=39060&itf=303005 */ api_dmp_crowd_findJxCrowd_get: { Req: { bizCode?: string; /** * dmp人群id */ dmpCrowdIdList?: any[]; }; Res: { data?: { list: { /** * 达摩盘人群名称 */ crowdName?: string; /** * 人群扩展信息 * { * "templateId": "1223345" * } */ extra?: { templateId?: number; topicId?: number; }; /** * 达摩盘人群id */ crowdId?: number; }[]; }; info?: { ok: boolean; message: string; }; }; }; /** * 接口名:精选人群转换层业务能使用的人群 * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7039&mod=39060&itf=303007 */ api_dmp_crowd_jxconvert_post: { Req: { bizCode?: string; /** * dmp人群id集合 */ dmpCrowdIdList?: any[]; /** * 调用来源,记录日志使用 */ callSource?: string; }; Res: { data?: { bizCrowdList: { crowdDTO?: { tagList?: { tagId?: number; }[]; }; /** * 业务人群id */ crowdId?: number; /** * 业务人群名称 */ crowdName?: string; }[]; }; info?: { ok: boolean; message: string; }; }; }; /** * 接口名:查询模版使用情况(轮播) * Rap 地址: https://rap2.alibaba-inc.com/repository/editor?id=7039&mod=39060&itf=303006 */ api_dmp_crowd_findJxTemplateUsage_get: { Req: { bizCode?: string; /** * 当前页要显示数据的起始位置 */ offset?: number; /** * 每页显示的记录条数 */ pageSize?: number; /** * (默认否) 是否取最新数据,此处固定传true */ orderByRecent?: number; }; Res: { data?: { list: { /** * 模板id */ templateId?: number; /** * 模板名称 */ templateName?: string; /** * 用户昵称 */ nickName?: string; /** * 模板使用时间,时间戳格式 */ useTime?: number; }[]; }; info?: { ok: boolean; message: string; }; }; }; }