usergrowth

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

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

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

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"`
	// caid的md5值, 32位小写,前面拼接上caid版本号,当前支持20220111、20211207版本
	CaidMd5 string `json:"caid_md5,omitempty" xml:"caid_md5,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 BuzzwordDto added in v1.2.9

type BuzzwordDto struct {
	// 点击上报链接
	ClickUrl []string `json:"click_url,omitempty" xml:"click_url>string,omitempty"`
	// 词条曝光链接
	ExposureUrl []string `json:"exposure_url,omitempty" xml:"exposure_url>string,omitempty"`
	// 词条
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 标签,可选,热、新等
	Tag string `json:"tag,omitempty" xml:"tag,omitempty"`
	// 标签对应的图片 url
	TagUrl string `json:"tag_url,omitempty" xml:"tag_url,omitempty"`
	// App跳转链接
	DeeplinkUrl string `json:"deeplink_url,omitempty" xml:"deeplink_url,omitempty"`
	// 未安装淘宝时 h5 页面跳
	H5Url string `json:"h5_url,omitempty" xml:"h5_url,omitempty"`
	// 展示图片
	DisplayImageUrl string `json:"display_image_url,omitempty" xml:"display_image_url,omitempty"`
	// 热度搜索文字
	HeatSearchText string `json:"heat_search_text,omitempty" xml:"heat_search_text,omitempty"`
	// 副标题
	SubTitle string `json:"sub_title,omitempty" xml:"sub_title,omitempty"`
	// 热度
	Popularity int64 `json:"popularity,omitempty" xml:"popularity,omitempty"`
	// 词条失效时间(秒级时间戳)
	InvalidTime int64 `json:"invalid_time,omitempty" xml:"invalid_time,omitempty"`
}

BuzzwordDto 结构体

type DeviceIdParam added in v1.2.9

type DeviceIdParam struct {
	// 手机系统
	Os string `json:"os,omitempty" xml:"os,omitempty"`
	// 设备类型 oaid/caid/imei
	Type string `json:"type,omitempty" xml:"type,omitempty"`
	// 设备值
	Value string `json:"value,omitempty" xml:"value,omitempty"`
	// 是否是md5值
	IsMd5 bool `json:"is_md5,omitempty" xml:"is_md5,omitempty"`
}

DeviceIdParam 结构体

type ExtraDto added in v1.2.9

type ExtraDto struct {
	// 拓展曝光上报链接, 可以用于榜单曝光
	ExposureUrl []string `json:"exposure_url,omitempty" xml:"exposure_url>string,omitempty"`
	// 拓展点击上报链接, 可以用于“点击更多”上报
	ClickUrl []string `json:"click_url,omitempty" xml:"click_url>string,omitempty"`
	// App跳转链接
	DeeplinkUrl string `json:"deeplink_url,omitempty" xml:"deeplink_url,omitempty"`
	// 未安装淘宝时 h5 页面跳
	H5Url string `json:"h5_url,omitempty" xml:"h5_url,omitempty"`
}

ExtraDto 结构体

type ProductDto added in v1.2.9

type ProductDto struct {
	// 商品名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 商品描述
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// 图片链接
	ImageUrl string `json:"image_url,omitempty" xml:"image_url,omitempty"`
	// 标签属性
	Tags string `json:"tags,omitempty" xml:"tags,omitempty"`
	// 类别
	Category string `json:"category,omitempty" xml:"category,omitempty"`
	// 唤端链接
	Deeplink string `json:"deeplink,omitempty" xml:"deeplink,omitempty"`
	// 商品点击链接
	ClickUrl string `json:"click_url,omitempty" xml:"click_url,omitempty"`
	// 商品曝光链接
	ExposureUrl string `json:"exposure_url,omitempty" xml:"exposure_url,omitempty"`
	// 产品词/召回词
	ProductQuery string `json:"product_query,omitempty" xml:"product_query,omitempty"`
	// 实体词
	EntityWord string `json:"entity_word,omitempty" xml:"entity_word,omitempty"`
}

ProductDto 结构体

type RecognitionParam added in v1.2.9

type RecognitionParam struct {
	// 图片url
	PicUrl string `json:"pic_url,omitempty" xml:"pic_url,omitempty"`
	// 媒体站点id
	SiteId string `json:"site_id,omitempty" xml:"site_id,omitempty"`
	// 图片id
	PicId string `json:"pic_id,omitempty" xml:"pic_id,omitempty"`
}

RecognitionParam 结构体

type RegionData added in v1.2.9

type RegionData struct {
	// 坐标字符串
	CoordinateStr string `json:"coordinate_str,omitempty" xml:"coordinate_str,omitempty"`
	// 文本
	Text string `json:"text,omitempty" xml:"text,omitempty"`
	// 宽
	Width string `json:"width,omitempty" xml:"width,omitempty"`
	// 高
	Height string `json:"height,omitempty" xml:"height,omitempty"`
	// labelId
	LabelId string `json:"label_id,omitempty" xml:"label_id,omitempty"`
	// 序号
	Ranking int64 `json:"ranking,omitempty" xml:"ranking,omitempty"`
}

RegionData 结构体

type SuggestionContextParam added in v1.2.9

type SuggestionContextParam struct {
	// 不同媒体资源位
	SiteId string `json:"site_id,omitempty" xml:"site_id,omitempty"`
	// 天气代码,可空。1:晴, 2:晴(夜), 3:多云, 4:多云(夜), 5:阴, 6:阴(夜), 7:雾, 8:雾(夜), 9:霾, 10:霾(夜), 11:雨, 12:雨(夜), 13:雪, 14:雪(夜)
	Weather string `json:"weather,omitempty" xml:"weather,omitempty"`
	// 地域
	Region string `json:"region,omitempty" xml:"region,omitempty"`
	// 性别:m/f
	Sex string `json:"sex,omitempty" xml:"sex,omitempty"`
	// 附加参数,可用于传递一些非业务参数,如是否压测流量("isStressTest":true)等。格式为:key1:value1,key2:value2
	Extra string `json:"extra,omitempty" xml:"extra,omitempty"`
	// 设备信息
	DeviceId *DeviceIdParam `json:"device_id,omitempty" xml:"device_id,omitempty"`
	// 年龄
	Age int64 `json:"age,omitempty" xml:"age,omitempty"`
	// 温度,包括最高和最低
	Temperature *Temperature `json:"temperature,omitempty" xml:"temperature,omitempty"`
}

SuggestionContextParam 结构体

type SuggestionDto added in v1.2.9

type SuggestionDto struct {
	// 标题
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 副标题
	SubTitle string `json:"sub_title,omitempty" xml:"sub_title,omitempty"`
	// 图标链接
	IconUrl string `json:"icon_url,omitempty" xml:"icon_url,omitempty"`
	// 唤端链接
	DeeplinkUrl string `json:"deeplink_url,omitempty" xml:"deeplink_url,omitempty"`
	// 曝光上报链接
	ExposureUrl string `json:"exposure_url,omitempty" xml:"exposure_url,omitempty"`
	// 点击上报链接
	ClickUrl string `json:"click_url,omitempty" xml:"click_url,omitempty"`
	// 文案内容
	Text string `json:"text,omitempty" xml:"text,omitempty"`
	// 素材id
	MaterialId string `json:"material_id,omitempty" xml:"material_id,omitempty"`
	// 未装端时备用的h5url
	H5Url string `json:"h5_url,omitempty" xml:"h5_url,omitempty"`
	// 主图url
	ImageUrl string `json:"image_url,omitempty" xml:"image_url,omitempty"`
}

SuggestionDto 结构体

type TaobaogrowthreachingbrowsersearchAPIRequest added in v1.3.1

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

TaobaogrowthreachingbrowsersearchAPIRequest 查询搜索关联 API请求 taobao.growth.reaching.browser.search

查询搜索关联

func NewTaobaogrowthreachingbrowsersearchRequest added in v1.3.1

func NewTaobaogrowthreachingbrowsersearchRequest() *TaobaogrowthreachingbrowsersearchAPIRequest

NewTaobaogrowthreachingbrowsersearchRequest 初始化TaobaogrowthreachingbrowsersearchAPIRequest对象

func (TaobaogrowthreachingbrowsersearchAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaogrowthreachingbrowsersearchAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaogrowthreachingbrowsersearchAPIRequest) GetDeviceIds added in v1.3.1

GetDeviceIds DeviceIds Getter

func (TaobaogrowthreachingbrowsersearchAPIRequest) GetQuery added in v1.3.1

GetQuery Query Getter

func (TaobaogrowthreachingbrowsersearchAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaogrowthreachingbrowsersearchAPIRequest) GetWantedSize added in v1.3.1

GetWantedSize WantedSize Getter

func (*TaobaogrowthreachingbrowsersearchAPIRequest) SetDeviceIds added in v1.3.1

SetDeviceIds is DeviceIds Setter 设备列表

func (*TaobaogrowthreachingbrowsersearchAPIRequest) SetQuery added in v1.3.1

SetQuery is Query Setter 查询词

func (*TaobaogrowthreachingbrowsersearchAPIRequest) SetWantedSize added in v1.3.1

func (r *TaobaogrowthreachingbrowsersearchAPIRequest) SetWantedSize(_wantedSize int64) error

SetWantedSize is WantedSize Setter 需要数量

type TaobaogrowthreachingbrowsersearchAPIResponse added in v1.3.1

type TaobaogrowthreachingbrowsersearchAPIResponse struct {
	model.CommonResponse
	TaobaogrowthreachingbrowsersearchAPIResponseModel
}

TaobaogrowthreachingbrowsersearchAPIResponse 查询搜索关联 API返回值 taobao.growth.reaching.browser.search

查询搜索关联

type TaobaogrowthreachingbrowsersearchAPIResponseModel added in v1.3.1

type TaobaogrowthreachingbrowsersearchAPIResponseModel struct {
	XMLName xml.Name `xml:"growth_reaching_browser_search_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// []
	Products []ProductDto `json:"products,omitempty" xml:"products>product_dto,omitempty"`
	// 榜单曝光链接
	ExposureUrl string `json:"exposure_url,omitempty" xml:"exposure_url,omitempty"`
	// 是否参竞
	Offering bool `json:"offering,omitempty" xml:"offering,omitempty"`
}

