usergrowth

package
v1.2.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 30, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package usergrowth 包含手淘用户增相关结构体

https://open.taobao.com/API.htm?docId=48589&docType=2

Index

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetChannel added in v1.2.0

GetChannel Channel Getter

func (TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetIdfa added in v1.2.0

GetIdfa Idfa Getter

func (TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetIdfaMd5 added in v1.2.0

GetIdfaMd5 IdfaMd5 Getter

func (TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetImei added in v1.2.0

GetImei Imei Getter

func (TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetImeiMd5 added in v1.2.0

GetImeiMd5 ImeiMd5 Getter

func (TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetOaid added in v1.2.0

GetOaid Oaid Getter

func (TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetOaidMd5 added in v1.2.0

GetOaidMd5 OaidMd5 Getter

func (TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetOs added in v1.2.0

GetOs Os Getter

func (TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetProfile added in v1.2.0

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

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

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

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

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

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) GetChannel added in v1.2.0

GetChannel Channel Getter

func (TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) GetIdfaMd5 added in v1.2.0

GetIdfaMd5 IdfaMd5 Getter

func (TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) GetImeiMd5 added in v1.2.0

GetImeiMd5 ImeiMd5 Getter

func (TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) GetOaidMd5 added in v1.2.0

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

SetChannel is Channel Setter 巨浪渠道id,在巨浪平台申请

func (*TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) SetIdfaMd5 added in v1.2.0

SetIdfaMd5 is IdfaMd5 Setter md5加密后的oaid列表, 32位小写, 多个使用,分隔, 最多支持20个

func (*TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) SetImeiMd5 added in v1.2.0

SetImeiMd5 is ImeiMd5 Setter md5加密后的imei列表, 32位小写, 多个使用,分隔, 最多支持20个

func (*TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) SetOaidMd5 added in v1.2.0

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 成功返回结果

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL