usergrowth

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

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

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AskResult

type AskResult struct {
	// 智能出价信息
	SmartBid string `json:"smart_bid,omitempty" xml:"smart_bid,omitempty"`
	// 追踪id
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,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"`
	// 任务类型, 1: 拉新;2:促活
	Type string `json:"type,omitempty" xml:"type,omitempty"`
}

AskResult 结构体

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 TaobaoUsergrowthDeliveryBatchaskAPIRequest added in v1.2.0

type TaobaoUsergrowthDeliveryBatchaskAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoUsergrowthDeliveryBatchaskAPIRequest 广告投放批量询问 API请求 taobao.usergrowth.delivery.batchask

提供给媒体在曝光广告前调用, 返回是否曝光以及报价

func NewTaobaoUsergrowthDeliveryBatchaskRequest

func NewTaobaoUsergrowthDeliveryBatchaskRequest() *TaobaoUsergrowthDeliveryBatchaskAPIRequest

NewTaobaoUsergrowthDeliveryBatchaskRequest 初始化TaobaoUsergrowthDeliveryBatchaskAPIRequest对象

func (TaobaoUsergrowthDeliveryBatchaskAPIRequest) GetAdid added in v1.2.0

GetAdid Adid Getter

func (TaobaoUsergrowthDeliveryBatchaskAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoUsergrowthDeliveryBatchaskAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoUsergrowthDeliveryBatchaskAPIRequest) GetChannel added in v1.2.0

GetChannel Channel Getter

func (TaobaoUsergrowthDeliveryBatchaskAPIRequest) GetIdfaMd5 added in v1.2.0

GetIdfaMd5 IdfaMd5 Getter

func (TaobaoUsergrowthDeliveryBatchaskAPIRequest) GetImeiMd5 added in v1.2.0

GetImeiMd5 ImeiMd5 Getter

func (*TaobaoUsergrowthDeliveryBatchaskAPIRequest) SetAdid added in v1.2.0

SetAdid is Adid Setter 广告id,淘宝和媒体协商

func (*TaobaoUsergrowthDeliveryBatchaskAPIRequest) SetChannel added in v1.2.0

SetChannel is Channel Setter 渠道标识,向淘宝技术申请

func (*TaobaoUsergrowthDeliveryBatchaskAPIRequest) SetIdfaMd5 added in v1.2.0

SetIdfaMd5 is IdfaMd5 Setter idfa的md5值, 32位小写, 多个使用,分隔, 最多支持20个

func (*TaobaoUsergrowthDeliveryBatchaskAPIRequest) SetImeiMd5 added in v1.2.0

SetImeiMd5 is ImeiMd5 Setter imei的md5值, 32位小写, 多个之间使用,分隔, 最多支持20个

type TaobaoUsergrowthDeliveryBatchaskAPIResponse

type TaobaoUsergrowthDeliveryBatchaskAPIResponse struct {
	model.CommonResponse
	TaobaoUsergrowthDeliveryBatchaskAPIResponseModel
}

TaobaoUsergrowthDeliveryBatchaskAPIResponse 广告投放批量询问 API返回值 taobao.usergrowth.delivery.batchask

提供给媒体在曝光广告前调用, 返回是否曝光以及报价

type TaobaoUsergrowthDeliveryBatchaskAPIResponseModel added in v1.2.0

type TaobaoUsergrowthDeliveryBatchaskAPIResponseModel struct {
	XMLName xml.Name `xml:"usergrowth_delivery_batchask_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值, 每个目标用户对应一个接口,具体参见示例
	Results []AskResult `json:"results,omitempty" xml:"results>ask_result,omitempty"`
}

TaobaoUsergrowthDeliveryBatchaskAPIResponseModel is 广告投放批量询问 成功返回结果

type TaobaoUsergrowthDeliveryProfileReportAPIRequest added in v1.2.0

type TaobaoUsergrowthDeliveryProfileReportAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoUsergrowthDeliveryProfileReportAPIRequest 标签上报 API请求 taobao.usergrowth.delivery.profile.report

渠道上报标签信息

func NewTaobaoUsergrowthDeliveryProfileReportRequest

func NewTaobaoUsergrowthDeliveryProfileReportRequest() *TaobaoUsergrowthDeliveryProfileReportAPIRequest

NewTaobaoUsergrowthDeliveryProfileReportRequest 初始化TaobaoUsergrowthDeliveryProfileReportAPIRequest对象

func (TaobaoUsergrowthDeliveryProfileReportAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoUsergrowthDeliveryProfileReportAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoUsergrowthDeliveryProfileReportAPIRequest) GetChannel added in v1.2.0

GetChannel Channel Getter

func (TaobaoUsergrowthDeliveryProfileReportAPIRequest) GetData added in v1.2.0

GetData Data Getter

func (*TaobaoUsergrowthDeliveryProfileReportAPIRequest) SetChannel added in v1.2.0

SetChannel is Channel Setter 渠道标识,找淘宝运营申请

func (*TaobaoUsergrowthDeliveryProfileReportAPIRequest) SetData added in v1.2.0

SetData is Data Setter 标签参数, 支持一次传多个, 一次最多传20个

type TaobaoUsergrowthDeliveryProfileReportAPIResponse

type TaobaoUsergrowthDeliveryProfileReportAPIResponse struct {
	model.CommonResponse
	TaobaoUsergrowthDeliveryProfileReportAPIResponseModel
}

TaobaoUsergrowthDeliveryProfileReportAPIResponse 标签上报 API返回值 taobao.usergrowth.delivery.profile.report

渠道上报标签信息

type TaobaoUsergrowthDeliveryProfileReportAPIResponseModel added in v1.2.0

type TaobaoUsergrowthDeliveryProfileReportAPIResponseModel struct {
	XMLName xml.Name `xml:"usergrowth_delivery_profile_report_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值
	Result string `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoUsergrowthDeliveryProfileReportAPIResponseModel is 标签上报 成功返回结果

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