TaobaogrowthreachingbrowsersearchAPIResponseModel is 查询搜索关联 成功返回结果

type TaobaogrowthreachingbuzzwordqueryAPIRequest added in v1.3.1

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

TaobaogrowthreachingbuzzwordqueryAPIRequest 淘宝热词榜单数据查询接口 API请求 taobao.growth.reaching.buzzword.query

查询淘宝热词榜单数据

func NewTaobaogrowthreachingbuzzwordqueryRequest added in v1.3.1

func NewTaobaogrowthreachingbuzzwordqueryRequest() *TaobaogrowthreachingbuzzwordqueryAPIRequest

NewTaobaogrowthreachingbuzzwordqueryRequest 初始化TaobaogrowthreachingbuzzwordqueryAPIRequest对象

func (TaobaogrowthreachingbuzzwordqueryAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaogrowthreachingbuzzwordqueryAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaogrowthreachingbuzzwordqueryAPIRequest) GetDataOffset added in v1.3.1

GetDataOffset DataOffset Getter

func (TaobaogrowthreachingbuzzwordqueryAPIRequest) GetDeviceIds added in v1.3.1

GetDeviceIds DeviceIds Getter

func (TaobaogrowthreachingbuzzwordqueryAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaogrowthreachingbuzzwordqueryAPIRequest) GetSiteId added in v1.3.1

GetSiteId SiteId Getter

func (TaobaogrowthreachingbuzzwordqueryAPIRequest) GetWantedSize added in v1.3.1

GetWantedSize WantedSize Getter

func (*TaobaogrowthreachingbuzzwordqueryAPIRequest) SetDataOffset added in v1.3.1

func (r *TaobaogrowthreachingbuzzwordqueryAPIRequest) SetDataOffset(_dataOffset int64) error

SetDataOffset is DataOffset Setter 数据偏移位置

func (*TaobaogrowthreachingbuzzwordqueryAPIRequest) SetDeviceIds added in v1.3.1

SetDeviceIds is DeviceIds Setter 设备信息

func (*TaobaogrowthreachingbuzzwordqueryAPIRequest) SetSiteId added in v1.3.1

SetSiteId is SiteId Setter 媒体站点类型

func (*TaobaogrowthreachingbuzzwordqueryAPIRequest) SetWantedSize added in v1.3.1

func (r *TaobaogrowthreachingbuzzwordqueryAPIRequest) SetWantedSize(_wantedSize int64) error

SetWantedSize is WantedSize Setter 需要的数据量,如果产出的数据不足,会返回错误代码:data insufficient

type TaobaogrowthreachingbuzzwordqueryAPIResponse added in v1.3.1

type TaobaogrowthreachingbuzzwordqueryAPIResponse struct {
	model.CommonResponse
	TaobaogrowthreachingbuzzwordqueryAPIResponseModel
}

TaobaogrowthreachingbuzzwordqueryAPIResponse 淘宝热词榜单数据查询接口 API返回值 taobao.growth.reaching.buzzword.query

查询淘宝热词榜单数据

type TaobaogrowthreachingbuzzwordqueryAPIResponseModel added in v1.3.1

