usergrowth

package
v1.1.4 Latest Latest
Warning

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

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

Documentation

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 {
	// 错误码, 0: 成功;1:限流;2:服务不可用
	Errcode int64 `json:"errcode,omitempty" xml:"errcode,omitempty"`
	// 匹配的设备与其任务信息列表
	Results []BatchAskResultItem `json:"results,omitempty" xml:"results>batch_ask_result_item,omitempty"`
}

BatchAskResultV2

type TaobaoUsergrowthDeliveryBatchaskAPIResponse

type TaobaoUsergrowthDeliveryBatchaskAPIResponse struct {
	model.CommonResponse
	TaobaoUsergrowthDeliveryBatchaskResponse
}

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

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

type TaobaoUsergrowthDeliveryBatchaskRequest

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

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

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

func NewTaobaoUsergrowthDeliveryBatchaskRequest

func NewTaobaoUsergrowthDeliveryBatchaskRequest() *TaobaoUsergrowthDeliveryBatchaskRequest

初始化TaobaoUsergrowthDeliveryBatchaskRequest对象

func (TaobaoUsergrowthDeliveryBatchaskRequest) GetAdid

Adid Getter

func (TaobaoUsergrowthDeliveryBatchaskRequest) GetApiMethodName

func (r TaobaoUsergrowthDeliveryBatchaskRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoUsergrowthDeliveryBatchaskRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoUsergrowthDeliveryBatchaskRequest) GetChannel

Channel Getter

func (TaobaoUsergrowthDeliveryBatchaskRequest) GetIdfaMd5

IdfaMd5 Getter

func (TaobaoUsergrowthDeliveryBatchaskRequest) GetImeiMd5

ImeiMd5 Getter

func (*TaobaoUsergrowthDeliveryBatchaskRequest) SetAdid

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

func (*TaobaoUsergrowthDeliveryBatchaskRequest) SetChannel

func (r *TaobaoUsergrowthDeliveryBatchaskRequest) SetChannel(channel string) error

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

func (*TaobaoUsergrowthDeliveryBatchaskRequest) SetIdfaMd5

func (r *TaobaoUsergrowthDeliveryBatchaskRequest) SetIdfaMd5(idfaMd5 string) error

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

func (*TaobaoUsergrowthDeliveryBatchaskRequest) SetImeiMd5

func (r *TaobaoUsergrowthDeliveryBatchaskRequest) SetImeiMd5(imeiMd5 string) error

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

type TaobaoUsergrowthDeliveryBatchaskResponse

type TaobaoUsergrowthDeliveryBatchaskResponse 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"`
}

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

type TaobaoUsergrowthDeliveryProfileReportAPIResponse

type TaobaoUsergrowthDeliveryProfileReportAPIResponse struct {
	model.CommonResponse
	TaobaoUsergrowthDeliveryProfileReportResponse
}

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

渠道上报标签信息

type TaobaoUsergrowthDeliveryProfileReportRequest

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

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

渠道上报标签信息

func NewTaobaoUsergrowthDeliveryProfileReportRequest

func NewTaobaoUsergrowthDeliveryProfileReportRequest() *TaobaoUsergrowthDeliveryProfileReportRequest

初始化TaobaoUsergrowthDeliveryProfileReportRequest对象

func (TaobaoUsergrowthDeliveryProfileReportRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (TaobaoUsergrowthDeliveryProfileReportRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoUsergrowthDeliveryProfileReportRequest) GetChannel

Channel Getter

func (TaobaoUsergrowthDeliveryProfileReportRequest) GetData

Data Getter

func (*TaobaoUsergrowthDeliveryProfileReportRequest) SetChannel

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

func (*TaobaoUsergrowthDeliveryProfileReportRequest) SetData

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

type TaobaoUsergrowthDeliveryProfileReportResponse

type TaobaoUsergrowthDeliveryProfileReportResponse 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"`
}

标签上报 成功返回结果

type TaobaoUsergrowthDhhDeliveryAskAPIResponse

