tanx

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 tanx 包含Tanx API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BiddingRefuseDto

type BiddingRefuseDto struct {
	// 创意级别对应的错误码
	FilterId string `json:"filter_id,omitempty" xml:"filter_id,omitempty"`
	// Pv粒度错误码对应描述二级原因
	FilterIdDesc string `json:"filter_id_desc,omitempty" xml:"filter_id_desc,omitempty"`
	// Pv粒度错误码对应的一级原因
	FilterClassDesc string `json:"filter_class_desc,omitempty" xml:"filter_class_desc,omitempty"`
	// O123545
	CreativeId string `json:"creative_id,omitempty" xml:"creative_id,omitempty"`
	// 创意过滤次数
	AdfilPv int64 `json:"adfil_pv,omitempty" xml:"adfil_pv,omitempty"`
	// dsp_id
	DspId int64 `json:"dsp_id,omitempty" xml:"dsp_id,omitempty"`
}

BiddingRefuseDto 结构体

type CreativeAuditDto

type CreativeAuditDto struct {
	// 媒体审核列表
	PublishersAuditInfoList []CreativePublisherAuditDto `json:"publishers_audit_info_list,omitempty" xml:"publishers_audit_info_list>creative_publisher_audit_dto,omitempty"`
	// 创意ID
	CreativeId string `json:"creative_id,omitempty" xml:"creative_id,omitempty"`
	// 创意审核的状态(通过PASS,拒绝REFUSE,未审核WAITING)
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 创意拒绝的原因
	RefuseCause string `json:"refuse_cause,omitempty" xml:"refuse_cause,omitempty"`
	// 创意内容数据
	AdboardData string `json:"adboard_data,omitempty" xml:"adboard_data,omitempty"`
	// 广告主ID
	AdvertiserIds string `json:"advertiser_ids,omitempty" xml:"advertiser_ids,omitempty"`
	// 创意通过的等级,1表示一级创意,99表示普通创意
	Level int64 `json:"level,omitempty" xml:"level,omitempty"`
	// DSP用户ID
	DspId int64 `json:"dsp_id,omitempty" xml:"dsp_id,omitempty"`
}

CreativeAuditDto 结构体

type CreativeDto

type CreativeDto struct {
	// 创意审核信息列表
	CreativePublisherAuditDtoList []CreativePublisherAuditDto `` /* 129-byte string literal not displayed */
	// 创意ID
	CreativeId string `json:"creative_id,omitempty" xml:"creative_id,omitempty"`
	// 创意审核的状态(通过PASS,拒绝REFUSE,未审核WAITING)
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 创意拒绝的原因
	RefuseCause string `json:"refuse_cause,omitempty" xml:"refuse_cause,omitempty"`
	// 广告位属性
	AdboardData string `json:"adboard_data,omitempty" xml:"adboard_data,omitempty"`
	// 创意通过的等级,1表示一级创意,99表示普通创意
	Level int64 `json:"level,omitempty" xml:"level,omitempty"`
}

CreativeDto 结构体

type CreativeInfoDto

type CreativeInfoDto struct {
	// 创意的类目,多个值用逗号“,”分隔
	CreativeCategoryId string `json:"creative_category_id,omitempty" xml:"creative_category_id,omitempty"`
	// 创意尺寸,长高中间用小写英文x
	CreativeSize string `json:"creative_size,omitempty" xml:"creative_size,omitempty"`
	// 创意存储地址
	CreativeUrl string `json:"creative_url,omitempty" xml:"creative_url,omitempty"`
	// 广告主Id,多值使用“,”分隔
	AdvertiserIds string `json:"advertiser_ids,omitempty" xml:"advertiser_ids,omitempty"`
	// 创意支持的apiFramework协议,1:VPAID1.0;2:VPAID2.0;3:MARID-1;4:ORMMA;5:1MRAID-2,只能单选,不能多选
	ApiFramework string `json:"api_framework,omitempty" xml:"api_framework,omitempty"`
	// (选填)中间跳转地址(比如DSP的点击服务器地址),但跳转后的最终地址必须和click_url一致。
	ClickThroughUrl string `json:"click_through_url,omitempty" xml:"click_through_url,omitempty"`
	// (选填)点击监控地址,最多3个,多个值用逗号“,”分隔
	ClickTrackUrl string `json:"click_track_url,omitempty" xml:"click_track_url,omitempty"`
	// 广告跳转的最终目标页面地址
	ClickUrl string `json:"click_url,omitempty" xml:"click_url,omitempty"`
	// dsp系统中的创意id
	CreativeId string `json:"creative_id,omitempty" xml:"creative_id,omitempty"`
	// 托管创意的名称
	CreativeName string `json:"creative_name,omitempty" xml:"creative_name,omitempty"`
	// 文件格式, 视频类型:flv、avi、mp4, 图片类型:jpg、png、gif, flash类型:swf等
	FileType string `json:"file_type,omitempty" xml:"file_type,omitempty"`
	// 创意类型 1:文字 2:图片 3:Flash 4:视频贴片
	CreativeFormat string `json:"creative_format,omitempty" xml:"creative_format,omitempty"`
	// 创意时长,单位是毫秒
	Duration int64 `json:"duration,omitempty" xml:"duration,omitempty"`
}

CreativeInfoDto 结构体

type CreativeParamDto

type CreativeParamDto struct {
	// dsp系统中的创意id
	CreativeId string `json:"creative_id,omitempty" xml:"creative_id,omitempty"`
	// 创意尺寸,长高中间用小写英文x
	AdboardSize string `json:"adboard_size,omitempty" xml:"adboard_size,omitempty"`
	// 广告类目
	AdboardType string `json:"adboard_type,omitempty" xml:"adboard_type,omitempty"`
	// 敏感词类目
	SensitiveType string `json:"sensitive_type,omitempty" xml:"sensitive_type,omitempty"`
	// 创意代码。creative_package_format为5, dis_type=2时,对应的值为标准json,支持的字段为:adwords,clickUrl,imgUrl,landingType,price,promoprice,sell,title如:{"clickUrl":"http://click.mz.simba.taobao.com/","title":"老板电器旗舰店—钜惠风暴席卷月!","promoprice":"188.88","sell":"56", "adwords":"精选店铺,优惠无止尽!"}
	AdboardData string `json:"adboard_data,omitempty" xml:"adboard_data,omitempty"`
	// 目标地址
	DestinationUrl string `json:"destination_url,omitempty" xml:"destination_url,omitempty"`
	// 广告主id,多值使用逗号分隔
	AdvertiserIds string `json:"advertiser_ids,omitempty" xml:"advertiser_ids,omitempty"`
	// 模板Id
	TemplateId string `json:"template_id,omitempty" xml:"template_id,omitempty"`
	// 创意封装类型:1 Htmlsnippet(pc网页),2 vast-nonlinear(视频暂停),5 无线创意, 8 移动网页
	CreativePackageFormat int64 `json:"creative_package_format,omitempty" xml:"creative_package_format,omitempty"`
	// 创意类型。1. mraid, 2. native, 3.H5,4.富媒体
	DisType int64 `json:"dis_type,omitempty" xml:"dis_type,omitempty"`
}

CreativeParamDto 结构体

type CreativePublisherAuditDto

type CreativePublisherAuditDto struct {
	// 状态(PASS.通过;REFUSE.拒绝;WAITING.待审)
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 媒体ID
	PubliserId string `json:"publiser_id,omitempty" xml:"publiser_id,omitempty"`
	// 拒绝原因
	RefuseCause string `json:"refuse_cause,omitempty" xml:"refuse_cause,omitempty"`
}

CreativePublisherAuditDto 结构体

type DealInfoDto

type DealInfoDto struct {
	// 11
	Addresses []DicDto `json:"addresses,omitempty" xml:"addresses>dic_dto,omitempty"`
	// 100
	SellerSiteNames []string `json:"seller_site_names,omitempty" xml:"seller_site_names>string,omitempty"`
	// 100
	DspIds []int64 `json:"dsp_ids,omitempty" xml:"dsp_ids>int64,omitempty"`
	// 100
	AdvertiserIds []int64 `json:"advertiser_ids,omitempty" xml:"advertiser_ids>int64,omitempty"`
	// 100
	IntervalIds []string `json:"interval_ids,omitempty" xml:"interval_ids>string,omitempty"`
	// 100
	Pids []string `json:"pids,omitempty" xml:"pids>string,omitempty"`
	// 100
	BeginTime string `json:"begin_time,omitempty" xml:"begin_time,omitempty"`
	// 100
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 100
	DealId int64 `json:"deal_id,omitempty" xml:"deal_id,omitempty"`
	// 100
	Price int64 `json:"price,omitempty" xml:"price,omitempty"`
	// 100
	DealType int64 `json:"deal_type,omitempty" xml:"deal_type,omitempty"`
	// 100
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
}

DealInfoDto 结构体

type DicDto

type DicDto struct {
	// 数据项值
	Value string `json:"value,omitempty" xml:"value,omitempty"`
	// 数据项ID
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
}

DicDto 结构体

type NativeTemplateAreaDto

type NativeTemplateAreaDto struct {
	// 广告区域ID
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 创意个数
	CreativeCount int64 `json:"creative_count,omitempty" xml:"creative_count,omitempty"`
	// 创意要求
	Creative *NativeTemplateCreativeDto `json:"creative,omitempty" xml:"creative,omitempty"`
}

NativeTemplateAreaDto 结构体

type NativeTemplateCreativeDto

type NativeTemplateCreativeDto struct {
	// 必须属性集合,1:标题;2:广告语;3:图片;4:价格;5:折扣价;6:销量;7:click_url;8:landing_type;9描述;10打开方式;11下载方式;12deepLink;13下载
	RequiredFields []int64 `json:"required_fields,omitempty" xml:"required_fields>int64,omitempty"`
	// 推荐属性集合,1:标题;2:广告语;3:图片;4:价格;5:折扣价;6:销量;7:click_url;8:landing_type;9描述;10打开方式;11下载方式;12deepLink;13下载
	RecommendedFields []int64 `json:"recommended_fields,omitempty" xml:"recommended_fields>int64,omitempty"`
	// 已经废弃,事件属性集合 1:下载 2:地图 3:电话
	ActionFields []int64 `json:"action_fields,omitempty" xml:"action_fields>int64,omitempty"`
	// 多选一的属性集合,这些属性至少有一个不为空,1:标题;2:广告语;3:图片;4:价格;5:折扣价;6:销量;7:click_url;8:landing_type;9描述;10打开方式;11下载方式;12deepLink;13下载
	MutlichoiceFields []int64 `json:"mutlichoice_fields,omitempty" xml:"mutlichoice_fields>int64,omitempty"`
	// 图片尺寸宽x高,比如320x50
	ImageSize string `json:"image_size,omitempty" xml:"image_size,omitempty"`
	// 副标题或者广告语最大长度,如果超长有可能会被截断
	AdWordsMaxSafeLength int64 `json:"ad_words_max_safe_length,omitempty" xml:"ad_words_max_safe_length,omitempty"`
	// 标题最大长度,如果超长有可能会被截断
	TitleMaxSafeLength int64 `json:"title_max_safe_length,omitempty" xml:"title_max_safe_length,omitempty"`
}

NativeTemplateCreativeDto 结构体

type NativeTemplateDto

type NativeTemplateDto struct {
	// 区域列表
	Areas []NativeTemplateAreaDto `json:"areas,omitempty" xml:"areas>native_template_area_dto,omitempty"`
	// 样式预览图片url
	Preview string `json:"preview,omitempty" xml:"preview,omitempty"`
	// 说明
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// 模板支持的广告位尺寸
	Size string `json:"size,omitempty" xml:"size,omitempty"`
	// 模板ID
	TmplId int64 `json:"tmpl_id,omitempty" xml:"tmpl_id,omitempty"`
}

NativeTemplateDto 结构体

type QualificationDto

type QualificationDto struct {
	// 通过的url
	Urls []string `json:"urls,omitempty" xml:"urls>string,omitempty"`
	// 通过的行业
	Specialindustrys []string `json:"specialindustrys,omitempty" xml:"specialindustrys>string,omitempty"`
	// 资质内容列表
	ContentList []string `json:"content_list,omitempty" xml:"content_list>string,omitempty"`
	// 资质名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 旺旺或者dsp广告主名称
	UserName string `json:"user_name,omitempty" xml:"user_name,omitempty"`
	// 资质生效时间
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 资质失效时间
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 资质创建时间
	CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"`
	// 资质修改时间
	UpdateTime string `json:"update_time,omitempty" xml:"update_time,omitempty"`
	// 资质审核时间
	AuditTime string `json:"audit_time,omitempty" xml:"audit_time,omitempty"`
	// 拒绝原因
	Reason string `json:"reason,omitempty" xml:"reason,omitempty"`
	// 用户附加内容
	Supplement string `json:"supplement,omitempty" xml:"supplement,omitempty"`
	// 排查时间
	CheckTime string `json:"check_time,omitempty" xml:"check_time,omitempty"`
	// 资质内容id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 用户id
	UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"`
	// 广告主类别(0-淘宝,1-天猫,2-dsp公司,3-dsp个人)
	UserType int64 `json:"user_type,omitempty" xml:"user_type,omitempty"`
	// 资质模板元素id
	ElementId int64 `json:"element_id,omitempty" xml:"element_id,omitempty"`
	// -1=已过期,0=待生效,1=生效中,2=即将过期
	EffectiveStatus int64 `json:"effective_status,omitempty" xml:"effective_status,omitempty"`
	// 资质审核状态 -1=拒绝,0=待审核,1=通过
	AuditStatus int64 `json:"audit_status,omitempty" xml:"audit_status,omitempty"`
	// dspid,淘系内部产品也统一成dsp
	DspId int64 `json:"dsp_id,omitempty" xml:"dsp_id,omitempty"`
}

QualificationDto 结构体

type QualificationQuery

type QualificationQuery struct {
	// tanx系统广告主表userId,查询时和user_names选其一
	UserIds []int64 `json:"user_ids,omitempty" xml:"user_ids>int64,omitempty"`
	// 广告主名称,淘系用户为旺旺名称,非淘系客户为营业执照上的名称。查询时和user_ids请只选其一
	UserNames []string `json:"user_names,omitempty" xml:"user_names>string,omitempty"`
	// 查询时包含的资质元素id列表
	ElementIds []int64 `json:"element_ids,omitempty" xml:"element_ids>int64,omitempty"`
	// 资质元素id
	Ids []int64 `json:"ids,omitempty" xml:"ids>int64,omitempty"`
	// 生效时间左区间
	StartTimeBegin string `json:"start_time_begin,omitempty" xml:"start_time_begin,omitempty"`
	// 排序字段
	OrderBy string `json:"order_by,omitempty" xml:"order_by,omitempty"`
	// 失效时间左区间
	EndTimeEnd string `json:"end_time_end,omitempty" xml:"end_time_end,omitempty"`
	// 生效时间右区间
	StartTimeEnd string `json:"start_time_end,omitempty" xml:"start_time_end,omitempty"`
	// 创建时间右区间
	CreateTimeEnd string `json:"create_time_end,omitempty" xml:"create_time_end,omitempty"`
	// 审核时间左区间
	AuditTimeBegin string `json:"audit_time_begin,omitempty" xml:"audit_time_begin,omitempty"`
	// 审核时间右区间
	AuditTimeEnd string `json:"audit_time_end,omitempty" xml:"audit_time_end,omitempty"`
	// 失效时间右区间
	EndTimeBegin string `json:"end_time_begin,omitempty" xml:"end_time_begin,omitempty"`
	// 创建时间左区间
	CreateTimeBegin string `json:"create_time_begin,omitempty" xml:"create_time_begin,omitempty"`
	// 资质生效状态(该状态值是根据不能在新增资质时设置)-1=已过期,0=待生效,1=生效中,2=即将过期
	EffectiveStatus int64 `json:"effective_status,omitempty" xml:"effective_status,omitempty"`
	// 客户类型 1-淘系,2-非淘系dsp公司,3-非淘系dsp个人
	UserType int64 `json:"user_type,omitempty" xml:"user_type,omitempty"`
	// 审核状态 -1=拒绝,0=待审核,1=通过
	AuditStatus int64 `json:"audit_status,omitempty" xml:"audit_status,omitempty"`
	// 正序还是倒序 1是正,0是倒
	Asc int64 `json:"asc,omitempty" xml:"asc,omitempty"`
}

QualificationQuery 结构体

type TaobaotanxauditcreativeaddAPIRequest added in v1.3.1

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

TaobaotanxauditcreativeaddAPIRequest 创意预审新增接口 API请求 taobao.tanx.audit.creative.add

创意预审新增接口

func NewTaobaotanxauditcreativeaddRequest added in v1.3.1

func NewTaobaotanxauditcreativeaddRequest() *TaobaotanxauditcreativeaddAPIRequest

NewTaobaotanxauditcreativeaddRequest 初始化TaobaotanxauditcreativeaddAPIRequest对象

func (TaobaotanxauditcreativeaddAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaotanxauditcreativeaddAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaotanxauditcreativeaddAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaotanxauditcreativeaddAPIRequest) GetCreative added in v1.3.1

GetCreative Creative Getter

func (TaobaotanxauditcreativeaddAPIRequest) GetMemberId added in v1.3.1

GetMemberId MemberId Getter

func (TaobaotanxauditcreativeaddAPIRequest) GetRawParams added in v1.3.1

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

func (TaobaotanxauditcreativeaddAPIRequest) GetSignTime added in v1.3.1

GetSignTime SignTime Getter

func (TaobaotanxauditcreativeaddAPIRequest) GetToken added in v1.3.1

GetToken Token Getter

func (*TaobaotanxauditcreativeaddAPIRequest) SetCreative added in v1.3.1

func (r *TaobaotanxauditcreativeaddAPIRequest) SetCreative(_creative *CreativeParamDto) error

SetCreative is Creative Setter 预审核创意对象

func (*TaobaotanxauditcreativeaddAPIRequest) SetMemberId added in v1.3.1

func (r *TaobaotanxauditcreativeaddAPIRequest) SetMemberId(_memberId int64) error

SetMemberId is MemberId Setter DSP的memberId

func (*TaobaotanxauditcreativeaddAPIRequest) SetSignTime added in v1.3.1

func (r *TaobaotanxauditcreativeaddAPIRequest) SetSignTime(_signTime int64) error

SetSignTime is SignTime Setter 当前时间戳,1970-01-01后的秒数

func (*TaobaotanxauditcreativeaddAPIRequest) SetToken added in v1.3.1

SetToken is Token Setter dsp用户身份认证的TOKEN

type TaobaotanxauditcreativeaddAPIResponse added in v1.3.1

type TaobaotanxauditcreativeaddAPIResponse struct {
	model.CommonResponse
	TaobaotanxauditcreativeaddAPIResponseModel
}

TaobaotanxauditcreativeaddAPIResponse 创意预审新增接口 API返回值 taobao.tanx.audit.creative.add

创意预审新增接口

type TaobaotanxauditcreativeaddAPIResponseModel added in v1.3.1

type TaobaotanxauditcreativeaddAPIResponseModel struct {
	XMLName xml.Name `xml:"tanx_audit_creative_add_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 调用的成功信息或失败信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 调用返回码
	TanxErrorCode int64 `json:"tanx_error_code,omitempty" xml:"tanx_error_code,omitempty"`
	// 是否成功
	IsOk bool `json:"is_ok,omitempty" xml:"is_ok,omitempty"`
}

TaobaotanxauditcreativeaddAPIResponseModel is 创意预审新增接口 成功返回结果

type TaobaotanxauditcreativemodifyAPIRequest added in v1.3.1

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

TaobaotanxauditcreativemodifyAPIRequest 创意修改接口 API请求 taobao.tanx.audit.creative.modify

创意修改接口

func NewTaobaotanxauditcreativemodifyRequest added in v1.3.1

func NewTaobaotanxauditcreativemodifyRequest() *TaobaotanxauditcreativemodifyAPIRequest

NewTaobaotanxauditcreativemodifyRequest 初始化TaobaotanxauditcreativemodifyAPIRequest对象

func (TaobaotanxauditcreativemodifyAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaotanxauditcreativemodifyAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaotanxauditcreativemodifyAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaotanxauditcreativemodifyAPIRequest) GetMemberId added in v1.3.1

GetMemberId MemberId Getter

func (TaobaotanxauditcreativemodifyAPIRequest) GetRawParams added in v1.3.1

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

func (TaobaotanxauditcreativemodifyAPIRequest) GetSignTime added in v1.3.1

GetSignTime SignTime Getter

func (TaobaotanxauditcreativemodifyAPIRequest) GetToken added in v1.3.1

GetToken Token Getter

func (*TaobaotanxauditcreativemodifyAPIRequest) SetMemberId added in v1.3.1

func (r *TaobaotanxauditcreativemodifyAPIRequest) SetMemberId(_memberId int64) error

SetMemberId is MemberId Setter DSP用户ID

func (*TaobaotanxauditcreativemodifyAPIRequest) SetSignTime added in v1.3.1

func (r *TaobaotanxauditcreativemodifyAPIRequest) SetSignTime(_signTime int64) error

SetSignTime is SignTime Setter 当前时间戳,1970-01-01后的秒数

func (*TaobaotanxauditcreativemodifyAPIRequest) SetToken added in v1.3.1

SetToken is Token Setter dsp用户身份认证的TOKEN

type TaobaotanxauditcreativemodifyAPIResponse added in v1.3.1

type TaobaotanxauditcreativemodifyAPIResponse struct {
	model.CommonResponse
	TaobaotanxauditcreativemodifyAPIResponseModel
}

TaobaotanxauditcreativemodifyAPIResponse 创意修改接口 API返回值 taobao.tanx.audit.creative.modify

创意修改接口

type TaobaotanxauditcreativemodifyAPIResponseModel added in v1.3.1

type TaobaotanxauditcreativemodifyAPIResponseModel struct {
	XMLName xml.Name `xml:"tanx_audit_creative_modify_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 调用的成功信息或失败信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 调用返回码
	TanxErrorCode int64 `json:"tanx_error_code,omitempty" xml:"tanx_error_code,omitempty"`
	// 是否成功
	IsOk bool `json:"is_ok,omitempty" xml:"is_ok,omitempty"`
}

TaobaotanxauditcreativemodifyAPIResponseModel is 创意修改接口 成功返回结果

type TaobaotanxauditdepositcreativeaddAPIRequest added in v1.3.1

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

TaobaotanxauditdepositcreativeaddAPIRequest dsp托管创意新增接口 API请求 taobao.tanx.audit.depositcreative.add

dsp托管创意新增接口

func NewTaobaotanxauditdepositcreativeaddRequest added in v1.3.1

func NewTaobaotanxauditdepositcreativeaddRequest() *TaobaotanxauditdepositcreativeaddAPIRequest

NewTaobaotanxauditdepositcreativeaddRequest 初始化TaobaotanxauditdepositcreativeaddAPIRequest对象

func (TaobaotanxauditdepositcreativeaddAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaotanxauditdepositcreativeaddAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaotanxauditdepositcreativeaddAPIRequest) GetCreative added in v1.3.1

GetCreative Creative Getter

func (TaobaotanxauditdepositcreativeaddAPIRequest) GetMemberId added in v1.3.1

GetMemberId MemberId Getter

func (TaobaotanxauditdepositcreativeaddAPIRequest) GetRawParams added in v1.3.1

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

func (TaobaotanxauditdepositcreativeaddAPIRequest) GetSignTime added in v1.3.1

GetSignTime SignTime Getter

func (TaobaotanxauditdepositcreativeaddAPIRequest) GetToken added in v1.3.1

GetToken Token Getter

func (*TaobaotanxauditdepositcreativeaddAPIRequest) SetCreative added in v1.3.1

SetCreative is Creative Setter 托管创意信息

func (*TaobaotanxauditdepositcreativeaddAPIRequest) SetMemberId added in v1.3.1

func (r *TaobaotanxauditdepositcreativeaddAPIRequest) SetMemberId(_memberId int64) error

SetMemberId is MemberId Setter DSP的memberId

func (*TaobaotanxauditdepositcreativeaddAPIRequest) SetSignTime added in v1.3.1

func (r *TaobaotanxauditdepositcreativeaddAPIRequest) SetSignTime(_signTime int64) error

SetSignTime is SignTime Setter 当前时间戳,1970-01-01后的秒数

func (*TaobaotanxauditdepositcreativeaddAPIRequest) SetToken added in v1.3.1

SetToken is Token Setter dsp用户身份认证的TOKEN

type TaobaotanxauditdepositcreativeaddAPIResponse added in v1.3.1

type TaobaotanxauditdepositcreativeaddAPIResponse struct {
	model.CommonResponse
	TaobaotanxauditdepositcreativeaddAPIResponseModel
}

TaobaotanxauditdepositcreativeaddAPIResponse dsp托管创意新增接口 API返回值 taobao.tanx.audit.depositcreative.add

dsp托管创意新增接口

type TaobaotanxauditdepositcreativeaddAPIResponseModel added in v1.3.1

type TaobaotanxauditdepositcreativeaddAPIResponseModel struct {
	XMLName xml.Name `xml:"tanx_audit_depositcreative_add_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 调用的成功信息或失败信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 调用返回码
	TanxErrorCode int64 `json:"tanx_error_code,omitempty" xml:"tanx_error_code,omitempty"`
	// 是否成功
	IsOk bool `json:"is_ok,omitempty" xml:"is_ok,omitempty"`
}

TaobaotanxauditdepositcreativeaddAPIResponseModel is dsp托管创意新增接口 成功返回结果

type TaobaotanxbiddingrefusesgetAPIRequest added in v1.3.1

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

TaobaotanxbiddingrefusesgetAPIRequest tanx竞价失败反馈api API请求 taobao.tanx.biddingrefuses.get

竞价失败反馈根据创意id查询API提供

func NewTaobaotanxbiddingrefusesgetRequest added in v1.3.1

func NewTaobaotanxbiddingrefusesgetRequest() *TaobaotanxbiddingrefusesgetAPIRequest

NewTaobaotanxbiddingrefusesgetRequest 初始化TaobaotanxbiddingrefusesgetAPIRequest对象

func (TaobaotanxbiddingrefusesgetAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaotanxbiddingrefusesgetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaotanxbiddingrefusesgetAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaotanxbiddingrefusesgetAPIRequest) GetCreativeIds added in v1.3.1

func (r TaobaotanxbiddingrefusesgetAPIRequest) GetCreativeIds() []string

GetCreativeIds CreativeIds Getter

func (TaobaotanxbiddingrefusesgetAPIRequest) GetEndTime added in v1.3.1

GetEndTime EndTime Getter

func (TaobaotanxbiddingrefusesgetAPIRequest) GetMemberId added in v1.3.1

GetMemberId MemberId Getter

func (TaobaotanxbiddingrefusesgetAPIRequest) GetRawParams added in v1.3.1

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

func (TaobaotanxbiddingrefusesgetAPIRequest) GetSignTime added in v1.3.1

GetSignTime SignTime Getter

func (TaobaotanxbiddingrefusesgetAPIRequest) GetStartTime added in v1.3.1

GetStartTime StartTime Getter

func (TaobaotanxbiddingrefusesgetAPIRequest) GetToken added in v1.3.1

GetToken Token Getter

func (*TaobaotanxbiddingrefusesgetAPIRequest) SetCreativeIds added in v1.3.1

func (r *TaobaotanxbiddingrefusesgetAPIRequest) SetCreativeIds(_creativeIds []string) error

SetCreativeIds is CreativeIds Setter dsp的创意id

func (*TaobaotanxbiddingrefusesgetAPIRequest) SetEndTime added in v1.3.1

func (r *TaobaotanxbiddingrefusesgetAPIRequest) SetEndTime(_endTime string) error

SetEndTime is EndTime Setter 截止时间

func (*TaobaotanxbiddingrefusesgetAPIRequest) SetMemberId added in v1.3.1

func (r *TaobaotanxbiddingrefusesgetAPIRequest) SetMemberId(_memberId int64) error

SetMemberId is MemberId Setter dsp在tanx的memberid

func (*TaobaotanxbiddingrefusesgetAPIRequest) SetSignTime added in v1.3.1

func (r *TaobaotanxbiddingrefusesgetAPIRequest) SetSignTime(_signTime int64) error

SetSignTime is SignTime Setter 1970年到现在的毫秒

func (*TaobaotanxbiddingrefusesgetAPIRequest) SetStartTime added in v1.3.1

func (r *TaobaotanxbiddingrefusesgetAPIRequest) SetStartTime(_startTime string) error

SetStartTime is StartTime Setter 起始时间

func (*TaobaotanxbiddingrefusesgetAPIRequest) SetToken added in v1.3.1

SetToken is Token Setter dsp对应的tanx的token

type TaobaotanxbiddingrefusesgetAPIResponse added in v1.3.1

type TaobaotanxbiddingrefusesgetAPIResponse struct {
	model.CommonResponse
	TaobaotanxbiddingrefusesgetAPIResponseModel
}

TaobaotanxbiddingrefusesgetAPIResponse tanx竞价失败反馈api API返回值 taobao.tanx.biddingrefuses.get

竞价失败反馈根据创意id查询API提供

type TaobaotanxbiddingrefusesgetAPIResponseModel added in v1.3.1

type TaobaotanxbiddingrefusesgetAPIResponseModel struct {
	XMLName xml.Name `xml:"tanx_biddingrefuses_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回竞价失败对象信息
	BiddingRefuseList []BiddingRefuseDto `json:"bidding_refuse_list,omitempty" xml:"bidding_refuse_list>bidding_refuse_dto,omitempty"`
	// 返回是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaotanxbiddingrefusesgetAPIResponseModel is tanx竞价失败反馈api 成功返回结果

type TaobaotanxcreativegetAPIRequest added in v1.3.1

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

TaobaotanxcreativegetAPIRequest 获取单个审核创意状态 API请求 taobao.tanx.creative.get

获取单个审核创意状态

func NewTaobaotanxcreativegetRequest added in v1.3.1

func NewTaobaotanxcreativegetRequest() *TaobaotanxcreativegetAPIRequest

NewTaobaotanxcreativegetRequest 初始化TaobaotanxcreativegetAPIRequest对象

func (TaobaotanxcreativegetAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaotanxcreativegetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaotanxcreativegetAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaotanxcreativegetAPIRequest) GetCreativeId added in v1.3.1

func (r TaobaotanxcreativegetAPIRequest) GetCreativeId() string

GetCreativeId CreativeId Getter

func (TaobaotanxcreativegetAPIRequest) GetMemberId added in v1.3.1

func (r TaobaotanxcreativegetAPIRequest) GetMemberId() int64

GetMemberId MemberId Getter

func (TaobaotanxcreativegetAPIRequest) GetRawParams added in v1.3.1

func (r TaobaotanxcreativegetAPIRequest) GetRawParams() model.Params

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

func (TaobaotanxcreativegetAPIRequest) GetSignTime added in v1.3.1

func (r TaobaotanxcreativegetAPIRequest) GetSignTime() int64

GetSignTime SignTime Getter

func (TaobaotanxcreativegetAPIRequest) GetToken added in v1.3.1

GetToken Token Getter

func (*TaobaotanxcreativegetAPIRequest) SetCreativeId added in v1.3.1

func (r *TaobaotanxcreativegetAPIRequest) SetCreativeId(_creativeId string) error

SetCreativeId is CreativeId Setter 创意ID

func (*TaobaotanxcreativegetAPIRequest) SetMemberId added in v1.3.1

func (r *TaobaotanxcreativegetAPIRequest) SetMemberId(_memberId int64) error

SetMemberId is MemberId Setter DSP的memberId

func (*TaobaotanxcreativegetAPIRequest) SetSignTime added in v1.3.1

func (r *TaobaotanxcreativegetAPIRequest) SetSignTime(_signTime int64) error

SetSignTime is SignTime Setter 当前时间戳,1970-01-01后的秒数

func (*TaobaotanxcreativegetAPIRequest) SetToken added in v1.3.1

func (r *TaobaotanxcreativegetAPIRequest) SetToken(_token string) error

SetToken is Token Setter dsp用户身份认证的TOKEN

type TaobaotanxcreativegetAPIResponse added in v1.3.1

type TaobaotanxcreativegetAPIResponse struct {
	model.CommonResponse
	TaobaotanxcreativegetAPIResponseModel
}

TaobaotanxcreativegetAPIResponse 获取单个审核创意状态 API返回值 taobao.tanx.creative.get

获取单个审核创意状态

type TaobaotanxcreativegetAPIResponseModel added in v1.3.1

type TaobaotanxcreativegetAPIResponseModel struct {
	XMLName xml.Name `xml:"tanx_creative_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 调用的成功信息或失败信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 调用返回码
	TanxErrorCode int64 `json:"tanx_error_code,omitempty" xml:"tanx_error_code,omitempty"`
	// 创意查询返回结果列表
	Result *CreativeAuditDto `json:"result,omitempty" xml:"result,omitempty"`
	// 是否成功
	IsOk bool `json:"is_ok,omitempty" xml:"is_ok,omitempty"`
}

TaobaotanxcreativegetAPIResponseModel is 获取单个审核创意状态 成功返回结果

type TaobaotanxcreativesgetAPIRequest added in v1.3.1

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

TaobaotanxcreativesgetAPIRequest 批量获取DSP用户的创意审核结果 API请求 taobao.tanx.creatives.get

批量获取DSP用户的创意审核结果

func NewTaobaotanxcreativesgetRequest added in v1.3.1

func NewTaobaotanxcreativesgetRequest() *TaobaotanxcreativesgetAPIRequest

NewTaobaotanxcreativesgetRequest 初始化TaobaotanxcreativesgetAPIRequest对象

func (TaobaotanxcreativesgetAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaotanxcreativesgetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaotanxcreativesgetAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaotanxcreativesgetAPIRequest) GetMemberId added in v1.3.1

func (r TaobaotanxcreativesgetAPIRequest) GetMemberId() int64

GetMemberId MemberId Getter

func (TaobaotanxcreativesgetAPIRequest) GetPage added in v1.3.1

GetPage Page Getter

func (TaobaotanxcreativesgetAPIRequest) GetRawParams added in v1.3.1

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

func (TaobaotanxcreativesgetAPIRequest) GetSignTime added in v1.3.1

func (r TaobaotanxcreativesgetAPIRequest) GetSignTime() int64

GetSignTime SignTime Getter

func (TaobaotanxcreativesgetAPIRequest) GetStatus added in v1.3.1

GetStatus Status Getter

func (TaobaotanxcreativesgetAPIRequest) GetToken added in v1.3.1

GetToken Token Getter

func (TaobaotanxcreativesgetAPIRequest) GetType added in v1.3.1

GetType Type Getter

func (*TaobaotanxcreativesgetAPIRequest) SetMemberId added in v1.3.1

func (r *TaobaotanxcreativesgetAPIRequest) SetMemberId(_memberId int64) error

SetMemberId is MemberId Setter DSP的memberId

func (*TaobaotanxcreativesgetAPIRequest) SetPage added in v1.3.1

func (r *TaobaotanxcreativesgetAPIRequest) SetPage(_page int64) error

SetPage is Page Setter 分页的页码(第一页为1)

func (*TaobaotanxcreativesgetAPIRequest) SetSignTime added in v1.3.1

func (r *TaobaotanxcreativesgetAPIRequest) SetSignTime(_signTime int64) error

SetSignTime is SignTime Setter 当前时间戳,1970-01-01后的秒数

func (*TaobaotanxcreativesgetAPIRequest) SetStatus added in v1.3.1

func (r *TaobaotanxcreativesgetAPIRequest) SetStatus(_status string) error

SetStatus is Status Setter 创意的状态(全部ALL,通过PASS,拒绝REFUSE,未审核WAITING)

func (*TaobaotanxcreativesgetAPIRequest) SetToken added in v1.3.1

func (r *TaobaotanxcreativesgetAPIRequest) SetToken(_token string) error

SetToken is Token Setter dsp用户身份认证的TOKEN

func (*TaobaotanxcreativesgetAPIRequest) SetType added in v1.3.1

func (r *TaobaotanxcreativesgetAPIRequest) SetType(_type int64) error

SetType is Type Setter 所选创意的类型。1-->普通类型, 2-->视频贴片, 0 -->优先查询普通类型,无结果则查询视频贴片类型

type TaobaotanxcreativesgetAPIResponse added in v1.3.1

type TaobaotanxcreativesgetAPIResponse struct {
	model.CommonResponse
	TaobaotanxcreativesgetAPIResponseModel
}

TaobaotanxcreativesgetAPIResponse 批量获取DSP用户的创意审核结果 API返回值 taobao.tanx.creatives.get

批量获取DSP用户的创意审核结果

type TaobaotanxcreativesgetAPIResponseModel added in v1.3.1

type TaobaotanxcreativesgetAPIResponseModel struct {
	XMLName xml.Name `xml:"tanx_creatives_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回的创意列表
	Results []CreativeDto `json:"results,omitempty" xml:"results>creative_dto,omitempty"`
	// 调用的成功信息或失败信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 调用返回码
	TanxErrorCode int64 `json:"tanx_error_code,omitempty" xml:"tanx_error_code,omitempty"`
	// 调用是否成功
	IsOk bool `json:"is_ok,omitempty" xml:"is_ok,omitempty"`
}

TaobaotanxcreativesgetAPIResponseModel is 批量获取DSP用户的创意审核结果 成功返回结果

type TaobaotanxdealgetAPIRequest added in v1.3.1

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

TaobaotanxdealgetAPIRequest 对外部dsp提供交易id查询接口 API请求 taobao.tanx.deal.get

对外部dsp提供交易id查询接口

func NewTaobaotanxdealgetRequest added in v1.3.1

func NewTaobaotanxdealgetRequest() *TaobaotanxdealgetAPIRequest

NewTaobaotanxdealgetRequest 初始化TaobaotanxdealgetAPIRequest对象

func (TaobaotanxdealgetAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaotanxdealgetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaotanxdealgetAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaotanxdealgetAPIRequest) GetDealId added in v1.3.1

func (r TaobaotanxdealgetAPIRequest) GetDealId() int64

GetDealId DealId Getter

func (TaobaotanxdealgetAPIRequest) GetDspId added in v1.3.1

func (r TaobaotanxdealgetAPIRequest) GetDspId() int64

GetDspId DspId Getter

func (TaobaotanxdealgetAPIRequest) GetRawParams added in v1.3.1

func (r TaobaotanxdealgetAPIRequest) GetRawParams() model.Params

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

func (TaobaotanxdealgetAPIRequest) GetSignTime added in v1.3.1

func (r TaobaotanxdealgetAPIRequest) GetSignTime() int64

GetSignTime SignTime Getter

func (TaobaotanxdealgetAPIRequest) GetToken added in v1.3.1

func (r TaobaotanxdealgetAPIRequest) GetToken() string

GetToken Token Getter

func (*TaobaotanxdealgetAPIRequest) SetDealId added in v1.3.1

func (r *TaobaotanxdealgetAPIRequest) SetDealId(_dealId int64) error

SetDealId is DealId Setter 交易id

func (*TaobaotanxdealgetAPIRequest) SetDspId added in v1.3.1

func (r *TaobaotanxdealgetAPIRequest) SetDspId(_dspId int64) error

SetDspId is DspId Setter dsp用户id

func (*TaobaotanxdealgetAPIRequest) SetSignTime added in v1.3.1

func (r *TaobaotanxdealgetAPIRequest) SetSignTime(_signTime int64) error

SetSignTime is SignTime Setter 1970年到现在的时间,毫秒

func (*TaobaotanxdealgetAPIRequest) SetToken added in v1.3.1

func (r *TaobaotanxdealgetAPIRequest) SetToken(_token string) error

SetToken is Token Setter 验证token

type TaobaotanxdealgetAPIResponse added in v1.3.1

type TaobaotanxdealgetAPIResponse struct {
	model.CommonResponse
	TaobaotanxdealgetAPIResponseModel
}

TaobaotanxdealgetAPIResponse 对外部dsp提供交易id查询接口 API返回值 taobao.tanx.deal.get

对外部dsp提供交易id查询接口

type TaobaotanxdealgetAPIResponseModel added in v1.3.1

type TaobaotanxdealgetAPIResponseModel struct {
	XMLName xml.Name `xml:"tanx_deal_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果信息
	Messag string `json:"messag,omitempty" xml:"messag,omitempty"`
	// 结果代码
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
	// 查询结果
	Result *DealInfoDto `json:"result,omitempty" xml:"result,omitempty"`
	// 查询结果
	Sucess bool `json:"sucess,omitempty" xml:"sucess,omitempty"`
}

TaobaotanxdealgetAPIResponseModel is 对外部dsp提供交易id查询接口 成功返回结果

type TaobaotanxnativetemplatesgetAPIRequest added in v1.3.1

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

TaobaotanxnativetemplatesgetAPIRequest 批量获取本地模板信息 API请求 taobao.tanx.nativetemplates.get

根据传入的本地模板ID批量返回本地模板

func NewTaobaotanxnativetemplatesgetRequest added in v1.3.1

func NewTaobaotanxnativetemplatesgetRequest() *TaobaotanxnativetemplatesgetAPIRequest

NewTaobaotanxnativetemplatesgetRequest 初始化TaobaotanxnativetemplatesgetAPIRequest对象

func (TaobaotanxnativetemplatesgetAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaotanxnativetemplatesgetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaotanxnativetemplatesgetAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaotanxnativetemplatesgetAPIRequest) GetMemberId added in v1.3.1

GetMemberId MemberId Getter

func (TaobaotanxnativetemplatesgetAPIRequest) GetRawParams added in v1.3.1

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

func (TaobaotanxnativetemplatesgetAPIRequest) GetSignTime added in v1.3.1

GetSignTime SignTime Getter

func (TaobaotanxnativetemplatesgetAPIRequest) GetTemplateIds added in v1.3.1

func (r TaobaotanxnativetemplatesgetAPIRequest) GetTemplateIds() []int64

GetTemplateIds TemplateIds Getter

func (TaobaotanxnativetemplatesgetAPIRequest) GetToken added in v1.3.1

GetToken Token Getter

func (*TaobaotanxnativetemplatesgetAPIRequest) SetMemberId added in v1.3.1

func (r *TaobaotanxnativetemplatesgetAPIRequest) SetMemberId(_memberId int64) error

SetMemberId is MemberId Setter dsp在tanx的memberid

func (*TaobaotanxnativetemplatesgetAPIRequest) SetSignTime added in v1.3.1

func (r *TaobaotanxnativetemplatesgetAPIRequest) SetSignTime(_signTime int64) error

SetSignTime is SignTime Setter 1970年到现在的毫秒

func (*TaobaotanxnativetemplatesgetAPIRequest) SetTemplateIds added in v1.3.1

func (r *TaobaotanxnativetemplatesgetAPIRequest) SetTemplateIds(_templateIds []int64) error

SetTemplateIds is TemplateIds Setter 本地模板ID列表

func (*TaobaotanxnativetemplatesgetAPIRequest) SetToken added in v1.3.1

SetToken is Token Setter dsp对应的tanx的token

type TaobaotanxnativetemplatesgetAPIResponse added in v1.3.1

type TaobaotanxnativetemplatesgetAPIResponse struct {
	model.CommonResponse
	TaobaotanxnativetemplatesgetAPIResponseModel
}

TaobaotanxnativetemplatesgetAPIResponse 批量获取本地模板信息 API返回值 taobao.tanx.nativetemplates.get

根据传入的本地模板ID批量返回本地模板

type TaobaotanxnativetemplatesgetAPIResponseModel added in v1.3.1

type TaobaotanxnativetemplatesgetAPIResponseModel struct {
	XMLName xml.Name `xml:"tanx_nativetemplates_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 本地模板列表
	NativeTemplateList []NativeTemplateDto `json:"native_template_list,omitempty" xml:"native_template_list>native_template_dto,omitempty"`
	// 是否成功
	IsOk bool `json:"is_ok,omitempty" xml:"is_ok,omitempty"`
}

TaobaotanxnativetemplatesgetAPIResponseModel is 批量获取本地模板信息 成功返回结果

type TaobaotanxqualificationfindAPIRequest added in v1.3.1

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

TaobaotanxqualificationfindAPIRequest 资质查询接口 API请求 taobao.tanx.qualification.find

资质查询接口

func NewTaobaotanxqualificationfindRequest added in v1.3.1

func NewTaobaotanxqualificationfindRequest() *TaobaotanxqualificationfindAPIRequest

NewTaobaotanxqualificationfindRequest 初始化TaobaotanxqualificationfindAPIRequest对象

func (TaobaotanxqualificationfindAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaotanxqualificationfindAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaotanxqualificationfindAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaotanxqualificationfindAPIRequest) GetMemberId added in v1.3.1

GetMemberId MemberId Getter

func (TaobaotanxqualificationfindAPIRequest) GetPage added in v1.3.1

GetPage Page Getter

func (TaobaotanxqualificationfindAPIRequest) GetPageSize added in v1.3.1

GetPageSize PageSize Getter

func (TaobaotanxqualificationfindAPIRequest) GetQuery added in v1.3.1

GetQuery Query Getter

func (TaobaotanxqualificationfindAPIRequest) GetRawParams added in v1.3.1

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

func (TaobaotanxqualificationfindAPIRequest) GetSignTime added in v1.3.1

GetSignTime SignTime Getter

func (TaobaotanxqualificationfindAPIRequest) GetToken added in v1.3.1

GetToken Token Getter

func (*TaobaotanxqualificationfindAPIRequest) SetMemberId added in v1.3.1

func (r *TaobaotanxqualificationfindAPIRequest) SetMemberId(_memberId int64) error

SetMemberId is MemberId Setter dsp客户在tanx的memberId

func (*TaobaotanxqualificationfindAPIRequest) SetPage added in v1.3.1

SetPage is Page Setter 分页的第几页,从1开始

func (*TaobaotanxqualificationfindAPIRequest) SetPageSize added in v1.3.1

func (r *TaobaotanxqualificationfindAPIRequest) SetPageSize(_pageSize int64) error

SetPageSize is PageSize Setter 分页大小,限制200

func (*TaobaotanxqualificationfindAPIRequest) SetQuery added in v1.3.1

SetQuery is Query Setter 广告主资质查询dto

func (*TaobaotanxqualificationfindAPIRequest) SetSignTime added in v1.3.1

func (r *TaobaotanxqualificationfindAPIRequest) SetSignTime(_signTime int64) error

SetSignTime is SignTime Setter 当前时间,从1970年算的毫秒

func (*TaobaotanxqualificationfindAPIRequest) SetToken added in v1.3.1

SetToken is Token Setter dsp客户在tanx签名的token

type TaobaotanxqualificationfindAPIResponse added in v1.3.1

type TaobaotanxqualificationfindAPIResponse struct {
	model.CommonResponse
	TaobaotanxqualificationfindAPIResponseModel
}

TaobaotanxqualificationfindAPIResponse 资质查询接口 API返回值 taobao.tanx.qualification.find

资质查询接口

type TaobaotanxqualificationfindAPIResponseModel added in v1.3.1

type TaobaotanxqualificationfindAPIResponseModel struct {
	XMLName xml.Name `xml:"tanx_qualification_find_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回的资质内容dto
	QualificationList []QualificationDto `json:"qualification_list,omitempty" xml:"qualification_list>qualification_dto,omitempty"`
	// 查询返回总条数
	Count string `json:"count,omitempty" xml:"count,omitempty"`
	// 是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaotanxqualificationfindAPIResponseModel is 资质查询接口 成功返回结果

type TaobaotanxqualificationsolidfindAPIRequest added in v1.3.1

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

TaobaotanxqualificationsolidfindAPIRequest 客户固态共享资质 API请求 taobao.tanx.qualification.solid.find

接口会返回该广告主下的所有审核通过并且可被共享的资质,这些资质在过期之前可以不需要再次上传。

func NewTaobaotanxqualificationsolidfindRequest added in v1.3.1

func NewTaobaotanxqualificationsolidfindRequest() *TaobaotanxqualificationsolidfindAPIRequest

NewTaobaotanxqualificationsolidfindRequest 初始化TaobaotanxqualificationsolidfindAPIRequest对象

func (TaobaotanxqualificationsolidfindAPIRequest) GetAdvertiserId added in v1.3.1

GetAdvertiserId AdvertiserId Getter

func (TaobaotanxqualificationsolidfindAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaotanxqualificationsolidfindAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaotanxqualificationsolidfindAPIRequest) GetElementIds added in v1.3.1

GetElementIds ElementIds Getter

func (TaobaotanxqualificationsolidfindAPIRequest) GetMemberId added in v1.3.1

GetMemberId MemberId Getter

func (TaobaotanxqualificationsolidfindAPIRequest) GetPage added in v1.3.1

GetPage Page Getter

func (TaobaotanxqualificationsolidfindAPIRequest) GetPageSize added in v1.3.1

GetPageSize PageSize Getter

func (TaobaotanxqualificationsolidfindAPIRequest) GetRawParams added in v1.3.1

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

func (TaobaotanxqualificationsolidfindAPIRequest) GetSignTime added in v1.3.1

GetSignTime SignTime Getter

func (TaobaotanxqualificationsolidfindAPIRequest) GetToken added in v1.3.1

GetToken Token Getter

func (*TaobaotanxqualificationsolidfindAPIRequest) SetAdvertiserId added in v1.3.1

func (r *TaobaotanxqualificationsolidfindAPIRequest) SetAdvertiserId(_advertiserId int64) error

SetAdvertiserId is AdvertiserId Setter 广告主id

func (*TaobaotanxqualificationsolidfindAPIRequest) SetElementIds added in v1.3.1

func (r *TaobaotanxqualificationsolidfindAPIRequest) SetElementIds(_elementIds []int64) error

SetElementIds is ElementIds Setter 资质元素id列表

func (*TaobaotanxqualificationsolidfindAPIRequest) SetMemberId added in v1.3.1

func (r *TaobaotanxqualificationsolidfindAPIRequest) SetMemberId(_memberId int64) error

SetMemberId is MemberId Setter dsp用户id

func (*TaobaotanxqualificationsolidfindAPIRequest) SetPage added in v1.3.1

SetPage is Page Setter 查询起始页

func (*TaobaotanxqualificationsolidfindAPIRequest) SetPageSize added in v1.3.1

func (r *TaobaotanxqualificationsolidfindAPIRequest) SetPageSize(_pageSize int64) error

SetPageSize is PageSize Setter 分页大小

func (*TaobaotanxqualificationsolidfindAPIRequest) SetSignTime added in v1.3.1

func (r *TaobaotanxqualificationsolidfindAPIRequest) SetSignTime(_signTime int64) error

SetSignTime is SignTime Setter 1970年到现在的秒

func (*TaobaotanxqualificationsolidfindAPIRequest) SetToken added in v1.3.1

SetToken is Token Setter dsp客户验证token

type TaobaotanxqualificationsolidfindAPIResponse added in v1.3.1

type TaobaotanxqualificationsolidfindAPIResponse struct {
	model.CommonResponse
	TaobaotanxqualificationsolidfindAPIResponseModel
}

TaobaotanxqualificationsolidfindAPIResponse 客户固态共享资质 API返回值 taobao.tanx.qualification.solid.find

接口会返回该广告主下的所有审核通过并且可被共享的资质,这些资质在过期之前可以不需要再次上传。

type TaobaotanxqualificationsolidfindAPIResponseModel added in v1.3.1

type TaobaotanxqualificationsolidfindAPIResponseModel struct {
	XMLName xml.Name `xml:"tanx_qualification_solid_find_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回固化资质列表
	QualificationList []QualificationDto `json:"qualification_list,omitempty" xml:"qualification_list>qualification_dto,omitempty"`
	// 返回查询总数
	Count string `json:"count,omitempty" xml:"count,omitempty"`
	// 调用是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaotanxqualificationsolidfindAPIResponseModel is 客户固态共享资质 成功返回结果

Jump to

Keyboard shortcuts

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