github.com/bububa/oceanengine/marketing-api@v0.0.0-20210315120513-0b953137f7a6/model/track/active.go (about)

     1  package track
     2  
     3  import "github.com/bububa/oceanengine/marketing-api/enum"
     4  
     5  type ActiveRequest struct {
     6  	Link      string              `json:"link,omitempty"`       // 广告被打开的落地页的原始真实 url
     7  	Callback  string              `json:"callback,omitempty"`   // 点击检测下发的 callback
     8  	EventType enum.TrackEventType `json:"event_type,omitempty"` // 事件类型
     9  	ConvTime  int64               `json:"conv_time,omitempty"`  // UTC 时间戳,单位:秒
    10  	Source    string              `json:"source,omitempty"`     // 数据来源,比如来自 talkingdata的激活回调, 可以填写 TD
    11  	MatchType enum.TrackMatchType `json:"match_type,omitempty"` // 归因方式
    12  	Imei      string              `json:"imei,omitempty"`       // 安卓手机 imei 的 md5 摘要
    13  	Idfa      string              `json:"idfa,omitempty"`       // ios 手机的 idfa 原值
    14  	Muid      string              `json:"muid,omitempty"`       // 安卓:imei号取md5sum摘要;IOS:取idfa原值
    15  	Oaid      string              `json:"oaid,omitempty"`       // Android Q 版本的 oaid 原值
    16  	OaidMd5   string              `json:"oaid_md5,omitempty"`   // Android Q 版本的 oaid 原值的md5摘要
    17  	Os        enum.TrackOS        `json:"os,omitempty"`         // 客户端的操作系统类型
    18  	Caid1     string              `json:"caid1,omitempty"`      // 不同版本版本的中国广告协会互联网广告标识,caid1为最新版本,caid2为老版本
    19  	Caid2     string              `json:"caid2,omitempty"`      // 不同版本版本的中国广告协会互联网广告标识,caid1为最新版本,caid2为老版本
    20  	Ext       map[string]string   `json:"ext,omitempty"`        // 补充数据
    21  }