type TaobaogrowthreachingbuzzwordqueryAPIResponseModel struct {
	XMLName xml.Name `xml:"growth_reaching_buzzword_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 榜单词条列表
	Buzzwords []BuzzwordDto `json:"buzzwords,omitempty" xml:"buzzwords>buzzword_dto,omitempty"`
	// 榜单词条曝光链接
	ExposureUrl string `json:"exposure_url,omitempty" xml:"exposure_url,omitempty"`
	// 更多内容跳转链接
	Extra *ExtraDto `json:"extra,omitempty" xml:"extra,omitempty"`
	// 缓存时长,单位是秒
	CacheDuration int64 `json:"cache_duration,omitempty" xml:"cache_duration,omitempty"`
	// 是否针对此设备进行投放
	IsOffering bool `json:"is_offering,omitempty" xml:"is_offering,omitempty"`
}

TaobaogrowthreachingbuzzwordqueryAPIResponseModel is 淘宝热词榜单数据查询接口 成功返回结果

type TaobaogrowthreachingpicturesrecognizeAPIRequest added in v1.3.1

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

TaobaogrowthreachingpicturesrecognizeAPIRequest 图片识别 API请求 taobao.growth.reaching.pictures.recognize

图片识别

func NewTaobaogrowthreachingpicturesrecognizeRequest added in v1.3.1

func NewTaobaogrowthreachingpicturesrecognizeRequest() *TaobaogrowthreachingpicturesrecognizeAPIRequest

NewTaobaogrowthreachingpicturesrecognizeRequest 初始化TaobaogrowthreachingpicturesrecognizeAPIRequest对象

func (TaobaogrowthreachingpicturesrecognizeAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaogrowthreachingpicturesrecognizeAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaogrowthreachingpicturesrecognizeAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaogrowthreachingpicturesrecognizeAPIRequest) GetRecognitionParam added in v1.3.1

GetRecognitionParam RecognitionParam Getter

func (*TaobaogrowthreachingpicturesrecognizeAPIRequest) SetRecognitionParam added in v1.3.1

func (r *TaobaogrowthreachingpicturesrecognizeAPIRequest) SetRecognitionParam(_recognitionParam *RecognitionParam) error

SetRecognitionParam is RecognitionParam Setter 识别参数对象

type TaobaogrowthreachingpicturesrecognizeAPIResponse added in v1.3.1

type TaobaogrowthreachingpicturesrecognizeAPIResponse struct {
	model.CommonResponse
	TaobaogrowthreachingpicturesrecognizeAPIResponseModel
}

TaobaogrowthreachingpicturesrecognizeAPIResponse 图片识别 API返回值 taobao.growth.reaching.pictures.recognize

图片识别

type TaobaogrowthreachingpicturesrecognizeAPIResponseModel added in v1.3.1

type TaobaogrowthreachingpicturesrecognizeAPIResponseModel struct {
	XMLName xml.Name `xml:"growth_reaching_pictures_recognize_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 识别结果list
	RegionList []RegionData `json:"region_list,omitempty" xml:"region_list>region_data,omitempty"`
	// 图片id
	PicId string `json:"pic_id,omitempty" xml:"pic_id,omitempty"`
	// 唤端链接
	DeepLink string `json:"deep_link,omitempty" xml:"deep_link,omitempty"`
}

TaobaogrowthreachingpicturesrecognizeAPIResponseModel is 图片识别 成功返回结果

type TaobaogrowthreachingsuggestionqueryAPIRequest added in v1.3.1

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

TaobaogrowthreachingsuggestionqueryAPIRequest 厂商生态推荐信息查询 API请求 taobao.growth.reaching.suggestion.query

厂商生态推荐信息查询

func NewTaobaogrowthreachingsuggestionqueryRequest added in v1.3.1

func NewTaobaogrowthreachingsuggestionqueryRequest() *TaobaogrowthreachingsuggestionqueryAPIRequest

NewTaobaogrowthreachingsuggestionqueryRequest 初始化TaobaogrowthreachingsuggestionqueryAPIRequest对象

func (TaobaogrowthreachingsuggestionqueryAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaogrowthreachingsuggestionqueryAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaogrowthreachingsuggestionqueryAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaogrowthreachingsuggestionqueryAPIRequest) GetSuggestionContext added in v1.3.1

GetSuggestionContext SuggestionContext Getter

func (TaobaogrowthreachingsuggestionqueryAPIRequest) GetWantedSize added in v1.3.1

GetWantedSize WantedSize Getter

func (*TaobaogrowthreachingsuggestionqueryAPIRequest) SetSuggestionContext added in v1.3.1

