Documentation ¶
Overview ¶
Package usergrowth 包含手淘用户增相关结构体
Index ¶
- type BatchAskResultItem
- type BatchAskResultV2
- type TaobaoUsergrowthDhhDeliveryAskAPIRequest
- func (r TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetAdvertisingSpaceId() string
- func (r TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetApiMethodName() string
- func (r TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetApiParams() url.Values
- func (r TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetChannel() string
- func (r TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetIdfa() string
- func (r TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetIdfaMd5() string
- func (r TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetImei() string
- func (r TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetImeiMd5() string
- func (r TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetOaid() string
- func (r TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetOaidMd5() string
- func (r TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetOs() string
- func (r TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetProfile() string
- func (r *TaobaoUsergrowthDhhDeliveryAskAPIRequest) SetAdvertisingSpaceId(_advertisingSpaceId string) error
- func (r *TaobaoUsergrowthDhhDeliveryAskAPIRequest) SetChannel(_channel string) error
- func (r *TaobaoUsergrowthDhhDeliveryAskAPIRequest) SetIdfa(_idfa string) error
- func (r *TaobaoUsergrowthDhhDeliveryAskAPIRequest) SetIdfaMd5(_idfaMd5 string) error
- func (r *TaobaoUsergrowthDhhDeliveryAskAPIRequest) SetImei(_imei string) error
- func (r *TaobaoUsergrowthDhhDeliveryAskAPIRequest) SetImeiMd5(_imeiMd5 string) error
- func (r *TaobaoUsergrowthDhhDeliveryAskAPIRequest) SetOaid(_oaid string) error
- func (r *TaobaoUsergrowthDhhDeliveryAskAPIRequest) SetOaidMd5(_oaidMd5 string) error
- func (r *TaobaoUsergrowthDhhDeliveryAskAPIRequest) SetOs(_os string) error
- func (r *TaobaoUsergrowthDhhDeliveryAskAPIRequest) SetProfile(_profile string) error
- type TaobaoUsergrowthDhhDeliveryAskAPIResponse
- type TaobaoUsergrowthDhhDeliveryAskAPIResponseModel
- type TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest
- func (r TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) GetAdvertisingSpaceId() string
- func (r TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) GetApiMethodName() string
- func (r TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) GetApiParams() url.Values
- func (r TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) GetChannel() string
- func (r TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) GetIdfaMd5() string
- func (r TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) GetImeiMd5() string
- func (r TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) GetOaidMd5() string
- func (r *TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) SetAdvertisingSpaceId(_advertisingSpaceId string) error
- func (r *TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) SetChannel(_channel string) error
- func (r *TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) SetIdfaMd5(_idfaMd5 string) error
- func (r *TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) SetImeiMd5(_imeiMd5 string) error
- func (r *TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) SetOaidMd5(_oaidMd5 string) error
- type TaobaoUsergrowthDhhDeliveryBatchaskAPIResponse
- type TaobaoUsergrowthDhhDeliveryBatchaskAPIResponseModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchAskResultItem ¶
type BatchAskResultItem struct { // 在巨浪平台可投放的任务ID列表 TaskIdList []string `json:"task_id_list,omitempty" xml:"task_id_list>string,omitempty"` // oaid的md5值, 32位小写 OaidMd5 string `json:"oaid_md5,omitempty" xml:"oaid_md5,omitempty"` // idfa的md5值, 32位小写 IdfaMd5 string `json:"idfa_md5,omitempty" xml:"idfa_md5,omitempty"` // imei的md5值, 32位小写 ImeiMd5 string `json:"imei_md5,omitempty" xml:"imei_md5,omitempty"` // 该设备要做的大航海的任务id TaskId string `json:"task_id,omitempty" xml:"task_id,omitempty"` }
BatchAskResultItem 结构体
type BatchAskResultV2 ¶
type BatchAskResultV2 struct { // 匹配的设备与其任务信息列表 Results []BatchAskResultItem `json:"results,omitempty" xml:"results>batch_ask_result_item,omitempty"` // 错误码, 0: 成功;1:限流;2:服务不可用 Errcode int64 `json:"errcode,omitempty" xml:"errcode,omitempty"` }
BatchAskResultV2 结构体
type TaobaoUsergrowthDhhDeliveryAskAPIRequest ¶ added in v1.2.0
type TaobaoUsergrowthDhhDeliveryAskAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoUsergrowthDhhDeliveryAskAPIRequest 广告曝光前判定接口V2 API请求 taobao.usergrowth.dhh.delivery.ask
提供给媒体在曝光广告前调用
func NewTaobaoUsergrowthDhhDeliveryAskRequest ¶
func NewTaobaoUsergrowthDhhDeliveryAskRequest() *TaobaoUsergrowthDhhDeliveryAskAPIRequest
NewTaobaoUsergrowthDhhDeliveryAskRequest 初始化TaobaoUsergrowthDhhDeliveryAskAPIRequest对象
func (TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetAdvertisingSpaceId ¶ added in v1.2.0
func (r TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetAdvertisingSpaceId() string
GetAdvertisingSpaceId AdvertisingSpaceId Getter
func (TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetChannel ¶ added in v1.2.0
func (r TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetChannel() string
GetChannel Channel Getter
func (TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetIdfa ¶ added in v1.2.0
func (r TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetIdfa() string
GetIdfa Idfa Getter
func (TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetIdfaMd5 ¶ added in v1.2.0
func (r TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetIdfaMd5() string
GetIdfaMd5 IdfaMd5 Getter
func (TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetImei ¶ added in v1.2.0
func (r TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetImei() string
GetImei Imei Getter
func (TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetImeiMd5 ¶ added in v1.2.0
func (r TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetImeiMd5() string
GetImeiMd5 ImeiMd5 Getter
func (TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetOaid ¶ added in v1.2.0
func (r TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetOaid() string
GetOaid Oaid Getter
func (TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetOaidMd5 ¶ added in v1.2.0
func (r TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetOaidMd5() string
GetOaidMd5 OaidMd5 Getter
func (TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetOs ¶ added in v1.2.0
func (r TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetOs() string
GetOs Os Getter
func (TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetProfile ¶ added in v1.2.0
func (r TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetProfile() string
GetProfile Profile Getter
func (*TaobaoUsergrowthDhhDeliveryAskAPIRequest) SetAdvertisingSpaceId ¶ added in v1.2.0
func (r *TaobaoUsergrowthDhhDeliveryAskAPIRequest) SetAdvertisingSpaceId(_advertisingSpaceId string) error
SetAdvertisingSpaceId is AdvertisingSpaceId Setter 大航海广告位,在大航海平台申请
func (*TaobaoUsergrowthDhhDeliveryAskAPIRequest) SetChannel ¶ added in v1.2.0
func (r *TaobaoUsergrowthDhhDeliveryAskAPIRequest) SetChannel(_channel string) error
SetChannel is Channel Setter 渠道标识,在大航海平台申请
func (*TaobaoUsergrowthDhhDeliveryAskAPIRequest) SetIdfa ¶ added in v1.2.0
func (r *TaobaoUsergrowthDhhDeliveryAskAPIRequest) SetIdfa(_idfa string) error
SetIdfa is Idfa Setter idfa的原生值
func (*TaobaoUsergrowthDhhDeliveryAskAPIRequest) SetIdfaMd5 ¶ added in v1.2.0
func (r *TaobaoUsergrowthDhhDeliveryAskAPIRequest) SetIdfaMd5(_idfaMd5 string) error
SetIdfaMd5 is IdfaMd5 Setter idfa的md5值, 32位小写
func (*TaobaoUsergrowthDhhDeliveryAskAPIRequest) SetImei ¶ added in v1.2.0
func (r *TaobaoUsergrowthDhhDeliveryAskAPIRequest) SetImei(_imei string) error
SetImei is Imei Setter imei的原生值
func (*TaobaoUsergrowthDhhDeliveryAskAPIRequest) SetImeiMd5 ¶ added in v1.2.0
func (r *TaobaoUsergrowthDhhDeliveryAskAPIRequest) SetImeiMd5(_imeiMd5 string) error
SetImeiMd5 is ImeiMd5 Setter imei的md5值, 32位小写
func (*TaobaoUsergrowthDhhDeliveryAskAPIRequest) SetOaid ¶ added in v1.2.0
func (r *TaobaoUsergrowthDhhDeliveryAskAPIRequest) SetOaid(_oaid string) error
SetOaid is Oaid Setter oaid的原生值
func (*TaobaoUsergrowthDhhDeliveryAskAPIRequest) SetOaidMd5 ¶ added in v1.2.0
func (r *TaobaoUsergrowthDhhDeliveryAskAPIRequest) SetOaidMd5(_oaidMd5 string) error
SetOaidMd5 is OaidMd5 Setter oaid的md5值, 32位小写
func (*TaobaoUsergrowthDhhDeliveryAskAPIRequest) SetOs ¶ added in v1.2.0
func (r *TaobaoUsergrowthDhhDeliveryAskAPIRequest) SetOs(_os string) error
SetOs is Os Setter 用户所使用设备的系统, 0: android, 1: ios, 2: windowsphone, 3: other
func (*TaobaoUsergrowthDhhDeliveryAskAPIRequest) SetProfile ¶ added in v1.2.0
func (r *TaobaoUsergrowthDhhDeliveryAskAPIRequest) SetProfile(_profile string) error
SetProfile is Profile Setter 预留json参数,与手淘团队单独沟通
type TaobaoUsergrowthDhhDeliveryAskAPIResponse ¶
type TaobaoUsergrowthDhhDeliveryAskAPIResponse struct { model.CommonResponse TaobaoUsergrowthDhhDeliveryAskAPIResponseModel }
TaobaoUsergrowthDhhDeliveryAskAPIResponse 广告曝光前判定接口V2 API返回值 taobao.usergrowth.dhh.delivery.ask
提供给媒体在曝光广告前调用
type TaobaoUsergrowthDhhDeliveryAskAPIResponseModel ¶ added in v1.2.0
type TaobaoUsergrowthDhhDeliveryAskAPIResponseModel struct { XMLName xml.Name `xml:"usergrowth_dhh_delivery_ask_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 在大航海平台可投放的任务ID列表 TaskIdList []string `json:"task_id_list,omitempty" xml:"task_id_list>string,omitempty"` // 在大航海平台推荐的任务ID TaskId string `json:"task_id,omitempty" xml:"task_id,omitempty"` // 错误码, 0: 成功;1:限流;2:服务不可用 Errcode int64 `json:"errcode,omitempty" xml:"errcode,omitempty"` // true: 目标用户;false: 非目标用户 Result bool `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoUsergrowthDhhDeliveryAskAPIResponseModel is 广告曝光前判定接口V2 成功返回结果
type TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest ¶ added in v1.2.0
type TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest 广告曝光前判定批量接口V2 API请求 taobao.usergrowth.dhh.delivery.batchask
广告曝光前判定批量接口V2
func NewTaobaoUsergrowthDhhDeliveryBatchaskRequest ¶
func NewTaobaoUsergrowthDhhDeliveryBatchaskRequest() *TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest
NewTaobaoUsergrowthDhhDeliveryBatchaskRequest 初始化TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest对象
func (TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) GetAdvertisingSpaceId ¶ added in v1.2.0
func (r TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) GetAdvertisingSpaceId() string
GetAdvertisingSpaceId AdvertisingSpaceId Getter
func (TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) GetChannel ¶ added in v1.2.0
func (r TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) GetChannel() string
GetChannel Channel Getter
func (TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) GetIdfaMd5 ¶ added in v1.2.0
func (r TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) GetIdfaMd5() string
GetIdfaMd5 IdfaMd5 Getter
func (TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) GetImeiMd5 ¶ added in v1.2.0
func (r TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) GetImeiMd5() string
GetImeiMd5 ImeiMd5 Getter
func (TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) GetOaidMd5 ¶ added in v1.2.0
func (r TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) GetOaidMd5() string
GetOaidMd5 OaidMd5 Getter
func (*TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) SetAdvertisingSpaceId ¶ added in v1.2.0
func (r *TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) SetAdvertisingSpaceId(_advertisingSpaceId string) error
SetAdvertisingSpaceId is AdvertisingSpaceId Setter 巨浪广告位id,在巨浪平台申请
func (*TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) SetChannel ¶ added in v1.2.0
func (r *TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) SetChannel(_channel string) error
SetChannel is Channel Setter 巨浪渠道id,在巨浪平台申请
func (*TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) SetIdfaMd5 ¶ added in v1.2.0
func (r *TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) SetIdfaMd5(_idfaMd5 string) error
SetIdfaMd5 is IdfaMd5 Setter md5加密后的oaid列表, 32位小写, 多个使用,分隔, 最多支持20个
func (*TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) SetImeiMd5 ¶ added in v1.2.0
func (r *TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) SetImeiMd5(_imeiMd5 string) error
SetImeiMd5 is ImeiMd5 Setter md5加密后的imei列表, 32位小写, 多个使用,分隔, 最多支持20个
func (*TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) SetOaidMd5 ¶ added in v1.2.0
func (r *TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) SetOaidMd5(_oaidMd5 string) error
SetOaidMd5 is OaidMd5 Setter md5加密后的oaid列表, 32位小写, 多个使用,分隔, 最多支持20个
type TaobaoUsergrowthDhhDeliveryBatchaskAPIResponse ¶
type TaobaoUsergrowthDhhDeliveryBatchaskAPIResponse struct { model.CommonResponse TaobaoUsergrowthDhhDeliveryBatchaskAPIResponseModel }
TaobaoUsergrowthDhhDeliveryBatchaskAPIResponse 广告曝光前判定批量接口V2 API返回值 taobao.usergrowth.dhh.delivery.batchask
广告曝光前判定批量接口V2
type TaobaoUsergrowthDhhDeliveryBatchaskAPIResponseModel ¶ added in v1.2.0
type TaobaoUsergrowthDhhDeliveryBatchaskAPIResponseModel struct { XMLName xml.Name `xml:"usergrowth_dhh_delivery_batchask_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回值 Result *BatchAskResultV2 `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoUsergrowthDhhDeliveryBatchaskAPIResponseModel is 广告曝光前判定批量接口V2 成功返回结果