type TaobaoUsergrowthDhhDeliveryAskAPIResponse struct {
	model.CommonResponse
	TaobaoUsergrowthDhhDeliveryAskResponse
}

广告曝光前判定接口V2 API返回值 taobao.usergrowth.dhh.delivery.ask

提供给媒体在曝光广告前调用

type TaobaoUsergrowthDhhDeliveryAskRequest

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

广告曝光前判定接口V2 API请求 taobao.usergrowth.dhh.delivery.ask

提供给媒体在曝光广告前调用

func NewTaobaoUsergrowthDhhDeliveryAskRequest

func NewTaobaoUsergrowthDhhDeliveryAskRequest() *TaobaoUsergrowthDhhDeliveryAskRequest

初始化TaobaoUsergrowthDhhDeliveryAskRequest对象

func (TaobaoUsergrowthDhhDeliveryAskRequest) GetAdvertisingSpaceId

func (r TaobaoUsergrowthDhhDeliveryAskRequest) GetAdvertisingSpaceId() string

AdvertisingSpaceId Getter

func (TaobaoUsergrowthDhhDeliveryAskRequest) GetApiMethodName

func (r TaobaoUsergrowthDhhDeliveryAskRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoUsergrowthDhhDeliveryAskRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoUsergrowthDhhDeliveryAskRequest) GetChannel

Channel Getter

func (TaobaoUsergrowthDhhDeliveryAskRequest) GetIdfa

Idfa Getter

func (TaobaoUsergrowthDhhDeliveryAskRequest) GetIdfaMd5

IdfaMd5 Getter

func (TaobaoUsergrowthDhhDeliveryAskRequest) GetImei

Imei Getter

func (TaobaoUsergrowthDhhDeliveryAskRequest) GetImeiMd5

ImeiMd5 Getter

func (TaobaoUsergrowthDhhDeliveryAskRequest) GetOaid

Oaid Getter

func (TaobaoUsergrowthDhhDeliveryAskRequest) GetOaidMd5

OaidMd5 Getter

func (TaobaoUsergrowthDhhDeliveryAskRequest) GetOs

Os Getter

func (TaobaoUsergrowthDhhDeliveryAskRequest) GetProfile

Profile Getter

func (*TaobaoUsergrowthDhhDeliveryAskRequest) SetAdvertisingSpaceId

func (r *TaobaoUsergrowthDhhDeliveryAskRequest) SetAdvertisingSpaceId(advertisingSpaceId string) error

AdvertisingSpaceId Setter 大航海广告位,在大航海平台申请

func (*TaobaoUsergrowthDhhDeliveryAskRequest) SetChannel

func (r *TaobaoUsergrowthDhhDeliveryAskRequest) SetChannel(channel string) error

Channel Setter 渠道标识,在大航海平台申请

func (*TaobaoUsergrowthDhhDeliveryAskRequest) SetIdfa

Idfa Setter idfa的原生值

func (*TaobaoUsergrowthDhhDeliveryAskRequest) SetIdfaMd5

func (r *TaobaoUsergrowthDhhDeliveryAskRequest) SetIdfaMd5(idfaMd5 string) error

IdfaMd5 Setter idfa的md5值, 32位小写

func (*TaobaoUsergrowthDhhDeliveryAskRequest) SetImei

Imei Setter imei的原生值

func (*TaobaoUsergrowthDhhDeliveryAskRequest) SetImeiMd5

func (r *TaobaoUsergrowthDhhDeliveryAskRequest) SetImeiMd5(imeiMd5 string) error

ImeiMd5 Setter imei的md5值, 32位小写

func (*TaobaoUsergrowthDhhDeliveryAskRequest) SetOaid

Oaid Setter oaid的原生值

func (*TaobaoUsergrowthDhhDeliveryAskRequest) SetOaidMd5

func (r *TaobaoUsergrowthDhhDeliveryAskRequest) SetOaidMd5(oaidMd5 string) error

OaidMd5 Setter oaid的md5值, 32位小写

func (*TaobaoUsergrowthDhhDeliveryAskRequest) SetOs