func (r *TaobaogrowthreachingsuggestionqueryAPIRequest) SetSuggestionContext(_suggestionContext *SuggestionContextParam) error

SetSuggestionContext is SuggestionContext Setter 请求参数

func (*TaobaogrowthreachingsuggestionqueryAPIRequest) SetWantedSize added in v1.3.1

func (r *TaobaogrowthreachingsuggestionqueryAPIRequest) SetWantedSize(_wantedSize int64) error

SetWantedSize is WantedSize Setter 需要的数据量

type TaobaogrowthreachingsuggestionqueryAPIResponse added in v1.3.1

type TaobaogrowthreachingsuggestionqueryAPIResponse struct {
	model.CommonResponse
	TaobaogrowthreachingsuggestionqueryAPIResponseModel
}

TaobaogrowthreachingsuggestionqueryAPIResponse 厂商生态推荐信息查询 API返回值 taobao.growth.reaching.suggestion.query

厂商生态推荐信息查询

type TaobaogrowthreachingsuggestionqueryAPIResponseModel added in v1.3.1

type TaobaogrowthreachingsuggestionqueryAPIResponseModel struct {
	XMLName xml.Name `xml:"growth_reaching_suggestion_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 推荐信息列表
	Suggestions []SuggestionDto `json:"suggestions,omitempty" xml:"suggestions>suggestion_dto,omitempty"`
	// 列表维度曝光上报链接
	ExposureUrl string `json:"exposure_url,omitempty" xml:"exposure_url,omitempty"`
	// 是否参竞
	IsOffering bool `json:"is_offering,omitempty" xml:"is_offering,omitempty"`
}

TaobaogrowthreachingsuggestionqueryAPIResponseModel is 厂商生态推荐信息查询 成功返回结果

type TaobaogrowthreachingxiniaoqueryAPIRequest added in v1.3.1

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

TaobaogrowthreachingxiniaoqueryAPIRequest 查询溪鸟推荐信息数据 API请求 taobao.growth.reaching.xiniao.query

查询溪鸟推荐信息数据

func NewTaobaogrowthreachingxiniaoqueryRequest added in v1.3.1

func NewTaobaogrowthreachingxiniaoqueryRequest() *TaobaogrowthreachingxiniaoqueryAPIRequest

NewTaobaogrowthreachingxiniaoqueryRequest 初始化TaobaogrowthreachingxiniaoqueryAPIRequest对象

func (TaobaogrowthreachingxiniaoqueryAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaogrowthreachingxiniaoqueryAPIRequest) GetApiParams added in v1.3.1

func (r TaobaogrowthreachingxiniaoqueryAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaogrowthreachingxiniaoqueryAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaogrowthreachingxiniaoqueryAPIRequest) GetSuggestionContext added in v1.3.1

GetSuggestionContext SuggestionContext Getter

func (TaobaogrowthreachingxiniaoqueryAPIRequest) GetWantedSize added in v1.3.1

GetWantedSize WantedSize Getter

func (*TaobaogrowthreachingxiniaoqueryAPIRequest) SetSuggestionContext added in v1.3.1

func (r *TaobaogrowthreachingxiniaoqueryAPIRequest) SetSuggestionContext(_suggestionContext *XiNiaoSuggestionContextParam) error

SetSuggestionContext is SuggestionContext Setter 请求参数

func (*TaobaogrowthreachingxiniaoqueryAPIRequest) SetWantedSize added in v1.3.1

func (r *TaobaogrowthreachingxiniaoqueryAPIRequest) SetWantedSize(_wantedSize int64) error

SetWantedSize is WantedSize Setter 需要的数据量

type TaobaogrowthreachingxiniaoqueryAPIResponse added in v1.3.1

type TaobaogrowthreachingxiniaoqueryAPIResponse struct {
	model.CommonResponse
	TaobaogrowthreachingxiniaoqueryAPIResponseModel
}

TaobaogrowthreachingxiniaoqueryAPIResponse 查询溪鸟推荐信息数据 API返回值 taobao.growth.reaching.xiniao.query

查询溪鸟推荐信息数据

type TaobaogrowthreachingxiniaoqueryAPIResponseModel added in v1.3.1

type TaobaogrowthreachingxiniaoqueryAPIResponseModel struct {
	XMLName xml.Name `xml:"growth_reaching_xiniao_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 推荐信息列表
	Suggestions []XiNiaoSuggestionDto `json:"suggestions,omitempty" xml:"suggestions>xi_niao_suggestion_dto,omitempty"`
	// 用户类型
	Type string `json:"type,omitempty" xml:"type,omitempty"`
	// 是否展现
	IsOffering bool `json:"is_offering,omitempty" xml:"is_offering,omitempty"`
}

