添加自定义归因 (API)
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

空响应体

Bad Request

Schema
errorsarray of object
sourcestring
errorsarray of string
error_codestring
status_codeinteger

Unauthorized

Schema
errorsarray of object
sourcestring
errorsarray of string
error_codestring
status_codeinteger

Not Found

Schema
errorsarray of object
sourcestring
errorsarray of string
error_codestring
status_codeinteger