菜单

SDK 归因结果详情

SDK提供获取归因结果信息接口,开发者可使用归因信息做埋点等逻辑处理

 

归因回调时,code含义如下

参数名称 参数含义
code

回调状态码:

code为0时表示获取归因结果成功

code为非0表示获取归因结果失败

code非0如下:
117: _appKey无效
137:_packageType无效
1001: 网络错误,SDK链接服务端失败
1002: 当次启动请求超过10次还未获取到归因结果
1003: 距离上次轮询请求归因结果小于5分钟,请5分钟后再试
1004: 该用户超过15天未获取到归因结果,此次安装内将不再请求归因结果

 

归因结果示例

归因结果返回数据示例

如果用户有拉活归因结果,会展示在 re_data 中

{
	//拉新归因结果
	"account_id": "",
	"ad_type": "",
	"adcreative_id": "",
	"adcreative_name": "",
	"adcreative_type": "",
	"adgroup_id": "",
	"adgroup_name": "",
	"adplan_id": "",
	"adplan_name": "",
	"attribution_time": "2023-08-31 11:16:35",
	"attribution_touch_type": "",
	"attribution_type": "",
	"callback_id": "",
	"channel_id": "-1",
	"channel_name": "自然量",
	"click_id": "",
	"conversion_id": "",
	"custom_params_1": "",
	"custom_params_2": "",
	"custom_params_3": "",
	"custom_params_4": "",
	"custom_params_5": "",
	"custom_params_6": "",
	"custom_params_7": "",
	"custom_params_8": "",
	"custom_params_9": "",
	"custom_params_10": "",
	"client_custom_params_1": "",
	"client_custom_params_2": "",
	"client_custom_params_3": "",
	"client_custom_params_4": "",
	"client_custom_params_5": "",
	"client_custom_params_6": "",
	"client_custom_params_7": "",
	"client_custom_params_8": "",
	"client_custom_params_9": "",
	"client_custom_params_10": "",
	"impression_id": "",
	"install_time": "2023-08-31 11:16:32",
	"placement_id": "",
	"report_time": "2023-08-31 11:16:34",
	"request_id": "",
	"ry_touchpoint_ts": "",
	"site_id": "",
	"site_name": "",
	"turl_campaign_id": "",
	"turl_campaign_name": "",
	"turl_id": "",
	"re_data": {
		//拉活归因结果
		"account_id": "",
		"ad_type": "",
		"adcreative_id": "",
		"adcreative_name": "",
		"adcreative_type": "",
		"adgroup_id": "",
		"adgroup_name": "",
		"adplan_id": "",
		"adplan_name": "",
		"attribution_time": "2023-08-31 11:16:35",
		"attribution_touch_type": "",
		"promotion_objectives": "",
		"callback_id": "",
		"channel_id": "-1",
		"channel_name": "自然量",
		"click_id": "",
		"conversion_id": "",
		"custom_params_1": "",
		"custom_params_2": "",
		"custom_params_3": "",
		"custom_params_4": "",
		"custom_params_5": "",
		"custom_params_6": "",
		"custom_params_7": "",
		"custom_params_8": "",
		"custom_params_9": "",
		"custom_params_10": "",
		"client_custom_params_1": "",
		"client_custom_params_2": "",
		"client_custom_params_3": "",
		"client_custom_params_4": "",
		"client_custom_params_5": "",
		"client_custom_params_6": "",
		"client_custom_params_7": "",
		"client_custom_params_8": "",
		"client_custom_params_9": "",
		"client_custom_params_10": "",
		"impression_id": "",
		"install_time": "2023-08-31 11:16:32",
		"placement_id": "",
		"report_time": "2023-08-31 11:16:34",
		"request_id": "",
		"ry_touchpoint_ts": "",
		"site_id": "",
		"site_name": "",
		"turl_campaign_id": "",
		"turl_campaign_name": "",
		"turl_id": ""
	}
}

attributionData 中归因字段

参数 描述
attribution_touch_type click,impression 归因触点类型
ry_touchpoint_ts 归因的展示or点击的时间,年月日时分秒 归因触点时间
install_time 设备激活的时间,年月日,时分秒 激活时间
attribution_time 2022/5/11 15:00:03 归因时间
turl_campaign_id 3e0a9bad8455d685eaaf91bad71bdeb2 监测链接id
turl_campaign_name Mintegral_tracking 监测链接名称
turl_id UfeE7za 短链id
channel_id 1234 渠道id
channel_name mintegral 归因的渠道名称
attribution_type ua UA(标识拉新)
account_id , 渠道推广账号ID
adgroup_id , 渠道推广广告组ID
adgroup_name , 渠道推广广告组名称
adplan_id , 渠道推广计划ID
adplan_name , 渠道推广计划名称
adcreative_id , 渠道推广使用素材ID
adcreative_name , 渠道推广使用素材名称
adcreative_type , 渠道推广使用素材类型
site_id , 子渠道ID
site_name , 子渠道名称
ad_type , 渠道推广广告类型
placement_id , 渠道推广广告位ID
conversion_id , 广告位id
click_id , 渠道推广点击唯一ID
impression_id , 渠道推广展示唯一ID
request_id   广告请求id
callback_id EJiw267wvfQCGKf2g74ZIPD89-vIATAMOAFCIjIwMTkxM
TI3MTQxMTEzMDEwMDI2MDc3MjE1MTUwNTczNTBIAQ==,
 
custom_params_1   预定义监测链接参数1-10
custom_params_2   预定义监测链接参数1-10
custom_params_3   预定义监测链接参数1-10
custom_params_4   预定义监测链接参数1-10
custom_params_5   预定义监测链接参数1-10
custom_params_6   预定义监测链接参数1-10
custom_params_7   预定义监测链接参数1-10
custom_params_8   预定义监测链接参数1-10
custom_params_9   预定义监测链接参数1-10
custom_params_10   预定义监测链接参数1-10
client_custom_params_1   预定义监测链接参数1-10
client_custom_params_2   客户自定义监测链接参数1-10
client_custom_params_3   客户自定义监测链接参数1-10
client_custom_params_4   客户自定义监测链接参数1-10
client_custom_params_5   客户自定义监测链接参数1-10
client_custom_params_6   客户自定义监测链接参数1-10
client_custom_params_7   客户自定义监测链接参数1-10
client_custom_params_8   客户自定义监测链接参数1-10
client_custom_params_9   客户自定义监测链接参数1-10
client_custom_params_10   客户自定义监测链接参数1-10
最近修改: 2025-06-19Powered by