POST /api/v2/web-api/attribution/

添加自定义归因

向用户画像添加营销自定义归因数据。

Request body

statusstringrequired

表示该归因是自然流量还是非自然流量。

One of: "organic", "non_organic", "unknown"

attribution_user_idstring

归因来源为用户分配的 ID。

channelstring

营销渠道名称。

campaignstring

营销活动名称。

ad_groupstring

归因广告组。

ad_setstring

归因广告集。

creativestring

归因素材关键词。

customer_user_idstring

您在应用中用于标识用户的用户 ID(如果有的话),例如可以是用户的 UUID、电子邮件或任何其他 ID;如未设置则为 null。customer_user_idprofile_id 二者必填其一。

profile_idstring

用户在 Adapty 中的标识符。您可以在 Adapty 看板中该用户画像的 Adapty ID 字段中找到此值。customer_user_idprofile_id 二者必填其一。

Responses

归因数据已成功添加至用户画像,响应体为空。

Schema
object

空响应体

请求错误

Schema
errorsarray of object
sourcestring
errorsarray of string
error_codestring
status_codeinteger

未授权

Schema
errorsarray of object
sourcestring
errorsarray of string
error_codestring
status_codeinteger

未找到

Schema
errorsarray of object
sourcestring
errorsarray of string
error_codestring
status_codeinteger