usergrowth

package
v1.2.0 Latest Latest
Warning

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

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

Documentation

Overview

手淘用户增 model

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 {
	// 错误码, 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 TaobaoUsergrowthDeliveryBatchaskAPIRequest added in v1.2.0

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

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

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

func NewTaobaoUsergrowthDeliveryBatchaskRequest

func NewTaobaoUsergrowthDeliveryBatchaskRequest() *TaobaoUsergrowthDeliveryBatchaskAPIRequest

初始化TaobaoUsergrowthDeliveryBatchaskAPIRequest对象

func (TaobaoUsergrowthDeliveryBatchaskAPIRequest) GetAdid added in v1.2.0

Adid Getter

func (TaobaoUsergrowthDeliveryBatchaskAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (TaobaoUsergrowthDeliveryBatchaskAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (TaobaoUsergrowthDeliveryBatchaskAPIRequest) GetChannel added in v1.2.0

Channel Getter

func (TaobaoUsergrowthDeliveryBatchaskAPIRequest) GetIdfaMd5 added in v1.2.0

IdfaMd5 Getter

func (TaobaoUsergrowthDeliveryBatchaskAPIRequest) GetImeiMd5 added in v1.2.0

ImeiMd5 Getter

func (*TaobaoUsergrowthDeliveryBatchaskAPIRequest) SetAdid added in v1.2.0

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

func (*TaobaoUsergrowthDeliveryBatchaskAPIRequest) SetChannel added in v1.2.0

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

func (*TaobaoUsergrowthDeliveryBatchaskAPIRequest) SetIdfaMd5 added in v1.2.0

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

func (*TaobaoUsergrowthDeliveryBatchaskAPIRequest) SetImeiMd5 added in v1.2.0

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

type TaobaoUsergrowthDeliveryBatchaskAPIResponse

type TaobaoUsergrowthDeliveryBatchaskAPIResponse struct {
	model.CommonResponse
	TaobaoUsergrowthDeliveryBatchaskAPIResponseModel
}

广告投放批量询问 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"`
}

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

type TaobaoUsergrowthDeliveryProfileReportAPIRequest added in v1.2.0

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

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

渠道上报标签信息

func NewTaobaoUsergrowthDeliveryProfileReportRequest

func NewTaobaoUsergrowthDeliveryProfileReportRequest() *TaobaoUsergrowthDeliveryProfileReportAPIRequest

初始化TaobaoUsergrowthDeliveryProfileReportAPIRequest对象

func (TaobaoUsergrowthDeliveryProfileReportAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (TaobaoUsergrowthDeliveryProfileReportAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (TaobaoUsergrowthDeliveryProfileReportAPIRequest) GetChannel added in v1.2.0

Channel Getter

func (TaobaoUsergrowthDeliveryProfileReportAPIRequest) GetData added in v1.2.0

Data Getter

func (*TaobaoUsergrowthDeliveryProfileReportAPIRequest) SetChannel added in v1.2.0

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

func (*TaobaoUsergrowthDeliveryProfileReportAPIRequest) SetData added in v1.2.0

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

type TaobaoUsergrowthDeliveryProfileReportAPIResponse

type TaobaoUsergrowthDeliveryProfileReportAPIResponse struct {
	model.CommonResponse
	TaobaoUsergrowthDeliveryProfileReportAPIResponseModel
}

标签上报 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"`
}

标签上报 成功返回结果

type TaobaoUsergrowthDhhDeliveryAskAPIRequest added in v1.2.0

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

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

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

func NewTaobaoUsergrowthDhhDeliveryAskRequest

func NewTaobaoUsergrowthDhhDeliveryAskRequest() *TaobaoUsergrowthDhhDeliveryAskAPIRequest

初始化TaobaoUsergrowthDhhDeliveryAskAPIRequest对象

func (TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetAdvertisingSpaceId added in v1.2.0

func (r TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetAdvertisingSpaceId() string

AdvertisingSpaceId Getter

func (TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetChannel added in v1.2.0

Channel Getter

func (TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetIdfa added in v1.2.0

Idfa Getter

func (TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetIdfaMd5 added in v1.2.0

IdfaMd5 Getter

func (TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetImei added in v1.2.0

Imei Getter

func (TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetImeiMd5 added in v1.2.0

ImeiMd5 Getter

func (TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetOaid added in v1.2.0

Oaid Getter

func (TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetOaidMd5 added in v1.2.0

OaidMd5 Getter

func (TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetOs added in v1.2.0

Os Getter

func (TaobaoUsergrowthDhhDeliveryAskAPIRequest) GetProfile added in v1.2.0

Profile Getter

func (*TaobaoUsergrowthDhhDeliveryAskAPIRequest) SetAdvertisingSpaceId added in v1.2.0

func (r *TaobaoUsergrowthDhhDeliveryAskAPIRequest) SetAdvertisingSpaceId(_advertisingSpaceId string) error

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

func (*TaobaoUsergrowthDhhDeliveryAskAPIRequest) SetChannel added in v1.2.0

func (r *TaobaoUsergrowthDhhDeliveryAskAPIRequest) SetChannel(_channel string) error

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

func (*TaobaoUsergrowthDhhDeliveryAskAPIRequest) SetIdfa added in v1.2.0

Idfa Setter idfa的原生值

func (*TaobaoUsergrowthDhhDeliveryAskAPIRequest) SetIdfaMd5 added in v1.2.0

func (r *TaobaoUsergrowthDhhDeliveryAskAPIRequest) SetIdfaMd5(_idfaMd5 string) error

IdfaMd5 Setter idfa的md5值, 32位小写

func (*TaobaoUsergrowthDhhDeliveryAskAPIRequest) SetImei added in v1.2.0

Imei Setter imei的原生值

func (*TaobaoUsergrowthDhhDeliveryAskAPIRequest) SetImeiMd5 added in v1.2.0

func (r *TaobaoUsergrowthDhhDeliveryAskAPIRequest) SetImeiMd5(_imeiMd5 string) error

ImeiMd5 Setter imei的md5值, 32位小写

func (*TaobaoUsergrowthDhhDeliveryAskAPIRequest) SetOaid added in v1.2.0

Oaid Setter oaid的原生值

func (*TaobaoUsergrowthDhhDeliveryAskAPIRequest) SetOaidMd5 added in v1.2.0

func (r *TaobaoUsergrowthDhhDeliveryAskAPIRequest) SetOaidMd5(_oaidMd5 string) error

OaidMd5 Setter oaid的md5值, 32位小写

func (*TaobaoUsergrowthDhhDeliveryAskAPIRequest) SetOs added in v1.2.0

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

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

type TaobaoUsergrowthDhhDeliveryAskAPIResponse

type TaobaoUsergrowthDhhDeliveryAskAPIResponse struct {
	model.CommonResponse
	TaobaoUsergrowthDhhDeliveryAskAPIResponseModel
}

广告曝光前判定接口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"`
	// 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 TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest added in v1.2.0

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

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

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

func NewTaobaoUsergrowthDhhDeliveryBatchaskRequest

func NewTaobaoUsergrowthDhhDeliveryBatchaskRequest() *TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest

初始化TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest对象

func (TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) GetAdvertisingSpaceId added in v1.2.0

func (r TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) GetAdvertisingSpaceId() string

AdvertisingSpaceId Getter

func (TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) GetChannel added in v1.2.0

Channel Getter

func (TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) GetIdfaMd5 added in v1.2.0

IdfaMd5 Getter

func (TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) GetImeiMd5 added in v1.2.0

ImeiMd5 Getter

func (TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) GetOaidMd5 added in v1.2.0

OaidMd5 Getter

func (*TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) SetAdvertisingSpaceId added in v1.2.0

func (r *TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) SetAdvertisingSpaceId(_advertisingSpaceId string) error

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

func (*TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) SetChannel added in v1.2.0

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

func (*TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) SetIdfaMd5 added in v1.2.0

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

func (*TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) SetImeiMd5 added in v1.2.0

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

func (*TaobaoUsergrowthDhhDeliveryBatchaskAPIRequest) SetOaidMd5 added in v1.2.0

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

type TaobaoUsergrowthDhhDeliveryBatchaskAPIResponse

type TaobaoUsergrowthDhhDeliveryBatchaskAPIResponse struct {
	model.CommonResponse
	TaobaoUsergrowthDhhDeliveryBatchaskAPIResponseModel
}

广告曝光前判定批量接口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"`
}

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

Jump to

Keyboard shortcuts

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