TaobaogrowthreachingxiniaoqueryAPIResponseModel is 查询溪鸟推荐信息数据 成功返回结果

type TaobaousergrowthdhhdeliveryaskAPIRequest added in v1.3.1

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

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

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

func NewTaobaousergrowthdhhdeliveryaskRequest added in v1.3.1

func NewTaobaousergrowthdhhdeliveryaskRequest() *TaobaousergrowthdhhdeliveryaskAPIRequest

NewTaobaousergrowthdhhdeliveryaskRequest 初始化TaobaousergrowthdhhdeliveryaskAPIRequest对象

func (TaobaousergrowthdhhdeliveryaskAPIRequest) GetAdvertisingSpaceId added in v1.3.1

func (r TaobaousergrowthdhhdeliveryaskAPIRequest) GetAdvertisingSpaceId() string

GetAdvertisingSpaceId AdvertisingSpaceId Getter

func (TaobaousergrowthdhhdeliveryaskAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaousergrowthdhhdeliveryaskAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaousergrowthdhhdeliveryaskAPIRequest) GetApiParams added in v1.3.1

func (r TaobaousergrowthdhhdeliveryaskAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaousergrowthdhhdeliveryaskAPIRequest) GetCaidMd5 added in v1.3.1

GetCaidMd5 CaidMd5 Getter

func (TaobaousergrowthdhhdeliveryaskAPIRequest) GetChannel added in v1.3.1

GetChannel Channel Getter

func (TaobaousergrowthdhhdeliveryaskAPIRequest) GetIdfa added in v1.3.1

GetIdfa Idfa Getter

func (TaobaousergrowthdhhdeliveryaskAPIRequest) GetIdfaMd5 added in v1.3.1

GetIdfaMd5 IdfaMd5 Getter

func (TaobaousergrowthdhhdeliveryaskAPIRequest) GetImei added in v1.3.1

GetImei Imei Getter

func (TaobaousergrowthdhhdeliveryaskAPIRequest) GetImeiMd5 added in v1.3.1

GetImeiMd5 ImeiMd5 Getter

func (TaobaousergrowthdhhdeliveryaskAPIRequest) GetOaid added in v1.3.1

GetOaid Oaid Getter

func (TaobaousergrowthdhhdeliveryaskAPIRequest) GetOaidMd5 added in v1.3.1

GetOaidMd5 OaidMd5 Getter

func (TaobaousergrowthdhhdeliveryaskAPIRequest) GetOs added in v1.3.1

GetOs Os Getter

func (TaobaousergrowthdhhdeliveryaskAPIRequest) GetProfile added in v1.3.1

GetProfile Profile Getter

func (TaobaousergrowthdhhdeliveryaskAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaousergrowthdhhdeliveryaskAPIRequest) SetAdvertisingSpaceId added in v1.3.1

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

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

func (*TaobaousergrowthdhhdeliveryaskAPIRequest) SetCaidMd5 added in v1.3.1

func (r *TaobaousergrowthdhhdeliveryaskAPIRequest) SetCaidMd5(_caidMd5 string) error

SetCaidMd5 is CaidMd5 Setter md5加密后的caid, 32位小写,前面拼接上caid版本号,当前支持20220111、20211207版本

func (*TaobaousergrowthdhhdeliveryaskAPIRequest) SetChannel added in v1.3.1

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

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

func (*TaobaousergrowthdhhdeliveryaskAPIRequest) SetIdfa added in v1.3.1

SetIdfa is Idfa Setter idfa的原生值

func (*TaobaousergrowthdhhdeliveryaskAPIRequest) SetIdfaMd5 added in v1.3.1

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

SetIdfaMd5 is IdfaMd5 Setter idfa的md5值, 32位小写

func (*TaobaousergrowthdhhdeliveryaskAPIRequest) SetImei added in v1.3.1

SetImei is Imei Setter imei的原生值

func (*TaobaousergrowthdhhdeliveryaskAPIRequest) SetImeiMd5 added in v1.3.1

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

SetImeiMd5 is ImeiMd5 Setter imei的md5值, 32位小写

func (*TaobaousergrowthdhhdeliveryaskAPIRequest) SetOaid added in v1.3.1

SetOaid is Oaid Setter oaid的原生值

func (*TaobaousergrowthdhhdeliveryaskAPIRequest) SetOaidMd5 added in v1.3.1

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

SetOaidMd5 is OaidMd5 Setter oaid的md5值, 32位小写