Os Setter 用户所使用设备的系统, 0: android, 1: ios, 2: windowsphone, 3: other

func (*TaobaoUsergrowthDhhDeliveryAskRequest) SetProfile

func (r *TaobaoUsergrowthDhhDeliveryAskRequest) SetProfile(profile string) error

Profile Setter 预留json参数,与手淘团队单独沟通

type TaobaoUsergrowthDhhDeliveryAskResponse

type TaobaoUsergrowthDhhDeliveryAskResponse struct {
	XMLName xml.Name `xml:"usergrowth_dhh_delivery_ask_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// true: 目标用户;false: 非目标用户
	Result bool `json:"result,omitempty" xml:"result,omitempty"`
	// 在大航海平台推荐的任务ID
	TaskId string `json:"task_id,omitempty" xml:"task_id,omitempty"`
	// 错误码, 0: 成功;1:限流;2:服务不可用
	Errcode int64 `json:"errcode,omitempty" xml:"errcode,omitempty"`
	// 在大航海平台可投放的任务ID列表
	TaskIdList []string `json:"task_id_list,omitempty" xml:"task_id_list>string,omitempty"`
}

广告曝光前判定接口V2 成功返回结果

type TaobaoUsergrowthDhhDeliveryBatchaskAPIResponse

type TaobaoUsergrowthDhhDeliveryBatchaskAPIResponse struct {
	model.CommonResponse
	TaobaoUsergrowthDhhDeliveryBatchaskResponse
}

广告曝光前判定批量接口V2 API返回值 taobao.usergrowth.dhh.delivery.batchask

广告曝光前判定批量接口V2

type TaobaoUsergrowthDhhDeliveryBatchaskRequest

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

广告曝光前判定批量接口V2 API请求 taobao.usergrowth.dhh.delivery.batchask

广告曝光前判定批量接口V2

func NewTaobaoUsergrowthDhhDeliveryBatchaskRequest

func NewTaobaoUsergrowthDhhDeliveryBatchaskRequest() *TaobaoUsergrowthDhhDeliveryBatchaskRequest

初始化TaobaoUsergrowthDhhDeliveryBatchaskRequest对象

func (TaobaoUsergrowthDhhDeliveryBatchaskRequest) GetAdvertisingSpaceId

func (r TaobaoUsergrowthDhhDeliveryBatchaskRequest) GetAdvertisingSpaceId() string

AdvertisingSpaceId Getter

func (TaobaoUsergrowthDhhDeliveryBatchaskRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (TaobaoUsergrowthDhhDeliveryBatchaskRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoUsergrowthDhhDeliveryBatchaskRequest) GetChannel

Channel Getter

func (TaobaoUsergrowthDhhDeliveryBatchaskRequest) GetIdfaMd5

IdfaMd5 Getter

func (TaobaoUsergrowthDhhDeliveryBatchaskRequest) GetImeiMd5

ImeiMd5 Getter

func (TaobaoUsergrowthDhhDeliveryBatchaskRequest) GetOaidMd5

OaidMd5 Getter

func (*TaobaoUsergrowthDhhDeliveryBatchaskRequest) SetAdvertisingSpaceId

func (r *TaobaoUsergrowthDhhDeliveryBatchaskRequest) SetAdvertisingSpaceId(advertisingSpaceId string) error

AdvertisingSpaceId Setter 巨浪广告位id,在巨浪平台申请

func (*TaobaoUsergrowthDhhDeliveryBatchaskRequest) SetChannel

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

func (*TaobaoUsergrowthDhhDeliveryBatchaskRequest) SetIdfaMd5

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

func (*TaobaoUsergrowthDhhDeliveryBatchaskRequest) SetImeiMd5

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

func (*TaobaoUsergrowthDhhDeliveryBatchaskRequest) SetOaidMd5

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

type TaobaoUsergrowthDhhDeliveryBatchaskResponse

type TaobaoUsergrowthDhhDeliveryBatchaskResponse 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"`
}

广告曝光前判定批量接口V2 成功返回结果

Jump to

Keyboard shortcuts

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