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

Thêm attribution tùy chỉnh

Thêm dữ liệu attribution marketing tùy chỉnh vào hồ sơ người dùng.

Request body

statusstringrequired

Cho biết attribution là organic hay non-organic.

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

attribution_user_idstring

ID được nguồn attribution gán cho người dùng.

channelstring

Tên kênh marketing.

campaignstring

Tên chiến dịch marketing.

ad_groupstring

Nhóm quảng cáo attribution.

ad_setstring

Bộ quảng cáo attribution.

creativestring

Từ khóa creative của attribution.

customer_user_idstring

ID người dùng bạn sử dụng trong ứng dụng để nhận dạng người dùng nếu có. Ví dụ, đây có thể là UUID người dùng, email hoặc bất kỳ ID nào khác. Null nếu bạn chưa thiết lập. Bắt buộc có customer_user_id hoặc profile_id.

profile_idstring

Mã định danh của người dùng trong Adapty. Bạn có thể tìm thấy nó trong trường Adapty ID của hồ sơ người dùng trong Adapty Dashboard. Bắt buộc có customer_user_id hoặc profile_id.

Responses

Attribution đã được thêm thành công vào hồ sơ người dùng. Nội dung phản hồi trống.

Schema
object

Nội dung phản hồi rỗng

Yêu cầu không hợp lệ

Schema
errorsarray of object
sourcestring
errorsarray of string
error_codestring
status_codeinteger

Không được phép

Schema
errorsarray of object
sourcestring
errorsarray of string
error_codestring
status_codeinteger

Không tìm thấy

Schema
errorsarray of object
sourcestring
errorsarray of string
error_codestring
status_codeinteger