func (*TaobaousergrowthdhhdeliveryaskAPIRequest) SetOs added in v1.3.1

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

func (*TaobaousergrowthdhhdeliveryaskAPIRequest) SetProfile added in v1.3.1

func (r *TaobaousergrowthdhhdeliveryaskAPIRequest) SetProfile(_profile string) error

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

type TaobaousergrowthdhhdeliveryaskAPIResponse added in v1.3.1

type TaobaousergrowthdhhdeliveryaskAPIResponse struct {
	model.CommonResponse
	TaobaousergrowthdhhdeliveryaskAPIResponseModel
}

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

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

type TaobaousergrowthdhhdeliveryaskAPIResponseModel added in v1.3.1

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.3.1

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

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

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

func NewTaobaousergrowthdhhdeliverybatchaskRequest added in v1.3.1

func NewTaobaousergrowthdhhdeliverybatchaskRequest() *TaobaousergrowthdhhdeliverybatchaskAPIRequest

NewTaobaousergrowthdhhdeliverybatchaskRequest 初始化TaobaousergrowthdhhdeliverybatchaskAPIRequest对象

func (TaobaousergrowthdhhdeliverybatchaskAPIRequest) GetAdvertisingSpaceId added in v1.3.1

func (r TaobaousergrowthdhhdeliverybatchaskAPIRequest) GetAdvertisingSpaceId() string

GetAdvertisingSpaceId AdvertisingSpaceId Getter

func (TaobaousergrowthdhhdeliverybatchaskAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaousergrowthdhhdeliverybatchaskAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaousergrowthdhhdeliverybatchaskAPIRequest) GetCaidMd5 added in v1.3.1

GetCaidMd5 CaidMd5 Getter

func (TaobaousergrowthdhhdeliverybatchaskAPIRequest) GetChannel added in v1.3.1

GetChannel Channel Getter

func (TaobaousergrowthdhhdeliverybatchaskAPIRequest) GetIdfaMd5 added in v1.3.1

GetIdfaMd5 IdfaMd5 Getter

func (TaobaousergrowthdhhdeliverybatchaskAPIRequest) GetImeiMd5 added in v1.3.1

GetImeiMd5 ImeiMd5 Getter

func (TaobaousergrowthdhhdeliverybatchaskAPIRequest) GetOaidMd5 added in v1.3.1

GetOaidMd5 OaidMd5 Getter

func (TaobaousergrowthdhhdeliverybatchaskAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaousergrowthdhhdeliverybatchaskAPIRequest) SetAdvertisingSpaceId added in v1.3.1

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

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

func (*TaobaousergrowthdhhdeliverybatchaskAPIRequest) SetCaidMd5 added in v1.3.1

SetCaidMd5 is CaidMd5 Setter md5加密后的caid列表, 32位小写,前面拼接上caid版本号,当前支持20220111、20211207版本, 多个使用,分隔, 最多支持20个。

func (*TaobaousergrowthdhhdeliverybatchaskAPIRequest) SetChannel added in v1.3.1

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

func (*TaobaousergrowthdhhdeliverybatchaskAPIRequest) SetIdfaMd5 added in v1.3.1

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

func (*TaobaousergrowthdhhdeliverybatchaskAPIRequest) SetImeiMd5 added in v1.3.1

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

func (*TaobaousergrowthdhhdeliverybatchaskAPIRequest) SetOaidMd5 added in v1.3.1

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

type TaobaousergrowthdhhdeliverybatchaskAPIResponse added in v1.3.1

type TaobaousergrowthdhhdeliverybatchaskAPIResponse struct {
	model.CommonResponse
	TaobaousergrowthdhhdeliverybatchaskAPIResponseModel
}

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

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

type TaobaousergrowthdhhdeliverybatchaskAPIResponseModel added in v1.3.1

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

type TaobaousergrowthtaskconfiggetAPIRequest added in v1.3.1

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

TaobaousergrowthtaskconfiggetAPIRequest 用户增长营销玩法配置查询 API请求 taobao.usergrowth.task.config.get

用户增长营销玩法配置查询

func NewTaobaousergrowthtaskconfiggetRequest added in v1.3.1

func NewTaobaousergrowthtaskconfiggetRequest() *TaobaousergrowthtaskconfiggetAPIRequest

NewTaobaousergrowthtaskconfiggetRequest 初始化TaobaousergrowthtaskconfiggetAPIRequest对象

func (TaobaousergrowthtaskconfiggetAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaousergrowthtaskconfiggetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaousergrowthtaskconfiggetAPIRequest) GetApiParams added in v1.3.1

func (r TaobaousergrowthtaskconfiggetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaousergrowthtaskconfiggetAPIRequest) GetBusinessId added in v1.3.1

GetBusinessId BusinessId Getter

func (TaobaousergrowthtaskconfiggetAPIRequest) GetCommand added in v1.3.1

GetCommand Command Getter

func (TaobaousergrowthtaskconfiggetAPIRequest) GetExtra added in v1.3.1

GetExtra Extra Getter

func (TaobaousergrowthtaskconfiggetAPIRequest) GetOpenId added in v1.3.1

GetOpenId OpenId Getter

func (TaobaousergrowthtaskconfiggetAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaousergrowthtaskconfiggetAPIRequest) SetBusinessId added in v1.3.1

func (r *TaobaousergrowthtaskconfiggetAPIRequest) SetBusinessId(_businessId string) error

SetBusinessId is BusinessId Setter 业务Id,不同场景不同业务id,淘宝同学提供,

func (*TaobaousergrowthtaskconfiggetAPIRequest) SetCommand added in v1.3.1

func (r *TaobaousergrowthtaskconfiggetAPIRequest) SetCommand(_command string) error

SetCommand is Command Setter 执行命令,不同场景不同业务id,淘宝同学提供

func (*TaobaousergrowthtaskconfiggetAPIRequest) SetExtra added in v1.3.1

SetExtra is Extra Setter 扩展参数,可空,Map<String,String>结构

func (*TaobaousergrowthtaskconfiggetAPIRequest) SetOpenId added in v1.3.1

SetOpenId is OpenId Setter 用户加密后的openid

type TaobaousergrowthtaskconfiggetAPIResponse added in v1.3.1

type TaobaousergrowthtaskconfiggetAPIResponse struct {
	model.CommonResponse
	TaobaousergrowthtaskconfiggetAPIResponseModel
}

TaobaousergrowthtaskconfiggetAPIResponse 用户增长营销玩法配置查询 API返回值 taobao.usergrowth.task.config.get

用户增长营销玩法配置查询

type TaobaousergrowthtaskconfiggetAPIResponseModel added in v1.3.1

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

TaobaousergrowthtaskconfiggetAPIResponseModel is 用户增长营销玩法配置查询 成功返回结果

type TaobaousergrowthtaskconfiggetTopResult added in v1.3.1

type TaobaousergrowthtaskconfiggetTopResult struct {
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 任务配置
	Data *TaskConfig `json:"data,omitempty" xml:"data,omitempty"`
	// 是否执行成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaousergrowthtaskconfiggetTopResult 结构体

type TaskConfig added in v1.2.9

type TaskConfig struct {
	// 任务等级,可空
	Level string `json:"level,omitempty" xml:"level,omitempty"`
	// 通过安全校验,可空
	PassSafeCheck bool `json:"pass_safe_check,omitempty" xml:"pass_safe_check,omitempty"`
}

TaskConfig 结构体

type Temperature added in v1.2.9

type Temperature struct {
	// 当日最高温度
	Highest string `json:"highest,omitempty" xml:"highest,omitempty"`
	// 当日最低温度
	Lowest string `json:"lowest,omitempty" xml:"lowest,omitempty"`
}

Temperature 结构体

type XiNiaoSuggestionContextParam added in v1.2.9

type XiNiaoSuggestionContextParam struct {
	// open_id
	OpenId string `json:"open_id,omitempty" xml:"open_id,omitempty"`
	// open_id
	OpenId2 string `json:"open_id2,omitempty" xml:"open_id2,omitempty"`
	// 站点id
	UnionCode string `json:"union_code,omitempty" xml:"union_code,omitempty"`
	// 包裹数量
	PackageNum int64 `json:"package_num,omitempty" xml:"package_num,omitempty"`
}

XiNiaoSuggestionContextParam 结构体

type XiNiaoSuggestionDto added in v1.2.9

type XiNiaoSuggestionDto struct {
	// 图片URL
	ImageUrl string `json:"image_url,omitempty" xml:"image_url,omitempty"`
	// 落地页URL
	LandingUrl string `json:"landing_url,omitempty" xml:"landing_url,omitempty"`
	// 曝光上报链接
	ExposureUrl string `json:"exposure_url,omitempty" xml:"exposure_url,omitempty"`
	// 点击上报链接
	ClickUrl string `json:"click_url,omitempty" xml:"click_url,omitempty"`
}

XiNiaoSuggestionDto 结构体

Jump to

Keyboard shortcuts

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