Documentation ¶
Overview ¶
Package tbk 包含淘宝客API相关结构体
Index ¶
- type BigDecimal
- type BybtInfoDto
- type CrowdDto
- type DataMap
- type DwsUnionAppDto
- type Extra
- type FavoritesDetail
- type FavoritesInfo
- type InstanceDto
- type MaifanPromotionDto
- type MaterialDto
- type MiniProgramDto
- type NTbkItem
- type NTbkShop
- type OrderData
- type OrderPage
- type PageResult
- type PromotionExtend
- type PromotionList
- type PublisherOrderDto
- type RecommendItemList
- type RegisterInfoDto
- type RightsInstanceCreateResult
- type RightsSendRelationRptDto
- type RightsSendRptDto
- type ServiceFeeDto
- type StepRateDto
- type TaobaoTbkActivityInfoGetAPIRequest
- func (r TaobaoTbkActivityInfoGetAPIRequest) GetActivityMaterialId() string
- func (r TaobaoTbkActivityInfoGetAPIRequest) GetAdzoneId() int64
- func (r TaobaoTbkActivityInfoGetAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkActivityInfoGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkActivityInfoGetAPIRequest) GetRelationId() int64
- func (r TaobaoTbkActivityInfoGetAPIRequest) GetSubPid() string
- func (r TaobaoTbkActivityInfoGetAPIRequest) GetUnionId() string
- func (r *TaobaoTbkActivityInfoGetAPIRequest) SetActivityMaterialId(_activityMaterialId string) error
- func (r *TaobaoTbkActivityInfoGetAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaoTbkActivityInfoGetAPIRequest) SetRelationId(_relationId int64) error
- func (r *TaobaoTbkActivityInfoGetAPIRequest) SetSubPid(_subPid string) error
- func (r *TaobaoTbkActivityInfoGetAPIRequest) SetUnionId(_unionId string) error
- type TaobaoTbkActivityInfoGetAPIResponse
- type TaobaoTbkActivityInfoGetAPIResponseModel
- type TaobaoTbkActivityInfoGetData
- type TaobaoTbkCartCouponExpireUserQueryAPIRequest
- func (r TaobaoTbkCartCouponExpireUserQueryAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkCartCouponExpireUserQueryAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkCartCouponExpireUserQueryAPIRequest) GetPageNum() int64
- func (r TaobaoTbkCartCouponExpireUserQueryAPIRequest) GetPageSize() int64
- func (r TaobaoTbkCartCouponExpireUserQueryAPIRequest) GetRuleId() string
- func (r *TaobaoTbkCartCouponExpireUserQueryAPIRequest) SetPageNum(_pageNum int64) error
- func (r *TaobaoTbkCartCouponExpireUserQueryAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoTbkCartCouponExpireUserQueryAPIRequest) SetRuleId(_ruleId string) error
- type TaobaoTbkCartCouponExpireUserQueryAPIResponse
- type TaobaoTbkCartCouponExpireUserQueryAPIResponseModel
- type TaobaoTbkCartCouponExpireUserQueryMapData
- type TaobaoTbkCouponGetAPIRequest
- func (r TaobaoTbkCouponGetAPIRequest) GetActivityId() string
- func (r TaobaoTbkCouponGetAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkCouponGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkCouponGetAPIRequest) GetItemId() string
- func (r TaobaoTbkCouponGetAPIRequest) GetMe() string
- func (r *TaobaoTbkCouponGetAPIRequest) SetActivityId(_activityId string) error
- func (r *TaobaoTbkCouponGetAPIRequest) SetItemId(_itemId string) error
- func (r *TaobaoTbkCouponGetAPIRequest) SetMe(_me string) error
- type TaobaoTbkCouponGetAPIResponse
- type TaobaoTbkCouponGetAPIResponseModel
- type TaobaoTbkCouponGetMapData
- type TaobaoTbkDgCpaActivityDetailAPIRequest
- func (r TaobaoTbkDgCpaActivityDetailAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkDgCpaActivityDetailAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkDgCpaActivityDetailAPIRequest) GetEventId() int64
- func (r TaobaoTbkDgCpaActivityDetailAPIRequest) GetIndicatorAlias() string
- func (r TaobaoTbkDgCpaActivityDetailAPIRequest) GetPageNo() int64
- func (r TaobaoTbkDgCpaActivityDetailAPIRequest) GetPageSize() int64
- func (r TaobaoTbkDgCpaActivityDetailAPIRequest) GetQueryType() int64
- func (r TaobaoTbkDgCpaActivityDetailAPIRequest) GetRuntime() string
- func (r TaobaoTbkDgCpaActivityDetailAPIRequest) GetStartId() int64
- func (r *TaobaoTbkDgCpaActivityDetailAPIRequest) SetEventId(_eventId int64) error
- func (r *TaobaoTbkDgCpaActivityDetailAPIRequest) SetIndicatorAlias(_indicatorAlias string) error
- func (r *TaobaoTbkDgCpaActivityDetailAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoTbkDgCpaActivityDetailAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoTbkDgCpaActivityDetailAPIRequest) SetQueryType(_queryType int64) error
- func (r *TaobaoTbkDgCpaActivityDetailAPIRequest) SetRuntime(_runtime string) error
- func (r *TaobaoTbkDgCpaActivityDetailAPIRequest) SetStartId(_startId int64) error
- type TaobaoTbkDgCpaActivityDetailAPIResponse
- type TaobaoTbkDgCpaActivityDetailAPIResponseModel
- type TaobaoTbkDgCpaActivityDetailResult
- type TaobaoTbkDgCpaActivityDetailResults
- type TaobaoTbkDgCpaActivityReportAPIRequest
- func (r TaobaoTbkDgCpaActivityReportAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkDgCpaActivityReportAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkDgCpaActivityReportAPIRequest) GetBizDate() string
- func (r TaobaoTbkDgCpaActivityReportAPIRequest) GetEventId() int64
- func (r TaobaoTbkDgCpaActivityReportAPIRequest) GetPageNo() int64
- func (r TaobaoTbkDgCpaActivityReportAPIRequest) GetPageSize() int64
- func (r TaobaoTbkDgCpaActivityReportAPIRequest) GetPid() string
- func (r TaobaoTbkDgCpaActivityReportAPIRequest) GetQueryType() int64
- func (r TaobaoTbkDgCpaActivityReportAPIRequest) GetRelationId() int64
- func (r *TaobaoTbkDgCpaActivityReportAPIRequest) SetBizDate(_bizDate string) error
- func (r *TaobaoTbkDgCpaActivityReportAPIRequest) SetEventId(_eventId int64) error
- func (r *TaobaoTbkDgCpaActivityReportAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoTbkDgCpaActivityReportAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoTbkDgCpaActivityReportAPIRequest) SetPid(_pid string) error
- func (r *TaobaoTbkDgCpaActivityReportAPIRequest) SetQueryType(_queryType int64) error
- func (r *TaobaoTbkDgCpaActivityReportAPIRequest) SetRelationId(_relationId int64) error
- type TaobaoTbkDgCpaActivityReportAPIResponse
- type TaobaoTbkDgCpaActivityReportAPIResponseModel
- type TaobaoTbkDgCpaActivityReportRpcResult
- type TaobaoTbkDgMaterialOptionalAPIRequest
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetAdzoneId() int64
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetCat() string
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetCityCode() string
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetDeviceEncrypt() string
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetDeviceType() string
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetDeviceValue() string
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetEndKaTkRate() int64
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetEndPrice() int64
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetEndTkRate() int64
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetGetTopnRate() int64
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetHasCoupon() bool
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetIncludeGoodRate() bool
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetIncludePayRate30() bool
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetIncludeRfdRate() bool
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetIp() string
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetIsOverseas() bool
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetIsTmall() bool
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetItemloc() string
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetLatitude() string
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetLockRateEndTime() int64
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetLockRateStartTime() int64
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetLongitude() string
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetMaterialId() int64
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetNeedFreeShipment() bool
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetNeedPrepay() bool
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetNpxLevel() int64
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetPageNo() int64
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetPageResultKey() string
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetPageSize() int64
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetPlatform() int64
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetQ() string
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetRelationId() string
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetSellerIds() string
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetSort() string
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetSpecialId() string
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetStartDsr() int64
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetStartKaTkRate() int64
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetStartPrice() int64
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetStartTkRate() int64
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetUcrowdId() int64
- func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetUcrowdRankItems() []Ucrowdrankitems
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetCat(_cat string) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetCityCode(_cityCode string) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetDeviceEncrypt(_deviceEncrypt string) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetDeviceType(_deviceType string) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetDeviceValue(_deviceValue string) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetEndKaTkRate(_endKaTkRate int64) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetEndPrice(_endPrice int64) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetEndTkRate(_endTkRate int64) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetGetTopnRate(_getTopnRate int64) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetHasCoupon(_hasCoupon bool) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetIncludeGoodRate(_includeGoodRate bool) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetIncludePayRate30(_includePayRate30 bool) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetIncludeRfdRate(_includeRfdRate bool) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetIp(_ip string) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetIsOverseas(_isOverseas bool) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetIsTmall(_isTmall bool) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetItemloc(_itemloc string) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetLatitude(_latitude string) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetLockRateEndTime(_lockRateEndTime int64) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetLockRateStartTime(_lockRateStartTime int64) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetLongitude(_longitude string) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetMaterialId(_materialId int64) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetNeedFreeShipment(_needFreeShipment bool) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetNeedPrepay(_needPrepay bool) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetNpxLevel(_npxLevel int64) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetPageResultKey(_pageResultKey string) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetPlatform(_platform int64) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetQ(_q string) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetRelationId(_relationId string) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetSellerIds(_sellerIds string) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetSort(_sort string) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetSpecialId(_specialId string) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetStartDsr(_startDsr int64) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetStartKaTkRate(_startKaTkRate int64) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetStartPrice(_startPrice int64) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetStartTkRate(_startTkRate int64) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetUcrowdId(_ucrowdId int64) error
- func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetUcrowdRankItems(_ucrowdRankItems []Ucrowdrankitems) error
- type TaobaoTbkDgMaterialOptionalAPIResponse
- type TaobaoTbkDgMaterialOptionalAPIResponseModel
- type TaobaoTbkDgMaterialOptionalMapData
- type TaobaoTbkDgMaterialTemporaryOptionalAPIRequest
- func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetAdzoneId() int64
- func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetCat() string
- func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetCityCode() string
- func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetDeviceEncrypt() string
- func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetDeviceType() string
- func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetDeviceValue() string
- func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetEndKaTkRate() int64
- func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetEndPrice() int64
- func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetEndTkRate() int64
- func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetGetTopnRate() int64
- func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetHasCoupon() bool
- func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetIncludeGoodRate() bool
- func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetIncludePayRate30() bool
- func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetIncludeRfdRate() bool
- func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetIp() string
- func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetIsOverseas() bool
- func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetIsTmall() bool
- func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetItemloc() string
- func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetLatitude() string
- func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetLockRateEndTime() int64
- func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetLockRateStartTime() int64
- func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetLongitude() string
- func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetMaterialId() int64
- func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetNeedFreeShipment() bool
- func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetNeedPrepay() bool
- func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetNpxLevel() int64
- func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetPageNo() int64
- func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetPageResultKey() string
- func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetPageSize() int64
- func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetPlatform() int64
- func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetQ() string
- func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetRelationId() string
- func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetSellerIds() string
- func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetSort() string
- func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetSpecialId() string
- func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetStartDsr() int64
- func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetStartKaTkRate() int64
- func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetStartPrice() int64
- func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetStartTkRate() int64
- func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetUcrowdId() int64
- func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetUcrowdRankItems() []Ucrowdrankitems
- func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetCat(_cat string) error
- func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetCityCode(_cityCode string) error
- func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetDeviceEncrypt(_deviceEncrypt string) error
- func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetDeviceType(_deviceType string) error
- func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetDeviceValue(_deviceValue string) error
- func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetEndKaTkRate(_endKaTkRate int64) error
- func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetEndPrice(_endPrice int64) error
- func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetEndTkRate(_endTkRate int64) error
- func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetGetTopnRate(_getTopnRate int64) error
- func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetHasCoupon(_hasCoupon bool) error
- func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetIncludeGoodRate(_includeGoodRate bool) error
- func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetIncludePayRate30(_includePayRate30 bool) error
- func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetIncludeRfdRate(_includeRfdRate bool) error
- func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetIp(_ip string) error
- func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetIsOverseas(_isOverseas bool) error
- func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetIsTmall(_isTmall bool) error
- func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetItemloc(_itemloc string) error
- func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetLatitude(_latitude string) error
- func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetLockRateEndTime(_lockRateEndTime int64) error
- func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetLockRateStartTime(_lockRateStartTime int64) error
- func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetLongitude(_longitude string) error
- func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetMaterialId(_materialId int64) error
- func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetNeedFreeShipment(_needFreeShipment bool) error
- func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetNeedPrepay(_needPrepay bool) error
- func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetNpxLevel(_npxLevel int64) error
- func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetPageResultKey(_pageResultKey string) error
- func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetPlatform(_platform int64) error
- func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetQ(_q string) error
- func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetRelationId(_relationId string) error
- func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetSellerIds(_sellerIds string) error
- func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetSort(_sort string) error
- func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetSpecialId(_specialId string) error
- func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetStartDsr(_startDsr int64) error
- func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetStartKaTkRate(_startKaTkRate int64) error
- func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetStartPrice(_startPrice int64) error
- func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetStartTkRate(_startTkRate int64) error
- func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetUcrowdId(_ucrowdId int64) error
- func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetUcrowdRankItems(_ucrowdRankItems []Ucrowdrankitems) error
- type TaobaoTbkDgMaterialTemporaryOptionalAPIResponse
- type TaobaoTbkDgMaterialTemporaryOptionalAPIResponseModel
- type TaobaoTbkDgMaterialTemporaryOptionalMapData
- type TaobaoTbkDgNewuserOrderGetAPIRequest
- func (r TaobaoTbkDgNewuserOrderGetAPIRequest) GetActivityId() string
- func (r TaobaoTbkDgNewuserOrderGetAPIRequest) GetAdzoneId() int64
- func (r TaobaoTbkDgNewuserOrderGetAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkDgNewuserOrderGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkDgNewuserOrderGetAPIRequest) GetEndTime() string
- func (r TaobaoTbkDgNewuserOrderGetAPIRequest) GetPageNo() int64
- func (r TaobaoTbkDgNewuserOrderGetAPIRequest) GetPageSize() int64
- func (r TaobaoTbkDgNewuserOrderGetAPIRequest) GetStartTime() string
- func (r *TaobaoTbkDgNewuserOrderGetAPIRequest) SetActivityId(_activityId string) error
- func (r *TaobaoTbkDgNewuserOrderGetAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaoTbkDgNewuserOrderGetAPIRequest) SetEndTime(_endTime string) error
- func (r *TaobaoTbkDgNewuserOrderGetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoTbkDgNewuserOrderGetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoTbkDgNewuserOrderGetAPIRequest) SetStartTime(_startTime string) error
- type TaobaoTbkDgNewuserOrderGetAPIResponse
- type TaobaoTbkDgNewuserOrderGetAPIResponseModel
- type TaobaoTbkDgNewuserOrderGetData
- type TaobaoTbkDgNewuserOrderGetMapData
- type TaobaoTbkDgNewuserOrderGetResults
- type TaobaoTbkDgNewuserOrderSumAPIRequest
- func (r TaobaoTbkDgNewuserOrderSumAPIRequest) GetActivityId() string
- func (r TaobaoTbkDgNewuserOrderSumAPIRequest) GetAdzoneId() int64
- func (r TaobaoTbkDgNewuserOrderSumAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkDgNewuserOrderSumAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkDgNewuserOrderSumAPIRequest) GetPageNo() int64
- func (r TaobaoTbkDgNewuserOrderSumAPIRequest) GetPageSize() int64
- func (r TaobaoTbkDgNewuserOrderSumAPIRequest) GetSettleMonth() string
- func (r TaobaoTbkDgNewuserOrderSumAPIRequest) GetSiteId() int64
- func (r *TaobaoTbkDgNewuserOrderSumAPIRequest) SetActivityId(_activityId string) error
- func (r *TaobaoTbkDgNewuserOrderSumAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaoTbkDgNewuserOrderSumAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoTbkDgNewuserOrderSumAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoTbkDgNewuserOrderSumAPIRequest) SetSettleMonth(_settleMonth string) error
- func (r *TaobaoTbkDgNewuserOrderSumAPIRequest) SetSiteId(_siteId int64) error
- type TaobaoTbkDgNewuserOrderSumAPIResponse
- type TaobaoTbkDgNewuserOrderSumAPIResponseModel
- type TaobaoTbkDgNewuserOrderSumData
- type TaobaoTbkDgOptimusMaterialAPIRequest
- func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetAdzoneId() int64
- func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetContentId() int64
- func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetContentSource() string
- func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetDeviceEncrypt() string
- func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetDeviceType() string
- func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetDeviceValue() string
- func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetFavoritesId() string
- func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetItemId() string
- func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetMaterialId() int64
- func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetPageNo() int64
- func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetPageSize() int64
- func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetContentId(_contentId int64) error
- func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetContentSource(_contentSource string) error
- func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetDeviceEncrypt(_deviceEncrypt string) error
- func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetDeviceType(_deviceType string) error
- func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetDeviceValue(_deviceValue string) error
- func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetFavoritesId(_favoritesId string) error
- func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetItemId(_itemId string) error
- func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetMaterialId(_materialId int64) error
- func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetPageSize(_pageSize int64) error
- type TaobaoTbkDgOptimusMaterialAPIResponse
- type TaobaoTbkDgOptimusMaterialAPIResponseModel
- type TaobaoTbkDgOptimusMaterialMapData
- type TaobaoTbkDgOptimusPromotionAPIRequest
- func (r TaobaoTbkDgOptimusPromotionAPIRequest) GetAdzoneId() int64
- func (r TaobaoTbkDgOptimusPromotionAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkDgOptimusPromotionAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkDgOptimusPromotionAPIRequest) GetPageNum() int64
- func (r TaobaoTbkDgOptimusPromotionAPIRequest) GetPageSize() int64
- func (r TaobaoTbkDgOptimusPromotionAPIRequest) GetPromotionId() int64
- func (r *TaobaoTbkDgOptimusPromotionAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaoTbkDgOptimusPromotionAPIRequest) SetPageNum(_pageNum int64) error
- func (r *TaobaoTbkDgOptimusPromotionAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoTbkDgOptimusPromotionAPIRequest) SetPromotionId(_promotionId int64) error
- type TaobaoTbkDgOptimusPromotionAPIResponse
- type TaobaoTbkDgOptimusPromotionAPIResponseModel
- type TaobaoTbkDgOptimusPromotionMapData
- type TaobaoTbkDgPunishOrderGetAPIRequest
- func (r TaobaoTbkDgPunishOrderGetAPIRequest) GetAfOrderOption() *TopApiAfOrderOption
- func (r TaobaoTbkDgPunishOrderGetAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkDgPunishOrderGetAPIRequest) GetApiParams() url.Values
- func (r *TaobaoTbkDgPunishOrderGetAPIRequest) SetAfOrderOption(_afOrderOption *TopApiAfOrderOption) error
- type TaobaoTbkDgPunishOrderGetAPIResponse
- type TaobaoTbkDgPunishOrderGetAPIResponseModel
- type TaobaoTbkDgPunishOrderGetResult
- type TaobaoTbkDgPunishOrderGetRpcResult
- type TaobaoTbkDgTpwdReportGetAPIRequest
- func (r TaobaoTbkDgTpwdReportGetAPIRequest) GetAdzoneId() string
- func (r TaobaoTbkDgTpwdReportGetAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkDgTpwdReportGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkDgTpwdReportGetAPIRequest) GetTaoPassword() string
- func (r *TaobaoTbkDgTpwdReportGetAPIRequest) SetAdzoneId(_adzoneId string) error
- func (r *TaobaoTbkDgTpwdReportGetAPIRequest) SetTaoPassword(_taoPassword string) error
- type TaobaoTbkDgTpwdReportGetAPIResponse
- type TaobaoTbkDgTpwdReportGetAPIResponseModel
- type TaobaoTbkDgTpwdReportGetMapData
- type TaobaoTbkDgTpwdRiskReportAPIRequest
- func (r TaobaoTbkDgTpwdRiskReportAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkDgTpwdRiskReportAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkDgTpwdRiskReportAPIRequest) GetLimit() int64
- func (r TaobaoTbkDgTpwdRiskReportAPIRequest) GetOffset() int64
- func (r TaobaoTbkDgTpwdRiskReportAPIRequest) GetPid() string
- func (r *TaobaoTbkDgTpwdRiskReportAPIRequest) SetLimit(_limit int64) error
- func (r *TaobaoTbkDgTpwdRiskReportAPIRequest) SetOffset(_offset int64) error
- func (r *TaobaoTbkDgTpwdRiskReportAPIRequest) SetPid(_pid string) error
- type TaobaoTbkDgTpwdRiskReportAPIResponse
- type TaobaoTbkDgTpwdRiskReportAPIResponseModel
- type TaobaoTbkDgTpwdRiskReportResult
- type TaobaoTbkDgVegasSendReportAPIRequest
- func (r TaobaoTbkDgVegasSendReportAPIRequest) GetActivityId() int64
- func (r TaobaoTbkDgVegasSendReportAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkDgVegasSendReportAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkDgVegasSendReportAPIRequest) GetBizDate() string
- func (r TaobaoTbkDgVegasSendReportAPIRequest) GetPageNo() int64
- func (r TaobaoTbkDgVegasSendReportAPIRequest) GetPageSize() int64
- func (r TaobaoTbkDgVegasSendReportAPIRequest) GetRelationId() int64
- func (r *TaobaoTbkDgVegasSendReportAPIRequest) SetActivityId(_activityId int64) error
- func (r *TaobaoTbkDgVegasSendReportAPIRequest) SetBizDate(_bizDate string) error
- func (r *TaobaoTbkDgVegasSendReportAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoTbkDgVegasSendReportAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoTbkDgVegasSendReportAPIRequest) SetRelationId(_relationId int64) error
- type TaobaoTbkDgVegasSendReportAPIResponse
- type TaobaoTbkDgVegasSendReportAPIResponseModel
- type TaobaoTbkDgVegasSendReportResult
- type TaobaoTbkDgVegasSendStatusAPIRequest
- func (r TaobaoTbkDgVegasSendStatusAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkDgVegasSendStatusAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkDgVegasSendStatusAPIRequest) GetDeviceType() string
- func (r TaobaoTbkDgVegasSendStatusAPIRequest) GetDeviceValue() string
- func (r TaobaoTbkDgVegasSendStatusAPIRequest) GetPid() string
- func (r TaobaoTbkDgVegasSendStatusAPIRequest) GetRelationId() string
- func (r TaobaoTbkDgVegasSendStatusAPIRequest) GetSpecialId() string
- func (r TaobaoTbkDgVegasSendStatusAPIRequest) GetThorBizCode() string
- func (r *TaobaoTbkDgVegasSendStatusAPIRequest) SetDeviceType(_deviceType string) error
- func (r *TaobaoTbkDgVegasSendStatusAPIRequest) SetDeviceValue(_deviceValue string) error
- func (r *TaobaoTbkDgVegasSendStatusAPIRequest) SetPid(_pid string) error
- func (r *TaobaoTbkDgVegasSendStatusAPIRequest) SetRelationId(_relationId string) error
- func (r *TaobaoTbkDgVegasSendStatusAPIRequest) SetSpecialId(_specialId string) error
- func (r *TaobaoTbkDgVegasSendStatusAPIRequest) SetThorBizCode(_thorBizCode string) error
- type TaobaoTbkDgVegasSendStatusAPIResponse
- type TaobaoTbkDgVegasSendStatusAPIResponseModel
- type TaobaoTbkDgVegasSendStatusData
- type TaobaoTbkDgVegasSendStatusMapData
- type TaobaoTbkDgVegasTljCreateAPIRequest
- func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetAdzoneId() int64
- func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetCampaignType() string
- func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetItemId() string
- func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetName() string
- func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetPerFace() string
- func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetSecurityLevel() int64
- func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetSecuritySwitch() bool
- func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetSendEndTime() string
- func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetSendStartTime() string
- func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetTotalNum() int64
- func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetUseEndTime() string
- func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetUseEndTimeMode() int64
- func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetUseStartTime() string
- func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetUserTotalWinNumLimit() int64
- func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetCampaignType(_campaignType string) error
- func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetItemId(_itemId string) error
- func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetName(_name string) error
- func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetPerFace(_perFace string) error
- func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetSecurityLevel(_securityLevel int64) error
- func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetSecuritySwitch(_securitySwitch bool) error
- func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetSendEndTime(_sendEndTime string) error
- func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetSendStartTime(_sendStartTime string) error
- func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetTotalNum(_totalNum int64) error
- func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetUseEndTime(_useEndTime string) error
- func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetUseEndTimeMode(_useEndTimeMode int64) error
- func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetUseStartTime(_useStartTime string) error
- func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetUserTotalWinNumLimit(_userTotalWinNumLimit int64) error
- type TaobaoTbkDgVegasTljCreateAPIResponse
- type TaobaoTbkDgVegasTljCreateAPIResponseModel
- type TaobaoTbkDgVegasTljCreateResult
- type TaobaoTbkDgVegasTljReportAPIRequest
- func (r TaobaoTbkDgVegasTljReportAPIRequest) GetAdzoneId() int64
- func (r TaobaoTbkDgVegasTljReportAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkDgVegasTljReportAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkDgVegasTljReportAPIRequest) GetRightsId() string
- func (r *TaobaoTbkDgVegasTljReportAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaoTbkDgVegasTljReportAPIRequest) SetRightsId(_rightsId string) error
- type TaobaoTbkDgVegasTljReportAPIResponse
- type TaobaoTbkDgVegasTljReportAPIResponseModel
- type TaobaoTbkDgVegasTljStopAPIRequest
- func (r TaobaoTbkDgVegasTljStopAPIRequest) GetAdzoneId() int64
- func (r TaobaoTbkDgVegasTljStopAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkDgVegasTljStopAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkDgVegasTljStopAPIRequest) GetRightsId() string
- func (r *TaobaoTbkDgVegasTljStopAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaoTbkDgVegasTljStopAPIRequest) SetRightsId(_rightsId string) error
- type TaobaoTbkDgVegasTljStopAPIResponse
- type TaobaoTbkDgVegasTljStopAPIResponseModel
- type TaobaoTbkDgVegasTljTemporaryCreateAPIRequest
- func (r TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetAdzoneId() int64
- func (r TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetCampaignType() string
- func (r TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetItemId() string
- func (r TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetName() string
- func (r TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetPerFace() string
- func (r TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetSecurityLevel() int64
- func (r TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetSecuritySwitch() bool
- func (r TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetSendEndTime() string
- func (r TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetSendStartTime() string
- func (r TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetTotalNum() int64
- func (r TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetUseEndTime() string
- func (r TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetUseEndTimeMode() int64
- func (r TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetUseStartTime() string
- func (r TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetUserTotalWinNumLimit() int64
- func (r *TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) SetCampaignType(_campaignType string) error
- func (r *TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) SetItemId(_itemId string) error
- func (r *TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) SetName(_name string) error
- func (r *TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) SetPerFace(_perFace string) error
- func (r *TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) SetSecurityLevel(_securityLevel int64) error
- func (r *TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) SetSecuritySwitch(_securitySwitch bool) error
- func (r *TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) SetSendEndTime(_sendEndTime string) error
- func (r *TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) SetSendStartTime(_sendStartTime string) error
- func (r *TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) SetTotalNum(_totalNum int64) error
- func (r *TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) SetUseEndTime(_useEndTime string) error
- func (r *TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) SetUseEndTimeMode(_useEndTimeMode int64) error
- func (r *TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) SetUseStartTime(_useStartTime string) error
- func (r *TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) SetUserTotalWinNumLimit(_userTotalWinNumLimit int64) error
- type TaobaoTbkDgVegasTljTemporaryCreateAPIResponse
- type TaobaoTbkDgVegasTljTemporaryCreateAPIResponseModel
- type TaobaoTbkDgVegasTljTemporaryCreateResult
- type TaobaoTbkItemInfoGetAPIRequest
- func (r TaobaoTbkItemInfoGetAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkItemInfoGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkItemInfoGetAPIRequest) GetIp() string
- func (r TaobaoTbkItemInfoGetAPIRequest) GetNumIids() string
- func (r TaobaoTbkItemInfoGetAPIRequest) GetPlatform() int64
- func (r *TaobaoTbkItemInfoGetAPIRequest) SetIp(_ip string) error
- func (r *TaobaoTbkItemInfoGetAPIRequest) SetNumIids(_numIids string) error
- func (r *TaobaoTbkItemInfoGetAPIRequest) SetPlatform(_platform int64) error
- type TaobaoTbkItemInfoGetAPIResponse
- type TaobaoTbkItemInfoGetAPIResponseModel
- type TaobaoTbkItemInfoTemporaryGetAPIRequest
- func (r TaobaoTbkItemInfoTemporaryGetAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkItemInfoTemporaryGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkItemInfoTemporaryGetAPIRequest) GetIp() string
- func (r TaobaoTbkItemInfoTemporaryGetAPIRequest) GetNumIids() string
- func (r TaobaoTbkItemInfoTemporaryGetAPIRequest) GetPlatform() int64
- func (r *TaobaoTbkItemInfoTemporaryGetAPIRequest) SetIp(_ip string) error
- func (r *TaobaoTbkItemInfoTemporaryGetAPIRequest) SetNumIids(_numIids string) error
- func (r *TaobaoTbkItemInfoTemporaryGetAPIRequest) SetPlatform(_platform int64) error
- type TaobaoTbkItemInfoTemporaryGetAPIResponse
- type TaobaoTbkItemInfoTemporaryGetAPIResponseModel
- type TaobaoTbkOrderDetailsGetAPIRequest
- func (r TaobaoTbkOrderDetailsGetAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkOrderDetailsGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkOrderDetailsGetAPIRequest) GetEndTime() string
- func (r TaobaoTbkOrderDetailsGetAPIRequest) GetJumpType() int64
- func (r TaobaoTbkOrderDetailsGetAPIRequest) GetMemberType() int64
- func (r TaobaoTbkOrderDetailsGetAPIRequest) GetOrderScene() int64
- func (r TaobaoTbkOrderDetailsGetAPIRequest) GetPageNo() int64
- func (r TaobaoTbkOrderDetailsGetAPIRequest) GetPageSize() int64
- func (r TaobaoTbkOrderDetailsGetAPIRequest) GetPositionIndex() string
- func (r TaobaoTbkOrderDetailsGetAPIRequest) GetQueryType() int64
- func (r TaobaoTbkOrderDetailsGetAPIRequest) GetStartTime() string
- func (r TaobaoTbkOrderDetailsGetAPIRequest) GetTkStatus() int64
- func (r *TaobaoTbkOrderDetailsGetAPIRequest) SetEndTime(_endTime string) error
- func (r *TaobaoTbkOrderDetailsGetAPIRequest) SetJumpType(_jumpType int64) error
- func (r *TaobaoTbkOrderDetailsGetAPIRequest) SetMemberType(_memberType int64) error
- func (r *TaobaoTbkOrderDetailsGetAPIRequest) SetOrderScene(_orderScene int64) error
- func (r *TaobaoTbkOrderDetailsGetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoTbkOrderDetailsGetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoTbkOrderDetailsGetAPIRequest) SetPositionIndex(_positionIndex string) error
- func (r *TaobaoTbkOrderDetailsGetAPIRequest) SetQueryType(_queryType int64) error
- func (r *TaobaoTbkOrderDetailsGetAPIRequest) SetStartTime(_startTime string) error
- func (r *TaobaoTbkOrderDetailsGetAPIRequest) SetTkStatus(_tkStatus int64) error
- type TaobaoTbkOrderDetailsGetAPIResponse
- type TaobaoTbkOrderDetailsGetAPIResponseModel
- type TaobaoTbkPrivilegeGetAPIRequest
- func (r TaobaoTbkPrivilegeGetAPIRequest) GetAdzoneId() int64
- func (r TaobaoTbkPrivilegeGetAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkPrivilegeGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkPrivilegeGetAPIRequest) GetExternalId() string
- func (r TaobaoTbkPrivilegeGetAPIRequest) GetGetTopnRate() int64
- func (r TaobaoTbkPrivilegeGetAPIRequest) GetItemId() string
- func (r TaobaoTbkPrivilegeGetAPIRequest) GetMiniProgramLink() int64
- func (r TaobaoTbkPrivilegeGetAPIRequest) GetPlatform() int64
- func (r TaobaoTbkPrivilegeGetAPIRequest) GetRelationId() string
- func (r TaobaoTbkPrivilegeGetAPIRequest) GetSiteId() int64
- func (r TaobaoTbkPrivilegeGetAPIRequest) GetSpecialId() string
- func (r TaobaoTbkPrivilegeGetAPIRequest) GetUcrowdId() int64
- func (r TaobaoTbkPrivilegeGetAPIRequest) GetXid() string
- func (r *TaobaoTbkPrivilegeGetAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaoTbkPrivilegeGetAPIRequest) SetExternalId(_externalId string) error
- func (r *TaobaoTbkPrivilegeGetAPIRequest) SetGetTopnRate(_getTopnRate int64) error
- func (r *TaobaoTbkPrivilegeGetAPIRequest) SetItemId(_itemId string) error
- func (r *TaobaoTbkPrivilegeGetAPIRequest) SetMiniProgramLink(_miniProgramLink int64) error
- func (r *TaobaoTbkPrivilegeGetAPIRequest) SetPlatform(_platform int64) error
- func (r *TaobaoTbkPrivilegeGetAPIRequest) SetRelationId(_relationId string) error
- func (r *TaobaoTbkPrivilegeGetAPIRequest) SetSiteId(_siteId int64) error
- func (r *TaobaoTbkPrivilegeGetAPIRequest) SetSpecialId(_specialId string) error
- func (r *TaobaoTbkPrivilegeGetAPIRequest) SetUcrowdId(_ucrowdId int64) error
- func (r *TaobaoTbkPrivilegeGetAPIRequest) SetXid(_xid string) error
- type TaobaoTbkPrivilegeGetAPIResponse
- type TaobaoTbkPrivilegeGetAPIResponseModel
- type TaobaoTbkPrivilegeGetRpcResult
- type TaobaoTbkPrivilegeTemporaryGetAPIRequest
- func (r TaobaoTbkPrivilegeTemporaryGetAPIRequest) GetAdzoneId() int64
- func (r TaobaoTbkPrivilegeTemporaryGetAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkPrivilegeTemporaryGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkPrivilegeTemporaryGetAPIRequest) GetExternalId() string
- func (r TaobaoTbkPrivilegeTemporaryGetAPIRequest) GetGetTopnRate() int64
- func (r TaobaoTbkPrivilegeTemporaryGetAPIRequest) GetItemId() string
- func (r TaobaoTbkPrivilegeTemporaryGetAPIRequest) GetMiniProgramLink() int64
- func (r TaobaoTbkPrivilegeTemporaryGetAPIRequest) GetPlatform() int64
- func (r TaobaoTbkPrivilegeTemporaryGetAPIRequest) GetRelationId() string
- func (r TaobaoTbkPrivilegeTemporaryGetAPIRequest) GetSiteId() int64
- func (r TaobaoTbkPrivilegeTemporaryGetAPIRequest) GetSpecialId() string
- func (r TaobaoTbkPrivilegeTemporaryGetAPIRequest) GetUcrowdId() int64
- func (r TaobaoTbkPrivilegeTemporaryGetAPIRequest) GetXid() string
- func (r *TaobaoTbkPrivilegeTemporaryGetAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaoTbkPrivilegeTemporaryGetAPIRequest) SetExternalId(_externalId string) error
- func (r *TaobaoTbkPrivilegeTemporaryGetAPIRequest) SetGetTopnRate(_getTopnRate int64) error
- func (r *TaobaoTbkPrivilegeTemporaryGetAPIRequest) SetItemId(_itemId string) error
- func (r *TaobaoTbkPrivilegeTemporaryGetAPIRequest) SetMiniProgramLink(_miniProgramLink int64) error
- func (r *TaobaoTbkPrivilegeTemporaryGetAPIRequest) SetPlatform(_platform int64) error
- func (r *TaobaoTbkPrivilegeTemporaryGetAPIRequest) SetRelationId(_relationId string) error
- func (r *TaobaoTbkPrivilegeTemporaryGetAPIRequest) SetSiteId(_siteId int64) error
- func (r *TaobaoTbkPrivilegeTemporaryGetAPIRequest) SetSpecialId(_specialId string) error
- func (r *TaobaoTbkPrivilegeTemporaryGetAPIRequest) SetUcrowdId(_ucrowdId int64) error
- func (r *TaobaoTbkPrivilegeTemporaryGetAPIRequest) SetXid(_xid string) error
- type TaobaoTbkPrivilegeTemporaryGetAPIResponse
- type TaobaoTbkPrivilegeTemporaryGetAPIResponseModel
- type TaobaoTbkPrivilegeTemporaryGetRpcResult
- type TaobaoTbkScActivityInfoGetAPIRequest
- func (r TaobaoTbkScActivityInfoGetAPIRequest) GetActivityMaterialId() string
- func (r TaobaoTbkScActivityInfoGetAPIRequest) GetAdzoneId() int64
- func (r TaobaoTbkScActivityInfoGetAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkScActivityInfoGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkScActivityInfoGetAPIRequest) GetRelationId() int64
- func (r TaobaoTbkScActivityInfoGetAPIRequest) GetSiteId() int64
- func (r TaobaoTbkScActivityInfoGetAPIRequest) GetUnionId() string
- func (r *TaobaoTbkScActivityInfoGetAPIRequest) SetActivityMaterialId(_activityMaterialId string) error
- func (r *TaobaoTbkScActivityInfoGetAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaoTbkScActivityInfoGetAPIRequest) SetRelationId(_relationId int64) error
- func (r *TaobaoTbkScActivityInfoGetAPIRequest) SetSiteId(_siteId int64) error
- func (r *TaobaoTbkScActivityInfoGetAPIRequest) SetUnionId(_unionId string) error
- type TaobaoTbkScActivityInfoGetAPIResponse
- type TaobaoTbkScActivityInfoGetAPIResponseModel
- type TaobaoTbkScActivityInfoGetData
- type TaobaoTbkScInvitecodeGetAPIRequest
- func (r TaobaoTbkScInvitecodeGetAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkScInvitecodeGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkScInvitecodeGetAPIRequest) GetCodeType() int64
- func (r TaobaoTbkScInvitecodeGetAPIRequest) GetRelationApp() string
- func (r TaobaoTbkScInvitecodeGetAPIRequest) GetRelationId() int64
- func (r *TaobaoTbkScInvitecodeGetAPIRequest) SetCodeType(_codeType int64) error
- func (r *TaobaoTbkScInvitecodeGetAPIRequest) SetRelationApp(_relationApp string) error
- func (r *TaobaoTbkScInvitecodeGetAPIRequest) SetRelationId(_relationId int64) error
- type TaobaoTbkScInvitecodeGetAPIResponse
- type TaobaoTbkScInvitecodeGetAPIResponseModel
- type TaobaoTbkScInvitecodeGetData
- type TaobaoTbkScMaterialOptionalAPIRequest
- func (r TaobaoTbkScMaterialOptionalAPIRequest) GetAdzoneId() int64
- func (r TaobaoTbkScMaterialOptionalAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkScMaterialOptionalAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkScMaterialOptionalAPIRequest) GetCat() string
- func (r TaobaoTbkScMaterialOptionalAPIRequest) GetCityCode() string
- func (r TaobaoTbkScMaterialOptionalAPIRequest) GetDeviceEncrypt() string
- func (r TaobaoTbkScMaterialOptionalAPIRequest) GetDeviceType() string
- func (r TaobaoTbkScMaterialOptionalAPIRequest) GetDeviceValue() string
- func (r TaobaoTbkScMaterialOptionalAPIRequest) GetEndKaTkRate() int64
- func (r TaobaoTbkScMaterialOptionalAPIRequest) GetEndPrice() int64
- func (r TaobaoTbkScMaterialOptionalAPIRequest) GetEndTkRate() int64
- func (r TaobaoTbkScMaterialOptionalAPIRequest) GetGetTopnRate() int64
- func (r TaobaoTbkScMaterialOptionalAPIRequest) GetHasCoupon() bool
- func (r TaobaoTbkScMaterialOptionalAPIRequest) GetIncludeGoodRate() bool
- func (r TaobaoTbkScMaterialOptionalAPIRequest) GetIncludePayRate30() bool
- func (r TaobaoTbkScMaterialOptionalAPIRequest) GetIncludeRfdRate() bool
- func (r TaobaoTbkScMaterialOptionalAPIRequest) GetIp() string
- func (r TaobaoTbkScMaterialOptionalAPIRequest) GetIsOverseas() bool
- func (r TaobaoTbkScMaterialOptionalAPIRequest) GetIsTmall() bool
- func (r TaobaoTbkScMaterialOptionalAPIRequest) GetItemloc() string
- func (r TaobaoTbkScMaterialOptionalAPIRequest) GetLatitude() string
- func (r TaobaoTbkScMaterialOptionalAPIRequest) GetLockRateEndTime() int64
- func (r TaobaoTbkScMaterialOptionalAPIRequest) GetLockRateStartTime() int64
- func (r TaobaoTbkScMaterialOptionalAPIRequest) GetLongitude() string
- func (r TaobaoTbkScMaterialOptionalAPIRequest) GetMaterialId() int64
- func (r TaobaoTbkScMaterialOptionalAPIRequest) GetNeedFreeShipment() bool
- func (r TaobaoTbkScMaterialOptionalAPIRequest) GetNeedPrepay() bool
- func (r TaobaoTbkScMaterialOptionalAPIRequest) GetNpxLevel() int64
- func (r TaobaoTbkScMaterialOptionalAPIRequest) GetPageNo() int64
- func (r TaobaoTbkScMaterialOptionalAPIRequest) GetPageResultKey() string
- func (r TaobaoTbkScMaterialOptionalAPIRequest) GetPageSize() int64
- func (r TaobaoTbkScMaterialOptionalAPIRequest) GetPlatform() int64
- func (r TaobaoTbkScMaterialOptionalAPIRequest) GetQ() string
- func (r TaobaoTbkScMaterialOptionalAPIRequest) GetRelationId() string
- func (r TaobaoTbkScMaterialOptionalAPIRequest) GetSellerIds() string
- func (r TaobaoTbkScMaterialOptionalAPIRequest) GetSiteId() int64
- func (r TaobaoTbkScMaterialOptionalAPIRequest) GetSort() string
- func (r TaobaoTbkScMaterialOptionalAPIRequest) GetSpecialId() string
- func (r TaobaoTbkScMaterialOptionalAPIRequest) GetStartDsr() int64
- func (r TaobaoTbkScMaterialOptionalAPIRequest) GetStartKaTkRate() int64
- func (r TaobaoTbkScMaterialOptionalAPIRequest) GetStartPrice() int64
- func (r TaobaoTbkScMaterialOptionalAPIRequest) GetStartTkRate() int64
- func (r TaobaoTbkScMaterialOptionalAPIRequest) GetUcrowdId() int64
- func (r TaobaoTbkScMaterialOptionalAPIRequest) GetUcrowdRankItems() []Ucrowdrankitems
- func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetCat(_cat string) error
- func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetCityCode(_cityCode string) error
- func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetDeviceEncrypt(_deviceEncrypt string) error
- func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetDeviceType(_deviceType string) error
- func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetDeviceValue(_deviceValue string) error
- func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetEndKaTkRate(_endKaTkRate int64) error
- func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetEndPrice(_endPrice int64) error
- func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetEndTkRate(_endTkRate int64) error
- func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetGetTopnRate(_getTopnRate int64) error
- func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetHasCoupon(_hasCoupon bool) error
- func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetIncludeGoodRate(_includeGoodRate bool) error
- func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetIncludePayRate30(_includePayRate30 bool) error
- func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetIncludeRfdRate(_includeRfdRate bool) error
- func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetIp(_ip string) error
- func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetIsOverseas(_isOverseas bool) error
- func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetIsTmall(_isTmall bool) error
- func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetItemloc(_itemloc string) error
- func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetLatitude(_latitude string) error
- func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetLockRateEndTime(_lockRateEndTime int64) error
- func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetLockRateStartTime(_lockRateStartTime int64) error
- func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetLongitude(_longitude string) error
- func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetMaterialId(_materialId int64) error
- func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetNeedFreeShipment(_needFreeShipment bool) error
- func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetNeedPrepay(_needPrepay bool) error
- func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetNpxLevel(_npxLevel int64) error
- func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetPageResultKey(_pageResultKey string) error
- func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetPlatform(_platform int64) error
- func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetQ(_q string) error
- func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetRelationId(_relationId string) error
- func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetSellerIds(_sellerIds string) error
- func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetSiteId(_siteId int64) error
- func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetSort(_sort string) error
- func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetSpecialId(_specialId string) error
- func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetStartDsr(_startDsr int64) error
- func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetStartKaTkRate(_startKaTkRate int64) error
- func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetStartPrice(_startPrice int64) error
- func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetStartTkRate(_startTkRate int64) error
- func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetUcrowdId(_ucrowdId int64) error
- func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetUcrowdRankItems(_ucrowdRankItems []Ucrowdrankitems) error
- type TaobaoTbkScMaterialOptionalAPIResponse
- type TaobaoTbkScMaterialOptionalAPIResponseModel
- type TaobaoTbkScMaterialOptionalMapData
- type TaobaoTbkScMaterialTemporaryOptionalAPIRequest
- func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetAdzoneId() int64
- func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetCat() string
- func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetCityCode() string
- func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetDeviceEncrypt() string
- func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetDeviceType() string
- func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetDeviceValue() string
- func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetEndKaTkRate() int64
- func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetEndPrice() int64
- func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetEndTkRate() int64
- func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetGetTopnRate() int64
- func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetHasCoupon() bool
- func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetIncludeGoodRate() bool
- func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetIncludePayRate30() bool
- func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetIncludeRfdRate() bool
- func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetIp() string
- func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetIsOverseas() bool
- func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetIsTmall() bool
- func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetItemloc() string
- func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetLatitude() string
- func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetLockRateEndTime() int64
- func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetLockRateStartTime() int64
- func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetLongitude() string
- func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetMaterialId() int64
- func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetNeedFreeShipment() bool
- func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetNeedPrepay() bool
- func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetNpxLevel() int64
- func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetPageNo() int64
- func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetPageResultKey() string
- func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetPageSize() int64
- func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetPlatform() int64
- func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetQ() string
- func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetRelationId() string
- func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetSellerIds() string
- func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetSiteId() int64
- func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetSort() string
- func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetSpecialId() string
- func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetStartDsr() int64
- func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetStartKaTkRate() int64
- func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetStartPrice() int64
- func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetStartTkRate() int64
- func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetUcrowdId() int64
- func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetUcrowdRankItems() []Ucrowdrankitems
- func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetCat(_cat string) error
- func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetCityCode(_cityCode string) error
- func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetDeviceEncrypt(_deviceEncrypt string) error
- func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetDeviceType(_deviceType string) error
- func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetDeviceValue(_deviceValue string) error
- func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetEndKaTkRate(_endKaTkRate int64) error
- func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetEndPrice(_endPrice int64) error
- func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetEndTkRate(_endTkRate int64) error
- func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetGetTopnRate(_getTopnRate int64) error
- func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetHasCoupon(_hasCoupon bool) error
- func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetIncludeGoodRate(_includeGoodRate bool) error
- func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetIncludePayRate30(_includePayRate30 bool) error
- func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetIncludeRfdRate(_includeRfdRate bool) error
- func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetIp(_ip string) error
- func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetIsOverseas(_isOverseas bool) error
- func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetIsTmall(_isTmall bool) error
- func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetItemloc(_itemloc string) error
- func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetLatitude(_latitude string) error
- func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetLockRateEndTime(_lockRateEndTime int64) error
- func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetLockRateStartTime(_lockRateStartTime int64) error
- func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetLongitude(_longitude string) error
- func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetMaterialId(_materialId int64) error
- func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetNeedFreeShipment(_needFreeShipment bool) error
- func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetNeedPrepay(_needPrepay bool) error
- func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetNpxLevel(_npxLevel int64) error
- func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetPageResultKey(_pageResultKey string) error
- func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetPlatform(_platform int64) error
- func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetQ(_q string) error
- func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetRelationId(_relationId string) error
- func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetSellerIds(_sellerIds string) error
- func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetSiteId(_siteId int64) error
- func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetSort(_sort string) error
- func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetSpecialId(_specialId string) error
- func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetStartDsr(_startDsr int64) error
- func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetStartKaTkRate(_startKaTkRate int64) error
- func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetStartPrice(_startPrice int64) error
- func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetStartTkRate(_startTkRate int64) error
- func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetUcrowdId(_ucrowdId int64) error
- func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetUcrowdRankItems(_ucrowdRankItems []Ucrowdrankitems) error
- type TaobaoTbkScMaterialTemporaryOptionalAPIResponse
- type TaobaoTbkScMaterialTemporaryOptionalAPIResponseModel
- type TaobaoTbkScMaterialTemporaryOptionalMapData
- type TaobaoTbkScOptimusMaterialAPIRequest
- func (r TaobaoTbkScOptimusMaterialAPIRequest) GetAdzoneId() int64
- func (r TaobaoTbkScOptimusMaterialAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkScOptimusMaterialAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkScOptimusMaterialAPIRequest) GetContentId() int64
- func (r TaobaoTbkScOptimusMaterialAPIRequest) GetContentSource() string
- func (r TaobaoTbkScOptimusMaterialAPIRequest) GetDeviceEncrypt() string
- func (r TaobaoTbkScOptimusMaterialAPIRequest) GetDeviceType() string
- func (r TaobaoTbkScOptimusMaterialAPIRequest) GetDeviceValue() string
- func (r TaobaoTbkScOptimusMaterialAPIRequest) GetItemId() string
- func (r TaobaoTbkScOptimusMaterialAPIRequest) GetMaterialId() int64
- func (r TaobaoTbkScOptimusMaterialAPIRequest) GetPageNo() int64
- func (r TaobaoTbkScOptimusMaterialAPIRequest) GetPageSize() int64
- func (r TaobaoTbkScOptimusMaterialAPIRequest) GetSiteId() int64
- func (r *TaobaoTbkScOptimusMaterialAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaoTbkScOptimusMaterialAPIRequest) SetContentId(_contentId int64) error
- func (r *TaobaoTbkScOptimusMaterialAPIRequest) SetContentSource(_contentSource string) error
- func (r *TaobaoTbkScOptimusMaterialAPIRequest) SetDeviceEncrypt(_deviceEncrypt string) error
- func (r *TaobaoTbkScOptimusMaterialAPIRequest) SetDeviceType(_deviceType string) error
- func (r *TaobaoTbkScOptimusMaterialAPIRequest) SetDeviceValue(_deviceValue string) error
- func (r *TaobaoTbkScOptimusMaterialAPIRequest) SetItemId(_itemId string) error
- func (r *TaobaoTbkScOptimusMaterialAPIRequest) SetMaterialId(_materialId int64) error
- func (r *TaobaoTbkScOptimusMaterialAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoTbkScOptimusMaterialAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoTbkScOptimusMaterialAPIRequest) SetSiteId(_siteId int64) error
- type TaobaoTbkScOptimusMaterialAPIResponse
- type TaobaoTbkScOptimusMaterialAPIResponseModel
- type TaobaoTbkScOptimusMaterialMapData
- type TaobaoTbkScOptimusPromotionAPIRequest
- func (r TaobaoTbkScOptimusPromotionAPIRequest) GetAdzoneId() int64
- func (r TaobaoTbkScOptimusPromotionAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkScOptimusPromotionAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkScOptimusPromotionAPIRequest) GetPageNum() int64
- func (r TaobaoTbkScOptimusPromotionAPIRequest) GetPageSize() int64
- func (r TaobaoTbkScOptimusPromotionAPIRequest) GetPromotionId() int64
- func (r TaobaoTbkScOptimusPromotionAPIRequest) GetSiteId() int64
- func (r *TaobaoTbkScOptimusPromotionAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaoTbkScOptimusPromotionAPIRequest) SetPageNum(_pageNum int64) error
- func (r *TaobaoTbkScOptimusPromotionAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoTbkScOptimusPromotionAPIRequest) SetPromotionId(_promotionId int64) error
- func (r *TaobaoTbkScOptimusPromotionAPIRequest) SetSiteId(_siteId int64) error
- type TaobaoTbkScOptimusPromotionAPIResponse
- type TaobaoTbkScOptimusPromotionAPIResponseModel
- type TaobaoTbkScOptimusPromotionMapData
- type TaobaoTbkScOrderDetailsGetAPIRequest
- func (r TaobaoTbkScOrderDetailsGetAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkScOrderDetailsGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkScOrderDetailsGetAPIRequest) GetEndTime() string
- func (r TaobaoTbkScOrderDetailsGetAPIRequest) GetJumpType() int64
- func (r TaobaoTbkScOrderDetailsGetAPIRequest) GetMemberType() int64
- func (r TaobaoTbkScOrderDetailsGetAPIRequest) GetOrderScene() int64
- func (r TaobaoTbkScOrderDetailsGetAPIRequest) GetPageNo() int64
- func (r TaobaoTbkScOrderDetailsGetAPIRequest) GetPageSize() int64
- func (r TaobaoTbkScOrderDetailsGetAPIRequest) GetPositionIndex() string
- func (r TaobaoTbkScOrderDetailsGetAPIRequest) GetQueryType() int64
- func (r TaobaoTbkScOrderDetailsGetAPIRequest) GetStartTime() string
- func (r TaobaoTbkScOrderDetailsGetAPIRequest) GetTkStatus() int64
- func (r *TaobaoTbkScOrderDetailsGetAPIRequest) SetEndTime(_endTime string) error
- func (r *TaobaoTbkScOrderDetailsGetAPIRequest) SetJumpType(_jumpType int64) error
- func (r *TaobaoTbkScOrderDetailsGetAPIRequest) SetMemberType(_memberType int64) error
- func (r *TaobaoTbkScOrderDetailsGetAPIRequest) SetOrderScene(_orderScene int64) error
- func (r *TaobaoTbkScOrderDetailsGetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoTbkScOrderDetailsGetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoTbkScOrderDetailsGetAPIRequest) SetPositionIndex(_positionIndex string) error
- func (r *TaobaoTbkScOrderDetailsGetAPIRequest) SetQueryType(_queryType int64) error
- func (r *TaobaoTbkScOrderDetailsGetAPIRequest) SetStartTime(_startTime string) error
- func (r *TaobaoTbkScOrderDetailsGetAPIRequest) SetTkStatus(_tkStatus int64) error
- type TaobaoTbkScOrderDetailsGetAPIResponse
- type TaobaoTbkScOrderDetailsGetAPIResponseModel
- type TaobaoTbkScOrderDetailsTemporaryGetAPIRequest
- func (r TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) GetEndTime() string
- func (r TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) GetJumpType() int64
- func (r TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) GetMemberGroupId() string
- func (r TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) GetMemberType() int64
- func (r TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) GetOrderScene() int64
- func (r TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) GetPageNo() int64
- func (r TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) GetPageSize() int64
- func (r TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) GetPositionIndex() string
- func (r TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) GetQueryType() int64
- func (r TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) GetStartTime() string
- func (r TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) GetTkStatus() int64
- func (r *TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) SetEndTime(_endTime string) error
- func (r *TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) SetJumpType(_jumpType int64) error
- func (r *TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) SetMemberGroupId(_memberGroupId string) error
- func (r *TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) SetMemberType(_memberType int64) error
- func (r *TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) SetOrderScene(_orderScene int64) error
- func (r *TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) SetPositionIndex(_positionIndex string) error
- func (r *TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) SetQueryType(_queryType int64) error
- func (r *TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) SetStartTime(_startTime string) error
- func (r *TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) SetTkStatus(_tkStatus int64) error
- type TaobaoTbkScOrderDetailsTemporaryGetAPIResponse
- type TaobaoTbkScOrderDetailsTemporaryGetAPIResponseModel
- type TaobaoTbkScPublisherInfoGetAPIRequest
- func (r TaobaoTbkScPublisherInfoGetAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkScPublisherInfoGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkScPublisherInfoGetAPIRequest) GetExternalId() string
- func (r TaobaoTbkScPublisherInfoGetAPIRequest) GetExternalType() int64
- func (r TaobaoTbkScPublisherInfoGetAPIRequest) GetInfoType() int64
- func (r TaobaoTbkScPublisherInfoGetAPIRequest) GetPageNo() int64
- func (r TaobaoTbkScPublisherInfoGetAPIRequest) GetPageSize() int64
- func (r TaobaoTbkScPublisherInfoGetAPIRequest) GetRelationApp() string
- func (r TaobaoTbkScPublisherInfoGetAPIRequest) GetRelationId() int64
- func (r TaobaoTbkScPublisherInfoGetAPIRequest) GetSpecialId() string
- func (r *TaobaoTbkScPublisherInfoGetAPIRequest) SetExternalId(_externalId string) error
- func (r *TaobaoTbkScPublisherInfoGetAPIRequest) SetExternalType(_externalType int64) error
- func (r *TaobaoTbkScPublisherInfoGetAPIRequest) SetInfoType(_infoType int64) error
- func (r *TaobaoTbkScPublisherInfoGetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoTbkScPublisherInfoGetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoTbkScPublisherInfoGetAPIRequest) SetRelationApp(_relationApp string) error
- func (r *TaobaoTbkScPublisherInfoGetAPIRequest) SetRelationId(_relationId int64) error
- func (r *TaobaoTbkScPublisherInfoGetAPIRequest) SetSpecialId(_specialId string) error
- type TaobaoTbkScPublisherInfoGetAPIResponse
- type TaobaoTbkScPublisherInfoGetAPIResponseModel
- type TaobaoTbkScPublisherInfoGetData
- type TaobaoTbkScPublisherInfoGetMapData
- type TaobaoTbkScPublisherInfoSaveAPIRequest
- func (r TaobaoTbkScPublisherInfoSaveAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkScPublisherInfoSaveAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkScPublisherInfoSaveAPIRequest) GetInfoType() int64
- func (r TaobaoTbkScPublisherInfoSaveAPIRequest) GetInviterCode() string
- func (r TaobaoTbkScPublisherInfoSaveAPIRequest) GetNote() string
- func (r TaobaoTbkScPublisherInfoSaveAPIRequest) GetOfflineScene() string
- func (r TaobaoTbkScPublisherInfoSaveAPIRequest) GetOnlineScene() string
- func (r TaobaoTbkScPublisherInfoSaveAPIRequest) GetRegisterInfo() string
- func (r TaobaoTbkScPublisherInfoSaveAPIRequest) GetRelationFrom() string
- func (r *TaobaoTbkScPublisherInfoSaveAPIRequest) SetInfoType(_infoType int64) error
- func (r *TaobaoTbkScPublisherInfoSaveAPIRequest) SetInviterCode(_inviterCode string) error
- func (r *TaobaoTbkScPublisherInfoSaveAPIRequest) SetNote(_note string) error
- func (r *TaobaoTbkScPublisherInfoSaveAPIRequest) SetOfflineScene(_offlineScene string) error
- func (r *TaobaoTbkScPublisherInfoSaveAPIRequest) SetOnlineScene(_onlineScene string) error
- func (r *TaobaoTbkScPublisherInfoSaveAPIRequest) SetRegisterInfo(_registerInfo string) error
- func (r *TaobaoTbkScPublisherInfoSaveAPIRequest) SetRelationFrom(_relationFrom string) error
- type TaobaoTbkScPublisherInfoSaveAPIResponse
- type TaobaoTbkScPublisherInfoSaveAPIResponseModel
- type TaobaoTbkScPublisherInfoSaveData
- type TaobaoTbkScPunishOrderGetAPIRequest
- func (r TaobaoTbkScPunishOrderGetAPIRequest) GetAfOrderOption() *TopApiAfOrderOption
- func (r TaobaoTbkScPunishOrderGetAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkScPunishOrderGetAPIRequest) GetApiParams() url.Values
- func (r *TaobaoTbkScPunishOrderGetAPIRequest) SetAfOrderOption(_afOrderOption *TopApiAfOrderOption) error
- type TaobaoTbkScPunishOrderGetAPIResponse
- type TaobaoTbkScPunishOrderGetAPIResponseModel
- type TaobaoTbkScPunishOrderGetResult
- type TaobaoTbkScPunishOrderGetRpcResult
- type TaobaoTbkScRelationRecordAPIRequest
- func (r TaobaoTbkScRelationRecordAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkScRelationRecordAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkScRelationRecordAPIRequest) GetExternalId() string
- func (r TaobaoTbkScRelationRecordAPIRequest) GetExternalType() int64
- func (r TaobaoTbkScRelationRecordAPIRequest) GetOpType() int64
- func (r TaobaoTbkScRelationRecordAPIRequest) GetRedirectUrl() string
- func (r TaobaoTbkScRelationRecordAPIRequest) GetUcrowdId() int64
- func (r *TaobaoTbkScRelationRecordAPIRequest) SetExternalId(_externalId string) error
- func (r *TaobaoTbkScRelationRecordAPIRequest) SetExternalType(_externalType int64) error
- func (r *TaobaoTbkScRelationRecordAPIRequest) SetOpType(_opType int64) error
- func (r *TaobaoTbkScRelationRecordAPIRequest) SetRedirectUrl(_redirectUrl string) error
- func (r *TaobaoTbkScRelationRecordAPIRequest) SetUcrowdId(_ucrowdId int64) error
- type TaobaoTbkScRelationRecordAPIResponse
- type TaobaoTbkScRelationRecordAPIResponseModel
- type TaobaoTbkScRelationRecordMapData
- type TaobaoTbkScRelationRefundAPIRequest
- func (r TaobaoTbkScRelationRefundAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkScRelationRefundAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkScRelationRefundAPIRequest) GetSearchOption() *TopApiRefundRptOption
- func (r *TaobaoTbkScRelationRefundAPIRequest) SetSearchOption(_searchOption *TopApiRefundRptOption) error
- type TaobaoTbkScRelationRefundAPIResponse
- type TaobaoTbkScRelationRefundAPIResponseModel
- type TaobaoTbkScRelationRefundResult
- type TaobaoTbkScRelationRefundRpcResult
- type TaobaoTbkScShopConvertAPIRequest
- func (r TaobaoTbkScShopConvertAPIRequest) GetAdzoneId() int64
- func (r TaobaoTbkScShopConvertAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkScShopConvertAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkScShopConvertAPIRequest) GetFields() string
- func (r TaobaoTbkScShopConvertAPIRequest) GetPlatform() int64
- func (r TaobaoTbkScShopConvertAPIRequest) GetSiteId() int64
- func (r TaobaoTbkScShopConvertAPIRequest) GetUnid() string
- func (r TaobaoTbkScShopConvertAPIRequest) GetUserIds() string
- func (r *TaobaoTbkScShopConvertAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaoTbkScShopConvertAPIRequest) SetFields(_fields string) error
- func (r *TaobaoTbkScShopConvertAPIRequest) SetPlatform(_platform int64) error
- func (r *TaobaoTbkScShopConvertAPIRequest) SetSiteId(_siteId int64) error
- func (r *TaobaoTbkScShopConvertAPIRequest) SetUnid(_unid string) error
- func (r *TaobaoTbkScShopConvertAPIRequest) SetUserIds(_userIds string) error
- type TaobaoTbkScShopConvertAPIResponse
- type TaobaoTbkScShopConvertAPIResponseModel
- type TaobaoTbkScTpwdConvertAPIRequest
- func (r TaobaoTbkScTpwdConvertAPIRequest) GetAdzoneId() int64
- func (r TaobaoTbkScTpwdConvertAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkScTpwdConvertAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkScTpwdConvertAPIRequest) GetDx() string
- func (r TaobaoTbkScTpwdConvertAPIRequest) GetPasswordContent() string
- func (r TaobaoTbkScTpwdConvertAPIRequest) GetSiteId() int64
- func (r TaobaoTbkScTpwdConvertAPIRequest) GetUcrowdId() int64
- func (r *TaobaoTbkScTpwdConvertAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaoTbkScTpwdConvertAPIRequest) SetDx(_dx string) error
- func (r *TaobaoTbkScTpwdConvertAPIRequest) SetPasswordContent(_passwordContent string) error
- func (r *TaobaoTbkScTpwdConvertAPIRequest) SetSiteId(_siteId int64) error
- func (r *TaobaoTbkScTpwdConvertAPIRequest) SetUcrowdId(_ucrowdId int64) error
- type TaobaoTbkScTpwdConvertAPIResponse
- type TaobaoTbkScTpwdConvertAPIResponseModel
- type TaobaoTbkScTpwdConvertMapData
- type TaobaoTbkScTpwdTemporaryConvertAPIRequest
- func (r TaobaoTbkScTpwdTemporaryConvertAPIRequest) GetAdzoneId() int64
- func (r TaobaoTbkScTpwdTemporaryConvertAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkScTpwdTemporaryConvertAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkScTpwdTemporaryConvertAPIRequest) GetDx() string
- func (r TaobaoTbkScTpwdTemporaryConvertAPIRequest) GetPasswordContent() string
- func (r TaobaoTbkScTpwdTemporaryConvertAPIRequest) GetSiteId() int64
- func (r TaobaoTbkScTpwdTemporaryConvertAPIRequest) GetUcrowdId() int64
- func (r *TaobaoTbkScTpwdTemporaryConvertAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaoTbkScTpwdTemporaryConvertAPIRequest) SetDx(_dx string) error
- func (r *TaobaoTbkScTpwdTemporaryConvertAPIRequest) SetPasswordContent(_passwordContent string) error
- func (r *TaobaoTbkScTpwdTemporaryConvertAPIRequest) SetSiteId(_siteId int64) error
- func (r *TaobaoTbkScTpwdTemporaryConvertAPIRequest) SetUcrowdId(_ucrowdId int64) error
- type TaobaoTbkScTpwdTemporaryConvertAPIResponse
- type TaobaoTbkScTpwdTemporaryConvertAPIResponseModel
- type TaobaoTbkScUcrowdCreateAPIRequest
- func (r TaobaoTbkScUcrowdCreateAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkScUcrowdCreateAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkScUcrowdCreateAPIRequest) GetDesc() string
- func (r TaobaoTbkScUcrowdCreateAPIRequest) GetExternalCrowdCode() string
- func (r TaobaoTbkScUcrowdCreateAPIRequest) GetUcrowdName() string
- func (r TaobaoTbkScUcrowdCreateAPIRequest) GetUcrowdType() int64
- func (r *TaobaoTbkScUcrowdCreateAPIRequest) SetDesc(_desc string) error
- func (r *TaobaoTbkScUcrowdCreateAPIRequest) SetExternalCrowdCode(_externalCrowdCode string) error
- func (r *TaobaoTbkScUcrowdCreateAPIRequest) SetUcrowdName(_ucrowdName string) error
- func (r *TaobaoTbkScUcrowdCreateAPIRequest) SetUcrowdType(_ucrowdType int64) error
- type TaobaoTbkScUcrowdCreateAPIResponse
- type TaobaoTbkScUcrowdCreateAPIResponseModel
- type TaobaoTbkScUcrowdCreateRpcResult
- type TaobaoTbkScUcrowdDeleteAPIRequest
- type TaobaoTbkScUcrowdDeleteAPIResponse
- type TaobaoTbkScUcrowdDeleteAPIResponseModel
- type TaobaoTbkScUcrowdDeleteRpcResult
- type TaobaoTbkScUcrowdGetAPIRequest
- type TaobaoTbkScUcrowdGetAPIResponse
- type TaobaoTbkScUcrowdGetAPIResponseModel
- type TaobaoTbkScUcrowdGetRpcResult
- type TaobaoTbkScUcrowdMemberAddAPIRequest
- func (r TaobaoTbkScUcrowdMemberAddAPIRequest) GetAccountList() []string
- func (r TaobaoTbkScUcrowdMemberAddAPIRequest) GetAccountType() int64
- func (r TaobaoTbkScUcrowdMemberAddAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkScUcrowdMemberAddAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkScUcrowdMemberAddAPIRequest) GetEditType() int64
- func (r TaobaoTbkScUcrowdMemberAddAPIRequest) GetUcrowdId() int64
- func (r *TaobaoTbkScUcrowdMemberAddAPIRequest) SetAccountList(_accountList []string) error
- func (r *TaobaoTbkScUcrowdMemberAddAPIRequest) SetAccountType(_accountType int64) error
- func (r *TaobaoTbkScUcrowdMemberAddAPIRequest) SetEditType(_editType int64) error
- func (r *TaobaoTbkScUcrowdMemberAddAPIRequest) SetUcrowdId(_ucrowdId int64) error
- type TaobaoTbkScUcrowdMemberAddAPIResponse
- type TaobaoTbkScUcrowdMemberAddAPIResponseModel
- type TaobaoTbkScUcrowdMemberAddRpcResult
- type TaobaoTbkScUcrowdReportGetAPIRequest
- func (r TaobaoTbkScUcrowdReportGetAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkScUcrowdReportGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkScUcrowdReportGetAPIRequest) GetReportDate() string
- func (r TaobaoTbkScUcrowdReportGetAPIRequest) GetUcrowdId() int64
- func (r *TaobaoTbkScUcrowdReportGetAPIRequest) SetReportDate(_reportDate string) error
- func (r *TaobaoTbkScUcrowdReportGetAPIRequest) SetUcrowdId(_ucrowdId int64) error
- type TaobaoTbkScUcrowdReportGetAPIResponse
- type TaobaoTbkScUcrowdReportGetAPIResponseModel
- type TaobaoTbkScUcrowdReportGetRpcResult
- type TaobaoTbkScVegasSendReportAPIRequest
- func (r TaobaoTbkScVegasSendReportAPIRequest) GetActivityId() int64
- func (r TaobaoTbkScVegasSendReportAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkScVegasSendReportAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkScVegasSendReportAPIRequest) GetBizDate() string
- func (r TaobaoTbkScVegasSendReportAPIRequest) GetPageNo() int64
- func (r TaobaoTbkScVegasSendReportAPIRequest) GetPageSize() int64
- func (r TaobaoTbkScVegasSendReportAPIRequest) GetRelationId() int64
- func (r *TaobaoTbkScVegasSendReportAPIRequest) SetActivityId(_activityId int64) error
- func (r *TaobaoTbkScVegasSendReportAPIRequest) SetBizDate(_bizDate string) error
- func (r *TaobaoTbkScVegasSendReportAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoTbkScVegasSendReportAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoTbkScVegasSendReportAPIRequest) SetRelationId(_relationId int64) error
- type TaobaoTbkScVegasSendReportAPIResponse
- type TaobaoTbkScVegasSendReportAPIResponseModel
- type TaobaoTbkScVegasSendReportResult
- type TaobaoTbkScVegasSendStatusAPIRequest
- func (r TaobaoTbkScVegasSendStatusAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkScVegasSendStatusAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkScVegasSendStatusAPIRequest) GetDeviceType() string
- func (r TaobaoTbkScVegasSendStatusAPIRequest) GetDeviceValue() string
- func (r TaobaoTbkScVegasSendStatusAPIRequest) GetRelationId() string
- func (r TaobaoTbkScVegasSendStatusAPIRequest) GetSpecialId() string
- func (r *TaobaoTbkScVegasSendStatusAPIRequest) SetDeviceType(_deviceType string) error
- func (r *TaobaoTbkScVegasSendStatusAPIRequest) SetDeviceValue(_deviceValue string) error
- func (r *TaobaoTbkScVegasSendStatusAPIRequest) SetRelationId(_relationId string) error
- func (r *TaobaoTbkScVegasSendStatusAPIRequest) SetSpecialId(_specialId string) error
- type TaobaoTbkScVegasSendStatusAPIResponse
- type TaobaoTbkScVegasSendStatusAPIResponseModel
- type TaobaoTbkScVegasSendStatusData
- type TaobaoTbkScVegasSendStatusMapData
- type TaobaoTbkShopGetAPIRequest
- func (r TaobaoTbkShopGetAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkShopGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkShopGetAPIRequest) GetEndAuctionCount() int64
- func (r TaobaoTbkShopGetAPIRequest) GetEndCommissionRate() int64
- func (r TaobaoTbkShopGetAPIRequest) GetEndCredit() int64
- func (r TaobaoTbkShopGetAPIRequest) GetEndTotalAction() int64
- func (r TaobaoTbkShopGetAPIRequest) GetFields() string
- func (r TaobaoTbkShopGetAPIRequest) GetIsTmall() bool
- func (r TaobaoTbkShopGetAPIRequest) GetPageNo() int64
- func (r TaobaoTbkShopGetAPIRequest) GetPageSize() int64
- func (r TaobaoTbkShopGetAPIRequest) GetPlatform() int64
- func (r TaobaoTbkShopGetAPIRequest) GetQ() string
- func (r TaobaoTbkShopGetAPIRequest) GetSort() string
- func (r TaobaoTbkShopGetAPIRequest) GetStartAuctionCount() int64
- func (r TaobaoTbkShopGetAPIRequest) GetStartCommissionRate() int64
- func (r TaobaoTbkShopGetAPIRequest) GetStartCredit() int64
- func (r TaobaoTbkShopGetAPIRequest) GetStartTotalAction() int64
- func (r *TaobaoTbkShopGetAPIRequest) SetEndAuctionCount(_endAuctionCount int64) error
- func (r *TaobaoTbkShopGetAPIRequest) SetEndCommissionRate(_endCommissionRate int64) error
- func (r *TaobaoTbkShopGetAPIRequest) SetEndCredit(_endCredit int64) error
- func (r *TaobaoTbkShopGetAPIRequest) SetEndTotalAction(_endTotalAction int64) error
- func (r *TaobaoTbkShopGetAPIRequest) SetFields(_fields string) error
- func (r *TaobaoTbkShopGetAPIRequest) SetIsTmall(_isTmall bool) error
- func (r *TaobaoTbkShopGetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoTbkShopGetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoTbkShopGetAPIRequest) SetPlatform(_platform int64) error
- func (r *TaobaoTbkShopGetAPIRequest) SetQ(_q string) error
- func (r *TaobaoTbkShopGetAPIRequest) SetSort(_sort string) error
- func (r *TaobaoTbkShopGetAPIRequest) SetStartAuctionCount(_startAuctionCount int64) error
- func (r *TaobaoTbkShopGetAPIRequest) SetStartCommissionRate(_startCommissionRate int64) error
- func (r *TaobaoTbkShopGetAPIRequest) SetStartCredit(_startCredit int64) error
- func (r *TaobaoTbkShopGetAPIRequest) SetStartTotalAction(_startTotalAction int64) error
- type TaobaoTbkShopGetAPIResponse
- type TaobaoTbkShopGetAPIResponseModel
- type TaobaoTbkShopRecommendGetAPIRequest
- func (r TaobaoTbkShopRecommendGetAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkShopRecommendGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkShopRecommendGetAPIRequest) GetCount() int64
- func (r TaobaoTbkShopRecommendGetAPIRequest) GetFields() string
- func (r TaobaoTbkShopRecommendGetAPIRequest) GetPlatform() int64
- func (r TaobaoTbkShopRecommendGetAPIRequest) GetUserId() int64
- func (r *TaobaoTbkShopRecommendGetAPIRequest) SetCount(_count int64) error
- func (r *TaobaoTbkShopRecommendGetAPIRequest) SetFields(_fields string) error
- func (r *TaobaoTbkShopRecommendGetAPIRequest) SetPlatform(_platform int64) error
- func (r *TaobaoTbkShopRecommendGetAPIRequest) SetUserId(_userId int64) error
- type TaobaoTbkShopRecommendGetAPIResponse
- type TaobaoTbkShopRecommendGetAPIResponseModel
- type TaobaoTbkSkuBestCouponAPIRequest
- func (r TaobaoTbkSkuBestCouponAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkSkuBestCouponAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkSkuBestCouponAPIRequest) GetItemId() int64
- func (r TaobaoTbkSkuBestCouponAPIRequest) GetSkuId() int64
- func (r *TaobaoTbkSkuBestCouponAPIRequest) SetItemId(_itemId int64) error
- func (r *TaobaoTbkSkuBestCouponAPIRequest) SetSkuId(_skuId int64) error
- type TaobaoTbkSkuBestCouponAPIResponse
- type TaobaoTbkSkuBestCouponAPIResponseModel
- type TaobaoTbkSkuBestCouponMapData
- type TaobaoTbkSpreadGetAPIRequest
- type TaobaoTbkSpreadGetAPIResponse
- type TaobaoTbkSpreadGetAPIResponseModel
- type TaobaoTbkTpwdCreateAPIRequest
- func (r TaobaoTbkTpwdCreateAPIRequest) GetApiMethodName() string
- func (r TaobaoTbkTpwdCreateAPIRequest) GetApiParams() url.Values
- func (r TaobaoTbkTpwdCreateAPIRequest) GetExt() string
- func (r TaobaoTbkTpwdCreateAPIRequest) GetLogo() string
- func (r TaobaoTbkTpwdCreateAPIRequest) GetText() string
- func (r TaobaoTbkTpwdCreateAPIRequest) GetUrl() string
- func (r TaobaoTbkTpwdCreateAPIRequest) GetUserId() string
- func (r *TaobaoTbkTpwdCreateAPIRequest) SetExt(_ext string) error
- func (r *TaobaoTbkTpwdCreateAPIRequest) SetLogo(_logo string) error
- func (r *TaobaoTbkTpwdCreateAPIRequest) SetText(_text string) error
- func (r *TaobaoTbkTpwdCreateAPIRequest) SetUrl(_url string) error
- func (r *TaobaoTbkTpwdCreateAPIRequest) SetUserId(_userId string) error
- type TaobaoTbkTpwdCreateAPIResponse
- type TaobaoTbkTpwdCreateAPIResponseModel
- type TaobaoTbkTpwdCreateMapData
- type TbkSpread
- type TbkSpreadRequest
- type TopApiAfOrderOption
- type TopApiRefundRptOption
- type TopNInfoDto
- type Ucrowdrankitems
- type UpdateStatusResult
- type UserRuleInfo
- type VegasCpaReportDto
- type WordMapData
- type Youjiacouponinfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BybtInfoDto ¶ added in v1.2.5
type BybtInfoDto struct { // 百亿补贴商品特征标签,eg.今日发货、晚发补偿、限购一件等 BybtItemTags []string `json:"bybt_item_tags,omitempty" xml:"bybt_item_tags>string,omitempty"` // 百亿补贴品牌logo BybtBrandLogo string `json:"bybt_brand_logo,omitempty" xml:"bybt_brand_logo,omitempty"` // 百亿补贴白底图 BybtPicUrl string `json:"bybt_pic_url,omitempty" xml:"bybt_pic_url,omitempty"` // 百亿补贴专属券面额,仅限百亿补贴场景透出 BybtCouponAmount string `json:"bybt_coupon_amount,omitempty" xml:"bybt_coupon_amount,omitempty"` // 百亿补贴页面实时价 BybtShowPrice string `json:"bybt_show_price,omitempty" xml:"bybt_show_price,omitempty"` // 全网对比参考价格 BybtLowestPrice string `json:"bybt_lowest_price,omitempty" xml:"bybt_lowest_price,omitempty"` // 商品的百亿补贴开始时间 BybtEndTime string `json:"bybt_end_time,omitempty" xml:"bybt_end_time,omitempty"` // 商品的百亿补贴结束时间 BybtStartTime string `json:"bybt_start_time,omitempty" xml:"bybt_start_time,omitempty"` }
BybtInfoDto 结构体
type CrowdDto ¶ added in v1.2.5
type CrowdDto struct { // 人群描述 Desc string `json:"desc,omitempty" xml:"desc,omitempty"` // 外部人群编码 ExternalCrowdCode string `json:"external_crowd_code,omitempty" xml:"external_crowd_code,omitempty"` // 人群标签名称 UcrowdName string `json:"ucrowd_name,omitempty" xml:"ucrowd_name,omitempty"` // 更新时间 UpdateTime string `json:"update_time,omitempty" xml:"update_time,omitempty"` // 创建时间 CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"` // 状态,0:待生效,1:生效,2:失效 Status int64 `json:"status,omitempty" xml:"status,omitempty"` // 人群类型,1:社群 UcrowdType int64 `json:"ucrowd_type,omitempty" xml:"ucrowd_type,omitempty"` // 人群标签id UcrowdId int64 `json:"ucrowd_id,omitempty" xml:"ucrowd_id,omitempty"` // 覆盖会员数量 MemberSize int64 `json:"member_size,omitempty" xml:"member_size,omitempty"` }
CrowdDto 结构体
type DataMap ¶ added in v1.2.5
type DataMap struct { // 当入参不传pid的时候返回,表示账号关联的pid Pid string `json:"pid,omitempty" xml:"pid,omitempty"` // 当入参传入pid的时候返回,表示pid关联的relationId Rid string `json:"rid,omitempty" xml:"rid,omitempty"` // 0表示预警,1表示拦截,如果名单中同一个淘客同时有拦截和预警信息,以拦截为准 Status string `json:"status,omitempty" xml:"status,omitempty"` }
DataMap 结构体
type DwsUnionAppDto ¶ added in v1.2.5
type DwsUnionAppDto struct { string `json:"pre_pub_share_fee,omitempty" xml:"pre_pub_share_fee,omitempty"` // 支付金额 AlipayAmt string `json:"alipay_amt,omitempty" xml:"alipay_amt,omitempty"` // 人群内成交人数 AlipayUserNumInUcrowd int64 `json:"alipay_user_num_in_ucrowd,omitempty" xml:"alipay_user_num_in_ucrowd,omitempty"` // 支付人数 AlipayUserNum int64 `json:"alipay_user_num,omitempty" xml:"alipay_user_num,omitempty"` // 支付订单数 AlipayNum int64 `json:"alipay_num,omitempty" xml:"alipay_num,omitempty"` // 点击人数 ClickUvUnion int64 `json:"click_uv_union,omitempty" xml:"click_uv_union,omitempty"` // 点击数 ClickPvUnion int64 `json:"click_pv_union,omitempty" xml:"click_pv_union,omitempty"` }PrePubShareFee
DwsUnionAppDto 结构体
type Extra ¶ added in v1.2.5
type Extra struct { // 领取率,领取淘礼金个数/创建淘礼金个数 GetRate string `json:"get_rate,omitempty" xml:"get_rate,omitempty"` // 使用率,使用淘礼金个数/领取淘礼金个数 UseRate string `json:"use_rate,omitempty" xml:"use_rate,omitempty"` // 引导付款金额,同一个红包,若因消费者付款使用后取消订单或退货退款,产生二次红包使用行为,引导付款笔数也会记录两单 AlipayAmt string `json:"alipay_amt,omitempty" xml:"alipay_amt,omitempty"` PrePubShareFeeForDisp string `json:"pre_pub_share_fee_for_disp,omitempty" xml:"pre_pub_share_fee_for_disp,omitempty"` // 结算佣金,确认收货,产生二次红包使用行为,会记录2次 CmSettleAmt string `json:"cm_settle_amt,omitempty" xml:"cm_settle_amt,omitempty"` // 领取淘礼金金额 WinSumAmt string `json:"win_sum_amt,omitempty" xml:"win_sum_amt,omitempty"` // 未领取金额,过了领取有效期或者暂停后没有被领取的红包金额 RemainingAmt string `json:"remaining_amt,omitempty" xml:"remaining_amt,omitempty"` // 使用淘礼金金额,若红包被重复使用(1)淘礼金红包被拆分,并且产生部分退款,会保留部分退款的订单淘礼金金额;若全部退款,会保留订单全部淘礼金金额),因此,已使用金额可能大于消费者实际使用金额(使用红包后,若产生红包退回后再次使用,已使用金额会被二次计算,已使用数量不会) UseSumAmt string `json:"use_sum_amt,omitempty" xml:"use_sum_amt,omitempty"` // 退款淘礼金金额,红包使用后,由于订单取消,退货退款等行为行为带来的淘礼金红包退回数量 (退款红包若产生多次使用,退款红包金额会被多次计算,退款红包数量单日内不重复计算,跨天重复计算) RefundSumAmt string `json:"refund_sum_amt,omitempty" xml:"refund_sum_amt,omitempty"` // 引导付款笔数,同一个红包,若因消费者付款使用后取消订单或退货退款,产生二次红包使用行为,引导付款笔数也会记录两单 AlipayNum int64 `json:"alipay_num,omitempty" xml:"alipay_num,omitempty"` // 领取淘礼金个数 WinPv int64 `json:"win_pv,omitempty" xml:"win_pv,omitempty"` // 未领取淘礼金个数,过了领取有效期或者暂停后没有被领取的红包个数 RemainingNum int64 `json:"remaining_num,omitempty" xml:"remaining_num,omitempty"` // 使用淘礼金个数,同一个红包,若因消费者付款使用后取消订单或退货退款,产生二次红包使用行为,使用淘礼金个数一天内会去重,所以相当于不会重记 UseNum int64 `json:"use_num,omitempty" xml:"use_num,omitempty"` // 退款淘礼金个数,红包使用后,由于订单取消,退货退款等行为带来的淘礼金红包退回数量,退款红包数量单日内不重复计算,跨天重复计算 RefundNum int64 `json:"refund_num,omitempty" xml:"refund_num,omitempty"` }
Extra 结构体
type FavoritesDetail ¶
type FavoritesDetail struct { // 选品库标题 FavoritesTitle string `json:"favorites_title,omitempty" xml:"favorites_title,omitempty"` // 选品库id FavoritesId int64 `json:"favorites_id,omitempty" xml:"favorites_id,omitempty"` }
FavoritesDetail 结构体
type FavoritesInfo ¶
type FavoritesInfo struct { // 选品库详细信息 FavoritesList []FavoritesDetail `json:"favorites_list,omitempty" xml:"favorites_list>favorites_detail,omitempty"` // 选品库总数量 TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` }
FavoritesInfo 结构体
type InstanceDto ¶ added in v1.2.5
type InstanceDto struct { // extra Extra *Extra `json:"extra,omitempty" xml:"extra,omitempty"` }
InstanceDto 结构体
type MaifanPromotionDto ¶ added in v1.2.5
type MaifanPromotionDto struct { // 猫超买返卡活动结束时间 MaifanPromotionEndTime string `json:"maifan_promotion_end_time,omitempty" xml:"maifan_promotion_end_time,omitempty"` // 猫超买返卡活动开始时间 MaifanPromotionStartTime string `json:"maifan_promotion_start_time,omitempty" xml:"maifan_promotion_start_time,omitempty"` // 猫超买返卡面额 MaifanPromotionDiscount string `json:"maifan_promotion_discount,omitempty" xml:"maifan_promotion_discount,omitempty"` // 猫超买返卡总数,-1代表不限量,其他大于等于0的值为总数 MaifanPromotionCondition string `json:"maifan_promotion_condition,omitempty" xml:"maifan_promotion_condition,omitempty"` }
MaifanPromotionDto 结构体
type MaterialDto ¶ added in v1.2.5
type MaterialDto struct { // 商品优惠券推广链接 CouponClickUrl string `json:"coupon_click_url,omitempty" xml:"coupon_click_url,omitempty"` // 优惠券结束时间 CouponEndTime string `json:"coupon_end_time,omitempty" xml:"coupon_end_time,omitempty"` // 优惠券面额 CouponInfo string `json:"coupon_info,omitempty" xml:"coupon_info,omitempty"` // 优惠券开始时间 CouponStartTime string `json:"coupon_start_time,omitempty" xml:"coupon_start_time,omitempty"` // 商品id ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"` // 当不入参special_id、relation_id、external_id时,展示常规佣金率(%) MaxCommissionRate string `json:"max_commission_rate,omitempty" xml:"max_commission_rate,omitempty"` // 商品淘客链接 ItemUrl string `json:"item_url,omitempty" xml:"item_url,omitempty"` // 预售有礼-推广链接 YsylClickUrl string `json:"ysyl_click_url,omitempty" xml:"ysyl_click_url,omitempty"` // 预售有礼-预估淘礼金(元) YsylTljFace string `json:"ysyl_tlj_face,omitempty" xml:"ysyl_tlj_face,omitempty"` // 预售有礼-淘礼金发放时间 YsylTljSendTime string `json:"ysyl_tlj_send_time,omitempty" xml:"ysyl_tlj_send_time,omitempty"` // 预售有礼-佣金比例(%)( 预售有礼活动享受的推广佣金比例,注:推广该活动有特殊分成规则,请详见:https://tbk.bbs.taobao.com/detail.html?appId=45301&postId=9334376 ) YsylCommissionRate string `json:"ysyl_commission_rate,omitempty" xml:"ysyl_commission_rate,omitempty"` // 预售有礼-淘礼金使用开始时间 YsylTljUseStartTime string `json:"ysyl_tlj_use_start_time,omitempty" xml:"ysyl_tlj_use_start_time,omitempty"` // 预售有礼-淘礼金使用结束时间 YsylTljUseEndTime string `json:"ysyl_tlj_use_end_time,omitempty" xml:"ysyl_tlj_use_end_time,omitempty"` // 当入参special_id、relation_id、external_id时,该字段展示预估最低佣金率(%) MinCommissionRate string `json:"min_commission_rate,omitempty" xml:"min_commission_rate,omitempty"` // 后台一级类目 CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"` // 优惠券总量 CouponTotalCount int64 `json:"coupon_total_count,omitempty" xml:"coupon_total_count,omitempty"` // 优惠券剩余量 CouponRemainCount int64 `json:"coupon_remain_count,omitempty" xml:"coupon_remain_count,omitempty"` // 优惠券(商品优惠券推广链接中的券)类型,1 公开券,2 私有券,3 妈妈券 CouponType int64 `json:"coupon_type,omitempty" xml:"coupon_type,omitempty"` // 比价场景专用,当系统检测到入参消费者ID购买当前商品会获得《天天开彩蛋》玩法的彩蛋时,该字段显示1,否则为0 RewardInfo int64 `json:"reward_info,omitempty" xml:"reward_info,omitempty"` // 前N件佣金信息-当入参get_topn_rate=1,前N件佣金生效且最高,透出该组字段 TopnInfo *StepRateDto `json:"topn_info,omitempty" xml:"topn_info,omitempty"` // 小程序链接(暂未对外开放) MiniProgram *MiniProgramDto `json:"mini_program,omitempty" xml:"mini_program,omitempty"` }
MaterialDto 结构体
type MiniProgramDto ¶ added in v1.2.5
type MiniProgramDto struct { // 小程序APPID MiniProgramAppid string `json:"mini_program_appid,omitempty" xml:"mini_program_appid,omitempty"` // 小程序路径 MiniProgramPath string `json:"mini_program_path,omitempty" xml:"mini_program_path,omitempty"` // 小程序码url地址 MiniProgramQrcodeUrl string `json:"mini_program_qrcode_url,omitempty" xml:"mini_program_qrcode_url,omitempty"` }
MiniProgramDto 结构体
type NTbkItem ¶
type NTbkItem struct { // 商品小图列表 SmallImages []string `json:"small_images,omitempty" xml:"small_images>string,omitempty"` // 一级类目名称 CatName string `json:"cat_name,omitempty" xml:"cat_name,omitempty"` // 商品ID NumIid string `json:"num_iid,omitempty" xml:"num_iid,omitempty"` // 商品标题 Title string `json:"title,omitempty" xml:"title,omitempty"` // 商品主图 PictUrl string `json:"pict_url,omitempty" xml:"pict_url,omitempty"` // 商品一口价格 ReservePrice string `json:"reserve_price,omitempty" xml:"reserve_price,omitempty"` // 折扣价(元) 若属于预售商品,付定金时间内,折扣价=预售价 ZkFinalPrice string `json:"zk_final_price,omitempty" xml:"zk_final_price,omitempty"` // 商品所在地 Provcity string `json:"provcity,omitempty" xml:"provcity,omitempty"` // 商品链接 ItemUrl string `json:"item_url,omitempty" xml:"item_url,omitempty"` // 店铺名称 Nick string `json:"nick,omitempty" xml:"nick,omitempty"` // 叶子类目名称 CatLeafName string `json:"cat_leaf_name,omitempty" xml:"cat_leaf_name,omitempty"` // 商品库类型,支持多库类型输出,以英文逗号分隔“,”分隔,1:营销商品主推库,如果值为空则不属于1这种商品类型 MaterialLibType string `json:"material_lib_type,omitempty" xml:"material_lib_type,omitempty"` // 预售商品-商品优惠信息 PresaleDiscountFeeText string `json:"presale_discount_fee_text,omitempty" xml:"presale_discount_fee_text,omitempty"` // 预售商品-定金(元) PresaleDeposit string `json:"presale_deposit,omitempty" xml:"presale_deposit,omitempty"` // 1聚划算满减:满N件减X元,满N件X折,满N件X元) 2天猫限时抢:前N分钟每件X元,前N分钟满N件每件X元,前N件每件X元) PlayInfo string `json:"play_info,omitempty" xml:"play_info,omitempty"` // 聚划算信息-聚淘开始时间(毫秒) JuOnlineStartTime string `json:"ju_online_start_time,omitempty" xml:"ju_online_start_time,omitempty"` // 聚划算信息-聚淘结束时间(毫秒) JuOnlineEndTime string `json:"ju_online_end_time,omitempty" xml:"ju_online_end_time,omitempty"` // 聚划算信息-商品预热开始时间(毫秒) JuPreShowStartTime string `json:"ju_pre_show_start_time,omitempty" xml:"ju_pre_show_start_time,omitempty"` // 聚划算信息-商品预热结束时间(毫秒) JuPreShowEndTime string `json:"ju_pre_show_end_time,omitempty" xml:"ju_pre_show_end_time,omitempty"` // 活动价 SalePrice string `json:"sale_price,omitempty" xml:"sale_price,omitempty"` // 跨店满减信息 KuadianPromotionInfo string `json:"kuadian_promotion_info,omitempty" xml:"kuadian_promotion_info,omitempty"` // 是否品牌精选,0不是,1是 SuperiorBrand string `json:"superior_brand,omitempty" xml:"superior_brand,omitempty"` // 是否是热门商品,0不是,1是 HotFlag string `json:"hot_flag,omitempty" xml:"hot_flag,omitempty"` // 入参的商品ID或营销ID InputNumIid string `json:"input_num_iid,omitempty" xml:"input_num_iid,omitempty"` // 卖家类型,0表示集市,1表示商城,3表示特价版 UserType int64 `json:"user_type,omitempty" xml:"user_type,omitempty"` // 卖家id SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"` // 30天销量 Volume int64 `json:"volume,omitempty" xml:"volume,omitempty"` // 店铺dsr 评分 ShopDsr int64 `json:"shop_dsr,omitempty" xml:"shop_dsr,omitempty"` // 卖家等级 Ratesum int64 `json:"ratesum,omitempty" xml:"ratesum,omitempty"` // 预售商品-付定金结束时间(毫秒) PresaleTailEndTime int64 `json:"presale_tail_end_time,omitempty" xml:"presale_tail_end_time,omitempty"` // 预售商品-付尾款开始时间(毫秒) PresaleTailStartTime int64 `json:"presale_tail_start_time,omitempty" xml:"presale_tail_start_time,omitempty"` // 预售商品-付定金结束时间(毫秒) PresaleEndTime int64 `json:"presale_end_time,omitempty" xml:"presale_end_time,omitempty"` // 预售商品-付定金开始时间(毫秒) PresaleStartTime int64 `json:"presale_start_time,omitempty" xml:"presale_start_time,omitempty"` // 聚划算满减 -结束时间(毫秒) JuPlayEndTime int64 `json:"ju_play_end_time,omitempty" xml:"ju_play_end_time,omitempty"` // 聚划算满减 -开始时间(毫秒) JuPlayStartTime int64 `json:"ju_play_start_time,omitempty" xml:"ju_play_start_time,omitempty"` // 天猫限时抢可售 -结束时间(毫秒) TmallPlayActivityEndTime int64 `json:"tmall_play_activity_end_time,omitempty" xml:"tmall_play_activity_end_time,omitempty"` // 天猫限时抢可售 -开始时间(毫秒) TmallPlayActivityStartTime int64 `json:"tmall_play_activity_start_time,omitempty" xml:"tmall_play_activity_start_time,omitempty"` // 是否加入消费者保障 IsPrepay bool `json:"is_prepay,omitempty" xml:"is_prepay,omitempty"` // 退款率是否低于行业均值 IRfdRate bool `json:"i_rfd_rate,omitempty" xml:"i_rfd_rate,omitempty"` // 好评率是否高于行业均值 HGoodRate bool `json:"h_good_rate,omitempty" xml:"h_good_rate,omitempty"` // 成交转化是否高于行业均值 HPayRate30 bool `json:"h_pay_rate30,omitempty" xml:"h_pay_rate30,omitempty"` // 是否包邮 FreeShipment bool `json:"free_shipment,omitempty" xml:"free_shipment,omitempty"` }
NTbkItem 结构体
type NTbkShop ¶
type NTbkShop struct { // 店铺推广链接 ClickUrl string `json:"click_url,omitempty" xml:"click_url,omitempty"` // 店铺地址 ShopUrl string `json:"shop_url,omitempty" xml:"shop_url,omitempty"` // 卖家昵称 SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"` // 店铺类型,B:天猫,C:淘宝 ShopType string `json:"shop_type,omitempty" xml:"shop_type,omitempty"` // 店铺名称 ShopTitle string `json:"shop_title,omitempty" xml:"shop_title,omitempty"` // 店标图片 PictUrl string `json:"pict_url,omitempty" xml:"pict_url,omitempty"` // 卖家id UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"` }
NTbkShop 结构体
type OrderData ¶
type OrderData struct { // 预估佣金 Commission string `json:"commission,omitempty" xml:"commission,omitempty"` // 收货时间 ConfirmReceiveTime string `json:"confirm_receive_time,omitempty" xml:"confirm_receive_time,omitempty"` // 支付时间 PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"` // 订单号 OrderNo string `json:"order_no,omitempty" xml:"order_no,omitempty"` }
OrderData 结构体
type OrderPage ¶ added in v1.2.3
type OrderPage struct { // PublisherOrderDto Results []PublisherOrderDto `json:"results,omitempty" xml:"results>publisher_order_dto,omitempty"` // 位点字段,由调用方原样传递 PositionIndex string `json:"position_index,omitempty" xml:"position_index,omitempty"` // 页码 PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"` // 页大小 PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // 是否还有上一页 HasPre bool `json:"has_pre,omitempty" xml:"has_pre,omitempty"` // 是否还有下一页 HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"` }
OrderPage 结构体
type PageResult ¶
type PageResult struct { // 数据结果 Results []TaobaoTbkDgCpaActivityDetailResults `json:"results,omitempty" xml:"results>taobao_tbk_dg_cpa_activity_detail_results,omitempty"` // 数据批次号(时间戳) Runtime string `json:"runtime,omitempty" xml:"runtime,omitempty"` // 上一页页码 PrePage int64 `json:"pre_page,omitempty" xml:"pre_page,omitempty"` // 下一页页码 NextPage int64 `json:"next_page,omitempty" xml:"next_page,omitempty"` // 当前页码 PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"` // 总共页数 TotalPages int64 `json:"total_pages,omitempty" xml:"total_pages,omitempty"` // 每页条数 PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // 总条数 TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` // 是否有下一页 HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"` // 是否有下一页 HasPre bool `json:"has_pre,omitempty" xml:"has_pre,omitempty"` }
PageResult 结构体
type PromotionExtend ¶
type PromotionExtend struct { // 权益推荐商品 RecommendItemList []RecommendItemList `json:"recommend_item_list,omitempty" xml:"recommend_item_list>recommend_item_list,omitempty"` // 权益链接 PromotionUrl string `json:"promotion_url,omitempty" xml:"promotion_url,omitempty"` // 有价券信息 YoujiaCouponInfo *Youjiacouponinfo `json:"youjia_coupon_info,omitempty" xml:"youjia_coupon_info,omitempty"` }
PromotionExtend 结构体
type PromotionList ¶
type PromotionList struct { // 权益开始时间,精确到毫秒时间戳 EntryUsedStartTime string `json:"entry_used_start_time,omitempty" xml:"entry_used_start_time,omitempty"` // 权益结束时间,精确到毫秒时间戳 EntryUsedEndTime string `json:"entry_used_end_time,omitempty" xml:"entry_used_end_time,omitempty"` // 权益起用门槛,满X元可用,券场景为满元,精确到分,如满100元可用 EntryCondition string `json:"entry_condition,omitempty" xml:"entry_condition,omitempty"` // 权益面额,券场景为减钱,精确到分 EntryDiscount string `json:"entry_discount,omitempty" xml:"entry_discount,omitempty"` }
PromotionList 结构体
type PublisherOrderDto ¶ added in v1.2.3
type PublisherOrderDto struct { // 服务费信息 ServiceFeeDtoList []ServiceFeeDto `json:"service_fee_dto_list,omitempty" xml:"service_fee_dto_list>service_fee_dto,omitempty"` // 订单在淘宝拍下付款的时间 TbPaidTime string `json:"tb_paid_time,omitempty" xml:"tb_paid_time,omitempty"` // 订单付款的时间,该时间同步淘宝,可能会略晚于买家在淘宝的订单创建时间 TkPaidTime string `json:"tk_paid_time,omitempty" xml:"tk_paid_time,omitempty"` // 买家确认收货的付款金额(不包含运费金额) PayPrice string `json:"pay_price,omitempty" xml:"pay_price,omitempty"` PubShareFee string `json:"pub_share_fee,omitempty" xml:"pub_share_fee,omitempty"` // 买家通过购物车购买的每个商品对应的订单编号,此订单编号并未在淘宝买家后台透出 TradeId string `json:"trade_id,omitempty" xml:"trade_id,omitempty"` // 订单确认收货后且商家完成佣金支付的时间 TkEarningTime string `json:"tk_earning_time,omitempty" xml:"tk_earning_time,omitempty"` PubShareRate string `json:"pub_share_rate,omitempty" xml:"pub_share_rate,omitempty"` // 平台给与的补贴比率,如天猫、淘宝、聚划算等 SubsidyRate string `json:"subsidy_rate,omitempty" xml:"subsidy_rate,omitempty"` // 提成=收入比率*分成比率。指实际获得收益的比率 TkTotalRate string `json:"tk_total_rate,omitempty" xml:"tk_total_rate,omitempty"` // 商品所属的根类目,即一级类目的名称 ItemCategoryName string `json:"item_category_name,omitempty" xml:"item_category_name,omitempty"` // 掌柜旺旺 SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"` // 推广者赚取佣金后支付给阿里妈妈的技术服务费用的比率 AlimamaRate string `json:"alimama_rate,omitempty" xml:"alimama_rate,omitempty"` // 平台出资方,如天猫、淘宝、或聚划算等 SubsidyType string `json:"subsidy_type,omitempty" xml:"subsidy_type,omitempty"` // 商品图片 ItemImg string `json:"item_img,omitempty" xml:"item_img,omitempty"` PubSharePreFee string `json:"pub_share_pre_fee,omitempty" xml:"pub_share_pre_fee,omitempty"` // 买家拍下付款的金额(不包含运费金额) AlipayTotalPrice string `json:"alipay_total_price,omitempty" xml:"alipay_total_price,omitempty"` // 商品标题 ItemTitle string `json:"item_title,omitempty" xml:"item_title,omitempty"` // 媒体管理下的对应ID的自定义名称 SiteName string `json:"site_name,omitempty" xml:"site_name,omitempty"` // 补贴金额=结算金额*补贴比率 SubsidyFee string `json:"subsidy_fee,omitempty" xml:"subsidy_fee,omitempty"` AlimamaShareFee string `json:"alimama_share_fee,omitempty" xml:"alimama_share_fee,omitempty"` // 买家在淘宝后台显示的订单编号 TradeParentId string `json:"trade_parent_id,omitempty" xml:"trade_parent_id,omitempty"` // 订单所属平台类型,包括天猫、淘宝、聚划算等 OrderType string `json:"order_type,omitempty" xml:"order_type,omitempty"` // 订单创建的时间,该时间同步淘宝,可能会略晚于买家在淘宝的订单创建时间 TkCreateTime string `json:"tk_create_time,omitempty" xml:"tk_create_time,omitempty"` // 产品类型 FlowSource string `json:"flow_source,omitempty" xml:"flow_source,omitempty"` // 成交平台 TerminalType string `json:"terminal_type,omitempty" xml:"terminal_type,omitempty"` // 通过推广链接达到商品、店铺详情页的点击时间 ClickTime string `json:"click_time,omitempty" xml:"click_time,omitempty"` // 商品单价 ItemPrice string `json:"item_price,omitempty" xml:"item_price,omitempty"` // 商品id ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"` // 推广位管理下的自定义推广位名称 AdzoneName string `json:"adzone_name,omitempty" xml:"adzone_name,omitempty"` // 佣金比率 TotalCommissionRate string `json:"total_commission_rate,omitempty" xml:"total_commission_rate,omitempty"` // 商品链接 ItemLink string `json:"item_link,omitempty" xml:"item_link,omitempty"` // 店铺名称 SellerShopTitle string `json:"seller_shop_title,omitempty" xml:"seller_shop_title,omitempty"` // 订单结算的佣金比率+平台的补贴比率 IncomeRate string `json:"income_rate,omitempty" xml:"income_rate,omitempty"` // 佣金金额=结算金额*佣金比率 TotalCommissionFee string `json:"total_commission_fee,omitempty" xml:"total_commission_fee,omitempty"` // 预估内容专项服务费:内容场景专项技术服务费,内容推广者在内容场景进行推广需要支付给阿里妈妈专项的技术服务费用。专项服务费=付款金额*专项服务费率。 TkCommissionPreFeeForMediaPlatform string `json:"tk_commission_pre_fee_for_media_platform,omitempty" xml:"tk_commission_pre_fee_for_media_platform,omitempty"` // 结算内容专项服务费:内容场景专项技术服务费,内容推广者在内容场景进行推广需要支付给阿里妈妈专项的技术服务费用。专项服务费=结算金额*专项服务费率。 TkCommissionFeeForMediaPlatform string `json:"tk_commission_fee_for_media_platform,omitempty" xml:"tk_commission_fee_for_media_platform,omitempty"` // 内容专项服务费率:内容场景专项技术服务费率,内容推广者在内容场景进行推广需要按结算金额支付一定比例给阿里妈妈作为内容场景专项技术服务费,用于提供与内容平台实现产品技术对接等服务。 TkCommissionRateForMediaPlatform string `json:"tk_commission_rate_for_media_platform,omitempty" xml:"tk_commission_rate_for_media_platform,omitempty"` // 预售时期,用户对预售商品支付定金的付款时间,可能略晚于在淘宝付定金时间 TkDepositTime string `json:"tk_deposit_time,omitempty" xml:"tk_deposit_time,omitempty"` // 预售时期,用户对预售商品支付定金的付款时间 TbDepositTime string `json:"tb_deposit_time,omitempty" xml:"tb_deposit_time,omitempty"` // 预售时期,用户对预售商品支付的定金金额 DepositPrice string `json:"deposit_price,omitempty" xml:"deposit_price,omitempty"` // 开发者调用api的appkey AppKey string `json:"app_key,omitempty" xml:"app_key,omitempty"` // 口碑子订单号 AlscId string `json:"alsc_id,omitempty" xml:"alsc_id,omitempty"` // 口碑父订单号 AlscPid string `json:"alsc_pid,omitempty" xml:"alsc_pid,omitempty"` // 激励池对应的rid LxRid string `json:"lx_rid,omitempty" xml:"lx_rid,omitempty"` // 订单是否为激励池订单 1,表征是 0,表征否 IsLx string `json:"is_lx,omitempty" xml:"is_lx,omitempty"` // 营销类型:该字段中视订单情况有单个或多个值。 例如:淘礼金(自助充值),特价版客户端染色,特价版客户端锁粉,特价版客户端推广。 MarketingType string `json:"marketing_type,omitempty" xml:"marketing_type,omitempty"` // 订单更新时间 ModifiedTime string `json:"modified_time,omitempty" xml:"modified_time,omitempty"` // 管理member新商品ID后段 ExtraItemId string `json:"extra_item_id,omitempty" xml:"extra_item_id,omitempty"` // unid(本字段不对外开放) Unid string `json:"unid,omitempty" xml:"unid,omitempty"` // 专用(不对外开放) TalentPid string `json:"talent_pid,omitempty" xml:"talent_pid,omitempty"` TkContractShareRate string `json:"tk_contract_share_rate,omitempty" xml:"tk_contract_share_rate,omitempty"` // 买家拍下金额(不包含运费金额) TbGmvTotalPrice string `json:"tb_gmv_total_price,omitempty" xml:"tb_gmv_total_price,omitempty"` // 二方:佣金收益的第一归属者; 三方:从其他淘宝客佣金中进行分成的推广者 TkOrderRole int64 `json:"tk_order_role,omitempty" xml:"tk_order_role,omitempty"` // 推广位管理下的推广位名称对应的ID,同时也是pid=mm_1_2_3中的“3”这段数字 AdzoneId int64 `json:"adzone_id,omitempty" xml:"adzone_id,omitempty"` // 维权标签,0 含义为非维权 1 含义为维权订单 RefundTag int64 `json:"refund_tag,omitempty" xml:"refund_tag,omitempty"` // 推广者的会员id PubId int64 `json:"pub_id,omitempty" xml:"pub_id,omitempty"` // 商品数量 ItemNum int64 `json:"item_num,omitempty" xml:"item_num,omitempty"` // 已付款:指订单已付款,但还未确认收货 已收货:指订单已确认收货,但商家佣金未支付 已结算:指订单已确认收货,且商家佣金已支付成功 已失效:指订单关闭/订单佣金小于0.01元,订单关闭主要有:1)买家超时未付款; 2)买家付款前,买家/卖家取消了订单;3)订单付款后发起售中退款成功;3:订单结算,12:订单付款, 13:订单失效,14:订单成功 TkStatus int64 `json:"tk_status,omitempty" xml:"tk_status,omitempty"` // 媒体管理下的ID,同时也是pid=mm_1_2_3中的“2”这段数字 SiteId int64 `json:"site_id,omitempty" xml:"site_id,omitempty"` // 会员运营id SpecialId int64 `json:"special_id,omitempty" xml:"special_id,omitempty"` // 渠道关系id RelationId int64 `json:"relation_id,omitempty" xml:"relation_id,omitempty"` // 契约方memberId TkContractMemberId int64 `json:"tk_contract_member_id,omitempty" xml:"tk_contract_member_id,omitempty"` // 契约id TkContractId int64 `json:"tk_contract_id,omitempty" xml:"tk_contract_id,omitempty"` }
PublisherOrderDto 结构体
type RecommendItemList ¶
type RecommendItemList struct { // 商品链接 Url string `json:"url,omitempty" xml:"url,omitempty"` // 权益推荐商品id ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` }
RecommendItemList 结构体
type RegisterInfoDto ¶
type RegisterInfoDto struct { // 渠道独有 -店铺名称 ShopName string `json:"shop_name,omitempty" xml:"shop_name,omitempty"` // 渠道独有 -店铺类型 ShopType string `json:"shop_type,omitempty" xml:"shop_type,omitempty"` // 渠道独有 - 信息 PhoneNumber string `json:"phone_number,omitempty" xml:"phone_number,omitempty"` // 渠道独有 -信息 DetailAddress string `json:"detail_address,omitempty" xml:"detail_address,omitempty"` // 渠道独有 -区 Location string `json:"location,omitempty" xml:"location,omitempty"` // 渠道独有 -类型 ShopCertifyType string `json:"shop_certify_type,omitempty" xml:"shop_certify_type,omitempty"` // 渠道独有 - 编号 CertifyNumber string `json:"certify_number,omitempty" xml:"certify_number,omitempty"` // 渠道独有 -经营类型 Career string `json:"career,omitempty" xml:"career,omitempty"` }
RegisterInfoDto 结构体
type RightsInstanceCreateResult ¶
type RightsInstanceCreateResult struct { // 淘礼金Id RightsId string `json:"rights_id,omitempty" xml:"rights_id,omitempty"` // 淘礼金领取Url SendUrl string `json:"send_url,omitempty" xml:"send_url,omitempty"` // 投放code【百川商品详情页业务专用】 VegasCode string `json:"vegas_code,omitempty" xml:"vegas_code,omitempty"` // 创建完成后资金账户可用资金,单位元,保留2位小数 AvailableFee string `json:"available_fee,omitempty" xml:"available_fee,omitempty"` // 媒体针对此商品今日剩余可领取淘礼金数量 ItemTodayNumLeft int64 `json:"item_today_num_left,omitempty" xml:"item_today_num_left,omitempty"` }
RightsInstanceCreateResult 结构体
type RightsSendRelationRptDto ¶ added in v1.2.5
type RightsSendRelationRptDto struct { // 日期 BizDate string `json:"biz_date,omitempty" xml:"biz_date,omitempty"` // 渠道关系id RelationId int64 `json:"relation_id,omitempty" xml:"relation_id,omitempty"` // 红包发放数量 FundNum int64 `json:"fund_num,omitempty" xml:"fund_num,omitempty"` }
RightsSendRelationRptDto 结构体
type RightsSendRptDto ¶ added in v1.2.5
type RightsSendRptDto struct { // 渠道关系id的发放数据 RelationRptList []RightsSendRelationRptDto `json:"relation_rpt_list,omitempty" xml:"relation_rpt_list>rights_send_relation_rpt_dto,omitempty"` }
RightsSendRptDto 结构体
type ServiceFeeDto ¶ added in v1.2.3
type ServiceFeeDto struct { string `json:"share_relative_rate,omitempty" xml:"share_relative_rate,omitempty"` ShareFee string `json:"share_fee,omitempty" xml:"share_fee,omitempty"` SharePreFee string `json:"share_pre_fee,omitempty" xml:"share_pre_fee,omitempty"` TkShareRoleType int64 `json:"tk_share_role_type,omitempty" xml:"tk_share_role_type,omitempty"` }ShareRelativeRate
ServiceFeeDto 结构体
type StepRateDto ¶ added in v1.2.5
type StepRateDto struct { // 前N件佣金结束时间 TopnEndTime string `json:"topn_end_time,omitempty" xml:"topn_end_time,omitempty"` // 前N件佣金开始时间 TopnStartTime string `json:"topn_start_time,omitempty" xml:"topn_start_time,omitempty"` // 前N件佣金率 TopnRate string `json:"topn_rate,omitempty" xml:"topn_rate,omitempty"` // 前N件剩余库存 TopnQuantity int64 `json:"topn_quantity,omitempty" xml:"topn_quantity,omitempty"` // 前N件初始总库存 TopnTotalCount int64 `json:"topn_total_count,omitempty" xml:"topn_total_count,omitempty"` }
StepRateDto 结构体
type TaobaoTbkActivityInfoGetAPIRequest ¶ added in v1.2.0
type TaobaoTbkActivityInfoGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkActivityInfoGetAPIRequest 淘宝客-推广者-官方活动转链 API请求 taobao.tbk.activity.info.get
支持入参推广位和官方活动会场ID,获取活动信息和推广链接,包含推广长链接、短链接、淘口令、微信推广二维码地址等。改该API支持二方、三方类型的转链。官方活动会场ID,从淘宝客后台“我要推广-活动推广”中获取。
func NewTaobaoTbkActivityInfoGetRequest ¶
func NewTaobaoTbkActivityInfoGetRequest() *TaobaoTbkActivityInfoGetAPIRequest
NewTaobaoTbkActivityInfoGetRequest 初始化TaobaoTbkActivityInfoGetAPIRequest对象
func (TaobaoTbkActivityInfoGetAPIRequest) GetActivityMaterialId ¶ added in v1.2.0
func (r TaobaoTbkActivityInfoGetAPIRequest) GetActivityMaterialId() string
GetActivityMaterialId ActivityMaterialId Getter
func (TaobaoTbkActivityInfoGetAPIRequest) GetAdzoneId ¶ added in v1.2.0
func (r TaobaoTbkActivityInfoGetAPIRequest) GetAdzoneId() int64
GetAdzoneId AdzoneId Getter
func (TaobaoTbkActivityInfoGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTbkActivityInfoGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkActivityInfoGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTbkActivityInfoGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkActivityInfoGetAPIRequest) GetRelationId ¶ added in v1.2.0
func (r TaobaoTbkActivityInfoGetAPIRequest) GetRelationId() int64
GetRelationId RelationId Getter
func (TaobaoTbkActivityInfoGetAPIRequest) GetSubPid ¶ added in v1.2.0
func (r TaobaoTbkActivityInfoGetAPIRequest) GetSubPid() string
GetSubPid SubPid Getter
func (TaobaoTbkActivityInfoGetAPIRequest) GetUnionId ¶ added in v1.2.0
func (r TaobaoTbkActivityInfoGetAPIRequest) GetUnionId() string
GetUnionId UnionId Getter
func (*TaobaoTbkActivityInfoGetAPIRequest) SetActivityMaterialId ¶ added in v1.2.0
func (r *TaobaoTbkActivityInfoGetAPIRequest) SetActivityMaterialId(_activityMaterialId string) error
SetActivityMaterialId is ActivityMaterialId Setter 官方活动会场ID,从淘宝客后台“我要推广-活动推广”中获取
func (*TaobaoTbkActivityInfoGetAPIRequest) SetAdzoneId ¶ added in v1.2.0
func (r *TaobaoTbkActivityInfoGetAPIRequest) SetAdzoneId(_adzoneId int64) error
SetAdzoneId is AdzoneId Setter mm_xxx_xxx_xxx的第三位
func (*TaobaoTbkActivityInfoGetAPIRequest) SetRelationId ¶ added in v1.2.0
func (r *TaobaoTbkActivityInfoGetAPIRequest) SetRelationId(_relationId int64) error
SetRelationId is RelationId Setter 渠道关系id
func (*TaobaoTbkActivityInfoGetAPIRequest) SetSubPid ¶ added in v1.2.0
func (r *TaobaoTbkActivityInfoGetAPIRequest) SetSubPid(_subPid string) error
SetSubPid is SubPid Setter mm_xxx_xxx_xxx 仅三方分成场景使用
func (*TaobaoTbkActivityInfoGetAPIRequest) SetUnionId ¶ added in v1.2.0
func (r *TaobaoTbkActivityInfoGetAPIRequest) SetUnionId(_unionId string) error
SetUnionId is UnionId Setter 自定义输入串,英文和数字组成,长度不能大于12个字符,区分不同的推广渠道
type TaobaoTbkActivityInfoGetAPIResponse ¶
type TaobaoTbkActivityInfoGetAPIResponse struct { model.CommonResponse TaobaoTbkActivityInfoGetAPIResponseModel }
TaobaoTbkActivityInfoGetAPIResponse 淘宝客-推广者-官方活动转链 API返回值 taobao.tbk.activity.info.get
支持入参推广位和官方活动会场ID,获取活动信息和推广链接,包含推广长链接、短链接、淘口令、微信推广二维码地址等。改该API支持二方、三方类型的转链。官方活动会场ID,从淘宝客后台“我要推广-活动推广”中获取。
type TaobaoTbkActivityInfoGetAPIResponseModel ¶ added in v1.2.0
type TaobaoTbkActivityInfoGetAPIResponseModel struct { XMLName xml.Name `xml:"tbk_activity_info_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果对象 Data *TaobaoTbkActivityInfoGetData `json:"data,omitempty" xml:"data,omitempty"` }
TaobaoTbkActivityInfoGetAPIResponseModel is 淘宝客-推广者-官方活动转链 成功返回结果
type TaobaoTbkActivityInfoGetData ¶
type TaobaoTbkActivityInfoGetData struct { // 【本地化】微信推广二维码地址 WxQrcodeUrl string `json:"wx_qrcode_url,omitempty" xml:"wx_qrcode_url,omitempty"` // 淘客推广长链 ClickUrl string `json:"click_url,omitempty" xml:"click_url,omitempty"` // 淘客推广短链 ShortClickUrl string `json:"short_click_url,omitempty" xml:"short_click_url,omitempty"` // 投放平台, 1-PC 2-无线 TerminalType string `json:"terminal_type,omitempty" xml:"terminal_type,omitempty"` // 物料素材下载地址 MaterialOssUrl string `json:"material_oss_url,omitempty" xml:"material_oss_url,omitempty"` // 会场名称 PageName string `json:"page_name,omitempty" xml:"page_name,omitempty"` // 活动开始时间 PageStartTime string `json:"page_start_time,omitempty" xml:"page_start_time,omitempty"` // 活动结束时间 PageEndTime string `json:"page_end_time,omitempty" xml:"page_end_time,omitempty"` // 【本地化】微信小程序路径 WxMiniprogramPath string `json:"wx_miniprogram_path,omitempty" xml:"wx_miniprogram_path,omitempty"` }
TaobaoTbkActivityInfoGetData 结构体
type TaobaoTbkCartCouponExpireUserQueryAPIRequest ¶ added in v1.2.0
type TaobaoTbkCartCouponExpireUserQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkCartCouponExpireUserQueryAPIRequest 购物车催付优惠券到期查询用户信息 API请求 taobao.tbk.cart.coupon.expire.user.query
购物车催付根据对应规则查询用户信息。
func NewTaobaoTbkCartCouponExpireUserQueryRequest ¶
func NewTaobaoTbkCartCouponExpireUserQueryRequest() *TaobaoTbkCartCouponExpireUserQueryAPIRequest
NewTaobaoTbkCartCouponExpireUserQueryRequest 初始化TaobaoTbkCartCouponExpireUserQueryAPIRequest对象
func (TaobaoTbkCartCouponExpireUserQueryAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTbkCartCouponExpireUserQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkCartCouponExpireUserQueryAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTbkCartCouponExpireUserQueryAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkCartCouponExpireUserQueryAPIRequest) GetPageNum ¶ added in v1.2.0
func (r TaobaoTbkCartCouponExpireUserQueryAPIRequest) GetPageNum() int64
GetPageNum PageNum Getter
func (TaobaoTbkCartCouponExpireUserQueryAPIRequest) GetPageSize ¶ added in v1.2.0
func (r TaobaoTbkCartCouponExpireUserQueryAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoTbkCartCouponExpireUserQueryAPIRequest) GetRuleId ¶ added in v1.2.0
func (r TaobaoTbkCartCouponExpireUserQueryAPIRequest) GetRuleId() string
GetRuleId RuleId Getter
func (*TaobaoTbkCartCouponExpireUserQueryAPIRequest) SetPageNum ¶ added in v1.2.0
func (r *TaobaoTbkCartCouponExpireUserQueryAPIRequest) SetPageNum(_pageNum int64) error
SetPageNum is PageNum Setter 页码,从0开始
func (*TaobaoTbkCartCouponExpireUserQueryAPIRequest) SetPageSize ¶ added in v1.2.0
func (r *TaobaoTbkCartCouponExpireUserQueryAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 每页大小
func (*TaobaoTbkCartCouponExpireUserQueryAPIRequest) SetRuleId ¶ added in v1.2.0
func (r *TaobaoTbkCartCouponExpireUserQueryAPIRequest) SetRuleId(_ruleId string) error
SetRuleId is RuleId Setter 规则ID,由接口提供方分配
type TaobaoTbkCartCouponExpireUserQueryAPIResponse ¶
type TaobaoTbkCartCouponExpireUserQueryAPIResponse struct { model.CommonResponse TaobaoTbkCartCouponExpireUserQueryAPIResponseModel }
TaobaoTbkCartCouponExpireUserQueryAPIResponse 购物车催付优惠券到期查询用户信息 API返回值 taobao.tbk.cart.coupon.expire.user.query
购物车催付根据对应规则查询用户信息。
type TaobaoTbkCartCouponExpireUserQueryAPIResponseModel ¶ added in v1.2.0
type TaobaoTbkCartCouponExpireUserQueryAPIResponseModel struct { XMLName xml.Name `xml:"tbk_cart_coupon_expire_user_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 用户规则信息集合 UserRuleInfoList []UserRuleInfo `json:"user_rule_info_list,omitempty" xml:"user_rule_info_list>user_rule_info,omitempty"` }
TaobaoTbkCartCouponExpireUserQueryAPIResponseModel is 购物车催付优惠券到期查询用户信息 成功返回结果
type TaobaoTbkCartCouponExpireUserQueryMapData ¶
type TaobaoTbkCartCouponExpireUserQueryMapData struct { // 商品ID对应的sku集合 SkuIdList []int64 `json:"sku_id_list,omitempty" xml:"sku_id_list>int64,omitempty"` // 商品ID ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` }
TaobaoTbkCartCouponExpireUserQueryMapData 结构体
type TaobaoTbkCouponGetAPIRequest ¶ added in v1.2.0
TaobaoTbkCouponGetAPIRequest 淘宝客-公用-阿里妈妈推广券详情查询 API请求 taobao.tbk.coupon.get
传入商品ID+券ID(券ID已知情况下),或者传入me参数,均可查询阿里妈妈推广券详细信息。
func NewTaobaoTbkCouponGetRequest ¶
func NewTaobaoTbkCouponGetRequest() *TaobaoTbkCouponGetAPIRequest
NewTaobaoTbkCouponGetRequest 初始化TaobaoTbkCouponGetAPIRequest对象
func (TaobaoTbkCouponGetAPIRequest) GetActivityId ¶ added in v1.2.0
func (r TaobaoTbkCouponGetAPIRequest) GetActivityId() string
GetActivityId ActivityId Getter
func (TaobaoTbkCouponGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTbkCouponGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkCouponGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTbkCouponGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkCouponGetAPIRequest) GetItemId ¶ added in v1.2.0
func (r TaobaoTbkCouponGetAPIRequest) GetItemId() string
GetItemId ItemId Getter
func (TaobaoTbkCouponGetAPIRequest) GetMe ¶ added in v1.2.0
func (r TaobaoTbkCouponGetAPIRequest) GetMe() string
GetMe Me Getter
func (*TaobaoTbkCouponGetAPIRequest) SetActivityId ¶ added in v1.2.0
func (r *TaobaoTbkCouponGetAPIRequest) SetActivityId(_activityId string) error
SetActivityId is ActivityId Setter 券ID
func (*TaobaoTbkCouponGetAPIRequest) SetItemId ¶ added in v1.2.0
func (r *TaobaoTbkCouponGetAPIRequest) SetItemId(_itemId string) error
SetItemId is ItemId Setter 商品ID
func (*TaobaoTbkCouponGetAPIRequest) SetMe ¶ added in v1.2.0
func (r *TaobaoTbkCouponGetAPIRequest) SetMe(_me string) error
SetMe is Me Setter 带券ID与商品ID的加密串
type TaobaoTbkCouponGetAPIResponse ¶
type TaobaoTbkCouponGetAPIResponse struct { model.CommonResponse TaobaoTbkCouponGetAPIResponseModel }
TaobaoTbkCouponGetAPIResponse 淘宝客-公用-阿里妈妈推广券详情查询 API返回值 taobao.tbk.coupon.get
传入商品ID+券ID(券ID已知情况下),或者传入me参数,均可查询阿里妈妈推广券详细信息。
type TaobaoTbkCouponGetAPIResponseModel ¶ added in v1.2.0
type TaobaoTbkCouponGetAPIResponseModel struct { XMLName xml.Name `xml:"tbk_coupon_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // data Data *TaobaoTbkCouponGetMapData `json:"data,omitempty" xml:"data,omitempty"` }
TaobaoTbkCouponGetAPIResponseModel is 淘宝客-公用-阿里妈妈推广券详情查询 成功返回结果
type TaobaoTbkCouponGetMapData ¶
type TaobaoTbkCouponGetMapData struct { // 优惠券门槛金额 CouponStartFee string `json:"coupon_start_fee,omitempty" xml:"coupon_start_fee,omitempty"` // 优惠券结束时间 CouponEndTime string `json:"coupon_end_time,omitempty" xml:"coupon_end_time,omitempty"` // 优惠券开始时间 CouponStartTime string `json:"coupon_start_time,omitempty" xml:"coupon_start_time,omitempty"` // 优惠券金额 CouponAmount string `json:"coupon_amount,omitempty" xml:"coupon_amount,omitempty"` // 券ID CouponActivityId string `json:"coupon_activity_id,omitempty" xml:"coupon_activity_id,omitempty"` // 优惠券剩余量 CouponRemainCount int64 `json:"coupon_remain_count,omitempty" xml:"coupon_remain_count,omitempty"` // 优惠券总量 CouponTotalCount int64 `json:"coupon_total_count,omitempty" xml:"coupon_total_count,omitempty"` // 券类型,1 表示全网公开券,4 表示妈妈渠道券 CouponSrcScene int64 `json:"coupon_src_scene,omitempty" xml:"coupon_src_scene,omitempty"` // 券属性,0表示店铺券,1表示单品券 CouponType int64 `json:"coupon_type,omitempty" xml:"coupon_type,omitempty"` }
TaobaoTbkCouponGetMapData 结构体
type TaobaoTbkDgCpaActivityDetailAPIRequest ¶ added in v1.2.5
type TaobaoTbkDgCpaActivityDetailAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkDgCpaActivityDetailAPIRequest 淘宝客-推广者-CPA活动执行明细 API请求 taobao.tbk.dg.cpa.activity.detail
淘宝客获取CPA活动具体执行效果的明细数据(含预估和结算维度)
func NewTaobaoTbkDgCpaActivityDetailRequest ¶ added in v1.2.5
func NewTaobaoTbkDgCpaActivityDetailRequest() *TaobaoTbkDgCpaActivityDetailAPIRequest
NewTaobaoTbkDgCpaActivityDetailRequest 初始化TaobaoTbkDgCpaActivityDetailAPIRequest对象
func (TaobaoTbkDgCpaActivityDetailAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoTbkDgCpaActivityDetailAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkDgCpaActivityDetailAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoTbkDgCpaActivityDetailAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkDgCpaActivityDetailAPIRequest) GetEventId ¶ added in v1.2.5
func (r TaobaoTbkDgCpaActivityDetailAPIRequest) GetEventId() int64
GetEventId EventId Getter
func (TaobaoTbkDgCpaActivityDetailAPIRequest) GetIndicatorAlias ¶ added in v1.2.5
func (r TaobaoTbkDgCpaActivityDetailAPIRequest) GetIndicatorAlias() string
GetIndicatorAlias IndicatorAlias Getter
func (TaobaoTbkDgCpaActivityDetailAPIRequest) GetPageNo ¶ added in v1.2.5
func (r TaobaoTbkDgCpaActivityDetailAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoTbkDgCpaActivityDetailAPIRequest) GetPageSize ¶ added in v1.2.5
func (r TaobaoTbkDgCpaActivityDetailAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoTbkDgCpaActivityDetailAPIRequest) GetQueryType ¶ added in v1.2.5
func (r TaobaoTbkDgCpaActivityDetailAPIRequest) GetQueryType() int64
GetQueryType QueryType Getter
func (TaobaoTbkDgCpaActivityDetailAPIRequest) GetRuntime ¶ added in v1.2.5
func (r TaobaoTbkDgCpaActivityDetailAPIRequest) GetRuntime() string
GetRuntime Runtime Getter
func (TaobaoTbkDgCpaActivityDetailAPIRequest) GetStartId ¶ added in v1.2.5
func (r TaobaoTbkDgCpaActivityDetailAPIRequest) GetStartId() int64
GetStartId StartId Getter
func (*TaobaoTbkDgCpaActivityDetailAPIRequest) SetEventId ¶ added in v1.2.5
func (r *TaobaoTbkDgCpaActivityDetailAPIRequest) SetEventId(_eventId int64) error
SetEventId is EventId Setter CPA活动ID
func (*TaobaoTbkDgCpaActivityDetailAPIRequest) SetIndicatorAlias ¶ added in v1.2.5
func (r *TaobaoTbkDgCpaActivityDetailAPIRequest) SetIndicatorAlias(_indicatorAlias string) error
SetIndicatorAlias is IndicatorAlias Setter CPA活动奖励的统计口径,相关说明见文档:https://www.yuque.com/docs/share/7ecf8cf1-7f99-4633-a2ed-f9b6f8116af5?#
func (*TaobaoTbkDgCpaActivityDetailAPIRequest) SetPageNo ¶ added in v1.2.5
func (r *TaobaoTbkDgCpaActivityDetailAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 页码
func (*TaobaoTbkDgCpaActivityDetailAPIRequest) SetPageSize ¶ added in v1.2.5
func (r *TaobaoTbkDgCpaActivityDetailAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 每页条数
func (*TaobaoTbkDgCpaActivityDetailAPIRequest) SetQueryType ¶ added in v1.2.5
func (r *TaobaoTbkDgCpaActivityDetailAPIRequest) SetQueryType(_queryType int64) error
SetQueryType is QueryType Setter 明细类型,1:预估明细,2:结算明细
func (*TaobaoTbkDgCpaActivityDetailAPIRequest) SetRuntime ¶ added in v1.2.5
func (r *TaobaoTbkDgCpaActivityDetailAPIRequest) SetRuntime(_runtime string) error
SetRuntime is Runtime Setter 指定数据批次号(时间戳)
func (*TaobaoTbkDgCpaActivityDetailAPIRequest) SetStartId ¶ added in v1.2.5
func (r *TaobaoTbkDgCpaActivityDetailAPIRequest) SetStartId(_startId int64) error
SetStartId is StartId Setter 下一页开始查询的记录主键id
type TaobaoTbkDgCpaActivityDetailAPIResponse ¶ added in v1.2.5
type TaobaoTbkDgCpaActivityDetailAPIResponse struct { model.CommonResponse TaobaoTbkDgCpaActivityDetailAPIResponseModel }
TaobaoTbkDgCpaActivityDetailAPIResponse 淘宝客-推广者-CPA活动执行明细 API返回值 taobao.tbk.dg.cpa.activity.detail
淘宝客获取CPA活动具体执行效果的明细数据(含预估和结算维度)
type TaobaoTbkDgCpaActivityDetailAPIResponseModel ¶ added in v1.2.5
type TaobaoTbkDgCpaActivityDetailAPIResponseModel struct { XMLName xml.Name `xml:"tbk_dg_cpa_activity_detail_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口返回model Result *TaobaoTbkDgCpaActivityDetailResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoTbkDgCpaActivityDetailAPIResponseModel is 淘宝客-推广者-CPA活动执行明细 成功返回结果
type TaobaoTbkDgCpaActivityDetailResult ¶ added in v1.2.5
type TaobaoTbkDgCpaActivityDetailResult struct { // 错误代码 BizErrorFeature string `json:"biz_error_feature,omitempty" xml:"biz_error_feature,omitempty"` // 错误描述 BizErrorDesc string `json:"biz_error_desc,omitempty" xml:"biz_error_desc,omitempty"` // 结果信息 ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` // 返回素材id Data *PageResult `json:"data,omitempty" xml:"data,omitempty"` // 结果码 ResultCode int64 `json:"result_code,omitempty" xml:"result_code,omitempty"` // 错误代码 BizErrorCode int64 `json:"biz_error_code,omitempty" xml:"biz_error_code,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoTbkDgCpaActivityDetailResult 结构体
type TaobaoTbkDgCpaActivityDetailResults ¶ added in v1.2.5
type TaobaoTbkDgCpaActivityDetailResults struct { // 奖励明细数据,KV结构。字段释义见文档:https://www.yuque.com/docs/share/7ecf8cf1-7f99-4633-a2ed-f9b6f8116af5?# FieldDetail string `json:"field_detail,omitempty" xml:"field_detail,omitempty"` // 明细类型,1:预估明细,2:结算明细 CalcType int64 `json:"calc_type,omitempty" xml:"calc_type,omitempty"` // 明细记录主键id Id int64 `json:"id,omitempty" xml:"id,omitempty"` }
TaobaoTbkDgCpaActivityDetailResults 结构体
type TaobaoTbkDgCpaActivityReportAPIRequest ¶ added in v1.2.5
type TaobaoTbkDgCpaActivityReportAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkDgCpaActivityReportAPIRequest 淘宝客-推广者-任务奖励效果报表 API请求 taobao.tbk.dg.cpa.activity.report
提供给媒体使用的cpa活动报表查询api,当前仅试运行媒体可使用
func NewTaobaoTbkDgCpaActivityReportRequest ¶ added in v1.2.5
func NewTaobaoTbkDgCpaActivityReportRequest() *TaobaoTbkDgCpaActivityReportAPIRequest
NewTaobaoTbkDgCpaActivityReportRequest 初始化TaobaoTbkDgCpaActivityReportAPIRequest对象
func (TaobaoTbkDgCpaActivityReportAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoTbkDgCpaActivityReportAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkDgCpaActivityReportAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoTbkDgCpaActivityReportAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkDgCpaActivityReportAPIRequest) GetBizDate ¶ added in v1.2.5
func (r TaobaoTbkDgCpaActivityReportAPIRequest) GetBizDate() string
GetBizDate BizDate Getter
func (TaobaoTbkDgCpaActivityReportAPIRequest) GetEventId ¶ added in v1.2.5
func (r TaobaoTbkDgCpaActivityReportAPIRequest) GetEventId() int64
GetEventId EventId Getter
func (TaobaoTbkDgCpaActivityReportAPIRequest) GetPageNo ¶ added in v1.2.5
func (r TaobaoTbkDgCpaActivityReportAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoTbkDgCpaActivityReportAPIRequest) GetPageSize ¶ added in v1.2.5
func (r TaobaoTbkDgCpaActivityReportAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoTbkDgCpaActivityReportAPIRequest) GetPid ¶ added in v1.2.5
func (r TaobaoTbkDgCpaActivityReportAPIRequest) GetPid() string
GetPid Pid Getter
func (TaobaoTbkDgCpaActivityReportAPIRequest) GetQueryType ¶ added in v1.2.5
func (r TaobaoTbkDgCpaActivityReportAPIRequest) GetQueryType() int64
GetQueryType QueryType Getter
func (TaobaoTbkDgCpaActivityReportAPIRequest) GetRelationId ¶ added in v1.2.5
func (r TaobaoTbkDgCpaActivityReportAPIRequest) GetRelationId() int64
GetRelationId RelationId Getter
func (*TaobaoTbkDgCpaActivityReportAPIRequest) SetBizDate ¶ added in v1.2.5
func (r *TaobaoTbkDgCpaActivityReportAPIRequest) SetBizDate(_bizDate string) error
SetBizDate is BizDate Setter 日期(yyyyMMdd)
func (*TaobaoTbkDgCpaActivityReportAPIRequest) SetEventId ¶ added in v1.2.5
func (r *TaobaoTbkDgCpaActivityReportAPIRequest) SetEventId(_eventId int64) error
SetEventId is EventId Setter CPA活动ID,详见https://www.yuque.com/docs/share/16905f3f-3a22-4e7c-b8c3-4d23791d42f7?#
func (*TaobaoTbkDgCpaActivityReportAPIRequest) SetPageNo ¶ added in v1.2.5
func (r *TaobaoTbkDgCpaActivityReportAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 分页页数,从1开始
func (*TaobaoTbkDgCpaActivityReportAPIRequest) SetPageSize ¶ added in v1.2.5
func (r *TaobaoTbkDgCpaActivityReportAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 分页大小
func (*TaobaoTbkDgCpaActivityReportAPIRequest) SetPid ¶ added in v1.2.5
func (r *TaobaoTbkDgCpaActivityReportAPIRequest) SetPid(_pid string) error
SetPid is Pid Setter 媒体三段式id(如果传入pid则返回pid汇总数据,不传则返回member维度统计数据,pid和relationid不可同时传入)
func (*TaobaoTbkDgCpaActivityReportAPIRequest) SetQueryType ¶ added in v1.2.5
func (r *TaobaoTbkDgCpaActivityReportAPIRequest) SetQueryType(_queryType int64) error
SetQueryType is QueryType Setter 数据类型:数据类型:1预估 2结算 (选择1可查询含当天实时预估统计的累计数据,选择2可查询最晚截止昨天结算的累计数据,具体逻辑以活动规则描述为准;)
func (*TaobaoTbkDgCpaActivityReportAPIRequest) SetRelationId ¶ added in v1.2.5
func (r *TaobaoTbkDgCpaActivityReportAPIRequest) SetRelationId(_relationId int64) error
SetRelationId is RelationId Setter 代理id(如果传入rid则返回rid统计数据,不传则返回member维度统计数据)
type TaobaoTbkDgCpaActivityReportAPIResponse ¶ added in v1.2.5
type TaobaoTbkDgCpaActivityReportAPIResponse struct { model.CommonResponse TaobaoTbkDgCpaActivityReportAPIResponseModel }
TaobaoTbkDgCpaActivityReportAPIResponse 淘宝客-推广者-任务奖励效果报表 API返回值 taobao.tbk.dg.cpa.activity.report
提供给媒体使用的cpa活动报表查询api,当前仅试运行媒体可使用
type TaobaoTbkDgCpaActivityReportAPIResponseModel ¶ added in v1.2.5
type TaobaoTbkDgCpaActivityReportAPIResponseModel struct { XMLName xml.Name `xml:"tbk_dg_cpa_activity_report_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回模型 Result *TaobaoTbkDgCpaActivityReportRpcResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoTbkDgCpaActivityReportAPIResponseModel is 淘宝客-推广者-任务奖励效果报表 成功返回结果
type TaobaoTbkDgCpaActivityReportRpcResult ¶ added in v1.2.5
type TaobaoTbkDgCpaActivityReportRpcResult struct { // 分页模型 Data *PageResult `json:"data,omitempty" xml:"data,omitempty"` }
TaobaoTbkDgCpaActivityReportRpcResult 结构体
type TaobaoTbkDgMaterialOptionalAPIRequest ¶ added in v1.2.0
type TaobaoTbkDgMaterialOptionalAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkDgMaterialOptionalAPIRequest 淘宝客-推广者-物料搜索 API请求 taobao.tbk.dg.material.optional
通用物料搜索API(导购)
func NewTaobaoTbkDgMaterialOptionalRequest ¶
func NewTaobaoTbkDgMaterialOptionalRequest() *TaobaoTbkDgMaterialOptionalAPIRequest
NewTaobaoTbkDgMaterialOptionalRequest 初始化TaobaoTbkDgMaterialOptionalAPIRequest对象
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetAdzoneId ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetAdzoneId() int64
GetAdzoneId AdzoneId Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetCat ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetCat() string
GetCat Cat Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetCityCode ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetCityCode() string
GetCityCode CityCode Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetDeviceEncrypt ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetDeviceEncrypt() string
GetDeviceEncrypt DeviceEncrypt Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetDeviceType ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetDeviceType() string
GetDeviceType DeviceType Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetDeviceValue ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetDeviceValue() string
GetDeviceValue DeviceValue Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetEndKaTkRate ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetEndKaTkRate() int64
GetEndKaTkRate EndKaTkRate Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetEndPrice ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetEndPrice() int64
GetEndPrice EndPrice Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetEndTkRate ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetEndTkRate() int64
GetEndTkRate EndTkRate Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetGetTopnRate ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetGetTopnRate() int64
GetGetTopnRate GetTopnRate Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetHasCoupon ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetHasCoupon() bool
GetHasCoupon HasCoupon Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetIncludeGoodRate ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetIncludeGoodRate() bool
GetIncludeGoodRate IncludeGoodRate Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetIncludePayRate30 ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetIncludePayRate30() bool
GetIncludePayRate30 IncludePayRate30 Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetIncludeRfdRate ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetIncludeRfdRate() bool
GetIncludeRfdRate IncludeRfdRate Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetIp ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetIp() string
GetIp Ip Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetIsOverseas ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetIsOverseas() bool
GetIsOverseas IsOverseas Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetIsTmall ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetIsTmall() bool
GetIsTmall IsTmall Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetItemloc ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetItemloc() string
GetItemloc Itemloc Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetLatitude ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetLatitude() string
GetLatitude Latitude Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetLockRateEndTime ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetLockRateEndTime() int64
GetLockRateEndTime LockRateEndTime Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetLockRateStartTime ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetLockRateStartTime() int64
GetLockRateStartTime LockRateStartTime Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetLongitude ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetLongitude() string
GetLongitude Longitude Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetMaterialId ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetMaterialId() int64
GetMaterialId MaterialId Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetNeedFreeShipment ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetNeedFreeShipment() bool
GetNeedFreeShipment NeedFreeShipment Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetNeedPrepay ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetNeedPrepay() bool
GetNeedPrepay NeedPrepay Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetNpxLevel ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetNpxLevel() int64
GetNpxLevel NpxLevel Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetPageNo ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetPageResultKey ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetPageResultKey() string
GetPageResultKey PageResultKey Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetPageSize ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetPlatform ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetPlatform() int64
GetPlatform Platform Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetQ ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetQ() string
GetQ Q Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetRelationId ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetRelationId() string
GetRelationId RelationId Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetSellerIds ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetSellerIds() string
GetSellerIds SellerIds Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetSort ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetSort() string
GetSort Sort Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetSpecialId ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetSpecialId() string
GetSpecialId SpecialId Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetStartDsr ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetStartDsr() int64
GetStartDsr StartDsr Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetStartKaTkRate ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetStartKaTkRate() int64
GetStartKaTkRate StartKaTkRate Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetStartPrice ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetStartPrice() int64
GetStartPrice StartPrice Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetStartTkRate ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetStartTkRate() int64
GetStartTkRate StartTkRate Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetUcrowdId ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetUcrowdId() int64
GetUcrowdId UcrowdId Getter
func (TaobaoTbkDgMaterialOptionalAPIRequest) GetUcrowdRankItems ¶ added in v1.2.0
func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetUcrowdRankItems() []Ucrowdrankitems
GetUcrowdRankItems UcrowdRankItems Getter
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetAdzoneId ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetAdzoneId(_adzoneId int64) error
SetAdzoneId is AdzoneId Setter mm_xxx_xxx_12345678三段式的最后一段数字
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetCat ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetCat(_cat string) error
SetCat is Cat Setter 商品筛选-后台类目ID。用,分割,最大10个,该ID可以通过taobao.itemcats.get接口获取到
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetCityCode ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetCityCode(_cityCode string) error
SetCityCode is CityCode Setter 本地化业务入参-LBS信息-国标城市码,仅支持单个请求,请求饿了么卡券物料时,该字段必填。 (详细城市ID见:https://mo.m.taobao.com/page_2020010315120200508)
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetDeviceEncrypt ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetDeviceEncrypt(_deviceEncrypt string) error
SetDeviceEncrypt is DeviceEncrypt Setter 智能匹配-设备号加密类型:MD5
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetDeviceType ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetDeviceType(_deviceType string) error
SetDeviceType is DeviceType Setter 智能匹配-设备号类型:IMEI,或者IDFA,或者UTDID(UTDID不支持MD5加密),或者OAID
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetDeviceValue ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetDeviceValue(_deviceValue string) error
SetDeviceValue is DeviceValue Setter 智能匹配-设备号加密后的值(MD5加密需32位小写)
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetEndKaTkRate ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetEndKaTkRate(_endKaTkRate int64) error
SetEndKaTkRate is EndKaTkRate Setter 商品筛选-KA媒体淘客佣金比率上限。如:1234表示12.34%
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetEndPrice ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetEndPrice(_endPrice int64) error
SetEndPrice is EndPrice Setter 商品筛选-折扣价范围上限。单位:元
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetEndTkRate ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetEndTkRate(_endTkRate int64) error
SetEndTkRate is EndTkRate Setter 商品筛选-淘客佣金比率上限。如:1234表示12.34%
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetGetTopnRate ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetGetTopnRate(_getTopnRate int64) error
SetGetTopnRate is GetTopnRate Setter 是否获取前N件佣金信息 0否,1是,其他值否
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetHasCoupon ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetHasCoupon(_hasCoupon bool) error
SetHasCoupon is HasCoupon Setter 优惠券筛选-是否有优惠券。true表示该商品有优惠券,false或不设置表示不限
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetIncludeGoodRate ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetIncludeGoodRate(_includeGoodRate bool) error
SetIncludeGoodRate is IncludeGoodRate Setter 商品筛选-好评率是否高于行业均值。True表示大于等于,false或不设置表示不限
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetIncludePayRate30 ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetIncludePayRate30(_includePayRate30 bool) error
SetIncludePayRate30 is IncludePayRate30 Setter 商品筛选(特定媒体支持)-成交转化是否高于行业均值。True表示大于等于,false或不设置表示不限
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetIncludeRfdRate ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetIncludeRfdRate(_includeRfdRate bool) error
SetIncludeRfdRate is IncludeRfdRate Setter 商品筛选(特定媒体支持)-退款率是否低于行业均值。True表示大于等于,false或不设置表示不限
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetIp ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetIp(_ip string) error
SetIp is Ip Setter ip参数影响邮费获取,如果不传或者传入不准确,邮费无法精准提供
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetIsOverseas ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetIsOverseas(_isOverseas bool) error
SetIsOverseas is IsOverseas Setter 商品筛选-是否海外商品。true表示属于海外商品,false或不设置表示不限
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetIsTmall ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetIsTmall(_isTmall bool) error
SetIsTmall is IsTmall Setter 商品筛选-是否天猫商品。true表示属于天猫商品,false或不设置表示不限
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetItemloc ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetItemloc(_itemloc string) error
SetItemloc is Itemloc Setter 商品筛选-所在地
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetLatitude ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetLatitude(_latitude string) error
SetLatitude is Latitude Setter 本地化业务入参-LBS信息-纬度
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetLockRateEndTime ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetLockRateEndTime(_lockRateEndTime int64) error
SetLockRateEndTime is LockRateEndTime Setter 锁佣结束时间
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetLockRateStartTime ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetLockRateStartTime(_lockRateStartTime int64) error
SetLockRateStartTime is LockRateStartTime Setter 锁佣开始时间
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetLongitude ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetLongitude(_longitude string) error
SetLongitude is Longitude Setter 本地化业务入参-LBS信息-经度
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetMaterialId ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetMaterialId(_materialId int64) error
SetMaterialId is MaterialId Setter 不传时默认物料id=2836;如果直接对消费者投放,可使用官方个性化算法优化的搜索物料id=17004
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetNeedFreeShipment ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetNeedFreeShipment(_needFreeShipment bool) error
SetNeedFreeShipment is NeedFreeShipment Setter 商品筛选-是否包邮。true表示包邮,false或不设置表示不限
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetNeedPrepay ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetNeedPrepay(_needPrepay bool) error
SetNeedPrepay is NeedPrepay Setter 商品筛选-是否加入消费者保障。true表示加入,false或不设置表示不限
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetNpxLevel ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetNpxLevel(_npxLevel int64) error
SetNpxLevel is NpxLevel Setter 商品筛选-牛皮癣程度。取值:1不限,2无,3轻微
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetPageNo ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 第几页,默认:1
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetPageResultKey ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetPageResultKey(_pageResultKey string) error
SetPageResultKey is PageResultKey Setter 本地化业务入参-分页唯一标识,非首页的请求必传,值为上一页返回结果中的page_result_key字段值
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetPageSize ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 页大小,默认20,1~100
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetPlatform ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetPlatform(_platform int64) error
SetPlatform is Platform Setter 链接形式:1:PC,2:无线,默认:1
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetQ ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetQ(_q string) error
SetQ is Q Setter 商品筛选-查询词
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetRelationId ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetRelationId(_relationId string) error
SetRelationId is RelationId Setter 渠道关系ID,仅适用于渠道推广场景
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetSellerIds ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetSellerIds(_sellerIds string) error
SetSellerIds is SellerIds Setter 商家id,仅支持饿了么卡券商家ID,支持批量请求1-100以内,多个商家ID使用英文逗号分隔
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetSort ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetSort(_sort string) error
SetSort is Sort Setter 排序_des(降序),排序_asc(升序),销量(total_sales),淘客佣金比率(tk_rate), 累计推广量(tk_total_sales),总支出佣金(tk_total_commi),价格(price),匹配分(match)
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetSpecialId ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetSpecialId(_specialId string) error
SetSpecialId is SpecialId Setter 会员运营ID
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetStartDsr ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetStartDsr(_startDsr int64) error
SetStartDsr is StartDsr Setter 商品筛选(特定媒体支持)-店铺dsr评分。筛选大于等于当前设置的店铺dsr评分的商品0-50000之间
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetStartKaTkRate ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetStartKaTkRate(_startKaTkRate int64) error
SetStartKaTkRate is StartKaTkRate Setter 商品筛选-KA媒体淘客佣金比率下限。如:1234表示12.34%
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetStartPrice ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetStartPrice(_startPrice int64) error
SetStartPrice is StartPrice Setter 商品筛选-折扣价范围下限。单位:元
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetStartTkRate ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetStartTkRate(_startTkRate int64) error
SetStartTkRate is StartTkRate Setter 商品筛选-淘客佣金比率下限。如:1234表示12.34%
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetUcrowdId ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetUcrowdId(_ucrowdId int64) error
SetUcrowdId is UcrowdId Setter 人群ID,仅适用于物料评估场景material_id=41377
func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetUcrowdRankItems ¶ added in v1.2.0
func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetUcrowdRankItems(_ucrowdRankItems []Ucrowdrankitems) error
SetUcrowdRankItems is UcrowdRankItems Setter 物料评估-商品列表
type TaobaoTbkDgMaterialOptionalAPIResponse ¶
type TaobaoTbkDgMaterialOptionalAPIResponse struct { model.CommonResponse TaobaoTbkDgMaterialOptionalAPIResponseModel }
TaobaoTbkDgMaterialOptionalAPIResponse 淘宝客-推广者-物料搜索 API返回值 taobao.tbk.dg.material.optional
通用物料搜索API(导购)
type TaobaoTbkDgMaterialOptionalAPIResponseModel ¶ added in v1.2.0
type TaobaoTbkDgMaterialOptionalAPIResponseModel struct { XMLName xml.Name `xml:"tbk_dg_material_optional_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // resultList ResultList []TaobaoTbkDgMaterialOptionalMapData `json:"result_list,omitempty" xml:"result_list>taobao_tbk_dg_material_optional_map_data,omitempty"` // 本地化-lbs分页标识,请在下一次翻页时作为入参传入 PageResultKey string `json:"page_result_key,omitempty" xml:"page_result_key,omitempty"` // 搜索到符合条件的结果总数 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` }
TaobaoTbkDgMaterialOptionalAPIResponseModel is 淘宝客-推广者-物料搜索 成功返回结果
type TaobaoTbkDgMaterialOptionalMapData ¶
type TaobaoTbkDgMaterialOptionalMapData struct { // 商品信息-商品小图列表 SmallImages []string `json:"small_images,omitempty" xml:"small_images>string,omitempty"` // 优惠券信息-优惠券开始时间 CouponStartTime string `json:"coupon_start_time,omitempty" xml:"coupon_start_time,omitempty"` // 优惠券信息-优惠券结束时间 CouponEndTime string `json:"coupon_end_time,omitempty" xml:"coupon_end_time,omitempty"` // 商品信息-定向计划信息 InfoDxjh string `json:"info_dxjh,omitempty" xml:"info_dxjh,omitempty"` // 商品信息-淘客30天推广量 TkTotalSales string `json:"tk_total_sales,omitempty" xml:"tk_total_sales,omitempty"` // 商品信息-月支出佣金(该字段废弃,请勿再用) TkTotalCommi string `json:"tk_total_commi,omitempty" xml:"tk_total_commi,omitempty"` // 优惠券信息-优惠券id CouponId string `json:"coupon_id,omitempty" xml:"coupon_id,omitempty"` // 商品信息-宝贝id(该字段废弃,请勿再用) NumIid string `json:"num_iid,omitempty" xml:"num_iid,omitempty"` // 商品信息-商品标题 Title string `json:"title,omitempty" xml:"title,omitempty"` // 商品信息-商品主图 PictUrl string `json:"pict_url,omitempty" xml:"pict_url,omitempty"` // 商品信息-商品一口价格 ReservePrice string `json:"reserve_price,omitempty" xml:"reserve_price,omitempty"` // 折扣价(元) 若属于预售商品,付定金时间内,折扣价=预售价 ZkFinalPrice string `json:"zk_final_price,omitempty" xml:"zk_final_price,omitempty"` // 商品信息-宝贝所在地 Provcity string `json:"provcity,omitempty" xml:"provcity,omitempty"` // 链接-宝贝地址 ItemUrl string `json:"item_url,omitempty" xml:"item_url,omitempty"` // 商品信息-是否包含营销计划 IncludeMkt string `json:"include_mkt,omitempty" xml:"include_mkt,omitempty"` // 商品信息-是否包含定向计划 IncludeDxjh string `json:"include_dxjh,omitempty" xml:"include_dxjh,omitempty"` // 商品信息-佣金比率。1550表示15.5% CommissionRate string `json:"commission_rate,omitempty" xml:"commission_rate,omitempty"` // 店铺信息-店铺名称 ShopTitle string `json:"shop_title,omitempty" xml:"shop_title,omitempty"` // 优惠券信息-优惠券满减信息 CouponInfo string `json:"coupon_info,omitempty" xml:"coupon_info,omitempty"` // 商品信息-佣金类型。MKT表示营销计划,SP表示定向计划,COMMON表示通用计划 CommissionType string `json:"commission_type,omitempty" xml:"commission_type,omitempty"` CouponShareUrl string `json:"coupon_share_url,omitempty" xml:"coupon_share_url,omitempty"` // 链接-宝贝推广链接 Url string `json:"url,omitempty" xml:"url,omitempty"` // 商品信息-一级类目名称 LevelOneCategoryName string `json:"level_one_category_name,omitempty" xml:"level_one_category_name,omitempty"` // 商品信息-叶子类目名称 CategoryName string `json:"category_name,omitempty" xml:"category_name,omitempty"` // 商品信息-商品短标题 ShortTitle string `json:"short_title,omitempty" xml:"short_title,omitempty"` // 商品信息-商品白底图 WhiteImage string `json:"white_image,omitempty" xml:"white_image,omitempty"` // 拼团专用-拼团结束时间 Oetime string `json:"oetime,omitempty" xml:"oetime,omitempty"` // 拼团专用-拼团开始时间 Ostime string `json:"ostime,omitempty" xml:"ostime,omitempty"` // 拼团专用-拼团拼成价,单位元 JddPrice string `json:"jdd_price,omitempty" xml:"jdd_price,omitempty"` // 链接-物料块id(测试中请勿使用) XId string `json:"x_id,omitempty" xml:"x_id,omitempty"` // 优惠券信息-优惠券起用门槛,满X元可用。如:满299元减20元 CouponStartFee string `json:"coupon_start_fee,omitempty" xml:"coupon_start_fee,omitempty"` // 优惠券(元) 若属于预售商品,该优惠券付尾款可用,付定金不可用 CouponAmount string `json:"coupon_amount,omitempty" xml:"coupon_amount,omitempty"` // 商品信息-宝贝描述(推荐理由) ItemDescription string `json:"item_description,omitempty" xml:"item_description,omitempty"` // 店铺信息-卖家昵称 Nick string `json:"nick,omitempty" xml:"nick,omitempty"` // 拼团专用-拼团一人价(原价),单位元 OrigPrice string `json:"orig_price,omitempty" xml:"orig_price,omitempty"` // 营销-天猫营销玩法 TmallPlayActivityInfo string `json:"tmall_play_activity_info,omitempty" xml:"tmall_play_activity_info,omitempty"` // 商品信息-宝贝id ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"` // 商品邮费 RealPostFee string `json:"real_post_fee,omitempty" xml:"real_post_fee,omitempty"` // 锁住的佣金率 LockRate string `json:"lock_rate,omitempty" xml:"lock_rate,omitempty"` // 预售商品-优惠 PresaleDiscountFeeText string `json:"presale_discount_fee_text,omitempty" xml:"presale_discount_fee_text,omitempty"` // 预售商品-定金(元) PresaleDeposit string `json:"presale_deposit,omitempty" xml:"presale_deposit,omitempty"` // 预售有礼-淘礼金发放时间 YsylTljSendTime string `json:"ysyl_tlj_send_time,omitempty" xml:"ysyl_tlj_send_time,omitempty"` // 预售有礼-佣金比例( 预售有礼活动享受的推广佣金比例,注:推广该活动有特殊分成规则,请详见:https://tbk.bbs.taobao.com/detail.html?appId=45301&postId=9334376 ) YsylCommissionRate string `json:"ysyl_commission_rate,omitempty" xml:"ysyl_commission_rate,omitempty"` // 预售有礼-预估淘礼金(元) YsylTljFace string `json:"ysyl_tlj_face,omitempty" xml:"ysyl_tlj_face,omitempty"` // 预售有礼-推广链接 YsylClickUrl string `json:"ysyl_click_url,omitempty" xml:"ysyl_click_url,omitempty"` // 预售有礼-淘礼金使用结束时间 YsylTljUseEndTime string `json:"ysyl_tlj_use_end_time,omitempty" xml:"ysyl_tlj_use_end_time,omitempty"` // 预售有礼-淘礼金使用开始时间 YsylTljUseStartTime string `json:"ysyl_tlj_use_start_time,omitempty" xml:"ysyl_tlj_use_start_time,omitempty"` // 本地化-销售开始时间 SaleBeginTime string `json:"sale_begin_time,omitempty" xml:"sale_begin_time,omitempty"` // 本地化-销售结束时间 SaleEndTime string `json:"sale_end_time,omitempty" xml:"sale_end_time,omitempty"` // 本地化-到门店距离(米) Distance string `json:"distance,omitempty" xml:"distance,omitempty"` // 本地化-可用店铺id UsableShopId string `json:"usable_shop_id,omitempty" xml:"usable_shop_id,omitempty"` // 本地化-可用店铺名称 UsableShopName string `json:"usable_shop_name,omitempty" xml:"usable_shop_name,omitempty"` // 活动价 SalePrice string `json:"sale_price,omitempty" xml:"sale_price,omitempty"` // 跨店满减信息 KuadianPromotionInfo string `json:"kuadian_promotion_info,omitempty" xml:"kuadian_promotion_info,omitempty"` // 是否品牌精选,0不是,1是 SuperiorBrand string `json:"superior_brand,omitempty" xml:"superior_brand,omitempty"` // 是否品牌快抢,0不是,1是 IsBrandFlashSale string `json:"is_brand_flash_sale,omitempty" xml:"is_brand_flash_sale,omitempty"` // 本地化-扩展信息 LocalizationExtend string `json:"localization_extend,omitempty" xml:"localization_extend,omitempty"` // 物料评估-匹配分 MatchScore string `json:"match_score,omitempty" xml:"match_score,omitempty"` // 物料评估-收益分 CommiScore string `json:"commi_score,omitempty" xml:"commi_score,omitempty"` // 是否是热门商品,0不是,1是 HotFlag string `json:"hot_flag,omitempty" xml:"hot_flag,omitempty"` // 商品入驻淘特后产生的所有销量量级,不特指某段具体时间 TtSoldCount string `json:"tt_sold_count,omitempty" xml:"tt_sold_count,omitempty"` // 额外奖励活动类型,如果一个商品有多个奖励类型,返回结果使用空格分割,0=预售单单奖励,1=618超级U选单单补 CpaRewardType string `json:"cpa_reward_type,omitempty" xml:"cpa_reward_type,omitempty"` // 额外奖励活动金额,活动奖励金额的类型与cpa_reward_type字段对应,如果一个商品有多个奖励类型,返回结果使用空格分割 CpaRewardAmount string `json:"cpa_reward_amount,omitempty" xml:"cpa_reward_amount,omitempty"` // 合作伙伴单单补ID,用作“年货节超级单单补”活动合作伙伴奖励统计依据 ActivityId string `json:"activity_id,omitempty" xml:"activity_id,omitempty"` // 榜单url RankPageUrl string `json:"rank_page_url,omitempty" xml:"rank_page_url,omitempty"` // 搜索类型 ItemSearchType string `json:"item_search_type,omitempty" xml:"item_search_type,omitempty"` // 店铺信息-卖家类型。0表示集市,1表示天猫 UserType int64 `json:"user_type,omitempty" xml:"user_type,omitempty"` // 商品信息-30天销量(饿了么卡券信息-总销量) Volume int64 `json:"volume,omitempty" xml:"volume,omitempty"` // 店铺信息-卖家id SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"` // 优惠券信息-优惠券总量 CouponTotalCount int64 `json:"coupon_total_count,omitempty" xml:"coupon_total_count,omitempty"` // 优惠券信息-优惠券剩余量 CouponRemainCount int64 `json:"coupon_remain_count,omitempty" xml:"coupon_remain_count,omitempty"` // 店铺信息-店铺dsr评分 ShopDsr int64 `json:"shop_dsr,omitempty" xml:"shop_dsr,omitempty"` // 商品信息-一级类目ID LevelOneCategoryId int64 `json:"level_one_category_id,omitempty" xml:"level_one_category_id,omitempty"` // 商品信息-叶子类目id CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"` // 拼团专用-拼团几人团 JddNum int64 `json:"jdd_num,omitempty" xml:"jdd_num,omitempty"` // 预售专用-预售数量 UvSumPreSale int64 `json:"uv_sum_pre_sale,omitempty" xml:"uv_sum_pre_sale,omitempty"` // 拼团专用-拼团库存数量 TotalStock int64 `json:"total_stock,omitempty" xml:"total_stock,omitempty"` // 拼团专用-拼团已售数量 SellNum int64 `json:"sell_num,omitempty" xml:"sell_num,omitempty"` // 拼团专用-拼团剩余库存 Stock int64 `json:"stock,omitempty" xml:"stock,omitempty"` // 锁佣结束时间 LockRateEndTime int64 `json:"lock_rate_end_time,omitempty" xml:"lock_rate_end_time,omitempty"` // 锁佣开始时间 LockRateStartTime int64 `json:"lock_rate_start_time,omitempty" xml:"lock_rate_start_time,omitempty"` // 预售商品-付尾款结束时间(毫秒) PresaleTailEndTime int64 `json:"presale_tail_end_time,omitempty" xml:"presale_tail_end_time,omitempty"` // 预售商品-付尾款开始时间(毫秒) PresaleTailStartTime int64 `json:"presale_tail_start_time,omitempty" xml:"presale_tail_start_time,omitempty"` // 预售商品-付定金结束时间(毫秒) PresaleEndTime int64 `json:"presale_end_time,omitempty" xml:"presale_end_time,omitempty"` // 预售商品-付定金开始时间(毫秒) PresaleStartTime int64 `json:"presale_start_time,omitempty" xml:"presale_start_time,omitempty"` // 比价场景专用,当系统检测到入参消费者ID购买当前商品会获得《天天开彩蛋》玩法的彩蛋时,该字段显示1,否则为0 RewardInfo int64 `json:"reward_info,omitempty" xml:"reward_info,omitempty"` // 前N件佣金信息-前N件佣金生效或预热时透出以下字段 TopnInfo *TopNInfoDto `json:"topn_info,omitempty" xml:"topn_info,omitempty"` // 百亿补贴信息 BybtInfo *BybtInfoDto `json:"bybt_info,omitempty" xml:"bybt_info,omitempty"` // 猫超买返卡信息 MaifanPromotion *MaifanPromotionDto `json:"maifan_promotion,omitempty" xml:"maifan_promotion,omitempty"` }
TaobaoTbkDgMaterialOptionalMapData 结构体
type TaobaoTbkDgMaterialTemporaryOptionalAPIRequest ¶ added in v1.2.5
type TaobaoTbkDgMaterialTemporaryOptionalAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkDgMaterialTemporaryOptionalAPIRequest 淘宝客-推广者-物料搜索(临时接口) API请求 taobao.tbk.dg.material.temporary.optional
通用物料搜索API(临时接口)
func NewTaobaoTbkDgMaterialTemporaryOptionalRequest ¶ added in v1.2.5
func NewTaobaoTbkDgMaterialTemporaryOptionalRequest() *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest
NewTaobaoTbkDgMaterialTemporaryOptionalRequest 初始化TaobaoTbkDgMaterialTemporaryOptionalAPIRequest对象
func (TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetAdzoneId ¶ added in v1.2.5
func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetAdzoneId() int64
GetAdzoneId AdzoneId Getter
func (TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetCat ¶ added in v1.2.5
func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetCat() string
GetCat Cat Getter
func (TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetCityCode ¶ added in v1.2.5
func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetCityCode() string
GetCityCode CityCode Getter
func (TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetDeviceEncrypt ¶ added in v1.2.5
func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetDeviceEncrypt() string
GetDeviceEncrypt DeviceEncrypt Getter
func (TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetDeviceType ¶ added in v1.2.5
func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetDeviceType() string
GetDeviceType DeviceType Getter
func (TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetDeviceValue ¶ added in v1.2.5
func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetDeviceValue() string
GetDeviceValue DeviceValue Getter
func (TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetEndKaTkRate ¶ added in v1.2.5
func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetEndKaTkRate() int64
GetEndKaTkRate EndKaTkRate Getter
func (TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetEndPrice ¶ added in v1.2.5
func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetEndPrice() int64
GetEndPrice EndPrice Getter
func (TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetEndTkRate ¶ added in v1.2.5
func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetEndTkRate() int64
GetEndTkRate EndTkRate Getter
func (TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetGetTopnRate ¶ added in v1.2.5
func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetGetTopnRate() int64
GetGetTopnRate GetTopnRate Getter
func (TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetHasCoupon ¶ added in v1.2.5
func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetHasCoupon() bool
GetHasCoupon HasCoupon Getter
func (TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetIncludeGoodRate ¶ added in v1.2.5
func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetIncludeGoodRate() bool
GetIncludeGoodRate IncludeGoodRate Getter
func (TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetIncludePayRate30 ¶ added in v1.2.5
func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetIncludePayRate30() bool
GetIncludePayRate30 IncludePayRate30 Getter
func (TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetIncludeRfdRate ¶ added in v1.2.5
func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetIncludeRfdRate() bool
GetIncludeRfdRate IncludeRfdRate Getter
func (TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetIp ¶ added in v1.2.5
func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetIp() string
GetIp Ip Getter
func (TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetIsOverseas ¶ added in v1.2.5
func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetIsOverseas() bool
GetIsOverseas IsOverseas Getter
func (TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetIsTmall ¶ added in v1.2.5
func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetIsTmall() bool
GetIsTmall IsTmall Getter
func (TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetItemloc ¶ added in v1.2.5
func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetItemloc() string
GetItemloc Itemloc Getter
func (TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetLatitude ¶ added in v1.2.5
func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetLatitude() string
GetLatitude Latitude Getter
func (TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetLockRateEndTime ¶ added in v1.2.5
func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetLockRateEndTime() int64
GetLockRateEndTime LockRateEndTime Getter
func (TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetLockRateStartTime ¶ added in v1.2.5
func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetLockRateStartTime() int64
GetLockRateStartTime LockRateStartTime Getter
func (TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetLongitude ¶ added in v1.2.5
func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetLongitude() string
GetLongitude Longitude Getter
func (TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetMaterialId ¶ added in v1.2.5
func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetMaterialId() int64
GetMaterialId MaterialId Getter
func (TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetNeedFreeShipment ¶ added in v1.2.5
func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetNeedFreeShipment() bool
GetNeedFreeShipment NeedFreeShipment Getter
func (TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetNeedPrepay ¶ added in v1.2.5
func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetNeedPrepay() bool
GetNeedPrepay NeedPrepay Getter
func (TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetNpxLevel ¶ added in v1.2.5
func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetNpxLevel() int64
GetNpxLevel NpxLevel Getter
func (TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetPageNo ¶ added in v1.2.5
func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetPageResultKey ¶ added in v1.2.5
func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetPageResultKey() string
GetPageResultKey PageResultKey Getter
func (TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetPageSize ¶ added in v1.2.5
func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetPlatform ¶ added in v1.2.5
func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetPlatform() int64
GetPlatform Platform Getter
func (TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetQ ¶ added in v1.2.5
func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetQ() string
GetQ Q Getter
func (TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetRelationId ¶ added in v1.2.5
func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetRelationId() string
GetRelationId RelationId Getter
func (TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetSellerIds ¶ added in v1.2.5
func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetSellerIds() string
GetSellerIds SellerIds Getter
func (TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetSort ¶ added in v1.2.5
func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetSort() string
GetSort Sort Getter
func (TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetSpecialId ¶ added in v1.2.5
func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetSpecialId() string
GetSpecialId SpecialId Getter
func (TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetStartDsr ¶ added in v1.2.5
func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetStartDsr() int64
GetStartDsr StartDsr Getter
func (TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetStartKaTkRate ¶ added in v1.2.5
func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetStartKaTkRate() int64
GetStartKaTkRate StartKaTkRate Getter
func (TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetStartPrice ¶ added in v1.2.5
func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetStartPrice() int64
GetStartPrice StartPrice Getter
func (TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetStartTkRate ¶ added in v1.2.5
func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetStartTkRate() int64
GetStartTkRate StartTkRate Getter
func (TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetUcrowdId ¶ added in v1.2.5
func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetUcrowdId() int64
GetUcrowdId UcrowdId Getter
func (TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetUcrowdRankItems ¶ added in v1.2.5
func (r TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) GetUcrowdRankItems() []Ucrowdrankitems
GetUcrowdRankItems UcrowdRankItems Getter
func (*TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetAdzoneId ¶ added in v1.2.5
func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetAdzoneId(_adzoneId int64) error
SetAdzoneId is AdzoneId Setter mm_xxx_xxx_12345678三段式的最后一段数字
func (*TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetCat ¶ added in v1.2.5
func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetCat(_cat string) error
SetCat is Cat Setter 商品筛选-后台类目ID。用,分割,最大10个,该ID可以通过taobao.itemcats.get接口获取到
func (*TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetCityCode ¶ added in v1.2.5
func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetCityCode(_cityCode string) error
SetCityCode is CityCode Setter 本地化业务入参-LBS信息-国标城市码,仅支持单个请求,请求饿了么卡券物料时,该字段必填。 (详细城市ID见:https://mo.m.taobao.com/page_2020010315120200508)
func (*TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetDeviceEncrypt ¶ added in v1.2.5
func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetDeviceEncrypt(_deviceEncrypt string) error
SetDeviceEncrypt is DeviceEncrypt Setter 智能匹配-设备号加密类型:MD5
func (*TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetDeviceType ¶ added in v1.2.5
func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetDeviceType(_deviceType string) error
SetDeviceType is DeviceType Setter 智能匹配-设备类型:IMEI/IDFA/UTDID/OAID,(IOS推荐使用IDFA,android等推荐使用OAID)
func (*TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetDeviceValue ¶ added in v1.2.5
func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetDeviceValue(_deviceValue string) error
SetDeviceValue is DeviceValue Setter 智能匹配-设备号加密后的值(MD5加密需32位小写)
func (*TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetEndKaTkRate ¶ added in v1.2.5
func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetEndKaTkRate(_endKaTkRate int64) error
SetEndKaTkRate is EndKaTkRate Setter 商品筛选-KA媒体淘客佣金比率上限。如:1234表示12.34%
func (*TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetEndPrice ¶ added in v1.2.5
func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetEndPrice(_endPrice int64) error
SetEndPrice is EndPrice Setter 商品筛选-折扣价范围上限。单位:元
func (*TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetEndTkRate ¶ added in v1.2.5
func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetEndTkRate(_endTkRate int64) error
SetEndTkRate is EndTkRate Setter 商品筛选-淘客佣金比率上限。如:1234表示12.34%
func (*TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetGetTopnRate ¶ added in v1.2.5
func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetGetTopnRate(_getTopnRate int64) error
SetGetTopnRate is GetTopnRate Setter 是否获取前N件佣金信息 0否,1是,其他值否
func (*TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetHasCoupon ¶ added in v1.2.5
func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetHasCoupon(_hasCoupon bool) error
SetHasCoupon is HasCoupon Setter 优惠券筛选-是否有优惠券。true表示该商品有优惠券,false或不设置表示不限
func (*TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetIncludeGoodRate ¶ added in v1.2.5
func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetIncludeGoodRate(_includeGoodRate bool) error
SetIncludeGoodRate is IncludeGoodRate Setter 商品筛选-好评率是否高于行业均值。True表示大于等于,false或不设置表示不限
func (*TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetIncludePayRate30 ¶ added in v1.2.5
func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetIncludePayRate30(_includePayRate30 bool) error
SetIncludePayRate30 is IncludePayRate30 Setter 商品筛选(特定媒体支持)-成交转化是否高于行业均值。True表示大于等于,false或不设置表示不限
func (*TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetIncludeRfdRate ¶ added in v1.2.5
func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetIncludeRfdRate(_includeRfdRate bool) error
SetIncludeRfdRate is IncludeRfdRate Setter 商品筛选(特定媒体支持)-退款率是否低于行业均值。True表示大于等于,false或不设置表示不限
func (*TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetIp ¶ added in v1.2.5
func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetIp(_ip string) error
SetIp is Ip Setter ip参数影响邮费获取,如果不传或者传入不准确,邮费无法精准提供
func (*TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetIsOverseas ¶ added in v1.2.5
func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetIsOverseas(_isOverseas bool) error
SetIsOverseas is IsOverseas Setter 商品筛选-是否海外商品。true表示属于海外商品,false或不设置表示不限
func (*TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetIsTmall ¶ added in v1.2.5
func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetIsTmall(_isTmall bool) error
SetIsTmall is IsTmall Setter 商品筛选-是否天猫商品。true表示属于天猫商品,false或不设置表示不限
func (*TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetItemloc ¶ added in v1.2.5
func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetItemloc(_itemloc string) error
SetItemloc is Itemloc Setter 商品筛选-所在地
func (*TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetLatitude ¶ added in v1.2.5
func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetLatitude(_latitude string) error
SetLatitude is Latitude Setter 本地化业务入参-LBS信息-纬度
func (*TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetLockRateEndTime ¶ added in v1.2.5
func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetLockRateEndTime(_lockRateEndTime int64) error
SetLockRateEndTime is LockRateEndTime Setter 锁佣结束时间
func (*TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetLockRateStartTime ¶ added in v1.2.5
func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetLockRateStartTime(_lockRateStartTime int64) error
SetLockRateStartTime is LockRateStartTime Setter 锁佣开始时间
func (*TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetLongitude ¶ added in v1.2.5
func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetLongitude(_longitude string) error
SetLongitude is Longitude Setter 本地化业务入参-LBS信息-经度
func (*TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetMaterialId ¶ added in v1.2.5
func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetMaterialId(_materialId int64) error
SetMaterialId is MaterialId Setter 不传时默认物料id=2836;如果直接对消费者投放,可使用官方个性化算法优化的搜索物料id=17004
func (*TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetNeedFreeShipment ¶ added in v1.2.5
func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetNeedFreeShipment(_needFreeShipment bool) error
SetNeedFreeShipment is NeedFreeShipment Setter 商品筛选-是否包邮。true表示包邮,false或不设置表示不限
func (*TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetNeedPrepay ¶ added in v1.2.5
func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetNeedPrepay(_needPrepay bool) error
SetNeedPrepay is NeedPrepay Setter 商品筛选-是否加入消费者保障。true表示加入,false或不设置表示不限
func (*TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetNpxLevel ¶ added in v1.2.5
func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetNpxLevel(_npxLevel int64) error
SetNpxLevel is NpxLevel Setter 商品筛选-牛皮癣程度。取值:1不限,2无,3轻微
func (*TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetPageNo ¶ added in v1.2.5
func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 第几页,默认:1
func (*TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetPageResultKey ¶ added in v1.2.5
func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetPageResultKey(_pageResultKey string) error
SetPageResultKey is PageResultKey Setter 本地化业务入参-分页唯一标识,非首页的请求必传,值为上一页返回结果中的page_result_key字段值
func (*TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetPageSize ¶ added in v1.2.5
func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 页大小,默认20,1~100
func (*TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetPlatform ¶ added in v1.2.5
func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetPlatform(_platform int64) error
SetPlatform is Platform Setter 链接形式:1:PC,2:无线,默认:1
func (*TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetQ ¶ added in v1.2.5
func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetQ(_q string) error
SetQ is Q Setter 商品筛选-查询词
func (*TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetRelationId ¶ added in v1.2.5
func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetRelationId(_relationId string) error
SetRelationId is RelationId Setter 渠道关系ID,仅适用于渠道推广场景
func (*TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetSellerIds ¶ added in v1.2.5
func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetSellerIds(_sellerIds string) error
SetSellerIds is SellerIds Setter 商家id,仅支持饿了么卡券商家ID,支持批量请求1-100以内,多个商家ID使用英文逗号分隔
func (*TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetSort ¶ added in v1.2.5
func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetSort(_sort string) error
SetSort is Sort Setter 排序_des(降序),排序_asc(升序),销量(total_sales),淘客佣金比率(tk_rate), 累计推广量(tk_total_sales),总支出佣金(tk_total_commi),价格(price),匹配分(match)
func (*TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetSpecialId ¶ added in v1.2.5
func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetSpecialId(_specialId string) error
SetSpecialId is SpecialId Setter 会员运营ID
func (*TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetStartDsr ¶ added in v1.2.5
func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetStartDsr(_startDsr int64) error
SetStartDsr is StartDsr Setter 商品筛选(特定媒体支持)-店铺dsr评分。筛选大于等于当前设置的店铺dsr评分的商品0-50000之间
func (*TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetStartKaTkRate ¶ added in v1.2.5
func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetStartKaTkRate(_startKaTkRate int64) error
SetStartKaTkRate is StartKaTkRate Setter 商品筛选-KA媒体淘客佣金比率下限。如:1234表示12.34%
func (*TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetStartPrice ¶ added in v1.2.5
func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetStartPrice(_startPrice int64) error
SetStartPrice is StartPrice Setter 商品筛选-折扣价范围下限。单位:元
func (*TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetStartTkRate ¶ added in v1.2.5
func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetStartTkRate(_startTkRate int64) error
SetStartTkRate is StartTkRate Setter 商品筛选-淘客佣金比率下限。如:1234表示12.34%
func (*TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetUcrowdId ¶ added in v1.2.5
func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetUcrowdId(_ucrowdId int64) error
SetUcrowdId is UcrowdId Setter 人群ID,仅适用于物料评估场景material_id=41377
func (*TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetUcrowdRankItems ¶ added in v1.2.5
func (r *TaobaoTbkDgMaterialTemporaryOptionalAPIRequest) SetUcrowdRankItems(_ucrowdRankItems []Ucrowdrankitems) error
SetUcrowdRankItems is UcrowdRankItems Setter 物料评估-商品列表
type TaobaoTbkDgMaterialTemporaryOptionalAPIResponse ¶ added in v1.2.5
type TaobaoTbkDgMaterialTemporaryOptionalAPIResponse struct { model.CommonResponse TaobaoTbkDgMaterialTemporaryOptionalAPIResponseModel }
TaobaoTbkDgMaterialTemporaryOptionalAPIResponse 淘宝客-推广者-物料搜索(临时接口) API返回值 taobao.tbk.dg.material.temporary.optional
通用物料搜索API(临时接口)
type TaobaoTbkDgMaterialTemporaryOptionalAPIResponseModel ¶ added in v1.2.5
type TaobaoTbkDgMaterialTemporaryOptionalAPIResponseModel struct { XMLName xml.Name `xml:"tbk_dg_material_temporary_optional_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // resultList ResultList []TaobaoTbkDgMaterialTemporaryOptionalMapData `json:"result_list,omitempty" xml:"result_list>taobao_tbk_dg_material_temporary_optional_map_data,omitempty"` // 本地化-lbs分页标识,请在下一次翻页时作为入参传入 PageResultKey string `json:"page_result_key,omitempty" xml:"page_result_key,omitempty"` // 搜索到符合条件的结果总数 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` }
TaobaoTbkDgMaterialTemporaryOptionalAPIResponseModel is 淘宝客-推广者-物料搜索(临时接口) 成功返回结果
type TaobaoTbkDgMaterialTemporaryOptionalMapData ¶ added in v1.2.5
type TaobaoTbkDgMaterialTemporaryOptionalMapData struct { // 商品信息-商品小图列表 SmallImages []string `json:"small_images,omitempty" xml:"small_images>string,omitempty"` // 优惠券信息-优惠券开始时间 CouponStartTime string `json:"coupon_start_time,omitempty" xml:"coupon_start_time,omitempty"` // 优惠券信息-优惠券结束时间 CouponEndTime string `json:"coupon_end_time,omitempty" xml:"coupon_end_time,omitempty"` // 商品信息-定向计划信息 InfoDxjh string `json:"info_dxjh,omitempty" xml:"info_dxjh,omitempty"` // 商品信息-淘客30天推广量 TkTotalSales string `json:"tk_total_sales,omitempty" xml:"tk_total_sales,omitempty"` // 商品信息-月支出佣金(该字段废弃,请勿再用) TkTotalCommi string `json:"tk_total_commi,omitempty" xml:"tk_total_commi,omitempty"` // 优惠券信息-优惠券id CouponId string `json:"coupon_id,omitempty" xml:"coupon_id,omitempty"` // 商品信息-宝贝id(该字段废弃,请勿再用) NumIid string `json:"num_iid,omitempty" xml:"num_iid,omitempty"` // 商品信息-商品标题 Title string `json:"title,omitempty" xml:"title,omitempty"` // 商品信息-商品主图 PictUrl string `json:"pict_url,omitempty" xml:"pict_url,omitempty"` // 商品信息-商品一口价格 ReservePrice string `json:"reserve_price,omitempty" xml:"reserve_price,omitempty"` // 折扣价(元) 若属于预售商品,付定金时间内,折扣价=预售价 ZkFinalPrice string `json:"zk_final_price,omitempty" xml:"zk_final_price,omitempty"` // 商品信息-宝贝所在地 Provcity string `json:"provcity,omitempty" xml:"provcity,omitempty"` // 链接-宝贝地址 ItemUrl string `json:"item_url,omitempty" xml:"item_url,omitempty"` // 商品信息-是否包含营销计划 IncludeMkt string `json:"include_mkt,omitempty" xml:"include_mkt,omitempty"` // 商品信息-是否包含定向计划 IncludeDxjh string `json:"include_dxjh,omitempty" xml:"include_dxjh,omitempty"` // 商品信息-佣金比率。1550表示15.5% CommissionRate string `json:"commission_rate,omitempty" xml:"commission_rate,omitempty"` // 店铺信息-店铺名称 ShopTitle string `json:"shop_title,omitempty" xml:"shop_title,omitempty"` // 优惠券信息-优惠券满减信息 CouponInfo string `json:"coupon_info,omitempty" xml:"coupon_info,omitempty"` // 商品信息-佣金类型。MKT表示营销计划,SP表示定向计划,COMMON表示通用计划 CommissionType string `json:"commission_type,omitempty" xml:"commission_type,omitempty"` CouponShareUrl string `json:"coupon_share_url,omitempty" xml:"coupon_share_url,omitempty"` // 链接-宝贝推广链接 Url string `json:"url,omitempty" xml:"url,omitempty"` // 商品信息-一级类目名称 LevelOneCategoryName string `json:"level_one_category_name,omitempty" xml:"level_one_category_name,omitempty"` // 商品信息-叶子类目名称 CategoryName string `json:"category_name,omitempty" xml:"category_name,omitempty"` // 商品信息-商品短标题 ShortTitle string `json:"short_title,omitempty" xml:"short_title,omitempty"` // 商品信息-商品白底图 WhiteImage string `json:"white_image,omitempty" xml:"white_image,omitempty"` // 拼团专用-拼团结束时间 Oetime string `json:"oetime,omitempty" xml:"oetime,omitempty"` // 拼团专用-拼团开始时间 Ostime string `json:"ostime,omitempty" xml:"ostime,omitempty"` // 拼团专用-拼团拼成价,单位元 JddPrice string `json:"jdd_price,omitempty" xml:"jdd_price,omitempty"` // 链接-物料块id(测试中请勿使用) XId string `json:"x_id,omitempty" xml:"x_id,omitempty"` // 优惠券信息-优惠券起用门槛,满X元可用。如:满299元减20元 CouponStartFee string `json:"coupon_start_fee,omitempty" xml:"coupon_start_fee,omitempty"` // 优惠券(元) 若属于预售商品,该优惠券付尾款可用,付定金不可用 CouponAmount string `json:"coupon_amount,omitempty" xml:"coupon_amount,omitempty"` // 商品信息-宝贝描述(推荐理由) ItemDescription string `json:"item_description,omitempty" xml:"item_description,omitempty"` // 店铺信息-卖家昵称 Nick string `json:"nick,omitempty" xml:"nick,omitempty"` // 拼团专用-拼团一人价(原价),单位元 OrigPrice string `json:"orig_price,omitempty" xml:"orig_price,omitempty"` // 营销-天猫营销玩法 TmallPlayActivityInfo string `json:"tmall_play_activity_info,omitempty" xml:"tmall_play_activity_info,omitempty"` // 商品信息-宝贝id ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"` // 商品邮费 RealPostFee string `json:"real_post_fee,omitempty" xml:"real_post_fee,omitempty"` // 锁住的佣金率 LockRate string `json:"lock_rate,omitempty" xml:"lock_rate,omitempty"` // 预售商品-优惠 PresaleDiscountFeeText string `json:"presale_discount_fee_text,omitempty" xml:"presale_discount_fee_text,omitempty"` // 预售商品-定金(元) PresaleDeposit string `json:"presale_deposit,omitempty" xml:"presale_deposit,omitempty"` // 预售有礼-淘礼金发放时间 YsylTljSendTime string `json:"ysyl_tlj_send_time,omitempty" xml:"ysyl_tlj_send_time,omitempty"` // 预售有礼-佣金比例( 预售有礼活动享受的推广佣金比例,注:推广该活动有特殊分成规则,请详见:https://tbk.bbs.taobao.com/detail.html?appId=45301&postId=9334376 ) YsylCommissionRate string `json:"ysyl_commission_rate,omitempty" xml:"ysyl_commission_rate,omitempty"` // 预售有礼-预估淘礼金(元) YsylTljFace string `json:"ysyl_tlj_face,omitempty" xml:"ysyl_tlj_face,omitempty"` // 预售有礼-推广链接 YsylClickUrl string `json:"ysyl_click_url,omitempty" xml:"ysyl_click_url,omitempty"` // 预售有礼-淘礼金使用结束时间 YsylTljUseEndTime string `json:"ysyl_tlj_use_end_time,omitempty" xml:"ysyl_tlj_use_end_time,omitempty"` // 预售有礼-淘礼金使用开始时间 YsylTljUseStartTime string `json:"ysyl_tlj_use_start_time,omitempty" xml:"ysyl_tlj_use_start_time,omitempty"` // 本地化-销售开始时间 SaleBeginTime string `json:"sale_begin_time,omitempty" xml:"sale_begin_time,omitempty"` // 本地化-销售结束时间 SaleEndTime string `json:"sale_end_time,omitempty" xml:"sale_end_time,omitempty"` // 本地化-到门店距离(米) Distance string `json:"distance,omitempty" xml:"distance,omitempty"` // 本地化-可用店铺id UsableShopId string `json:"usable_shop_id,omitempty" xml:"usable_shop_id,omitempty"` // 本地化-可用店铺名称 UsableShopName string `json:"usable_shop_name,omitempty" xml:"usable_shop_name,omitempty"` // 活动价 SalePrice string `json:"sale_price,omitempty" xml:"sale_price,omitempty"` // 跨店满减信息 KuadianPromotionInfo string `json:"kuadian_promotion_info,omitempty" xml:"kuadian_promotion_info,omitempty"` // 是否品牌精选,0不是,1是 SuperiorBrand string `json:"superior_brand,omitempty" xml:"superior_brand,omitempty"` // 是否品牌快抢,0不是,1是 IsBrandFlashSale string `json:"is_brand_flash_sale,omitempty" xml:"is_brand_flash_sale,omitempty"` // 本地化-扩展信息 LocalizationExtend string `json:"localization_extend,omitempty" xml:"localization_extend,omitempty"` // 物料评估-匹配分 MatchScore string `json:"match_score,omitempty" xml:"match_score,omitempty"` // 物料评估-收益分 CommiScore string `json:"commi_score,omitempty" xml:"commi_score,omitempty"` // 是否是热门商品,0不是,1是 HotFlag string `json:"hot_flag,omitempty" xml:"hot_flag,omitempty"` // 商品入驻淘特后产生的所有销量量级,不特指某段具体时间 TtSoldCount string `json:"tt_sold_count,omitempty" xml:"tt_sold_count,omitempty"` // 额外奖励活动类型,如果一个商品有多个奖励类型,返回结果使用空格分割,0=单单奖励,1=超级单单奖励 CpaRewardType string `json:"cpa_reward_type,omitempty" xml:"cpa_reward_type,omitempty"` // 店铺信息-卖家类型。0表示集市,1表示天猫 UserType int64 `json:"user_type,omitempty" xml:"user_type,omitempty"` // 商品信息-30天销量(饿了么卡券信息-总销量) Volume int64 `json:"volume,omitempty" xml:"volume,omitempty"` // 优惠券信息-优惠券总量 CouponTotalCount int64 `json:"coupon_total_count,omitempty" xml:"coupon_total_count,omitempty"` // 优惠券信息-优惠券剩余量 CouponRemainCount int64 `json:"coupon_remain_count,omitempty" xml:"coupon_remain_count,omitempty"` // 店铺信息-店铺dsr评分 ShopDsr int64 `json:"shop_dsr,omitempty" xml:"shop_dsr,omitempty"` // 商品信息-一级类目ID LevelOneCategoryId int64 `json:"level_one_category_id,omitempty" xml:"level_one_category_id,omitempty"` // 商品信息-叶子类目id CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"` // 拼团专用-拼团几人团 JddNum int64 `json:"jdd_num,omitempty" xml:"jdd_num,omitempty"` // 预售专用-预售数量 UvSumPreSale int64 `json:"uv_sum_pre_sale,omitempty" xml:"uv_sum_pre_sale,omitempty"` // 拼团专用-拼团库存数量 TotalStock int64 `json:"total_stock,omitempty" xml:"total_stock,omitempty"` // 拼团专用-拼团已售数量 SellNum int64 `json:"sell_num,omitempty" xml:"sell_num,omitempty"` // 拼团专用-拼团剩余库存 Stock int64 `json:"stock,omitempty" xml:"stock,omitempty"` // 锁佣结束时间 LockRateEndTime int64 `json:"lock_rate_end_time,omitempty" xml:"lock_rate_end_time,omitempty"` // 锁佣开始时间 LockRateStartTime int64 `json:"lock_rate_start_time,omitempty" xml:"lock_rate_start_time,omitempty"` // 预售商品-付尾款结束时间(毫秒) PresaleTailEndTime int64 `json:"presale_tail_end_time,omitempty" xml:"presale_tail_end_time,omitempty"` // 预售商品-付尾款开始时间(毫秒) PresaleTailStartTime int64 `json:"presale_tail_start_time,omitempty" xml:"presale_tail_start_time,omitempty"` // 预售商品-付定金结束时间(毫秒) PresaleEndTime int64 `json:"presale_end_time,omitempty" xml:"presale_end_time,omitempty"` // 预售商品-付定金开始时间(毫秒) PresaleStartTime int64 `json:"presale_start_time,omitempty" xml:"presale_start_time,omitempty"` // 比价场景专用,当系统检测到入参消费者ID购买当前商品会获得《天天开彩蛋》玩法的彩蛋时,该字段显示1,否则为0 RewardInfo int64 `json:"reward_info,omitempty" xml:"reward_info,omitempty"` // 前N件佣金信息-前N件佣金生效或预热时透出以下字段 TopnInfo *StepRateDto `json:"topn_info,omitempty" xml:"topn_info,omitempty"` // 百亿补贴信息 BybtInfo *TopNInfoDto `json:"bybt_info,omitempty" xml:"bybt_info,omitempty"` // 猫超买返卡信息 MaifanPromotion *MaifanPromotionDto `json:"maifan_promotion,omitempty" xml:"maifan_promotion,omitempty"` }
TaobaoTbkDgMaterialTemporaryOptionalMapData 结构体
type TaobaoTbkDgNewuserOrderGetAPIRequest ¶ added in v1.2.0
type TaobaoTbkDgNewuserOrderGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkDgNewuserOrderGetAPIRequest 淘宝客-推广者-新用户订单明细查询 API请求 taobao.tbk.dg.newuser.order.get
拉新API
func NewTaobaoTbkDgNewuserOrderGetRequest ¶
func NewTaobaoTbkDgNewuserOrderGetRequest() *TaobaoTbkDgNewuserOrderGetAPIRequest
NewTaobaoTbkDgNewuserOrderGetRequest 初始化TaobaoTbkDgNewuserOrderGetAPIRequest对象
func (TaobaoTbkDgNewuserOrderGetAPIRequest) GetActivityId ¶ added in v1.2.0
func (r TaobaoTbkDgNewuserOrderGetAPIRequest) GetActivityId() string
GetActivityId ActivityId Getter
func (TaobaoTbkDgNewuserOrderGetAPIRequest) GetAdzoneId ¶ added in v1.2.0
func (r TaobaoTbkDgNewuserOrderGetAPIRequest) GetAdzoneId() int64
GetAdzoneId AdzoneId Getter
func (TaobaoTbkDgNewuserOrderGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTbkDgNewuserOrderGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkDgNewuserOrderGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTbkDgNewuserOrderGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkDgNewuserOrderGetAPIRequest) GetEndTime ¶ added in v1.2.0
func (r TaobaoTbkDgNewuserOrderGetAPIRequest) GetEndTime() string
GetEndTime EndTime Getter
func (TaobaoTbkDgNewuserOrderGetAPIRequest) GetPageNo ¶ added in v1.2.0
func (r TaobaoTbkDgNewuserOrderGetAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoTbkDgNewuserOrderGetAPIRequest) GetPageSize ¶ added in v1.2.0
func (r TaobaoTbkDgNewuserOrderGetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoTbkDgNewuserOrderGetAPIRequest) GetStartTime ¶ added in v1.2.0
func (r TaobaoTbkDgNewuserOrderGetAPIRequest) GetStartTime() string
GetStartTime StartTime Getter
func (*TaobaoTbkDgNewuserOrderGetAPIRequest) SetActivityId ¶ added in v1.2.0
func (r *TaobaoTbkDgNewuserOrderGetAPIRequest) SetActivityId(_activityId string) error
SetActivityId is ActivityId Setter 活动id, 活动名称与活动ID列表(该字段已废弃)
func (*TaobaoTbkDgNewuserOrderGetAPIRequest) SetAdzoneId ¶ added in v1.2.0
func (r *TaobaoTbkDgNewuserOrderGetAPIRequest) SetAdzoneId(_adzoneId int64) error
SetAdzoneId is AdzoneId Setter mm_xxx_xxx_xxx的第三位
func (*TaobaoTbkDgNewuserOrderGetAPIRequest) SetEndTime ¶ added in v1.2.0
func (r *TaobaoTbkDgNewuserOrderGetAPIRequest) SetEndTime(_endTime string) error
SetEndTime is EndTime Setter 结束时间,当活动为淘宝活动,表示最晚结束时间;当活动为支付宝活动,表示最晚绑定时间;当活动为天猫活动,表示最晚领取红包的时间
func (*TaobaoTbkDgNewuserOrderGetAPIRequest) SetPageNo ¶ added in v1.2.0
func (r *TaobaoTbkDgNewuserOrderGetAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 页码,默认1
func (*TaobaoTbkDgNewuserOrderGetAPIRequest) SetPageSize ¶ added in v1.2.0
func (r *TaobaoTbkDgNewuserOrderGetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 页大小,默认20,1~100
func (*TaobaoTbkDgNewuserOrderGetAPIRequest) SetStartTime ¶ added in v1.2.0
func (r *TaobaoTbkDgNewuserOrderGetAPIRequest) SetStartTime(_startTime string) error
SetStartTime is StartTime Setter 开始时间,当活动为淘宝活动,表示最早注册时间;当活动为支付宝活动,表示最早绑定时间;当活动为天猫活动,表示最早领取红包时间
type TaobaoTbkDgNewuserOrderGetAPIResponse ¶
type TaobaoTbkDgNewuserOrderGetAPIResponse struct { model.CommonResponse TaobaoTbkDgNewuserOrderGetAPIResponseModel }
TaobaoTbkDgNewuserOrderGetAPIResponse 淘宝客-推广者-新用户订单明细查询 API返回值 taobao.tbk.dg.newuser.order.get
拉新API
type TaobaoTbkDgNewuserOrderGetAPIResponseModel ¶ added in v1.2.0
type TaobaoTbkDgNewuserOrderGetAPIResponseModel struct { XMLName xml.Name `xml:"tbk_dg_newuser_order_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // data Results *TaobaoTbkDgNewuserOrderGetResults `json:"results,omitempty" xml:"results,omitempty"` }
TaobaoTbkDgNewuserOrderGetAPIResponseModel is 淘宝客-推广者-新用户订单明细查询 成功返回结果
type TaobaoTbkDgNewuserOrderGetData ¶
type TaobaoTbkDgNewuserOrderGetData struct { // resultList Results []TaobaoTbkDgNewuserOrderGetMapData `json:"results,omitempty" xml:"results>taobao_tbk_dg_newuser_order_get_map_data,omitempty"` // 页码 PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"` // 每页大小 PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // 是否有下一页 HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"` }
TaobaoTbkDgNewuserOrderGetData 结构体
type TaobaoTbkDgNewuserOrderGetMapData ¶
type TaobaoTbkDgNewuserOrderGetMapData struct { // 复购订单,仅适用于手淘拉新 Orders []OrderData `json:"orders,omitempty" xml:"orders>order_data,omitempty"` // 新注册时间,仅淘宝拉新适用 RegisterTime string `json:"register_time,omitempty" xml:"register_time,omitempty"` // 当前活动为淘宝拉新活动时,bind_time为新激活时间; 当前活动为支付宝拉新活动时,bind_time为绑定时间。 BindTime string `json:"bind_time,omitempty" xml:"bind_time,omitempty"` // 首购时间,仅淘宝,天猫拉新适用 BuyTime string `json:"buy_time,omitempty" xml:"buy_time,omitempty"` // 新人手机号 Mobile string `json:"mobile,omitempty" xml:"mobile,omitempty"` // 分享用户(unionid),仅淘宝,天猫拉新适用 UnionId string `json:"union_id,omitempty" xml:"union_id,omitempty"` // 来源媒体名称 MemberNick string `json:"member_nick,omitempty" xml:"member_nick,omitempty"` // 来源站点名称 SiteName string `json:"site_name,omitempty" xml:"site_name,omitempty"` // 来源广告位名称 AdzoneName string `json:"adzone_name,omitempty" xml:"adzone_name,omitempty"` // 确认收货时间,仅天猫拉新适用 AcceptTime string `json:"accept_time,omitempty" xml:"accept_time,omitempty"` // 领取红包时间,仅天猫拉新适用 ReceiveTime string `json:"receive_time,omitempty" xml:"receive_time,omitempty"` // 拉新成功时间,仅支付宝拉新适用 SuccessTime string `json:"success_time,omitempty" xml:"success_time,omitempty"` // 活动类型,taobao-淘宝 alipay-支付宝 tmall-天猫 ActivityType string `json:"activity_type,omitempty" xml:"activity_type,omitempty"` // 活动id ActivityId string `json:"activity_id,omitempty" xml:"activity_id,omitempty"` // 日期,格式为"20180202" BizDate string `json:"biz_date,omitempty" xml:"biz_date,omitempty"` // 绑卡日期,仅适用于手淘拉新 BindCardTime string `json:"bind_card_time,omitempty" xml:"bind_card_time,omitempty"` // loginTime LoginTime string `json:"login_time,omitempty" xml:"login_time,omitempty"` // 使用权益时间 UseRightsTime string `json:"use_rights_time,omitempty" xml:"use_rights_time,omitempty"` // 领取权益时间 GetRightsTime string `json:"get_rights_time,omitempty" xml:"get_rights_time,omitempty"` // 渠道关系id RelationId string `json:"relation_id,omitempty" xml:"relation_id,omitempty"` // 新人状态, 当前活动为淘宝拉新活动时,1: 新注册,2:激活,3:首购,4:确认收货; 当前活动为支付宝实名活动时,1:已绑定,2:拉新成功,3:无效用户;当前活动为支付宝新登活动时,3:手淘首购,4:手淘确认收货;当前活动为天猫拉新活动时,2:已领取,3:已首购,4:已收货 Status int64 `json:"status,omitempty" xml:"status,omitempty"` // 订单淘客类型:1.淘客订单;2.非淘客订单,仅淘宝,天猫拉新适用 OrderTkType int64 `json:"order_tk_type,omitempty" xml:"order_tk_type,omitempty"` // 来源媒体ID(pid中mm_1_2_3)中第1位 MemberId int64 `json:"member_id,omitempty" xml:"member_id,omitempty"` // 来源站点ID(pid中mm_1_2_3)中第2位 SiteId int64 `json:"site_id,omitempty" xml:"site_id,omitempty"` // 来源广告位ID(pid中mm_1_2_3)中第3位 AdzoneId int64 `json:"adzone_id,omitempty" xml:"adzone_id,omitempty"` // 淘宝订单id,仅淘宝,天猫拉新适用 TbTradeParentId int64 `json:"tb_trade_parent_id,omitempty" xml:"tb_trade_parent_id,omitempty"` // 银行卡是否是绑定状态:1-绑定,0-未绑定 IsCardSave int64 `json:"is_card_save,omitempty" xml:"is_card_save,omitempty"` }
TaobaoTbkDgNewuserOrderGetMapData 结构体
type TaobaoTbkDgNewuserOrderGetResults ¶
type TaobaoTbkDgNewuserOrderGetResults struct { // data Data *TaobaoTbkDgNewuserOrderGetData `json:"data,omitempty" xml:"data,omitempty"` }
TaobaoTbkDgNewuserOrderGetResults 结构体
type TaobaoTbkDgNewuserOrderSumAPIRequest ¶ added in v1.2.0
type TaobaoTbkDgNewuserOrderSumAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkDgNewuserOrderSumAPIRequest 淘宝客-推广者-拉新活动对应数据查询 API请求 taobao.tbk.dg.newuser.order.sum
拉新活动汇总API
func NewTaobaoTbkDgNewuserOrderSumRequest ¶
func NewTaobaoTbkDgNewuserOrderSumRequest() *TaobaoTbkDgNewuserOrderSumAPIRequest
NewTaobaoTbkDgNewuserOrderSumRequest 初始化TaobaoTbkDgNewuserOrderSumAPIRequest对象
func (TaobaoTbkDgNewuserOrderSumAPIRequest) GetActivityId ¶ added in v1.2.0
func (r TaobaoTbkDgNewuserOrderSumAPIRequest) GetActivityId() string
GetActivityId ActivityId Getter
func (TaobaoTbkDgNewuserOrderSumAPIRequest) GetAdzoneId ¶ added in v1.2.0
func (r TaobaoTbkDgNewuserOrderSumAPIRequest) GetAdzoneId() int64
GetAdzoneId AdzoneId Getter
func (TaobaoTbkDgNewuserOrderSumAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTbkDgNewuserOrderSumAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkDgNewuserOrderSumAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTbkDgNewuserOrderSumAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkDgNewuserOrderSumAPIRequest) GetPageNo ¶ added in v1.2.0
func (r TaobaoTbkDgNewuserOrderSumAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoTbkDgNewuserOrderSumAPIRequest) GetPageSize ¶ added in v1.2.0
func (r TaobaoTbkDgNewuserOrderSumAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoTbkDgNewuserOrderSumAPIRequest) GetSettleMonth ¶ added in v1.2.0
func (r TaobaoTbkDgNewuserOrderSumAPIRequest) GetSettleMonth() string
GetSettleMonth SettleMonth Getter
func (TaobaoTbkDgNewuserOrderSumAPIRequest) GetSiteId ¶ added in v1.2.0
func (r TaobaoTbkDgNewuserOrderSumAPIRequest) GetSiteId() int64
GetSiteId SiteId Getter
func (*TaobaoTbkDgNewuserOrderSumAPIRequest) SetActivityId ¶ added in v1.2.0
func (r *TaobaoTbkDgNewuserOrderSumAPIRequest) SetActivityId(_activityId string) error
SetActivityId is ActivityId Setter 活动id, 活动名称与活动ID列表,请参见https://tbk.bbs.taobao.com/detail.html?appId=45301&postId=8599277
func (*TaobaoTbkDgNewuserOrderSumAPIRequest) SetAdzoneId ¶ added in v1.2.0
func (r *TaobaoTbkDgNewuserOrderSumAPIRequest) SetAdzoneId(_adzoneId int64) error
SetAdzoneId is AdzoneId Setter mm_xxx_xxx_xxx的第三位
func (*TaobaoTbkDgNewuserOrderSumAPIRequest) SetPageNo ¶ added in v1.2.0
func (r *TaobaoTbkDgNewuserOrderSumAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 页码,默认1
func (*TaobaoTbkDgNewuserOrderSumAPIRequest) SetPageSize ¶ added in v1.2.0
func (r *TaobaoTbkDgNewuserOrderSumAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 页大小,默认20,1~100
func (*TaobaoTbkDgNewuserOrderSumAPIRequest) SetSettleMonth ¶ added in v1.2.0
func (r *TaobaoTbkDgNewuserOrderSumAPIRequest) SetSettleMonth(_settleMonth string) error
SetSettleMonth is SettleMonth Setter 结算月份
func (*TaobaoTbkDgNewuserOrderSumAPIRequest) SetSiteId ¶ added in v1.2.0
func (r *TaobaoTbkDgNewuserOrderSumAPIRequest) SetSiteId(_siteId int64) error
SetSiteId is SiteId Setter mm_xxx_xxx_xxx的第二位
type TaobaoTbkDgNewuserOrderSumAPIResponse ¶
type TaobaoTbkDgNewuserOrderSumAPIResponse struct { model.CommonResponse TaobaoTbkDgNewuserOrderSumAPIResponseModel }
TaobaoTbkDgNewuserOrderSumAPIResponse 淘宝客-推广者-拉新活动对应数据查询 API返回值 taobao.tbk.dg.newuser.order.sum
拉新活动汇总API
type TaobaoTbkDgNewuserOrderSumAPIResponseModel ¶ added in v1.2.0
type TaobaoTbkDgNewuserOrderSumAPIResponseModel struct { XMLName xml.Name `xml:"tbk_dg_newuser_order_sum_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // data Results *TaobaoTbkDgNewuserOrderSumData `json:"results,omitempty" xml:"results,omitempty"` }
TaobaoTbkDgNewuserOrderSumAPIResponseModel is 淘宝客-推广者-拉新活动对应数据查询 成功返回结果
type TaobaoTbkDgNewuserOrderSumData ¶
type TaobaoTbkDgNewuserOrderSumData struct { // resultList Results []TaobaoTbkDgNewuserOrderSumData `json:"results,omitempty" xml:"results>taobao_tbk_dg_newuser_order_sum_data,omitempty"` // 活动ID ActivityId string `json:"activity_id,omitempty" xml:"activity_id,omitempty"` // 日期 BizDate string `json:"biz_date,omitempty" xml:"biz_date,omitempty"` // 结算CPA 奖励金额:仅支持member 维度的统计 AlipayUserCpaPreAmt string `json:"alipay_user_cpa_pre_amt,omitempty" xml:"alipay_user_cpa_pre_amt,omitempty"` // 当日激活且首购结算的CPA 金额:仅适用于八天乐,仅支持member维度的统计 BindBuyUserCpaPreAmt string `json:"bind_buy_user_cpa_pre_amt,omitempty" xml:"bind_buy_user_cpa_pre_amt,omitempty"` // 渠道关系id RelationId string `json:"relation_id,omitempty" xml:"relation_id,omitempty"` // data Data *TaobaoTbkDgNewuserOrderSumData `json:"data,omitempty" xml:"data,omitempty"` // 页码 PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"` // 每页大小 PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // 新注册用户数 RegUserCnt int64 `json:"reg_user_cnt,omitempty" xml:"reg_user_cnt,omitempty"` // 新激活用户数 LoginUserCnt int64 `json:"login_user_cnt,omitempty" xml:"login_user_cnt,omitempty"` // 首购用户数 AlipayUserCnt int64 `json:"alipay_user_cnt,omitempty" xml:"alipay_user_cnt,omitempty"` // 结算有效用户数 RcvValidUserCnt int64 `json:"rcv_valid_user_cnt,omitempty" xml:"rcv_valid_user_cnt,omitempty"` // 确认收货用户数 RcvUserCnt int64 `json:"rcv_user_cnt,omitempty" xml:"rcv_user_cnt,omitempty"` // 当日激活且首购的有效用户数:仅适用于八天乐,支持member,adzone维度的统计 BindBuyValidUserCnt int64 `json:"bind_buy_valid_user_cnt,omitempty" xml:"bind_buy_valid_user_cnt,omitempty"` // bindCardValidUserCnt BindCardValidUserCnt int64 `json:"bind_card_valid_user_cnt,omitempty" xml:"bind_card_valid_user_cnt,omitempty"` // reBuyValidUserCnt ReBuyValidUserCnt int64 `json:"re_buy_valid_user_cnt,omitempty" xml:"re_buy_valid_user_cnt,omitempty"` // validNum ValidNum int64 `json:"valid_num,omitempty" xml:"valid_num,omitempty"` // 是否有下一页 HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"` }
TaobaoTbkDgNewuserOrderSumData 结构体
type TaobaoTbkDgOptimusMaterialAPIRequest ¶ added in v1.2.0
type TaobaoTbkDgOptimusMaterialAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkDgOptimusMaterialAPIRequest 淘宝客-推广者-物料精选 API请求 taobao.tbk.dg.optimus.material
支持入参对应的“推广位”和官方提供的“物料id”,获取指定物料信息和推广链接,还可入参用户信息提供智能推荐(需智能推荐请先前协议https://pub.alimama.com/fourth/protocol/common.htm?key=hangye_laxin)
func NewTaobaoTbkDgOptimusMaterialRequest ¶
func NewTaobaoTbkDgOptimusMaterialRequest() *TaobaoTbkDgOptimusMaterialAPIRequest
NewTaobaoTbkDgOptimusMaterialRequest 初始化TaobaoTbkDgOptimusMaterialAPIRequest对象
func (TaobaoTbkDgOptimusMaterialAPIRequest) GetAdzoneId ¶ added in v1.2.0
func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetAdzoneId() int64
GetAdzoneId AdzoneId Getter
func (TaobaoTbkDgOptimusMaterialAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkDgOptimusMaterialAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkDgOptimusMaterialAPIRequest) GetContentId ¶ added in v1.2.0
func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetContentId() int64
GetContentId ContentId Getter
func (TaobaoTbkDgOptimusMaterialAPIRequest) GetContentSource ¶ added in v1.2.0
func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetContentSource() string
GetContentSource ContentSource Getter
func (TaobaoTbkDgOptimusMaterialAPIRequest) GetDeviceEncrypt ¶ added in v1.2.0
func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetDeviceEncrypt() string
GetDeviceEncrypt DeviceEncrypt Getter
func (TaobaoTbkDgOptimusMaterialAPIRequest) GetDeviceType ¶ added in v1.2.0
func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetDeviceType() string
GetDeviceType DeviceType Getter
func (TaobaoTbkDgOptimusMaterialAPIRequest) GetDeviceValue ¶ added in v1.2.0
func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetDeviceValue() string
GetDeviceValue DeviceValue Getter
func (TaobaoTbkDgOptimusMaterialAPIRequest) GetFavoritesId ¶ added in v1.2.0
func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetFavoritesId() string
GetFavoritesId FavoritesId Getter
func (TaobaoTbkDgOptimusMaterialAPIRequest) GetItemId ¶ added in v1.2.0
func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetItemId() string
GetItemId ItemId Getter
func (TaobaoTbkDgOptimusMaterialAPIRequest) GetMaterialId ¶ added in v1.2.0
func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetMaterialId() int64
GetMaterialId MaterialId Getter
func (TaobaoTbkDgOptimusMaterialAPIRequest) GetPageNo ¶ added in v1.2.0
func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoTbkDgOptimusMaterialAPIRequest) GetPageSize ¶ added in v1.2.0
func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (*TaobaoTbkDgOptimusMaterialAPIRequest) SetAdzoneId ¶ added in v1.2.0
func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetAdzoneId(_adzoneId int64) error
SetAdzoneId is AdzoneId Setter mm_xxx_xxx_xxx的第三位
func (*TaobaoTbkDgOptimusMaterialAPIRequest) SetContentId ¶ added in v1.2.0
func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetContentId(_contentId int64) error
SetContentId is ContentId Setter 内容专用-内容详情ID
func (*TaobaoTbkDgOptimusMaterialAPIRequest) SetContentSource ¶ added in v1.2.0
func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetContentSource(_contentSource string) error
SetContentSource is ContentSource Setter 内容专用-内容渠道信息
func (*TaobaoTbkDgOptimusMaterialAPIRequest) SetDeviceEncrypt ¶ added in v1.2.0
func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetDeviceEncrypt(_deviceEncrypt string) error
SetDeviceEncrypt is DeviceEncrypt Setter 智能匹配-设备号加密类型:MD5,类型为OAID时不传
func (*TaobaoTbkDgOptimusMaterialAPIRequest) SetDeviceType ¶ added in v1.2.0
func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetDeviceType(_deviceType string) error
SetDeviceType is DeviceType Setter 智能匹配-设备号类型:IMEI,或者IDFA,或者UTDID(UTDID不支持MD5加密),或者OAID
func (*TaobaoTbkDgOptimusMaterialAPIRequest) SetDeviceValue ¶ added in v1.2.0
func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetDeviceValue(_deviceValue string) error
SetDeviceValue is DeviceValue Setter 智能匹配-设备号加密后的值(MD5加密需32位小写),类型为OAID时传原始OAID值
func (*TaobaoTbkDgOptimusMaterialAPIRequest) SetFavoritesId ¶ added in v1.2.0
func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetFavoritesId(_favoritesId string) error
SetFavoritesId is FavoritesId Setter 选品库投放id
func (*TaobaoTbkDgOptimusMaterialAPIRequest) SetItemId ¶ added in v1.2.0
func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetItemId(_itemId string) error
SetItemId is ItemId Setter 商品ID,用于相似商品推荐
func (*TaobaoTbkDgOptimusMaterialAPIRequest) SetMaterialId ¶ added in v1.2.0
func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetMaterialId(_materialId int64) error
SetMaterialId is MaterialId Setter 官方的物料Id(详细物料id见:https://market.m.taobao.com/app/qn/toutiao-new/index-pc.html#/detail/10628875?_k=gpov9a)
func (*TaobaoTbkDgOptimusMaterialAPIRequest) SetPageNo ¶ added in v1.2.0
func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 第几页,默认:1
func (*TaobaoTbkDgOptimusMaterialAPIRequest) SetPageSize ¶ added in v1.2.0
func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 页大小,默认20,1~100
type TaobaoTbkDgOptimusMaterialAPIResponse ¶
type TaobaoTbkDgOptimusMaterialAPIResponse struct { model.CommonResponse TaobaoTbkDgOptimusMaterialAPIResponseModel }
TaobaoTbkDgOptimusMaterialAPIResponse 淘宝客-推广者-物料精选 API返回值 taobao.tbk.dg.optimus.material
支持入参对应的“推广位”和官方提供的“物料id”,获取指定物料信息和推广链接,还可入参用户信息提供智能推荐(需智能推荐请先前协议https://pub.alimama.com/fourth/protocol/common.htm?key=hangye_laxin)
type TaobaoTbkDgOptimusMaterialAPIResponseModel ¶ added in v1.2.0
type TaobaoTbkDgOptimusMaterialAPIResponseModel struct { XMLName xml.Name `xml:"tbk_dg_optimus_material_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // resultList ResultList []TaobaoTbkDgOptimusMaterialMapData `json:"result_list,omitempty" xml:"result_list>taobao_tbk_dg_optimus_material_map_data,omitempty"` // 推荐信息-是否抄底 IsDefault string `json:"is_default,omitempty" xml:"is_default,omitempty"` // 商品总数-目前只有全品库商品查询有该字段 TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` }
TaobaoTbkDgOptimusMaterialAPIResponseModel is 淘宝客-推广者-物料精选 成功返回结果
type TaobaoTbkDgOptimusMaterialMapData ¶
type TaobaoTbkDgOptimusMaterialMapData struct { // 商品信息-商品小图列表 SmallImages []string `json:"small_images,omitempty" xml:"small_images>string,omitempty"` // 商品信息-商品关联词 WordList []WordMapData `json:"word_list,omitempty" xml:"word_list>word_map_data,omitempty"` // 店铺信息-店铺名称 ShopTitle string `json:"shop_title,omitempty" xml:"shop_title,omitempty"` // 优惠券信息-优惠券起用门槛,满X元可用。如:满299元减20元 CouponStartFee string `json:"coupon_start_fee,omitempty" xml:"coupon_start_fee,omitempty"` // 商品信息-宝贝id ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"` // 折扣价(元) 若属于预售商品,付定金时间内,折扣价=预售价 ZkFinalPrice string `json:"zk_final_price,omitempty" xml:"zk_final_price,omitempty"` // 商品信息-佣金比率(%) CommissionRate string `json:"commission_rate,omitempty" xml:"commission_rate,omitempty"` // 优惠券信息-优惠券开始时间 CouponStartTime string `json:"coupon_start_time,omitempty" xml:"coupon_start_time,omitempty"` // 商品信息-商品标题 Title string `json:"title,omitempty" xml:"title,omitempty"` // 商品信息-宝贝描述(推荐理由,不一定有) ItemDescription string `json:"item_description,omitempty" xml:"item_description,omitempty"` // 优惠券信息-优惠券结束时间 CouponEndTime string `json:"coupon_end_time,omitempty" xml:"coupon_end_time,omitempty"` // 链接-宝贝+券二合一页面链接(该字段废弃,请勿再用) CouponClickUrl string `json:"coupon_click_url,omitempty" xml:"coupon_click_url,omitempty"` // 商品信息-商品主图 PictUrl string `json:"pict_url,omitempty" xml:"pict_url,omitempty"` // 链接-宝贝推广链接 ClickUrl string `json:"click_url,omitempty" xml:"click_url,omitempty"` // 拼团专用-拼团结束时间 Oetime string `json:"oetime,omitempty" xml:"oetime,omitempty"` // 拼团专用-拼团开始时间 Ostime string `json:"ostime,omitempty" xml:"ostime,omitempty"` // 拼团专用-拼团拼成价,单位元 JddPrice string `json:"jdd_price,omitempty" xml:"jdd_price,omitempty"` // 拼团专用-拼团一人价(原价),单位元 OrigPrice string `json:"orig_price,omitempty" xml:"orig_price,omitempty"` // 商品信息-一级类目名称 LevelOneCategoryName string `json:"level_one_category_name,omitempty" xml:"level_one_category_name,omitempty"` // 商品信息-叶子类目名称 CategoryName string `json:"category_name,omitempty" xml:"category_name,omitempty"` // 商品信息-商品白底图 WhiteImage string `json:"white_image,omitempty" xml:"white_image,omitempty"` // 商品信息-商品短标题 ShortTitle string `json:"short_title,omitempty" xml:"short_title,omitempty"` // 营销-天猫营销玩法 TmallPlayActivityInfo string `json:"tmall_play_activity_info,omitempty" xml:"tmall_play_activity_info,omitempty"` // 物料块id(测试中请勿使用) XId string `json:"x_id,omitempty" xml:"x_id,omitempty"` // 商品信息-新人价 NewUserPrice string `json:"new_user_price,omitempty" xml:"new_user_price,omitempty"` // 优惠券信息-优惠券满减信息 CouponInfo string `json:"coupon_info,omitempty" xml:"coupon_info,omitempty"` CouponShareUrl string `json:"coupon_share_url,omitempty" xml:"coupon_share_url,omitempty"` // 店铺信息-卖家昵称 Nick string `json:"nick,omitempty" xml:"nick,omitempty"` // 商品信息-一口价 ReservePrice string `json:"reserve_price,omitempty" xml:"reserve_price,omitempty"` // 聚划算信息-聚淘结束时间 JuOnlineEndTime string `json:"ju_online_end_time,omitempty" xml:"ju_online_end_time,omitempty"` // 聚划算信息-聚淘开始时间 JuOnlineStartTime string `json:"ju_online_start_time,omitempty" xml:"ju_online_start_time,omitempty"` // 猫超玩法信息-活动结束时间,精确到毫秒 MaochaoPlayEndTime string `json:"maochao_play_end_time,omitempty" xml:"maochao_play_end_time,omitempty"` // 猫超玩法信息-活动开始时间,精确到毫秒 MaochaoPlayStartTime string `json:"maochao_play_start_time,omitempty" xml:"maochao_play_start_time,omitempty"` // 猫超玩法信息-折扣条件,价格百分数存储,件数按数量存储。可以有多个折扣条件,与折扣字段对应,','分割 MaochaoPlayConditions string `json:"maochao_play_conditions,omitempty" xml:"maochao_play_conditions,omitempty"` // 猫超玩法信息-折扣,折扣按照百分数存储,其余按照单位分存储。可以有多个折扣,','分割 MaochaoPlayDiscounts string `json:"maochao_play_discounts,omitempty" xml:"maochao_play_discounts,omitempty"` // 猫超玩法信息-玩法类型,2:折扣(满n件折扣),5:减钱(满n元减m元) MaochaoPlayDiscountType string `json:"maochao_play_discount_type,omitempty" xml:"maochao_play_discount_type,omitempty"` // 猫超玩法信息-当前是否包邮,1:是,0:否 MaochaoPlayFreePostFee string `json:"maochao_play_free_post_fee,omitempty" xml:"maochao_play_free_post_fee,omitempty"` // 多件券优惠比例 MultiCouponZkRate string `json:"multi_coupon_zk_rate,omitempty" xml:"multi_coupon_zk_rate,omitempty"` // 多件券件单价 PriceAfterMultiCoupon string `json:"price_after_multi_coupon,omitempty" xml:"price_after_multi_coupon,omitempty"` // 多件券单品件数 MultiCouponItemCount string `json:"multi_coupon_item_count,omitempty" xml:"multi_coupon_item_count,omitempty"` // 锁住的佣金率 LockRate string `json:"lock_rate,omitempty" xml:"lock_rate,omitempty"` // 满减满折的类型(1. 满减 2. 满折) PromotionType string `json:"promotion_type,omitempty" xml:"promotion_type,omitempty"` // 满减满折信息 PromotionInfo string `json:"promotion_info,omitempty" xml:"promotion_info,omitempty"` // 满减满折门槛(满2件打5折中值为2;满300减20中值为300) PromotionDiscount string `json:"promotion_discount,omitempty" xml:"promotion_discount,omitempty"` // 满减满折优惠(满2件打5折中值为5;满300减20中值为20) PromotionCondition string `json:"promotion_condition,omitempty" xml:"promotion_condition,omitempty"` // 预售商品-优惠信息 PresaleDiscountFeeText string `json:"presale_discount_fee_text,omitempty" xml:"presale_discount_fee_text,omitempty"` // 预售商品-定金(元) PresaleDeposit string `json:"presale_deposit,omitempty" xml:"presale_deposit,omitempty"` // 预售有礼-淘礼金使用开始时间 YsylTljUseStartTime string `json:"ysyl_tlj_use_start_time,omitempty" xml:"ysyl_tlj_use_start_time,omitempty"` // 预售有礼-佣金比例( 预售有礼活动享受的推广佣金比例,注:推广该活动有特殊分成规则,请详见:https://tbk.bbs.taobao.com/detail.html?appId=45301&postId=9334376 ) YsylCommissionRate string `json:"ysyl_commission_rate,omitempty" xml:"ysyl_commission_rate,omitempty"` // 预售有礼-淘礼金发放时间 YsylTljSendTime string `json:"ysyl_tlj_send_time,omitempty" xml:"ysyl_tlj_send_time,omitempty"` // 预售有礼-预估淘礼金(元) YsylTljFace string `json:"ysyl_tlj_face,omitempty" xml:"ysyl_tlj_face,omitempty"` // 预售有礼-推广链接 YsylClickUrl string `json:"ysyl_click_url,omitempty" xml:"ysyl_click_url,omitempty"` // 预售有礼-淘礼金使用结束时间 YsylTljUseEndTime string `json:"ysyl_tlj_use_end_time,omitempty" xml:"ysyl_tlj_use_end_time,omitempty"` // 1聚划算满减:满N件减X元,满N件X折,满N件X元) 2天猫限时抢:前N分钟每件X元,前N分钟满N件每件X元,前N件每件X元) PlayInfo string `json:"play_info,omitempty" xml:"play_info,omitempty"` // 聚划算信息-商品预热开始时间(毫秒) JuPreShowEndTime string `json:"ju_pre_show_end_time,omitempty" xml:"ju_pre_show_end_time,omitempty"` // 聚划算信息-商品预热结束时间(毫秒) JuPreShowStartTime string `json:"ju_pre_show_start_time,omitempty" xml:"ju_pre_show_start_time,omitempty"` // 活动价 SalePrice string `json:"sale_price,omitempty" xml:"sale_price,omitempty"` // 跨店满减信息 KuadianPromotionInfo string `json:"kuadian_promotion_info,omitempty" xml:"kuadian_promotion_info,omitempty"` // 商品子标题 SubTitle string `json:"sub_title,omitempty" xml:"sub_title,omitempty"` // 聚划算商品价格卖点描述 JhsPriceUspList string `json:"jhs_price_usp_list,omitempty" xml:"jhs_price_usp_list,omitempty"` // 淘抢购商品专用-结束时间 TqgOnlineEndTime string `json:"tqg_online_end_time,omitempty" xml:"tqg_online_end_time,omitempty"` // 淘抢购商品专用-开团时间 TqgOnlineStartTime string `json:"tqg_online_start_time,omitempty" xml:"tqg_online_start_time,omitempty"` // 是否品牌精选,0不是,1是 SuperiorBrand string `json:"superior_brand,omitempty" xml:"superior_brand,omitempty"` // 是否品牌快抢,0不是,1是 IsBrandFlashSale string `json:"is_brand_flash_sale,omitempty" xml:"is_brand_flash_sale,omitempty"` // 是否是热门商品,0不是,1是 HotFlag string `json:"hot_flag,omitempty" xml:"hot_flag,omitempty"` // 商品入驻淘特后产生的所有销量量级,不特指某段具体时间 TtSoldCount string `json:"tt_sold_count,omitempty" xml:"tt_sold_count,omitempty"` // 额外奖励活动类型,如果一个商品有多个奖励类型,返回结果使用空格分割,0=单单奖励(已失效),1=超级单单奖励(已失效),2=年货节单单奖励 CpaRewardType string `json:"cpa_reward_type,omitempty" xml:"cpa_reward_type,omitempty"` // 额外奖励活动金额,活动奖励金额的类型与cpa_reward_type字段对应,如果一个商品有多个奖励类型,返回结果使用空格分割 CpaRewardAmount string `json:"cpa_reward_amount,omitempty" xml:"cpa_reward_amount,omitempty"` // 合作伙伴单单补ID,用作“年货节超级单单补”活动合作伙伴奖励统计依据 ActivityId string `json:"activity_id,omitempty" xml:"activity_id,omitempty"` // 优惠券(元) 若属于预售商品,该优惠券付尾款可用,付定金不可用 CouponAmount int64 `json:"coupon_amount,omitempty" xml:"coupon_amount,omitempty"` // 商品信息-叶子类目id CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"` // 优惠券信息-优惠券总量 CouponTotalCount int64 `json:"coupon_total_count,omitempty" xml:"coupon_total_count,omitempty"` // 店铺信息-卖家类型,0表示淘宝,1表示天猫,3表示特价版 UserType int64 `json:"user_type,omitempty" xml:"user_type,omitempty"` // 优惠券信息-优惠券剩余量 CouponRemainCount int64 `json:"coupon_remain_count,omitempty" xml:"coupon_remain_count,omitempty"` // 店铺信息-卖家id SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"` // 商品信息-30天销量 Volume int64 `json:"volume,omitempty" xml:"volume,omitempty"` // 拼团专用-拼团剩余库存 Stock int64 `json:"stock,omitempty" xml:"stock,omitempty"` // 拼团专用-拼团已售数量 SellNum int64 `json:"sell_num,omitempty" xml:"sell_num,omitempty"` // 拼团专用-拼团库存数量 TotalStock int64 `json:"total_stock,omitempty" xml:"total_stock,omitempty"` // 拼团专用-拼团几人团 JddNum int64 `json:"jdd_num,omitempty" xml:"jdd_num,omitempty"` // 商品信息-一级类目ID LevelOneCategoryId int64 `json:"level_one_category_id,omitempty" xml:"level_one_category_id,omitempty"` // 商品信息-预售数量 UvSumPreSale int64 `json:"uv_sum_pre_sale,omitempty" xml:"uv_sum_pre_sale,omitempty"` // 锁佣结束时间 LockRateEndTime int64 `json:"lock_rate_end_time,omitempty" xml:"lock_rate_end_time,omitempty"` // 锁佣开始时间 LockRateStartTime int64 `json:"lock_rate_start_time,omitempty" xml:"lock_rate_start_time,omitempty"` // 预售商品-付尾款结束时间(毫秒) PresaleTailEndTime int64 `json:"presale_tail_end_time,omitempty" xml:"presale_tail_end_time,omitempty"` // 预售商品-付尾款开始时间(毫秒) PresaleTailStartTime int64 `json:"presale_tail_start_time,omitempty" xml:"presale_tail_start_time,omitempty"` // 预售商品-付定金结束时间(毫秒) PresaleEndTime int64 `json:"presale_end_time,omitempty" xml:"presale_end_time,omitempty"` // 预售商品-付定金开始时间(毫秒) PresaleStartTime int64 `json:"presale_start_time,omitempty" xml:"presale_start_time,omitempty"` // 聚划算满减 -结束时间(毫秒) JuPlayEndTime int64 `json:"ju_play_end_time,omitempty" xml:"ju_play_end_time,omitempty"` // 聚划算满减 -开始时间(毫秒) JuPlayStartTime int64 `json:"ju_play_start_time,omitempty" xml:"ju_play_start_time,omitempty"` // 天猫限时抢可售 -结束时间(毫秒) TmallPlayActivityEndTime int64 `json:"tmall_play_activity_end_time,omitempty" xml:"tmall_play_activity_end_time,omitempty"` // 天猫限时抢可售 -开始时间(毫秒) TmallPlayActivityStartTime int64 `json:"tmall_play_activity_start_time,omitempty" xml:"tmall_play_activity_start_time,omitempty"` // 选品库信息 FavoritesInfo *FavoritesInfo `json:"favorites_info,omitempty" xml:"favorites_info,omitempty"` // 淘抢购商品专用-已抢购数量 TqgSoldCount int64 `json:"tqg_sold_count,omitempty" xml:"tqg_sold_count,omitempty"` // 淘抢购商品专用-总库存 TqgTotalCount int64 `json:"tqg_total_count,omitempty" xml:"tqg_total_count,omitempty"` // 前N件佣金信息-前N件佣金生效或预热时透出以下字段 TopnInfo *TopNInfoDto `json:"topn_info,omitempty" xml:"topn_info,omitempty"` // 百亿补贴信息 BybtInfo *BybtInfoDto `json:"bybt_info,omitempty" xml:"bybt_info,omitempty"` // 猫超买返卡信息 MaifanPromotion *MaifanPromotionDto `json:"maifan_promotion,omitempty" xml:"maifan_promotion,omitempty"` }
TaobaoTbkDgOptimusMaterialMapData 结构体
type TaobaoTbkDgOptimusPromotionAPIRequest ¶ added in v1.2.0
type TaobaoTbkDgOptimusPromotionAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkDgOptimusPromotionAPIRequest 淘宝客-推广者-权益物料精选 API请求 taobao.tbk.dg.optimus.promotion
推广者使用。支持入参推广者对应的“推广位”和官方提供的“权益物料id”,获取指定权益物料。
func NewTaobaoTbkDgOptimusPromotionRequest ¶
func NewTaobaoTbkDgOptimusPromotionRequest() *TaobaoTbkDgOptimusPromotionAPIRequest
NewTaobaoTbkDgOptimusPromotionRequest 初始化TaobaoTbkDgOptimusPromotionAPIRequest对象
func (TaobaoTbkDgOptimusPromotionAPIRequest) GetAdzoneId ¶ added in v1.2.0
func (r TaobaoTbkDgOptimusPromotionAPIRequest) GetAdzoneId() int64
GetAdzoneId AdzoneId Getter
func (TaobaoTbkDgOptimusPromotionAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTbkDgOptimusPromotionAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkDgOptimusPromotionAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTbkDgOptimusPromotionAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkDgOptimusPromotionAPIRequest) GetPageNum ¶ added in v1.2.0
func (r TaobaoTbkDgOptimusPromotionAPIRequest) GetPageNum() int64
GetPageNum PageNum Getter
func (TaobaoTbkDgOptimusPromotionAPIRequest) GetPageSize ¶ added in v1.2.0
func (r TaobaoTbkDgOptimusPromotionAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoTbkDgOptimusPromotionAPIRequest) GetPromotionId ¶ added in v1.2.0
func (r TaobaoTbkDgOptimusPromotionAPIRequest) GetPromotionId() int64
GetPromotionId PromotionId Getter
func (*TaobaoTbkDgOptimusPromotionAPIRequest) SetAdzoneId ¶ added in v1.2.0
func (r *TaobaoTbkDgOptimusPromotionAPIRequest) SetAdzoneId(_adzoneId int64) error
SetAdzoneId is AdzoneId Setter mm_xxx_xxx_xxx的第3段数字
func (*TaobaoTbkDgOptimusPromotionAPIRequest) SetPageNum ¶ added in v1.2.0
func (r *TaobaoTbkDgOptimusPromotionAPIRequest) SetPageNum(_pageNum int64) error
SetPageNum is PageNum Setter 第几页,默认:1
func (*TaobaoTbkDgOptimusPromotionAPIRequest) SetPageSize ¶ added in v1.2.0
func (r *TaobaoTbkDgOptimusPromotionAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 页大小,一次请求请限制在10以内
func (*TaobaoTbkDgOptimusPromotionAPIRequest) SetPromotionId ¶ added in v1.2.0
func (r *TaobaoTbkDgOptimusPromotionAPIRequest) SetPromotionId(_promotionId int64) error
SetPromotionId is PromotionId Setter 官方提供的权益物料Id。有价券-37104、大额店铺券-37116,更多权益物料id敬请期待!
type TaobaoTbkDgOptimusPromotionAPIResponse ¶
type TaobaoTbkDgOptimusPromotionAPIResponse struct { model.CommonResponse TaobaoTbkDgOptimusPromotionAPIResponseModel }
TaobaoTbkDgOptimusPromotionAPIResponse 淘宝客-推广者-权益物料精选 API返回值 taobao.tbk.dg.optimus.promotion
推广者使用。支持入参推广者对应的“推广位”和官方提供的“权益物料id”,获取指定权益物料。
type TaobaoTbkDgOptimusPromotionAPIResponseModel ¶ added in v1.2.0
type TaobaoTbkDgOptimusPromotionAPIResponseModel struct { XMLName xml.Name `xml:"tbk_dg_optimus_promotion_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // resultList ResultList []TaobaoTbkDgOptimusPromotionMapData `json:"result_list,omitempty" xml:"result_list>taobao_tbk_dg_optimus_promotion_map_data,omitempty"` }
TaobaoTbkDgOptimusPromotionAPIResponseModel is 淘宝客-推广者-权益物料精选 成功返回结果
type TaobaoTbkDgOptimusPromotionMapData ¶
type TaobaoTbkDgOptimusPromotionMapData struct { // 权益信息 PromotionList []PromotionList `json:"promotion_list,omitempty" xml:"promotion_list>promotion_list,omitempty"` // 权益类型。1 有价券(需要购买的店铺券或单品券) 2 公开券(直接领取的店铺券或单品券) 3 妈妈券(妈妈渠道领取的店铺券或单品券) 4.品类券 (跨店可用券,可与1,2,3叠加) PromotionType string `json:"promotion_type,omitempty" xml:"promotion_type,omitempty"` // 优惠门槛类型: 1 满元 2 满件 ConditionType string `json:"condition_type,omitempty" xml:"condition_type,omitempty"` // 优惠类型: 1 减钱 2 打折 DiscountType string `json:"discount_type,omitempty" xml:"discount_type,omitempty"` // 权益信息展示开始时间,精确到毫秒时间戳 DisplayStartTime string `json:"display_start_time,omitempty" xml:"display_start_time,omitempty"` // 权益信息展示结束时间,精确到毫秒时间戳 DisplayEndTime string `json:"display_end_time,omitempty" xml:"display_end_time,omitempty"` // 店铺信息-卖家ID SellerId string `json:"seller_id,omitempty" xml:"seller_id,omitempty"` // 店铺信息-卖家昵称 Nick string `json:"nick,omitempty" xml:"nick,omitempty"` // 店铺信息-店铺名称 ShopTitle string `json:"shop_title,omitempty" xml:"shop_title,omitempty"` // 店铺信息-店铺logo ShopPictureUrl string `json:"shop_picture_url,omitempty" xml:"shop_picture_url,omitempty"` // 权益信息-总量(权益初始库存量) TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` // 权益信息-剩余库存(权益剩余库存量) RemainCount int64 `json:"remain_count,omitempty" xml:"remain_count,omitempty"` // 权益扩展信息 PromotionExtend *PromotionExtend `json:"promotion_extend,omitempty" xml:"promotion_extend,omitempty"` }
TaobaoTbkDgOptimusPromotionMapData 结构体
type TaobaoTbkDgPunishOrderGetAPIRequest ¶ added in v1.2.0
type TaobaoTbkDgPunishOrderGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkDgPunishOrderGetAPIRequest 淘宝客-推广者-处罚订单查询 API请求 taobao.tbk.dg.punish.order.get
新增处罚订单查询API,提供媒体调用查询能力。这个是给媒体自己用的
func NewTaobaoTbkDgPunishOrderGetRequest ¶
func NewTaobaoTbkDgPunishOrderGetRequest() *TaobaoTbkDgPunishOrderGetAPIRequest
NewTaobaoTbkDgPunishOrderGetRequest 初始化TaobaoTbkDgPunishOrderGetAPIRequest对象
func (TaobaoTbkDgPunishOrderGetAPIRequest) GetAfOrderOption ¶ added in v1.2.0
func (r TaobaoTbkDgPunishOrderGetAPIRequest) GetAfOrderOption() *TopApiAfOrderOption
GetAfOrderOption AfOrderOption Getter
func (TaobaoTbkDgPunishOrderGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTbkDgPunishOrderGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkDgPunishOrderGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTbkDgPunishOrderGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (*TaobaoTbkDgPunishOrderGetAPIRequest) SetAfOrderOption ¶ added in v1.2.0
func (r *TaobaoTbkDgPunishOrderGetAPIRequest) SetAfOrderOption(_afOrderOption *TopApiAfOrderOption) error
SetAfOrderOption is AfOrderOption Setter 入参的对象
type TaobaoTbkDgPunishOrderGetAPIResponse ¶
type TaobaoTbkDgPunishOrderGetAPIResponse struct { model.CommonResponse TaobaoTbkDgPunishOrderGetAPIResponseModel }
TaobaoTbkDgPunishOrderGetAPIResponse 淘宝客-推广者-处罚订单查询 API返回值 taobao.tbk.dg.punish.order.get
新增处罚订单查询API,提供媒体调用查询能力。这个是给媒体自己用的
type TaobaoTbkDgPunishOrderGetAPIResponseModel ¶ added in v1.2.0
type TaobaoTbkDgPunishOrderGetAPIResponseModel struct { XMLName xml.Name `xml:"tbk_dg_punish_order_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 查询的对象 Result *TaobaoTbkDgPunishOrderGetRpcResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoTbkDgPunishOrderGetAPIResponseModel is 淘宝客-推广者-处罚订单查询 成功返回结果
type TaobaoTbkDgPunishOrderGetResult ¶
type TaobaoTbkDgPunishOrderGetResult struct { // 淘宝联盟unionid(该字段不再支持) UnionId string `json:"union_id,omitempty" xml:"union_id,omitempty"` // 处罚状态。0 冻结,1 解冻 PunishStatus string `json:"punish_status,omitempty" xml:"punish_status,omitempty"` // 处罚类型,目前包括 1.店铺淘宝客 2.订单虚假交易 ViolationType string `json:"violation_type,omitempty" xml:"violation_type,omitempty"` // 淘客订单创建时间 TkTradeCreateTime string `json:"tk_trade_create_time,omitempty" xml:"tk_trade_create_time,omitempty"` // pid里的pubid TkPubId string `json:"tk_pub_id,omitempty" xml:"tk_pub_id,omitempty"` // 会员运营id(该字段不再支持) SpecialId int64 `json:"special_id,omitempty" xml:"special_id,omitempty"` // 渠道关系id RelationId int64 `json:"relation_id,omitempty" xml:"relation_id,omitempty"` // 结算月份 SettleMonth int64 `json:"settle_month,omitempty" xml:"settle_month,omitempty"` // 子订单号 TbTradeId int64 `json:"tb_trade_id,omitempty" xml:"tb_trade_id,omitempty"` // 父订单号(该字段不再支持) TbTradeParentId int64 `json:"tb_trade_parent_id,omitempty" xml:"tb_trade_parent_id,omitempty"` // pid里的adzoneid TkAdzoneId int64 `json:"tk_adzone_id,omitempty" xml:"tk_adzone_id,omitempty"` // pid里的siteid TkSiteId int64 `json:"tk_site_id,omitempty" xml:"tk_site_id,omitempty"` }
TaobaoTbkDgPunishOrderGetResult 结构体
type TaobaoTbkDgPunishOrderGetRpcResult ¶
type TaobaoTbkDgPunishOrderGetRpcResult struct { // 业务出错的描述 BizErrorDesc string `json:"biz_error_desc,omitempty" xml:"biz_error_desc,omitempty"` // 执行结果 ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` // 结果 Data *PageResult `json:"data,omitempty" xml:"data,omitempty"` // 业务出错的状态码 BizErrorCode int64 `json:"biz_error_code,omitempty" xml:"biz_error_code,omitempty"` // 执行结果状态码 ResultCode int64 `json:"result_code,omitempty" xml:"result_code,omitempty"` }
TaobaoTbkDgPunishOrderGetRpcResult 结构体
type TaobaoTbkDgTpwdReportGetAPIRequest ¶ added in v1.2.5
type TaobaoTbkDgTpwdReportGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkDgTpwdReportGetAPIRequest 淘宝客-推广者-淘口令回流数据查询 API请求 taobao.tbk.dg.tpwd.report.get
淘宝客获取单个淘口令的回流PV、UV数据。
func NewTaobaoTbkDgTpwdReportGetRequest ¶ added in v1.2.5
func NewTaobaoTbkDgTpwdReportGetRequest() *TaobaoTbkDgTpwdReportGetAPIRequest
NewTaobaoTbkDgTpwdReportGetRequest 初始化TaobaoTbkDgTpwdReportGetAPIRequest对象
func (TaobaoTbkDgTpwdReportGetAPIRequest) GetAdzoneId ¶ added in v1.2.5
func (r TaobaoTbkDgTpwdReportGetAPIRequest) GetAdzoneId() string
GetAdzoneId AdzoneId Getter
func (TaobaoTbkDgTpwdReportGetAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoTbkDgTpwdReportGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkDgTpwdReportGetAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoTbkDgTpwdReportGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkDgTpwdReportGetAPIRequest) GetTaoPassword ¶ added in v1.2.5
func (r TaobaoTbkDgTpwdReportGetAPIRequest) GetTaoPassword() string
GetTaoPassword TaoPassword Getter
func (*TaobaoTbkDgTpwdReportGetAPIRequest) SetAdzoneId ¶ added in v1.2.5
func (r *TaobaoTbkDgTpwdReportGetAPIRequest) SetAdzoneId(_adzoneId string) error
SetAdzoneId is AdzoneId Setter mm_xxx_xxx_xxx的第3段数字
func (*TaobaoTbkDgTpwdReportGetAPIRequest) SetTaoPassword ¶ added in v1.2.5
func (r *TaobaoTbkDgTpwdReportGetAPIRequest) SetTaoPassword(_taoPassword string) error
SetTaoPassword is TaoPassword Setter 待查询的口令
type TaobaoTbkDgTpwdReportGetAPIResponse ¶ added in v1.2.5
type TaobaoTbkDgTpwdReportGetAPIResponse struct { model.CommonResponse TaobaoTbkDgTpwdReportGetAPIResponseModel }
TaobaoTbkDgTpwdReportGetAPIResponse 淘宝客-推广者-淘口令回流数据查询 API返回值 taobao.tbk.dg.tpwd.report.get
淘宝客获取单个淘口令的回流PV、UV数据。
type TaobaoTbkDgTpwdReportGetAPIResponseModel ¶ added in v1.2.5
type TaobaoTbkDgTpwdReportGetAPIResponseModel struct { XMLName xml.Name `xml:"tbk_dg_tpwd_report_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 Data *TaobaoTbkDgTpwdReportGetMapData `json:"data,omitempty" xml:"data,omitempty"` }
TaobaoTbkDgTpwdReportGetAPIResponseModel is 淘宝客-推广者-淘口令回流数据查询 成功返回结果
type TaobaoTbkDgTpwdReportGetMapData ¶ added in v1.2.5
type TaobaoTbkDgTpwdReportGetMapData struct { // 截止查询时刻近1小时回流pv HourPv int64 `json:"hour_pv,omitempty" xml:"hour_pv,omitempty"` // 截止查询时刻近1小时回流uv HourUv int64 `json:"hour_uv,omitempty" xml:"hour_uv,omitempty"` // 今日截止查询时刻累计uv Uv int64 `json:"uv,omitempty" xml:"uv,omitempty"` // 今日截止查询时刻累计pv Pv int64 `json:"pv,omitempty" xml:"pv,omitempty"` }
TaobaoTbkDgTpwdReportGetMapData 结构体
type TaobaoTbkDgTpwdRiskReportAPIRequest ¶ added in v1.2.5
type TaobaoTbkDgTpwdRiskReportAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkDgTpwdRiskReportAPIRequest 淘宝客-推广者-淘口令预警及拦截查询 API请求 taobao.tbk.dg.tpwd.risk.report
淘宝客-推广者-淘口令预警及拦截查询
func NewTaobaoTbkDgTpwdRiskReportRequest ¶ added in v1.2.5
func NewTaobaoTbkDgTpwdRiskReportRequest() *TaobaoTbkDgTpwdRiskReportAPIRequest
NewTaobaoTbkDgTpwdRiskReportRequest 初始化TaobaoTbkDgTpwdRiskReportAPIRequest对象
func (TaobaoTbkDgTpwdRiskReportAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoTbkDgTpwdRiskReportAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkDgTpwdRiskReportAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoTbkDgTpwdRiskReportAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkDgTpwdRiskReportAPIRequest) GetLimit ¶ added in v1.2.5
func (r TaobaoTbkDgTpwdRiskReportAPIRequest) GetLimit() int64
GetLimit Limit Getter
func (TaobaoTbkDgTpwdRiskReportAPIRequest) GetOffset ¶ added in v1.2.5
func (r TaobaoTbkDgTpwdRiskReportAPIRequest) GetOffset() int64
GetOffset Offset Getter
func (TaobaoTbkDgTpwdRiskReportAPIRequest) GetPid ¶ added in v1.2.5
func (r TaobaoTbkDgTpwdRiskReportAPIRequest) GetPid() string
GetPid Pid Getter
func (*TaobaoTbkDgTpwdRiskReportAPIRequest) SetLimit ¶ added in v1.2.5
func (r *TaobaoTbkDgTpwdRiskReportAPIRequest) SetLimit(_limit int64) error
SetLimit is Limit Setter 分页参数,一次最多不能超过1000
func (*TaobaoTbkDgTpwdRiskReportAPIRequest) SetOffset ¶ added in v1.2.5
func (r *TaobaoTbkDgTpwdRiskReportAPIRequest) SetOffset(_offset int64) error
SetOffset is Offset Setter 分页参数
func (*TaobaoTbkDgTpwdRiskReportAPIRequest) SetPid ¶ added in v1.2.5
func (r *TaobaoTbkDgTpwdRiskReportAPIRequest) SetPid(_pid string) error
SetPid is Pid Setter 如有pid,则查询pid下的relationid名单;如没有pid,则查询appkey关联userid下的pid名单
type TaobaoTbkDgTpwdRiskReportAPIResponse ¶ added in v1.2.5
type TaobaoTbkDgTpwdRiskReportAPIResponse struct { model.CommonResponse TaobaoTbkDgTpwdRiskReportAPIResponseModel }
TaobaoTbkDgTpwdRiskReportAPIResponse 淘宝客-推广者-淘口令预警及拦截查询 API返回值 taobao.tbk.dg.tpwd.risk.report
淘宝客-推广者-淘口令预警及拦截查询
type TaobaoTbkDgTpwdRiskReportAPIResponseModel ¶ added in v1.2.5
type TaobaoTbkDgTpwdRiskReportAPIResponseModel struct { XMLName xml.Name `xml:"tbk_dg_tpwd_risk_report_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 无 Result *TaobaoTbkDgTpwdRiskReportResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoTbkDgTpwdRiskReportAPIResponseModel is 淘宝客-推广者-淘口令预警及拦截查询 成功返回结果
type TaobaoTbkDgTpwdRiskReportResult ¶ added in v1.2.5
type TaobaoTbkDgTpwdRiskReportResult struct { // x StatusList []DataMap `json:"status_list,omitempty" xml:"status_list>data_map,omitempty"` }
TaobaoTbkDgTpwdRiskReportResult 结构体
type TaobaoTbkDgVegasSendReportAPIRequest ¶ added in v1.2.5
type TaobaoTbkDgVegasSendReportAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkDgVegasSendReportAPIRequest 淘宝客-推广者-查询红包发放个数 API请求 taobao.tbk.dg.vegas.send.report
查询账号下的红包发放个数。
func NewTaobaoTbkDgVegasSendReportRequest ¶ added in v1.2.5
func NewTaobaoTbkDgVegasSendReportRequest() *TaobaoTbkDgVegasSendReportAPIRequest
NewTaobaoTbkDgVegasSendReportRequest 初始化TaobaoTbkDgVegasSendReportAPIRequest对象
func (TaobaoTbkDgVegasSendReportAPIRequest) GetActivityId ¶ added in v1.2.5
func (r TaobaoTbkDgVegasSendReportAPIRequest) GetActivityId() int64
GetActivityId ActivityId Getter
func (TaobaoTbkDgVegasSendReportAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoTbkDgVegasSendReportAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkDgVegasSendReportAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoTbkDgVegasSendReportAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkDgVegasSendReportAPIRequest) GetBizDate ¶ added in v1.2.5
func (r TaobaoTbkDgVegasSendReportAPIRequest) GetBizDate() string
GetBizDate BizDate Getter
func (TaobaoTbkDgVegasSendReportAPIRequest) GetPageNo ¶ added in v1.2.5
func (r TaobaoTbkDgVegasSendReportAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoTbkDgVegasSendReportAPIRequest) GetPageSize ¶ added in v1.2.5
func (r TaobaoTbkDgVegasSendReportAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoTbkDgVegasSendReportAPIRequest) GetRelationId ¶ added in v1.2.5
func (r TaobaoTbkDgVegasSendReportAPIRequest) GetRelationId() int64
GetRelationId RelationId Getter
func (*TaobaoTbkDgVegasSendReportAPIRequest) SetActivityId ¶ added in v1.2.5
func (r *TaobaoTbkDgVegasSendReportAPIRequest) SetActivityId(_activityId int64) error
SetActivityId is ActivityId Setter 红包活动id:1462
func (*TaobaoTbkDgVegasSendReportAPIRequest) SetBizDate ¶ added in v1.2.5
func (r *TaobaoTbkDgVegasSendReportAPIRequest) SetBizDate(_bizDate string) error
SetBizDate is BizDate Setter 统计日期
func (*TaobaoTbkDgVegasSendReportAPIRequest) SetPageNo ¶ added in v1.2.5
func (r *TaobaoTbkDgVegasSendReportAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 页码
func (*TaobaoTbkDgVegasSendReportAPIRequest) SetPageSize ¶ added in v1.2.5
func (r *TaobaoTbkDgVegasSendReportAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 每页大小
func (*TaobaoTbkDgVegasSendReportAPIRequest) SetRelationId ¶ added in v1.2.5
func (r *TaobaoTbkDgVegasSendReportAPIRequest) SetRelationId(_relationId int64) error
SetRelationId is RelationId Setter 渠道关系id
type TaobaoTbkDgVegasSendReportAPIResponse ¶ added in v1.2.5
type TaobaoTbkDgVegasSendReportAPIResponse struct { model.CommonResponse TaobaoTbkDgVegasSendReportAPIResponseModel }
TaobaoTbkDgVegasSendReportAPIResponse 淘宝客-推广者-查询红包发放个数 API返回值 taobao.tbk.dg.vegas.send.report
查询账号下的红包发放个数。
type TaobaoTbkDgVegasSendReportAPIResponseModel ¶ added in v1.2.5
type TaobaoTbkDgVegasSendReportAPIResponseModel struct { XMLName xml.Name `xml:"tbk_dg_vegas_send_report_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 Result *TaobaoTbkDgVegasSendReportResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoTbkDgVegasSendReportAPIResponseModel is 淘宝客-推广者-查询红包发放个数 成功返回结果
type TaobaoTbkDgVegasSendReportResult ¶ added in v1.2.5
type TaobaoTbkDgVegasSendReportResult struct { // msgInfo MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"` // msgCode MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"` // model Model *RightsSendRptDto `json:"model,omitempty" xml:"model,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoTbkDgVegasSendReportResult 结构体
type TaobaoTbkDgVegasSendStatusAPIRequest ¶ added in v1.2.0
type TaobaoTbkDgVegasSendStatusAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkDgVegasSendStatusAPIRequest 淘宝客-推广者-红包领取状态查询 API请求 taobao.tbk.dg.vegas.send.status
淘宝客传入用户标识的信息,查询该用户是否有当前阶段待核销的红包(淘客接入前需签署协议 https://pub.alimama.com/fourth/protocol/common.htm?key=hangye_laxin)
func NewTaobaoTbkDgVegasSendStatusRequest ¶
func NewTaobaoTbkDgVegasSendStatusRequest() *TaobaoTbkDgVegasSendStatusAPIRequest
NewTaobaoTbkDgVegasSendStatusRequest 初始化TaobaoTbkDgVegasSendStatusAPIRequest对象
func (TaobaoTbkDgVegasSendStatusAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTbkDgVegasSendStatusAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkDgVegasSendStatusAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTbkDgVegasSendStatusAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkDgVegasSendStatusAPIRequest) GetDeviceType ¶ added in v1.2.0
func (r TaobaoTbkDgVegasSendStatusAPIRequest) GetDeviceType() string
GetDeviceType DeviceType Getter
func (TaobaoTbkDgVegasSendStatusAPIRequest) GetDeviceValue ¶ added in v1.2.0
func (r TaobaoTbkDgVegasSendStatusAPIRequest) GetDeviceValue() string
GetDeviceValue DeviceValue Getter
func (TaobaoTbkDgVegasSendStatusAPIRequest) GetPid ¶ added in v1.2.0
func (r TaobaoTbkDgVegasSendStatusAPIRequest) GetPid() string
GetPid Pid Getter
func (TaobaoTbkDgVegasSendStatusAPIRequest) GetRelationId ¶ added in v1.2.0
func (r TaobaoTbkDgVegasSendStatusAPIRequest) GetRelationId() string
GetRelationId RelationId Getter
func (TaobaoTbkDgVegasSendStatusAPIRequest) GetSpecialId ¶ added in v1.2.0
func (r TaobaoTbkDgVegasSendStatusAPIRequest) GetSpecialId() string
GetSpecialId SpecialId Getter
func (TaobaoTbkDgVegasSendStatusAPIRequest) GetThorBizCode ¶ added in v1.2.0
func (r TaobaoTbkDgVegasSendStatusAPIRequest) GetThorBizCode() string
GetThorBizCode ThorBizCode Getter
func (*TaobaoTbkDgVegasSendStatusAPIRequest) SetDeviceType ¶ added in v1.2.0
func (r *TaobaoTbkDgVegasSendStatusAPIRequest) SetDeviceType(_deviceType string) error
SetDeviceType is DeviceType Setter 入参类型(该模式下返回的结果为模糊匹配结果,和实际情况可能存在误差): 1. IMEI 2. IDFA 3. OAID 4. MOBILE 5. ALIPAY_ID
func (*TaobaoTbkDgVegasSendStatusAPIRequest) SetDeviceValue ¶ added in v1.2.0
func (r *TaobaoTbkDgVegasSendStatusAPIRequest) SetDeviceValue(_deviceValue string) error
SetDeviceValue is DeviceValue Setter 加密后的值(ALIPAY_ID除外),需用MD5加密,32位小写
func (*TaobaoTbkDgVegasSendStatusAPIRequest) SetPid ¶ added in v1.2.0
func (r *TaobaoTbkDgVegasSendStatusAPIRequest) SetPid(_pid string) error
SetPid is Pid Setter 媒体pid
func (*TaobaoTbkDgVegasSendStatusAPIRequest) SetRelationId ¶ added in v1.2.0
func (r *TaobaoTbkDgVegasSendStatusAPIRequest) SetRelationId(_relationId string) error
SetRelationId is RelationId Setter 渠道管理id
func (*TaobaoTbkDgVegasSendStatusAPIRequest) SetSpecialId ¶ added in v1.2.0
func (r *TaobaoTbkDgVegasSendStatusAPIRequest) SetSpecialId(_specialId string) error
SetSpecialId is SpecialId Setter 会员运营id
func (*TaobaoTbkDgVegasSendStatusAPIRequest) SetThorBizCode ¶ added in v1.2.0
func (r *TaobaoTbkDgVegasSendStatusAPIRequest) SetThorBizCode(_thorBizCode string) error
SetThorBizCode is ThorBizCode Setter thor平台业务码, 1:coupon 超红
type TaobaoTbkDgVegasSendStatusAPIResponse ¶
type TaobaoTbkDgVegasSendStatusAPIResponse struct { model.CommonResponse TaobaoTbkDgVegasSendStatusAPIResponseModel }
TaobaoTbkDgVegasSendStatusAPIResponse 淘宝客-推广者-红包领取状态查询 API返回值 taobao.tbk.dg.vegas.send.status
淘宝客传入用户标识的信息,查询该用户是否有当前阶段待核销的红包(淘客接入前需签署协议 https://pub.alimama.com/fourth/protocol/common.htm?key=hangye_laxin)
type TaobaoTbkDgVegasSendStatusAPIResponseModel ¶ added in v1.2.0
type TaobaoTbkDgVegasSendStatusAPIResponseModel struct { XMLName xml.Name `xml:"tbk_dg_vegas_send_status_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果描述信息 ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` // 返回结果封装对象 Data *TaobaoTbkDgVegasSendStatusData `json:"data,omitempty" xml:"data,omitempty"` }
TaobaoTbkDgVegasSendStatusAPIResponseModel is 淘宝客-推广者-红包领取状态查询 成功返回结果
type TaobaoTbkDgVegasSendStatusData ¶
type TaobaoTbkDgVegasSendStatusData struct { // 返回结果封装对象 ResultList []TaobaoTbkDgVegasSendStatusMapData `json:"result_list,omitempty" xml:"result_list>taobao_tbk_dg_vegas_send_status_map_data,omitempty"` }
TaobaoTbkDgVegasSendStatusData 结构体
type TaobaoTbkDgVegasSendStatusMapData ¶
type TaobaoTbkDgVegasSendStatusMapData struct { // 若该用户当前无待核销的红包,则返回1,若当前有待核销的红包,则返回0 IsNewUser string `json:"is_new_user,omitempty" xml:"is_new_user,omitempty"` }
TaobaoTbkDgVegasSendStatusMapData 结构体
type TaobaoTbkDgVegasTljCreateAPIRequest ¶ added in v1.2.0
type TaobaoTbkDgVegasTljCreateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkDgVegasTljCreateAPIRequest 淘宝客-推广者-淘礼金创建 API请求 taobao.tbk.dg.vegas.tlj.create
创建淘礼金
func NewTaobaoTbkDgVegasTljCreateRequest ¶
func NewTaobaoTbkDgVegasTljCreateRequest() *TaobaoTbkDgVegasTljCreateAPIRequest
NewTaobaoTbkDgVegasTljCreateRequest 初始化TaobaoTbkDgVegasTljCreateAPIRequest对象
func (TaobaoTbkDgVegasTljCreateAPIRequest) GetAdzoneId ¶ added in v1.2.0
func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetAdzoneId() int64
GetAdzoneId AdzoneId Getter
func (TaobaoTbkDgVegasTljCreateAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkDgVegasTljCreateAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkDgVegasTljCreateAPIRequest) GetCampaignType ¶ added in v1.2.0
func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetCampaignType() string
GetCampaignType CampaignType Getter
func (TaobaoTbkDgVegasTljCreateAPIRequest) GetItemId ¶ added in v1.2.0
func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetItemId() string
GetItemId ItemId Getter
func (TaobaoTbkDgVegasTljCreateAPIRequest) GetName ¶ added in v1.2.0
func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetName() string
GetName Name Getter
func (TaobaoTbkDgVegasTljCreateAPIRequest) GetPerFace ¶ added in v1.2.0
func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetPerFace() string
GetPerFace PerFace Getter
func (TaobaoTbkDgVegasTljCreateAPIRequest) GetSecurityLevel ¶ added in v1.2.0
func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetSecurityLevel() int64
GetSecurityLevel SecurityLevel Getter
func (TaobaoTbkDgVegasTljCreateAPIRequest) GetSecuritySwitch ¶ added in v1.2.0
func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetSecuritySwitch() bool
GetSecuritySwitch SecuritySwitch Getter
func (TaobaoTbkDgVegasTljCreateAPIRequest) GetSendEndTime ¶ added in v1.2.0
func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetSendEndTime() string
GetSendEndTime SendEndTime Getter
func (TaobaoTbkDgVegasTljCreateAPIRequest) GetSendStartTime ¶ added in v1.2.0
func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetSendStartTime() string
GetSendStartTime SendStartTime Getter
func (TaobaoTbkDgVegasTljCreateAPIRequest) GetTotalNum ¶ added in v1.2.0
func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetTotalNum() int64
GetTotalNum TotalNum Getter
func (TaobaoTbkDgVegasTljCreateAPIRequest) GetUseEndTime ¶ added in v1.2.0
func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetUseEndTime() string
GetUseEndTime UseEndTime Getter
func (TaobaoTbkDgVegasTljCreateAPIRequest) GetUseEndTimeMode ¶ added in v1.2.0
func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetUseEndTimeMode() int64
GetUseEndTimeMode UseEndTimeMode Getter
func (TaobaoTbkDgVegasTljCreateAPIRequest) GetUseStartTime ¶ added in v1.2.0
func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetUseStartTime() string
GetUseStartTime UseStartTime Getter
func (TaobaoTbkDgVegasTljCreateAPIRequest) GetUserTotalWinNumLimit ¶ added in v1.2.0
func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetUserTotalWinNumLimit() int64
GetUserTotalWinNumLimit UserTotalWinNumLimit Getter
func (*TaobaoTbkDgVegasTljCreateAPIRequest) SetAdzoneId ¶ added in v1.2.0
func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetAdzoneId(_adzoneId int64) error
SetAdzoneId is AdzoneId Setter 妈妈广告位Id
func (*TaobaoTbkDgVegasTljCreateAPIRequest) SetCampaignType ¶ added in v1.2.0
func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetCampaignType(_campaignType string) error
SetCampaignType is CampaignType Setter CPS佣金类型
func (*TaobaoTbkDgVegasTljCreateAPIRequest) SetItemId ¶ added in v1.2.0
func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetItemId(_itemId string) error
SetItemId is ItemId Setter 宝贝ID或营销ID
func (*TaobaoTbkDgVegasTljCreateAPIRequest) SetName ¶ added in v1.2.0
func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetName(_name string) error
SetName is Name Setter 淘礼金名称,最大10个字符
func (*TaobaoTbkDgVegasTljCreateAPIRequest) SetPerFace ¶ added in v1.2.0
func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetPerFace(_perFace string) error
SetPerFace is PerFace Setter 单个淘礼金面额,支持两位小数,单位元
func (*TaobaoTbkDgVegasTljCreateAPIRequest) SetSecurityLevel ¶ added in v1.2.0
func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetSecurityLevel(_securityLevel int64) error
SetSecurityLevel is SecurityLevel Setter 必须传入0
func (*TaobaoTbkDgVegasTljCreateAPIRequest) SetSecuritySwitch ¶ added in v1.2.0
func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetSecuritySwitch(_securitySwitch bool) error
SetSecuritySwitch is SecuritySwitch Setter 必须设置为true,默认开启安全
func (*TaobaoTbkDgVegasTljCreateAPIRequest) SetSendEndTime ¶ added in v1.2.0
func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetSendEndTime(_sendEndTime string) error
SetSendEndTime is SendEndTime Setter 发放截止时间
func (*TaobaoTbkDgVegasTljCreateAPIRequest) SetSendStartTime ¶ added in v1.2.0
func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetSendStartTime(_sendStartTime string) error
SetSendStartTime is SendStartTime Setter 发放开始时间
func (*TaobaoTbkDgVegasTljCreateAPIRequest) SetTotalNum ¶ added in v1.2.0
func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetTotalNum(_totalNum int64) error
SetTotalNum is TotalNum Setter 淘礼金总个数
func (*TaobaoTbkDgVegasTljCreateAPIRequest) SetUseEndTime ¶ added in v1.2.0
func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetUseEndTime(_useEndTime string) error
SetUseEndTime is UseEndTime Setter 使用结束日期。如果是结束时间模式为相对时间,时间格式为1-7直接的整数, 例如,1(相对领取时间1天); 如果是绝对时间,格式为yyyy-MM-dd,例如,2019-01-29,表示到2019-01-29 23:59:59结束
func (*TaobaoTbkDgVegasTljCreateAPIRequest) SetUseEndTimeMode ¶ added in v1.2.0
func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetUseEndTimeMode(_useEndTimeMode int64) error
SetUseEndTimeMode is UseEndTimeMode Setter 结束日期的模式,1:相对时间,2:绝对时间
func (*TaobaoTbkDgVegasTljCreateAPIRequest) SetUseStartTime ¶ added in v1.2.0
func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetUseStartTime(_useStartTime string) error
SetUseStartTime is UseStartTime Setter 使用开始日期。相对时间,无需填写,以用户领取时间作为使用开始时间。绝对时间,格式 yyyy-MM-dd,例如,2019-01-29,表示从2019-01-29 00:00:00 开始
func (*TaobaoTbkDgVegasTljCreateAPIRequest) SetUserTotalWinNumLimit ¶ added in v1.2.0
func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetUserTotalWinNumLimit(_userTotalWinNumLimit int64) error
SetUserTotalWinNumLimit is UserTotalWinNumLimit Setter 单用户累计中奖次数上限
type TaobaoTbkDgVegasTljCreateAPIResponse ¶
type TaobaoTbkDgVegasTljCreateAPIResponse struct { model.CommonResponse TaobaoTbkDgVegasTljCreateAPIResponseModel }
TaobaoTbkDgVegasTljCreateAPIResponse 淘宝客-推广者-淘礼金创建 API返回值 taobao.tbk.dg.vegas.tlj.create
创建淘礼金
type TaobaoTbkDgVegasTljCreateAPIResponseModel ¶ added in v1.2.0
type TaobaoTbkDgVegasTljCreateAPIResponseModel struct { XMLName xml.Name `xml:"tbk_dg_vegas_tlj_create_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *TaobaoTbkDgVegasTljCreateResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoTbkDgVegasTljCreateAPIResponseModel is 淘宝客-推广者-淘礼金创建 成功返回结果
type TaobaoTbkDgVegasTljCreateResult ¶
type TaobaoTbkDgVegasTljCreateResult struct { // msgCode MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"` // msgInfo MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"` // model Model *RightsInstanceCreateResult `json:"model,omitempty" xml:"model,omitempty"` // success Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoTbkDgVegasTljCreateResult 结构体
type TaobaoTbkDgVegasTljReportAPIRequest ¶ added in v1.2.5
type TaobaoTbkDgVegasTljReportAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkDgVegasTljReportAPIRequest 淘宝客-推广者-淘礼金效果数据 API请求 taobao.tbk.dg.vegas.tlj.report
淘宝客推广者可查询淘礼金发放和使用等效果数据,只提供近150天的数据
func NewTaobaoTbkDgVegasTljReportRequest ¶ added in v1.2.5
func NewTaobaoTbkDgVegasTljReportRequest() *TaobaoTbkDgVegasTljReportAPIRequest
NewTaobaoTbkDgVegasTljReportRequest 初始化TaobaoTbkDgVegasTljReportAPIRequest对象
func (TaobaoTbkDgVegasTljReportAPIRequest) GetAdzoneId ¶ added in v1.2.5
func (r TaobaoTbkDgVegasTljReportAPIRequest) GetAdzoneId() int64
GetAdzoneId AdzoneId Getter
func (TaobaoTbkDgVegasTljReportAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoTbkDgVegasTljReportAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkDgVegasTljReportAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoTbkDgVegasTljReportAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkDgVegasTljReportAPIRequest) GetRightsId ¶ added in v1.2.5
func (r TaobaoTbkDgVegasTljReportAPIRequest) GetRightsId() string
GetRightsId RightsId Getter
func (*TaobaoTbkDgVegasTljReportAPIRequest) SetAdzoneId ¶ added in v1.2.5
func (r *TaobaoTbkDgVegasTljReportAPIRequest) SetAdzoneId(_adzoneId int64) error
SetAdzoneId is AdzoneId Setter adzoneId
func (*TaobaoTbkDgVegasTljReportAPIRequest) SetRightsId ¶ added in v1.2.5
func (r *TaobaoTbkDgVegasTljReportAPIRequest) SetRightsId(_rightsId string) error
SetRightsId is RightsId Setter 创建淘礼金时返回的rightsId
type TaobaoTbkDgVegasTljReportAPIResponse ¶ added in v1.2.5
type TaobaoTbkDgVegasTljReportAPIResponse struct { model.CommonResponse TaobaoTbkDgVegasTljReportAPIResponseModel }
TaobaoTbkDgVegasTljReportAPIResponse 淘宝客-推广者-淘礼金效果数据 API返回值 taobao.tbk.dg.vegas.tlj.report
淘宝客推广者可查询淘礼金发放和使用等效果数据,只提供近150天的数据
type TaobaoTbkDgVegasTljReportAPIResponseModel ¶ added in v1.2.5
type TaobaoTbkDgVegasTljReportAPIResponseModel struct { XMLName xml.Name `xml:"tbk_dg_vegas_tlj_report_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // msgInfo MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"` // msgCode MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"` // 结果 Model *InstanceDto `json:"model,omitempty" xml:"model,omitempty"` // 调用接口是否成功 ResultSuccess bool `json:"result_success,omitempty" xml:"result_success,omitempty"` }
TaobaoTbkDgVegasTljReportAPIResponseModel is 淘宝客-推广者-淘礼金效果数据 成功返回结果
type TaobaoTbkDgVegasTljStopAPIRequest ¶ added in v1.2.5
type TaobaoTbkDgVegasTljStopAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkDgVegasTljStopAPIRequest 淘宝客-推广者-淘礼金暂停发放 API请求 taobao.tbk.dg.vegas.tlj.stop
淘宝客推广者可对已经创建的淘礼金暂停发放
func NewTaobaoTbkDgVegasTljStopRequest ¶ added in v1.2.5
func NewTaobaoTbkDgVegasTljStopRequest() *TaobaoTbkDgVegasTljStopAPIRequest
NewTaobaoTbkDgVegasTljStopRequest 初始化TaobaoTbkDgVegasTljStopAPIRequest对象
func (TaobaoTbkDgVegasTljStopAPIRequest) GetAdzoneId ¶ added in v1.2.5
func (r TaobaoTbkDgVegasTljStopAPIRequest) GetAdzoneId() int64
GetAdzoneId AdzoneId Getter
func (TaobaoTbkDgVegasTljStopAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoTbkDgVegasTljStopAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkDgVegasTljStopAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoTbkDgVegasTljStopAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkDgVegasTljStopAPIRequest) GetRightsId ¶ added in v1.2.5
func (r TaobaoTbkDgVegasTljStopAPIRequest) GetRightsId() string
GetRightsId RightsId Getter
func (*TaobaoTbkDgVegasTljStopAPIRequest) SetAdzoneId ¶ added in v1.2.5
func (r *TaobaoTbkDgVegasTljStopAPIRequest) SetAdzoneId(_adzoneId int64) error
SetAdzoneId is AdzoneId Setter adzoneId
func (*TaobaoTbkDgVegasTljStopAPIRequest) SetRightsId ¶ added in v1.2.5
func (r *TaobaoTbkDgVegasTljStopAPIRequest) SetRightsId(_rightsId string) error
SetRightsId is RightsId Setter 创建淘礼金时返回的rightsId
type TaobaoTbkDgVegasTljStopAPIResponse ¶ added in v1.2.5
type TaobaoTbkDgVegasTljStopAPIResponse struct { model.CommonResponse TaobaoTbkDgVegasTljStopAPIResponseModel }
TaobaoTbkDgVegasTljStopAPIResponse 淘宝客-推广者-淘礼金暂停发放 API返回值 taobao.tbk.dg.vegas.tlj.stop
淘宝客推广者可对已经创建的淘礼金暂停发放
type TaobaoTbkDgVegasTljStopAPIResponseModel ¶ added in v1.2.5
type TaobaoTbkDgVegasTljStopAPIResponseModel struct { XMLName xml.Name `xml:"tbk_dg_vegas_tlj_stop_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // msgInfo MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"` // msgCode MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"` // model Model *UpdateStatusResult `json:"model,omitempty" xml:"model,omitempty"` // 调用接口是否成功 ResultSuccess bool `json:"result_success,omitempty" xml:"result_success,omitempty"` }
TaobaoTbkDgVegasTljStopAPIResponseModel is 淘宝客-推广者-淘礼金暂停发放 成功返回结果
type TaobaoTbkDgVegasTljTemporaryCreateAPIRequest ¶ added in v1.2.5
type TaobaoTbkDgVegasTljTemporaryCreateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkDgVegasTljTemporaryCreateAPIRequest 淘宝客-推广者-淘礼金创建测试营销ID API请求 taobao.tbk.dg.vegas.tlj.temporary.create
淘宝客-推广者-淘礼金创建测试营销ID
func NewTaobaoTbkDgVegasTljTemporaryCreateRequest ¶ added in v1.2.5
func NewTaobaoTbkDgVegasTljTemporaryCreateRequest() *TaobaoTbkDgVegasTljTemporaryCreateAPIRequest
NewTaobaoTbkDgVegasTljTemporaryCreateRequest 初始化TaobaoTbkDgVegasTljTemporaryCreateAPIRequest对象
func (TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetAdzoneId ¶ added in v1.2.5
func (r TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetAdzoneId() int64
GetAdzoneId AdzoneId Getter
func (TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetCampaignType ¶ added in v1.2.5
func (r TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetCampaignType() string
GetCampaignType CampaignType Getter
func (TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetItemId ¶ added in v1.2.5
func (r TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetItemId() string
GetItemId ItemId Getter
func (TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetName ¶ added in v1.2.5
func (r TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetName() string
GetName Name Getter
func (TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetPerFace ¶ added in v1.2.5
func (r TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetPerFace() string
GetPerFace PerFace Getter
func (TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetSecurityLevel ¶ added in v1.2.5
func (r TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetSecurityLevel() int64
GetSecurityLevel SecurityLevel Getter
func (TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetSecuritySwitch ¶ added in v1.2.5
func (r TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetSecuritySwitch() bool
GetSecuritySwitch SecuritySwitch Getter
func (TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetSendEndTime ¶ added in v1.2.5
func (r TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetSendEndTime() string
GetSendEndTime SendEndTime Getter
func (TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetSendStartTime ¶ added in v1.2.5
func (r TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetSendStartTime() string
GetSendStartTime SendStartTime Getter
func (TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetTotalNum ¶ added in v1.2.5
func (r TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetTotalNum() int64
GetTotalNum TotalNum Getter
func (TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetUseEndTime ¶ added in v1.2.5
func (r TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetUseEndTime() string
GetUseEndTime UseEndTime Getter
func (TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetUseEndTimeMode ¶ added in v1.2.5
func (r TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetUseEndTimeMode() int64
GetUseEndTimeMode UseEndTimeMode Getter
func (TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetUseStartTime ¶ added in v1.2.5
func (r TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetUseStartTime() string
GetUseStartTime UseStartTime Getter
func (TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetUserTotalWinNumLimit ¶ added in v1.2.5
func (r TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) GetUserTotalWinNumLimit() int64
GetUserTotalWinNumLimit UserTotalWinNumLimit Getter
func (*TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) SetAdzoneId ¶ added in v1.2.5
func (r *TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) SetAdzoneId(_adzoneId int64) error
SetAdzoneId is AdzoneId Setter 妈妈广告位Id
func (*TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) SetCampaignType ¶ added in v1.2.5
func (r *TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) SetCampaignType(_campaignType string) error
SetCampaignType is CampaignType Setter CPS佣金类型
func (*TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) SetItemId ¶ added in v1.2.5
func (r *TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) SetItemId(_itemId string) error
SetItemId is ItemId Setter 宝贝ID或营销ID
func (*TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) SetName ¶ added in v1.2.5
func (r *TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) SetName(_name string) error
SetName is Name Setter 淘礼金名称,最大10个字符
func (*TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) SetPerFace ¶ added in v1.2.5
func (r *TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) SetPerFace(_perFace string) error
SetPerFace is PerFace Setter 单个淘礼金面额,支持两位小数,单位元
func (*TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) SetSecurityLevel ¶ added in v1.2.5
func (r *TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) SetSecurityLevel(_securityLevel int64) error
SetSecurityLevel is SecurityLevel Setter 必须传入0
func (*TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) SetSecuritySwitch ¶ added in v1.2.5
func (r *TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) SetSecuritySwitch(_securitySwitch bool) error
SetSecuritySwitch is SecuritySwitch Setter 必须设置为true,默认开启安全
func (*TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) SetSendEndTime ¶ added in v1.2.5
func (r *TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) SetSendEndTime(_sendEndTime string) error
SetSendEndTime is SendEndTime Setter 发放截止时间
func (*TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) SetSendStartTime ¶ added in v1.2.5
func (r *TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) SetSendStartTime(_sendStartTime string) error
SetSendStartTime is SendStartTime Setter 发放开始时间
func (*TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) SetTotalNum ¶ added in v1.2.5
func (r *TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) SetTotalNum(_totalNum int64) error
SetTotalNum is TotalNum Setter 淘礼金总个数
func (*TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) SetUseEndTime ¶ added in v1.2.5
func (r *TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) SetUseEndTime(_useEndTime string) error
SetUseEndTime is UseEndTime Setter 使用结束日期。如果是结束时间模式为相对时间,时间格式为1-7直接的整数, 例如,1(相对领取时间1天); 如果是绝对时间,格式为yyyy-MM-dd,例如,2019-01-29,表示到2019-01-29 23:59:59结束
func (*TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) SetUseEndTimeMode ¶ added in v1.2.5
func (r *TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) SetUseEndTimeMode(_useEndTimeMode int64) error
SetUseEndTimeMode is UseEndTimeMode Setter 结束日期的模式,1:相对时间,2:绝对时间
func (*TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) SetUseStartTime ¶ added in v1.2.5
func (r *TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) SetUseStartTime(_useStartTime string) error
SetUseStartTime is UseStartTime Setter 使用开始日期。相对时间,无需填写,以用户领取时间作为使用开始时间。绝对时间,格式 yyyy-MM-dd,例如,2019-01-29,表示从2019-01-29 00:00:00 开始
func (*TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) SetUserTotalWinNumLimit ¶ added in v1.2.5
func (r *TaobaoTbkDgVegasTljTemporaryCreateAPIRequest) SetUserTotalWinNumLimit(_userTotalWinNumLimit int64) error
SetUserTotalWinNumLimit is UserTotalWinNumLimit Setter 单用户累计中奖次数上限
type TaobaoTbkDgVegasTljTemporaryCreateAPIResponse ¶ added in v1.2.5
type TaobaoTbkDgVegasTljTemporaryCreateAPIResponse struct { model.CommonResponse TaobaoTbkDgVegasTljTemporaryCreateAPIResponseModel }
TaobaoTbkDgVegasTljTemporaryCreateAPIResponse 淘宝客-推广者-淘礼金创建测试营销ID API返回值 taobao.tbk.dg.vegas.tlj.temporary.create
淘宝客-推广者-淘礼金创建测试营销ID
type TaobaoTbkDgVegasTljTemporaryCreateAPIResponseModel ¶ added in v1.2.5
type TaobaoTbkDgVegasTljTemporaryCreateAPIResponseModel struct { XMLName xml.Name `xml:"tbk_dg_vegas_tlj_temporary_create_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *TaobaoTbkDgVegasTljTemporaryCreateResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoTbkDgVegasTljTemporaryCreateAPIResponseModel is 淘宝客-推广者-淘礼金创建测试营销ID 成功返回结果
type TaobaoTbkDgVegasTljTemporaryCreateResult ¶ added in v1.2.5
type TaobaoTbkDgVegasTljTemporaryCreateResult struct { // msgCode MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"` // msgInfo MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"` // model Model *RightsInstanceCreateResult `json:"model,omitempty" xml:"model,omitempty"` // success Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoTbkDgVegasTljTemporaryCreateResult 结构体
type TaobaoTbkItemInfoGetAPIRequest ¶ added in v1.2.0
type TaobaoTbkItemInfoGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkItemInfoGetAPIRequest 淘宝客-公用-淘宝客商品详情查询(简版) API请求 taobao.tbk.item.info.get
淘宝客商品详情查询(简版)
func NewTaobaoTbkItemInfoGetRequest ¶
func NewTaobaoTbkItemInfoGetRequest() *TaobaoTbkItemInfoGetAPIRequest
NewTaobaoTbkItemInfoGetRequest 初始化TaobaoTbkItemInfoGetAPIRequest对象
func (TaobaoTbkItemInfoGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTbkItemInfoGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkItemInfoGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTbkItemInfoGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkItemInfoGetAPIRequest) GetIp ¶ added in v1.2.0
func (r TaobaoTbkItemInfoGetAPIRequest) GetIp() string
GetIp Ip Getter
func (TaobaoTbkItemInfoGetAPIRequest) GetNumIids ¶ added in v1.2.0
func (r TaobaoTbkItemInfoGetAPIRequest) GetNumIids() string
GetNumIids NumIids Getter
func (TaobaoTbkItemInfoGetAPIRequest) GetPlatform ¶ added in v1.2.0
func (r TaobaoTbkItemInfoGetAPIRequest) GetPlatform() int64
GetPlatform Platform Getter
func (*TaobaoTbkItemInfoGetAPIRequest) SetIp ¶ added in v1.2.0
func (r *TaobaoTbkItemInfoGetAPIRequest) SetIp(_ip string) error
SetIp is Ip Setter ip地址,影响邮费获取,如果不传或者传入不准确,邮费无法精准提供
func (*TaobaoTbkItemInfoGetAPIRequest) SetNumIids ¶ added in v1.2.0
func (r *TaobaoTbkItemInfoGetAPIRequest) SetNumIids(_numIids string) error
SetNumIids is NumIids Setter 商品ID串,用,分割,最大40个
func (*TaobaoTbkItemInfoGetAPIRequest) SetPlatform ¶ added in v1.2.0
func (r *TaobaoTbkItemInfoGetAPIRequest) SetPlatform(_platform int64) error
SetPlatform is Platform Setter 链接形式:1:PC,2:无线,默认:1
type TaobaoTbkItemInfoGetAPIResponse ¶
type TaobaoTbkItemInfoGetAPIResponse struct { model.CommonResponse TaobaoTbkItemInfoGetAPIResponseModel }
TaobaoTbkItemInfoGetAPIResponse 淘宝客-公用-淘宝客商品详情查询(简版) API返回值 taobao.tbk.item.info.get
淘宝客商品详情查询(简版)
type TaobaoTbkItemInfoGetAPIResponseModel ¶ added in v1.2.0
type TaobaoTbkItemInfoGetAPIResponseModel struct { XMLName xml.Name `xml:"tbk_item_info_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 淘宝客商品 Results []NTbkItem `json:"results,omitempty" xml:"results>n_tbk_item,omitempty"` }
TaobaoTbkItemInfoGetAPIResponseModel is 淘宝客-公用-淘宝客商品详情查询(简版) 成功返回结果
type TaobaoTbkItemInfoTemporaryGetAPIRequest ¶ added in v1.2.5
type TaobaoTbkItemInfoTemporaryGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkItemInfoTemporaryGetAPIRequest 淘宝客商品详情查询(简版)(临时接口) API请求 taobao.tbk.item.info.temporary.get
淘宝客商品详情查询(简版)(临时接口)
func NewTaobaoTbkItemInfoTemporaryGetRequest ¶ added in v1.2.5
func NewTaobaoTbkItemInfoTemporaryGetRequest() *TaobaoTbkItemInfoTemporaryGetAPIRequest
NewTaobaoTbkItemInfoTemporaryGetRequest 初始化TaobaoTbkItemInfoTemporaryGetAPIRequest对象
func (TaobaoTbkItemInfoTemporaryGetAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoTbkItemInfoTemporaryGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkItemInfoTemporaryGetAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoTbkItemInfoTemporaryGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkItemInfoTemporaryGetAPIRequest) GetIp ¶ added in v1.2.5
func (r TaobaoTbkItemInfoTemporaryGetAPIRequest) GetIp() string
GetIp Ip Getter
func (TaobaoTbkItemInfoTemporaryGetAPIRequest) GetNumIids ¶ added in v1.2.5
func (r TaobaoTbkItemInfoTemporaryGetAPIRequest) GetNumIids() string
GetNumIids NumIids Getter
func (TaobaoTbkItemInfoTemporaryGetAPIRequest) GetPlatform ¶ added in v1.2.5
func (r TaobaoTbkItemInfoTemporaryGetAPIRequest) GetPlatform() int64
GetPlatform Platform Getter
func (*TaobaoTbkItemInfoTemporaryGetAPIRequest) SetIp ¶ added in v1.2.5
func (r *TaobaoTbkItemInfoTemporaryGetAPIRequest) SetIp(_ip string) error
SetIp is Ip Setter ip地址,影响邮费获取,如果不传或者传入不准确,邮费无法精准提供
func (*TaobaoTbkItemInfoTemporaryGetAPIRequest) SetNumIids ¶ added in v1.2.5
func (r *TaobaoTbkItemInfoTemporaryGetAPIRequest) SetNumIids(_numIids string) error
SetNumIids is NumIids Setter 商品ID串,用,分割,最大40个
func (*TaobaoTbkItemInfoTemporaryGetAPIRequest) SetPlatform ¶ added in v1.2.5
func (r *TaobaoTbkItemInfoTemporaryGetAPIRequest) SetPlatform(_platform int64) error
SetPlatform is Platform Setter 链接形式:1:PC,2:无线,默认:1
type TaobaoTbkItemInfoTemporaryGetAPIResponse ¶ added in v1.2.5
type TaobaoTbkItemInfoTemporaryGetAPIResponse struct { model.CommonResponse TaobaoTbkItemInfoTemporaryGetAPIResponseModel }
TaobaoTbkItemInfoTemporaryGetAPIResponse 淘宝客商品详情查询(简版)(临时接口) API返回值 taobao.tbk.item.info.temporary.get
淘宝客商品详情查询(简版)(临时接口)
type TaobaoTbkItemInfoTemporaryGetAPIResponseModel ¶ added in v1.2.5
type TaobaoTbkItemInfoTemporaryGetAPIResponseModel struct { XMLName xml.Name `xml:"tbk_item_info_temporary_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 淘宝客商品 Results []NTbkItem `json:"results,omitempty" xml:"results>n_tbk_item,omitempty"` }
TaobaoTbkItemInfoTemporaryGetAPIResponseModel is 淘宝客商品详情查询(简版)(临时接口) 成功返回结果
type TaobaoTbkOrderDetailsGetAPIRequest ¶ added in v1.2.3
type TaobaoTbkOrderDetailsGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkOrderDetailsGetAPIRequest 淘宝客-推广者-所有订单查询 API请求 taobao.tbk.order.details.get
淘宝客订单查询
func NewTaobaoTbkOrderDetailsGetRequest ¶ added in v1.2.3
func NewTaobaoTbkOrderDetailsGetRequest() *TaobaoTbkOrderDetailsGetAPIRequest
NewTaobaoTbkOrderDetailsGetRequest 初始化TaobaoTbkOrderDetailsGetAPIRequest对象
func (TaobaoTbkOrderDetailsGetAPIRequest) GetApiMethodName ¶ added in v1.2.3
func (r TaobaoTbkOrderDetailsGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkOrderDetailsGetAPIRequest) GetApiParams ¶ added in v1.2.3
func (r TaobaoTbkOrderDetailsGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkOrderDetailsGetAPIRequest) GetEndTime ¶ added in v1.2.3
func (r TaobaoTbkOrderDetailsGetAPIRequest) GetEndTime() string
GetEndTime EndTime Getter
func (TaobaoTbkOrderDetailsGetAPIRequest) GetJumpType ¶ added in v1.2.3
func (r TaobaoTbkOrderDetailsGetAPIRequest) GetJumpType() int64
GetJumpType JumpType Getter
func (TaobaoTbkOrderDetailsGetAPIRequest) GetMemberType ¶ added in v1.2.3
func (r TaobaoTbkOrderDetailsGetAPIRequest) GetMemberType() int64
GetMemberType MemberType Getter
func (TaobaoTbkOrderDetailsGetAPIRequest) GetOrderScene ¶ added in v1.2.3
func (r TaobaoTbkOrderDetailsGetAPIRequest) GetOrderScene() int64
GetOrderScene OrderScene Getter
func (TaobaoTbkOrderDetailsGetAPIRequest) GetPageNo ¶ added in v1.2.3
func (r TaobaoTbkOrderDetailsGetAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoTbkOrderDetailsGetAPIRequest) GetPageSize ¶ added in v1.2.3
func (r TaobaoTbkOrderDetailsGetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoTbkOrderDetailsGetAPIRequest) GetPositionIndex ¶ added in v1.2.3
func (r TaobaoTbkOrderDetailsGetAPIRequest) GetPositionIndex() string
GetPositionIndex PositionIndex Getter
func (TaobaoTbkOrderDetailsGetAPIRequest) GetQueryType ¶ added in v1.2.3
func (r TaobaoTbkOrderDetailsGetAPIRequest) GetQueryType() int64
GetQueryType QueryType Getter
func (TaobaoTbkOrderDetailsGetAPIRequest) GetStartTime ¶ added in v1.2.3
func (r TaobaoTbkOrderDetailsGetAPIRequest) GetStartTime() string
GetStartTime StartTime Getter
func (TaobaoTbkOrderDetailsGetAPIRequest) GetTkStatus ¶ added in v1.2.3
func (r TaobaoTbkOrderDetailsGetAPIRequest) GetTkStatus() int64
GetTkStatus TkStatus Getter
func (*TaobaoTbkOrderDetailsGetAPIRequest) SetEndTime ¶ added in v1.2.3
func (r *TaobaoTbkOrderDetailsGetAPIRequest) SetEndTime(_endTime string) error
SetEndTime is EndTime Setter 订单查询结束时间,订单开始时间至订单结束时间,中间时间段日常要求不超过3个小时,但如618、双11、年货节等大促期间预估时间段不可超过20分钟,超过会提示错误,调用时请务必注意时间段的选择,以保证亲能正常调用!
func (*TaobaoTbkOrderDetailsGetAPIRequest) SetJumpType ¶ added in v1.2.3
func (r *TaobaoTbkOrderDetailsGetAPIRequest) SetJumpType(_jumpType int64) error
SetJumpType is JumpType Setter 跳转类型,当向前或者向后翻页必须提供,-1: 向前翻页,1:向后翻页
func (*TaobaoTbkOrderDetailsGetAPIRequest) SetMemberType ¶ added in v1.2.3
func (r *TaobaoTbkOrderDetailsGetAPIRequest) SetMemberType(_memberType int64) error
SetMemberType is MemberType Setter 推广者角色类型,2:二方,3:三方,不传,表示所有角色
func (*TaobaoTbkOrderDetailsGetAPIRequest) SetOrderScene ¶ added in v1.2.3
func (r *TaobaoTbkOrderDetailsGetAPIRequest) SetOrderScene(_orderScene int64) error
SetOrderScene is OrderScene Setter 场景订单场景类型,1:常规订单,2:渠道订单,3:会员运营订单,默认为1
func (*TaobaoTbkOrderDetailsGetAPIRequest) SetPageNo ¶ added in v1.2.3
func (r *TaobaoTbkOrderDetailsGetAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 第几页,默认1,1~100
func (*TaobaoTbkOrderDetailsGetAPIRequest) SetPageSize ¶ added in v1.2.3
func (r *TaobaoTbkOrderDetailsGetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 页大小,默认20,1~100
func (*TaobaoTbkOrderDetailsGetAPIRequest) SetPositionIndex ¶ added in v1.2.3
func (r *TaobaoTbkOrderDetailsGetAPIRequest) SetPositionIndex(_positionIndex string) error
SetPositionIndex is PositionIndex Setter 位点,除第一页之外,都需要传递;前端原样返回。
func (*TaobaoTbkOrderDetailsGetAPIRequest) SetQueryType ¶ added in v1.2.3
func (r *TaobaoTbkOrderDetailsGetAPIRequest) SetQueryType(_queryType int64) error
SetQueryType is QueryType Setter 查询时间类型,1:按照订单淘客创建时间查询,2:按照订单淘客付款时间查询,3:按照订单淘客结算时间查询,4:按照订单更新时间;
func (*TaobaoTbkOrderDetailsGetAPIRequest) SetStartTime ¶ added in v1.2.3
func (r *TaobaoTbkOrderDetailsGetAPIRequest) SetStartTime(_startTime string) error
SetStartTime is StartTime Setter 订单查询开始时间
func (*TaobaoTbkOrderDetailsGetAPIRequest) SetTkStatus ¶ added in v1.2.3
func (r *TaobaoTbkOrderDetailsGetAPIRequest) SetTkStatus(_tkStatus int64) error
SetTkStatus is TkStatus Setter 淘客订单状态,11-拍下未付款,12-付款,13-关闭,14-确认收货,3-结算成功;不传,表示所有状态
type TaobaoTbkOrderDetailsGetAPIResponse ¶ added in v1.2.3
type TaobaoTbkOrderDetailsGetAPIResponse struct { model.CommonResponse TaobaoTbkOrderDetailsGetAPIResponseModel }
TaobaoTbkOrderDetailsGetAPIResponse 淘宝客-推广者-所有订单查询 API返回值 taobao.tbk.order.details.get
淘宝客订单查询
type TaobaoTbkOrderDetailsGetAPIResponseModel ¶ added in v1.2.3
type TaobaoTbkOrderDetailsGetAPIResponseModel struct { XMLName xml.Name `xml:"tbk_order_details_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // PublisherOrderDto Data *OrderPage `json:"data,omitempty" xml:"data,omitempty"` }
TaobaoTbkOrderDetailsGetAPIResponseModel is 淘宝客-推广者-所有订单查询 成功返回结果
type TaobaoTbkPrivilegeGetAPIRequest ¶ added in v1.2.5
type TaobaoTbkPrivilegeGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkPrivilegeGetAPIRequest 淘宝客-服务商-单品券高效转链 API请求 taobao.tbk.privilege.get
单品券高效转链API
func NewTaobaoTbkPrivilegeGetRequest ¶ added in v1.2.5
func NewTaobaoTbkPrivilegeGetRequest() *TaobaoTbkPrivilegeGetAPIRequest
NewTaobaoTbkPrivilegeGetRequest 初始化TaobaoTbkPrivilegeGetAPIRequest对象
func (TaobaoTbkPrivilegeGetAPIRequest) GetAdzoneId ¶ added in v1.2.5
func (r TaobaoTbkPrivilegeGetAPIRequest) GetAdzoneId() int64
GetAdzoneId AdzoneId Getter
func (TaobaoTbkPrivilegeGetAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoTbkPrivilegeGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkPrivilegeGetAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoTbkPrivilegeGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkPrivilegeGetAPIRequest) GetExternalId ¶ added in v1.2.5
func (r TaobaoTbkPrivilegeGetAPIRequest) GetExternalId() string
GetExternalId ExternalId Getter
func (TaobaoTbkPrivilegeGetAPIRequest) GetGetTopnRate ¶ added in v1.2.5
func (r TaobaoTbkPrivilegeGetAPIRequest) GetGetTopnRate() int64
GetGetTopnRate GetTopnRate Getter
func (TaobaoTbkPrivilegeGetAPIRequest) GetItemId ¶ added in v1.2.5
func (r TaobaoTbkPrivilegeGetAPIRequest) GetItemId() string
GetItemId ItemId Getter
func (TaobaoTbkPrivilegeGetAPIRequest) GetMiniProgramLink ¶ added in v1.2.5
func (r TaobaoTbkPrivilegeGetAPIRequest) GetMiniProgramLink() int64
GetMiniProgramLink MiniProgramLink Getter
func (TaobaoTbkPrivilegeGetAPIRequest) GetPlatform ¶ added in v1.2.5
func (r TaobaoTbkPrivilegeGetAPIRequest) GetPlatform() int64
GetPlatform Platform Getter
func (TaobaoTbkPrivilegeGetAPIRequest) GetRelationId ¶ added in v1.2.5
func (r TaobaoTbkPrivilegeGetAPIRequest) GetRelationId() string
GetRelationId RelationId Getter
func (TaobaoTbkPrivilegeGetAPIRequest) GetSiteId ¶ added in v1.2.5
func (r TaobaoTbkPrivilegeGetAPIRequest) GetSiteId() int64
GetSiteId SiteId Getter
func (TaobaoTbkPrivilegeGetAPIRequest) GetSpecialId ¶ added in v1.2.5
func (r TaobaoTbkPrivilegeGetAPIRequest) GetSpecialId() string
GetSpecialId SpecialId Getter
func (TaobaoTbkPrivilegeGetAPIRequest) GetUcrowdId ¶ added in v1.2.5
func (r TaobaoTbkPrivilegeGetAPIRequest) GetUcrowdId() int64
GetUcrowdId UcrowdId Getter
func (TaobaoTbkPrivilegeGetAPIRequest) GetXid ¶ added in v1.2.5
func (r TaobaoTbkPrivilegeGetAPIRequest) GetXid() string
GetXid Xid Getter
func (*TaobaoTbkPrivilegeGetAPIRequest) SetAdzoneId ¶ added in v1.2.5
func (r *TaobaoTbkPrivilegeGetAPIRequest) SetAdzoneId(_adzoneId int64) error
SetAdzoneId is AdzoneId Setter 推广位id,mm_xx_xx_xx pid三段式中的第三段
func (*TaobaoTbkPrivilegeGetAPIRequest) SetExternalId ¶ added in v1.2.5
func (r *TaobaoTbkPrivilegeGetAPIRequest) SetExternalId(_externalId string) error
SetExternalId is ExternalId Setter 淘宝客外部用户标记,如自身系统账户ID;微信ID等
func (*TaobaoTbkPrivilegeGetAPIRequest) SetGetTopnRate ¶ added in v1.2.5
func (r *TaobaoTbkPrivilegeGetAPIRequest) SetGetTopnRate(_getTopnRate int64) error
SetGetTopnRate is GetTopnRate Setter 是否获取前N件佣金 ,0-否,1-是,其他值-否
func (*TaobaoTbkPrivilegeGetAPIRequest) SetItemId ¶ added in v1.2.5
func (r *TaobaoTbkPrivilegeGetAPIRequest) SetItemId(_itemId string) error
SetItemId is ItemId Setter 商品ID
func (*TaobaoTbkPrivilegeGetAPIRequest) SetMiniProgramLink ¶ added in v1.2.5
func (r *TaobaoTbkPrivilegeGetAPIRequest) SetMiniProgramLink(_miniProgramLink int64) error
SetMiniProgramLink is MiniProgramLink Setter 是否需要获取小程序链接,需要设置1。(暂未对外开放)
func (*TaobaoTbkPrivilegeGetAPIRequest) SetPlatform ¶ added in v1.2.5
func (r *TaobaoTbkPrivilegeGetAPIRequest) SetPlatform(_platform int64) error
SetPlatform is Platform Setter 1:PC,2:无线,默认:1
func (*TaobaoTbkPrivilegeGetAPIRequest) SetRelationId ¶ added in v1.2.5
func (r *TaobaoTbkPrivilegeGetAPIRequest) SetRelationId(_relationId string) error
SetRelationId is RelationId Setter 渠道关系ID,仅适用于渠道推广场景
func (*TaobaoTbkPrivilegeGetAPIRequest) SetSiteId ¶ added in v1.2.5
func (r *TaobaoTbkPrivilegeGetAPIRequest) SetSiteId(_siteId int64) error
SetSiteId is SiteId Setter 备案的网站id, mm_xx_xx_xx pid三段式中的第二段
func (*TaobaoTbkPrivilegeGetAPIRequest) SetSpecialId ¶ added in v1.2.5
func (r *TaobaoTbkPrivilegeGetAPIRequest) SetSpecialId(_specialId string) error
SetSpecialId is SpecialId Setter 会员运营ID
func (*TaobaoTbkPrivilegeGetAPIRequest) SetUcrowdId ¶ added in v1.2.5
func (r *TaobaoTbkPrivilegeGetAPIRequest) SetUcrowdId(_ucrowdId int64) error
SetUcrowdId is UcrowdId Setter 会员人群ID,用于统计人群推广效果
func (*TaobaoTbkPrivilegeGetAPIRequest) SetXid ¶ added in v1.2.5
func (r *TaobaoTbkPrivilegeGetAPIRequest) SetXid(_xid string) error
SetXid is Xid Setter 团长与下游渠道合作的特殊标识,用于统计渠道推广效果
type TaobaoTbkPrivilegeGetAPIResponse ¶ added in v1.2.5
type TaobaoTbkPrivilegeGetAPIResponse struct { model.CommonResponse TaobaoTbkPrivilegeGetAPIResponseModel }
TaobaoTbkPrivilegeGetAPIResponse 淘宝客-服务商-单品券高效转链 API返回值 taobao.tbk.privilege.get
单品券高效转链API
type TaobaoTbkPrivilegeGetAPIResponseModel ¶ added in v1.2.5
type TaobaoTbkPrivilegeGetAPIResponseModel struct { XMLName xml.Name `xml:"tbk_privilege_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *TaobaoTbkPrivilegeGetRpcResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoTbkPrivilegeGetAPIResponseModel is 淘宝客-服务商-单品券高效转链 成功返回结果
type TaobaoTbkPrivilegeGetRpcResult ¶ added in v1.2.5
type TaobaoTbkPrivilegeGetRpcResult struct { // data Data *MaterialDto `json:"data,omitempty" xml:"data,omitempty"` }
TaobaoTbkPrivilegeGetRpcResult 结构体
type TaobaoTbkPrivilegeTemporaryGetAPIRequest ¶ added in v1.2.5
type TaobaoTbkPrivilegeTemporaryGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkPrivilegeTemporaryGetAPIRequest 淘宝客-服务商-单品券高效转链(临时接口) API请求 taobao.tbk.privilege.temporary.get
单品券高效转链API
func NewTaobaoTbkPrivilegeTemporaryGetRequest ¶ added in v1.2.5
func NewTaobaoTbkPrivilegeTemporaryGetRequest() *TaobaoTbkPrivilegeTemporaryGetAPIRequest
NewTaobaoTbkPrivilegeTemporaryGetRequest 初始化TaobaoTbkPrivilegeTemporaryGetAPIRequest对象
func (TaobaoTbkPrivilegeTemporaryGetAPIRequest) GetAdzoneId ¶ added in v1.2.5
func (r TaobaoTbkPrivilegeTemporaryGetAPIRequest) GetAdzoneId() int64
GetAdzoneId AdzoneId Getter
func (TaobaoTbkPrivilegeTemporaryGetAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoTbkPrivilegeTemporaryGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkPrivilegeTemporaryGetAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoTbkPrivilegeTemporaryGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkPrivilegeTemporaryGetAPIRequest) GetExternalId ¶ added in v1.2.5
func (r TaobaoTbkPrivilegeTemporaryGetAPIRequest) GetExternalId() string
GetExternalId ExternalId Getter
func (TaobaoTbkPrivilegeTemporaryGetAPIRequest) GetGetTopnRate ¶ added in v1.2.5
func (r TaobaoTbkPrivilegeTemporaryGetAPIRequest) GetGetTopnRate() int64
GetGetTopnRate GetTopnRate Getter
func (TaobaoTbkPrivilegeTemporaryGetAPIRequest) GetItemId ¶ added in v1.2.5
func (r TaobaoTbkPrivilegeTemporaryGetAPIRequest) GetItemId() string
GetItemId ItemId Getter
func (TaobaoTbkPrivilegeTemporaryGetAPIRequest) GetMiniProgramLink ¶ added in v1.2.5
func (r TaobaoTbkPrivilegeTemporaryGetAPIRequest) GetMiniProgramLink() int64
GetMiniProgramLink MiniProgramLink Getter
func (TaobaoTbkPrivilegeTemporaryGetAPIRequest) GetPlatform ¶ added in v1.2.5
func (r TaobaoTbkPrivilegeTemporaryGetAPIRequest) GetPlatform() int64
GetPlatform Platform Getter
func (TaobaoTbkPrivilegeTemporaryGetAPIRequest) GetRelationId ¶ added in v1.2.5
func (r TaobaoTbkPrivilegeTemporaryGetAPIRequest) GetRelationId() string
GetRelationId RelationId Getter
func (TaobaoTbkPrivilegeTemporaryGetAPIRequest) GetSiteId ¶ added in v1.2.5
func (r TaobaoTbkPrivilegeTemporaryGetAPIRequest) GetSiteId() int64
GetSiteId SiteId Getter
func (TaobaoTbkPrivilegeTemporaryGetAPIRequest) GetSpecialId ¶ added in v1.2.5
func (r TaobaoTbkPrivilegeTemporaryGetAPIRequest) GetSpecialId() string
GetSpecialId SpecialId Getter
func (TaobaoTbkPrivilegeTemporaryGetAPIRequest) GetUcrowdId ¶ added in v1.2.5
func (r TaobaoTbkPrivilegeTemporaryGetAPIRequest) GetUcrowdId() int64
GetUcrowdId UcrowdId Getter
func (TaobaoTbkPrivilegeTemporaryGetAPIRequest) GetXid ¶ added in v1.2.5
func (r TaobaoTbkPrivilegeTemporaryGetAPIRequest) GetXid() string
GetXid Xid Getter
func (*TaobaoTbkPrivilegeTemporaryGetAPIRequest) SetAdzoneId ¶ added in v1.2.5
func (r *TaobaoTbkPrivilegeTemporaryGetAPIRequest) SetAdzoneId(_adzoneId int64) error
SetAdzoneId is AdzoneId Setter 推广位id,mm_xx_xx_xx pid三段式中的第三段
func (*TaobaoTbkPrivilegeTemporaryGetAPIRequest) SetExternalId ¶ added in v1.2.5
func (r *TaobaoTbkPrivilegeTemporaryGetAPIRequest) SetExternalId(_externalId string) error
SetExternalId is ExternalId Setter 淘宝客外部用户标记,如自身系统账户ID;微信ID等
func (*TaobaoTbkPrivilegeTemporaryGetAPIRequest) SetGetTopnRate ¶ added in v1.2.5
func (r *TaobaoTbkPrivilegeTemporaryGetAPIRequest) SetGetTopnRate(_getTopnRate int64) error
SetGetTopnRate is GetTopnRate Setter 是否获取前N件佣金 ,0-否,1-是,其他值-否
func (*TaobaoTbkPrivilegeTemporaryGetAPIRequest) SetItemId ¶ added in v1.2.5
func (r *TaobaoTbkPrivilegeTemporaryGetAPIRequest) SetItemId(_itemId string) error
SetItemId is ItemId Setter 淘客商品id
func (*TaobaoTbkPrivilegeTemporaryGetAPIRequest) SetMiniProgramLink ¶ added in v1.2.5
func (r *TaobaoTbkPrivilegeTemporaryGetAPIRequest) SetMiniProgramLink(_miniProgramLink int64) error
SetMiniProgramLink is MiniProgramLink Setter 是否需要获取小程序链接,需要设置1。(暂未对外开放)
func (*TaobaoTbkPrivilegeTemporaryGetAPIRequest) SetPlatform ¶ added in v1.2.5
func (r *TaobaoTbkPrivilegeTemporaryGetAPIRequest) SetPlatform(_platform int64) error
SetPlatform is Platform Setter 1:PC,2:无线,默认:1
func (*TaobaoTbkPrivilegeTemporaryGetAPIRequest) SetRelationId ¶ added in v1.2.5
func (r *TaobaoTbkPrivilegeTemporaryGetAPIRequest) SetRelationId(_relationId string) error
SetRelationId is RelationId Setter 渠道关系ID,仅适用于渠道推广场景
func (*TaobaoTbkPrivilegeTemporaryGetAPIRequest) SetSiteId ¶ added in v1.2.5
func (r *TaobaoTbkPrivilegeTemporaryGetAPIRequest) SetSiteId(_siteId int64) error
SetSiteId is SiteId Setter 备案的网站id, mm_xx_xx_xx pid三段式中的第二段
func (*TaobaoTbkPrivilegeTemporaryGetAPIRequest) SetSpecialId ¶ added in v1.2.5
func (r *TaobaoTbkPrivilegeTemporaryGetAPIRequest) SetSpecialId(_specialId string) error
SetSpecialId is SpecialId Setter 会员运营ID
func (*TaobaoTbkPrivilegeTemporaryGetAPIRequest) SetUcrowdId ¶ added in v1.2.5
func (r *TaobaoTbkPrivilegeTemporaryGetAPIRequest) SetUcrowdId(_ucrowdId int64) error
SetUcrowdId is UcrowdId Setter 会员人群ID,用于统计人群推广效果
func (*TaobaoTbkPrivilegeTemporaryGetAPIRequest) SetXid ¶ added in v1.2.5
func (r *TaobaoTbkPrivilegeTemporaryGetAPIRequest) SetXid(_xid string) error
SetXid is Xid Setter 团长与下游渠道合作的特殊标识,用于统计渠道推广效果
type TaobaoTbkPrivilegeTemporaryGetAPIResponse ¶ added in v1.2.5
type TaobaoTbkPrivilegeTemporaryGetAPIResponse struct { model.CommonResponse TaobaoTbkPrivilegeTemporaryGetAPIResponseModel }
TaobaoTbkPrivilegeTemporaryGetAPIResponse 淘宝客-服务商-单品券高效转链(临时接口) API返回值 taobao.tbk.privilege.temporary.get
单品券高效转链API
type TaobaoTbkPrivilegeTemporaryGetAPIResponseModel ¶ added in v1.2.5
type TaobaoTbkPrivilegeTemporaryGetAPIResponseModel struct { XMLName xml.Name `xml:"tbk_privilege_temporary_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *TaobaoTbkPrivilegeTemporaryGetRpcResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoTbkPrivilegeTemporaryGetAPIResponseModel is 淘宝客-服务商-单品券高效转链(临时接口) 成功返回结果
type TaobaoTbkPrivilegeTemporaryGetRpcResult ¶ added in v1.2.5
type TaobaoTbkPrivilegeTemporaryGetRpcResult struct { // data Data *MaterialDto `json:"data,omitempty" xml:"data,omitempty"` }
TaobaoTbkPrivilegeTemporaryGetRpcResult 结构体
type TaobaoTbkScActivityInfoGetAPIRequest ¶ added in v1.2.5
type TaobaoTbkScActivityInfoGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkScActivityInfoGetAPIRequest 淘宝客-服务商-官方活动转链 API请求 taobao.tbk.sc.activity.info.get
服务商使用。支持入参推广者对应的推广位和官方活动会场ID,获取活动信息和推广者的推广链接,包含推广长链接、短链接、淘口令、微信推广二维码地址等。改该API支持二方、三方类型的转链。官方活动会场ID,从淘宝客后台“我要推广-活动推广”中获取。
func NewTaobaoTbkScActivityInfoGetRequest ¶ added in v1.2.5
func NewTaobaoTbkScActivityInfoGetRequest() *TaobaoTbkScActivityInfoGetAPIRequest
NewTaobaoTbkScActivityInfoGetRequest 初始化TaobaoTbkScActivityInfoGetAPIRequest对象
func (TaobaoTbkScActivityInfoGetAPIRequest) GetActivityMaterialId ¶ added in v1.2.5
func (r TaobaoTbkScActivityInfoGetAPIRequest) GetActivityMaterialId() string
GetActivityMaterialId ActivityMaterialId Getter
func (TaobaoTbkScActivityInfoGetAPIRequest) GetAdzoneId ¶ added in v1.2.5
func (r TaobaoTbkScActivityInfoGetAPIRequest) GetAdzoneId() int64
GetAdzoneId AdzoneId Getter
func (TaobaoTbkScActivityInfoGetAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoTbkScActivityInfoGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkScActivityInfoGetAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoTbkScActivityInfoGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkScActivityInfoGetAPIRequest) GetRelationId ¶ added in v1.2.5
func (r TaobaoTbkScActivityInfoGetAPIRequest) GetRelationId() int64
GetRelationId RelationId Getter
func (TaobaoTbkScActivityInfoGetAPIRequest) GetSiteId ¶ added in v1.2.5
func (r TaobaoTbkScActivityInfoGetAPIRequest) GetSiteId() int64
GetSiteId SiteId Getter
func (TaobaoTbkScActivityInfoGetAPIRequest) GetUnionId ¶ added in v1.2.5
func (r TaobaoTbkScActivityInfoGetAPIRequest) GetUnionId() string
GetUnionId UnionId Getter
func (*TaobaoTbkScActivityInfoGetAPIRequest) SetActivityMaterialId ¶ added in v1.2.5
func (r *TaobaoTbkScActivityInfoGetAPIRequest) SetActivityMaterialId(_activityMaterialId string) error
SetActivityMaterialId is ActivityMaterialId Setter 官方活动会场ID,从淘宝客后台“我要推广-活动推广”中获取
func (*TaobaoTbkScActivityInfoGetAPIRequest) SetAdzoneId ¶ added in v1.2.5
func (r *TaobaoTbkScActivityInfoGetAPIRequest) SetAdzoneId(_adzoneId int64) error
SetAdzoneId is AdzoneId Setter mm_xxx_xxx_xxx的第3段数字
func (*TaobaoTbkScActivityInfoGetAPIRequest) SetRelationId ¶ added in v1.2.5
func (r *TaobaoTbkScActivityInfoGetAPIRequest) SetRelationId(_relationId int64) error
SetRelationId is RelationId Setter 渠道关系id
func (*TaobaoTbkScActivityInfoGetAPIRequest) SetSiteId ¶ added in v1.2.5
func (r *TaobaoTbkScActivityInfoGetAPIRequest) SetSiteId(_siteId int64) error
SetSiteId is SiteId Setter mm_xxx_xxx_xxx的第2段数字
func (*TaobaoTbkScActivityInfoGetAPIRequest) SetUnionId ¶ added in v1.2.5
func (r *TaobaoTbkScActivityInfoGetAPIRequest) SetUnionId(_unionId string) error
SetUnionId is UnionId Setter 自定义输入串,英文和数字组成,长度不能大于12个字符,区分不同的推广渠道
type TaobaoTbkScActivityInfoGetAPIResponse ¶ added in v1.2.5
type TaobaoTbkScActivityInfoGetAPIResponse struct { model.CommonResponse TaobaoTbkScActivityInfoGetAPIResponseModel }
TaobaoTbkScActivityInfoGetAPIResponse 淘宝客-服务商-官方活动转链 API返回值 taobao.tbk.sc.activity.info.get
服务商使用。支持入参推广者对应的推广位和官方活动会场ID,获取活动信息和推广者的推广链接,包含推广长链接、短链接、淘口令、微信推广二维码地址等。改该API支持二方、三方类型的转链。官方活动会场ID,从淘宝客后台“我要推广-活动推广”中获取。
type TaobaoTbkScActivityInfoGetAPIResponseModel ¶ added in v1.2.5
type TaobaoTbkScActivityInfoGetAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_activity_info_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果对象 Data *TaobaoTbkScActivityInfoGetData `json:"data,omitempty" xml:"data,omitempty"` }
TaobaoTbkScActivityInfoGetAPIResponseModel is 淘宝客-服务商-官方活动转链 成功返回结果
type TaobaoTbkScActivityInfoGetData ¶ added in v1.2.5
type TaobaoTbkScActivityInfoGetData struct { // 【本地化】微信推广二维码地址 WxQrcodeUrl string `json:"wx_qrcode_url,omitempty" xml:"wx_qrcode_url,omitempty"` // 推广长链接 ClickUrl string `json:"click_url,omitempty" xml:"click_url,omitempty"` // 推广短链接 ShortClickUrl string `json:"short_click_url,omitempty" xml:"short_click_url,omitempty"` // 投放平台:1-PC,2-无线 TerminalType string `json:"terminal_type,omitempty" xml:"terminal_type,omitempty"` // 物料素材下载地址 MaterialOssUrl string `json:"material_oss_url,omitempty" xml:"material_oss_url,omitempty"` // 会场名称 PageName string `json:"page_name,omitempty" xml:"page_name,omitempty"` // 活动开始时间 PageStartTime string `json:"page_start_time,omitempty" xml:"page_start_time,omitempty"` // 活动结束时间 PageEndTime string `json:"page_end_time,omitempty" xml:"page_end_time,omitempty"` // 【本地化】微信小程序推广地址 WxMiniprogramPath string `json:"wx_miniprogram_path,omitempty" xml:"wx_miniprogram_path,omitempty"` }
TaobaoTbkScActivityInfoGetData 结构体
type TaobaoTbkScInvitecodeGetAPIRequest ¶ added in v1.2.0
type TaobaoTbkScInvitecodeGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkScInvitecodeGetAPIRequest 淘宝客-公用-私域用户邀请码生成 API请求 taobao.tbk.sc.invitecode.get
私域用户管理(即渠道管理或会员运营管理)功能中,通过此API可生成淘宝客自身的邀请码。
func NewTaobaoTbkScInvitecodeGetRequest ¶
func NewTaobaoTbkScInvitecodeGetRequest() *TaobaoTbkScInvitecodeGetAPIRequest
NewTaobaoTbkScInvitecodeGetRequest 初始化TaobaoTbkScInvitecodeGetAPIRequest对象
func (TaobaoTbkScInvitecodeGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTbkScInvitecodeGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkScInvitecodeGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTbkScInvitecodeGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkScInvitecodeGetAPIRequest) GetCodeType ¶ added in v1.2.0
func (r TaobaoTbkScInvitecodeGetAPIRequest) GetCodeType() int64
GetCodeType CodeType Getter
func (TaobaoTbkScInvitecodeGetAPIRequest) GetRelationApp ¶ added in v1.2.0
func (r TaobaoTbkScInvitecodeGetAPIRequest) GetRelationApp() string
GetRelationApp RelationApp Getter
func (TaobaoTbkScInvitecodeGetAPIRequest) GetRelationId ¶ added in v1.2.0
func (r TaobaoTbkScInvitecodeGetAPIRequest) GetRelationId() int64
GetRelationId RelationId Getter
func (*TaobaoTbkScInvitecodeGetAPIRequest) SetCodeType ¶ added in v1.2.0
func (r *TaobaoTbkScInvitecodeGetAPIRequest) SetCodeType(_codeType int64) error
SetCodeType is CodeType Setter 邀请码类型,1 - 渠道邀请,2 - 渠道裂变,3 -会员邀请
func (*TaobaoTbkScInvitecodeGetAPIRequest) SetRelationApp ¶ added in v1.2.0
func (r *TaobaoTbkScInvitecodeGetAPIRequest) SetRelationApp(_relationApp string) error
SetRelationApp is RelationApp Setter 渠道推广的物料类型
func (*TaobaoTbkScInvitecodeGetAPIRequest) SetRelationId ¶ added in v1.2.0
func (r *TaobaoTbkScInvitecodeGetAPIRequest) SetRelationId(_relationId int64) error
SetRelationId is RelationId Setter 渠道关系ID
type TaobaoTbkScInvitecodeGetAPIResponse ¶
type TaobaoTbkScInvitecodeGetAPIResponse struct { model.CommonResponse TaobaoTbkScInvitecodeGetAPIResponseModel }
TaobaoTbkScInvitecodeGetAPIResponse 淘宝客-公用-私域用户邀请码生成 API返回值 taobao.tbk.sc.invitecode.get
私域用户管理(即渠道管理或会员运营管理)功能中,通过此API可生成淘宝客自身的邀请码。
type TaobaoTbkScInvitecodeGetAPIResponseModel ¶ added in v1.2.0
type TaobaoTbkScInvitecodeGetAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_invitecode_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // data Data *TaobaoTbkScInvitecodeGetData `json:"data,omitempty" xml:"data,omitempty"` }
TaobaoTbkScInvitecodeGetAPIResponseModel is 淘宝客-公用-私域用户邀请码生成 成功返回结果
type TaobaoTbkScInvitecodeGetData ¶
type TaobaoTbkScInvitecodeGetData struct { // 邀请码 InviterCode string `json:"inviter_code,omitempty" xml:"inviter_code,omitempty"` }
TaobaoTbkScInvitecodeGetData 结构体
type TaobaoTbkScMaterialOptionalAPIRequest ¶ added in v1.2.5
type TaobaoTbkScMaterialOptionalAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkScMaterialOptionalAPIRequest 淘宝客-服务商-物料搜索 API请求 taobao.tbk.sc.material.optional
服务商使用。支持入参推广者对应的“推广位”、关键词和相关筛选条件,获取对应的物料信息和推广者对应的推广链接。
func NewTaobaoTbkScMaterialOptionalRequest ¶ added in v1.2.5
func NewTaobaoTbkScMaterialOptionalRequest() *TaobaoTbkScMaterialOptionalAPIRequest
NewTaobaoTbkScMaterialOptionalRequest 初始化TaobaoTbkScMaterialOptionalAPIRequest对象
func (TaobaoTbkScMaterialOptionalAPIRequest) GetAdzoneId ¶ added in v1.2.5
func (r TaobaoTbkScMaterialOptionalAPIRequest) GetAdzoneId() int64
GetAdzoneId AdzoneId Getter
func (TaobaoTbkScMaterialOptionalAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoTbkScMaterialOptionalAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkScMaterialOptionalAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoTbkScMaterialOptionalAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkScMaterialOptionalAPIRequest) GetCat ¶ added in v1.2.5
func (r TaobaoTbkScMaterialOptionalAPIRequest) GetCat() string
GetCat Cat Getter
func (TaobaoTbkScMaterialOptionalAPIRequest) GetCityCode ¶ added in v1.2.5
func (r TaobaoTbkScMaterialOptionalAPIRequest) GetCityCode() string
GetCityCode CityCode Getter
func (TaobaoTbkScMaterialOptionalAPIRequest) GetDeviceEncrypt ¶ added in v1.2.5
func (r TaobaoTbkScMaterialOptionalAPIRequest) GetDeviceEncrypt() string
GetDeviceEncrypt DeviceEncrypt Getter
func (TaobaoTbkScMaterialOptionalAPIRequest) GetDeviceType ¶ added in v1.2.5
func (r TaobaoTbkScMaterialOptionalAPIRequest) GetDeviceType() string
GetDeviceType DeviceType Getter
func (TaobaoTbkScMaterialOptionalAPIRequest) GetDeviceValue ¶ added in v1.2.5
func (r TaobaoTbkScMaterialOptionalAPIRequest) GetDeviceValue() string
GetDeviceValue DeviceValue Getter
func (TaobaoTbkScMaterialOptionalAPIRequest) GetEndKaTkRate ¶ added in v1.2.5
func (r TaobaoTbkScMaterialOptionalAPIRequest) GetEndKaTkRate() int64
GetEndKaTkRate EndKaTkRate Getter
func (TaobaoTbkScMaterialOptionalAPIRequest) GetEndPrice ¶ added in v1.2.5
func (r TaobaoTbkScMaterialOptionalAPIRequest) GetEndPrice() int64
GetEndPrice EndPrice Getter
func (TaobaoTbkScMaterialOptionalAPIRequest) GetEndTkRate ¶ added in v1.2.5
func (r TaobaoTbkScMaterialOptionalAPIRequest) GetEndTkRate() int64
GetEndTkRate EndTkRate Getter
func (TaobaoTbkScMaterialOptionalAPIRequest) GetGetTopnRate ¶ added in v1.2.5
func (r TaobaoTbkScMaterialOptionalAPIRequest) GetGetTopnRate() int64
GetGetTopnRate GetTopnRate Getter
func (TaobaoTbkScMaterialOptionalAPIRequest) GetHasCoupon ¶ added in v1.2.5
func (r TaobaoTbkScMaterialOptionalAPIRequest) GetHasCoupon() bool
GetHasCoupon HasCoupon Getter
func (TaobaoTbkScMaterialOptionalAPIRequest) GetIncludeGoodRate ¶ added in v1.2.5
func (r TaobaoTbkScMaterialOptionalAPIRequest) GetIncludeGoodRate() bool
GetIncludeGoodRate IncludeGoodRate Getter
func (TaobaoTbkScMaterialOptionalAPIRequest) GetIncludePayRate30 ¶ added in v1.2.5
func (r TaobaoTbkScMaterialOptionalAPIRequest) GetIncludePayRate30() bool
GetIncludePayRate30 IncludePayRate30 Getter
func (TaobaoTbkScMaterialOptionalAPIRequest) GetIncludeRfdRate ¶ added in v1.2.5
func (r TaobaoTbkScMaterialOptionalAPIRequest) GetIncludeRfdRate() bool
GetIncludeRfdRate IncludeRfdRate Getter
func (TaobaoTbkScMaterialOptionalAPIRequest) GetIp ¶ added in v1.2.5
func (r TaobaoTbkScMaterialOptionalAPIRequest) GetIp() string
GetIp Ip Getter
func (TaobaoTbkScMaterialOptionalAPIRequest) GetIsOverseas ¶ added in v1.2.5
func (r TaobaoTbkScMaterialOptionalAPIRequest) GetIsOverseas() bool
GetIsOverseas IsOverseas Getter
func (TaobaoTbkScMaterialOptionalAPIRequest) GetIsTmall ¶ added in v1.2.5
func (r TaobaoTbkScMaterialOptionalAPIRequest) GetIsTmall() bool
GetIsTmall IsTmall Getter
func (TaobaoTbkScMaterialOptionalAPIRequest) GetItemloc ¶ added in v1.2.5
func (r TaobaoTbkScMaterialOptionalAPIRequest) GetItemloc() string
GetItemloc Itemloc Getter
func (TaobaoTbkScMaterialOptionalAPIRequest) GetLatitude ¶ added in v1.2.5
func (r TaobaoTbkScMaterialOptionalAPIRequest) GetLatitude() string
GetLatitude Latitude Getter
func (TaobaoTbkScMaterialOptionalAPIRequest) GetLockRateEndTime ¶ added in v1.2.5
func (r TaobaoTbkScMaterialOptionalAPIRequest) GetLockRateEndTime() int64
GetLockRateEndTime LockRateEndTime Getter
func (TaobaoTbkScMaterialOptionalAPIRequest) GetLockRateStartTime ¶ added in v1.2.5
func (r TaobaoTbkScMaterialOptionalAPIRequest) GetLockRateStartTime() int64
GetLockRateStartTime LockRateStartTime Getter
func (TaobaoTbkScMaterialOptionalAPIRequest) GetLongitude ¶ added in v1.2.5
func (r TaobaoTbkScMaterialOptionalAPIRequest) GetLongitude() string
GetLongitude Longitude Getter
func (TaobaoTbkScMaterialOptionalAPIRequest) GetMaterialId ¶ added in v1.2.5
func (r TaobaoTbkScMaterialOptionalAPIRequest) GetMaterialId() int64
GetMaterialId MaterialId Getter
func (TaobaoTbkScMaterialOptionalAPIRequest) GetNeedFreeShipment ¶ added in v1.2.5
func (r TaobaoTbkScMaterialOptionalAPIRequest) GetNeedFreeShipment() bool
GetNeedFreeShipment NeedFreeShipment Getter
func (TaobaoTbkScMaterialOptionalAPIRequest) GetNeedPrepay ¶ added in v1.2.5
func (r TaobaoTbkScMaterialOptionalAPIRequest) GetNeedPrepay() bool
GetNeedPrepay NeedPrepay Getter
func (TaobaoTbkScMaterialOptionalAPIRequest) GetNpxLevel ¶ added in v1.2.5
func (r TaobaoTbkScMaterialOptionalAPIRequest) GetNpxLevel() int64
GetNpxLevel NpxLevel Getter
func (TaobaoTbkScMaterialOptionalAPIRequest) GetPageNo ¶ added in v1.2.5
func (r TaobaoTbkScMaterialOptionalAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoTbkScMaterialOptionalAPIRequest) GetPageResultKey ¶ added in v1.2.5
func (r TaobaoTbkScMaterialOptionalAPIRequest) GetPageResultKey() string
GetPageResultKey PageResultKey Getter
func (TaobaoTbkScMaterialOptionalAPIRequest) GetPageSize ¶ added in v1.2.5
func (r TaobaoTbkScMaterialOptionalAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoTbkScMaterialOptionalAPIRequest) GetPlatform ¶ added in v1.2.5
func (r TaobaoTbkScMaterialOptionalAPIRequest) GetPlatform() int64
GetPlatform Platform Getter
func (TaobaoTbkScMaterialOptionalAPIRequest) GetQ ¶ added in v1.2.5
func (r TaobaoTbkScMaterialOptionalAPIRequest) GetQ() string
GetQ Q Getter
func (TaobaoTbkScMaterialOptionalAPIRequest) GetRelationId ¶ added in v1.2.5
func (r TaobaoTbkScMaterialOptionalAPIRequest) GetRelationId() string
GetRelationId RelationId Getter
func (TaobaoTbkScMaterialOptionalAPIRequest) GetSellerIds ¶ added in v1.2.5
func (r TaobaoTbkScMaterialOptionalAPIRequest) GetSellerIds() string
GetSellerIds SellerIds Getter
func (TaobaoTbkScMaterialOptionalAPIRequest) GetSiteId ¶ added in v1.2.5
func (r TaobaoTbkScMaterialOptionalAPIRequest) GetSiteId() int64
GetSiteId SiteId Getter
func (TaobaoTbkScMaterialOptionalAPIRequest) GetSort ¶ added in v1.2.5
func (r TaobaoTbkScMaterialOptionalAPIRequest) GetSort() string
GetSort Sort Getter
func (TaobaoTbkScMaterialOptionalAPIRequest) GetSpecialId ¶ added in v1.2.5
func (r TaobaoTbkScMaterialOptionalAPIRequest) GetSpecialId() string
GetSpecialId SpecialId Getter
func (TaobaoTbkScMaterialOptionalAPIRequest) GetStartDsr ¶ added in v1.2.5
func (r TaobaoTbkScMaterialOptionalAPIRequest) GetStartDsr() int64
GetStartDsr StartDsr Getter
func (TaobaoTbkScMaterialOptionalAPIRequest) GetStartKaTkRate ¶ added in v1.2.5
func (r TaobaoTbkScMaterialOptionalAPIRequest) GetStartKaTkRate() int64
GetStartKaTkRate StartKaTkRate Getter
func (TaobaoTbkScMaterialOptionalAPIRequest) GetStartPrice ¶ added in v1.2.5
func (r TaobaoTbkScMaterialOptionalAPIRequest) GetStartPrice() int64
GetStartPrice StartPrice Getter
func (TaobaoTbkScMaterialOptionalAPIRequest) GetStartTkRate ¶ added in v1.2.5
func (r TaobaoTbkScMaterialOptionalAPIRequest) GetStartTkRate() int64
GetStartTkRate StartTkRate Getter
func (TaobaoTbkScMaterialOptionalAPIRequest) GetUcrowdId ¶ added in v1.2.5
func (r TaobaoTbkScMaterialOptionalAPIRequest) GetUcrowdId() int64
GetUcrowdId UcrowdId Getter
func (TaobaoTbkScMaterialOptionalAPIRequest) GetUcrowdRankItems ¶ added in v1.2.5
func (r TaobaoTbkScMaterialOptionalAPIRequest) GetUcrowdRankItems() []Ucrowdrankitems
GetUcrowdRankItems UcrowdRankItems Getter
func (*TaobaoTbkScMaterialOptionalAPIRequest) SetAdzoneId ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetAdzoneId(_adzoneId int64) error
SetAdzoneId is AdzoneId Setter mm_xxx_xxx_xxx的第3段数字
func (*TaobaoTbkScMaterialOptionalAPIRequest) SetCat ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetCat(_cat string) error
SetCat is Cat Setter 商品筛选-后台类目ID。用,分割,最大10个,该ID可以通过taobao.itemcats.get接口获取到
func (*TaobaoTbkScMaterialOptionalAPIRequest) SetCityCode ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetCityCode(_cityCode string) error
SetCityCode is CityCode Setter 本地化入参-LBS信息-国标城市码,仅支持单个请求,请求饿了么卡券物料时,该字段必填。 (详细城市ID见:https://mo.m.taobao.com/page_2020010315120200508)
func (*TaobaoTbkScMaterialOptionalAPIRequest) SetDeviceEncrypt ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetDeviceEncrypt(_deviceEncrypt string) error
SetDeviceEncrypt is DeviceEncrypt Setter 智能匹配-设备号加密类型:MD5
func (*TaobaoTbkScMaterialOptionalAPIRequest) SetDeviceType ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetDeviceType(_deviceType string) error
SetDeviceType is DeviceType Setter 智能匹配-设备号类型:IMEI,或者IDFA,或者UTDID(UTDID不支持MD5加密),或者OAID
func (*TaobaoTbkScMaterialOptionalAPIRequest) SetDeviceValue ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetDeviceValue(_deviceValue string) error
SetDeviceValue is DeviceValue Setter 智能匹配-设备号加密后的值(MD5加密需32位小写)
func (*TaobaoTbkScMaterialOptionalAPIRequest) SetEndKaTkRate ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetEndKaTkRate(_endKaTkRate int64) error
SetEndKaTkRate is EndKaTkRate Setter 商品筛选-KA媒体淘客佣金率上限。如:1234表示12.34%
func (*TaobaoTbkScMaterialOptionalAPIRequest) SetEndPrice ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetEndPrice(_endPrice int64) error
SetEndPrice is EndPrice Setter 商品筛选-折扣价范围上限。单位:元
func (*TaobaoTbkScMaterialOptionalAPIRequest) SetEndTkRate ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetEndTkRate(_endTkRate int64) error
SetEndTkRate is EndTkRate Setter 商品筛选-淘客佣金比率上限。如:1234表示12.34%
func (*TaobaoTbkScMaterialOptionalAPIRequest) SetGetTopnRate ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetGetTopnRate(_getTopnRate int64) error
SetGetTopnRate is GetTopnRate Setter 是否获取前N件佣金信息,0否,1是,其他值否
func (*TaobaoTbkScMaterialOptionalAPIRequest) SetHasCoupon ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetHasCoupon(_hasCoupon bool) error
SetHasCoupon is HasCoupon Setter 优惠券筛选-是否有优惠券。true表示该商品有优惠券,false或不设置表示不限
func (*TaobaoTbkScMaterialOptionalAPIRequest) SetIncludeGoodRate ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetIncludeGoodRate(_includeGoodRate bool) error
SetIncludeGoodRate is IncludeGoodRate Setter 商品筛选(特定媒体支持)-好评率是否高于行业均值。True表示大于等于,false或不设置表示不限
func (*TaobaoTbkScMaterialOptionalAPIRequest) SetIncludePayRate30 ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetIncludePayRate30(_includePayRate30 bool) error
SetIncludePayRate30 is IncludePayRate30 Setter 商品筛选(特定媒体支持)-成交转化是否高于行业均值。True表示大于等于,false或不设置表示不限
func (*TaobaoTbkScMaterialOptionalAPIRequest) SetIncludeRfdRate ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetIncludeRfdRate(_includeRfdRate bool) error
SetIncludeRfdRate is IncludeRfdRate Setter 商品筛选(特定媒体支持)-退款率是否低于行业均值。True表示大于等于,false或不设置表示不限
func (*TaobaoTbkScMaterialOptionalAPIRequest) SetIp ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetIp(_ip string) error
SetIp is Ip Setter ip参数影响邮费获取,如果不传或者传入不准确,邮费无法精准提供
func (*TaobaoTbkScMaterialOptionalAPIRequest) SetIsOverseas ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetIsOverseas(_isOverseas bool) error
SetIsOverseas is IsOverseas Setter 商品筛选-是否海外商品。true表示属于海外商品,false或不设置表示不限
func (*TaobaoTbkScMaterialOptionalAPIRequest) SetIsTmall ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetIsTmall(_isTmall bool) error
SetIsTmall is IsTmall Setter 商品筛选-是否天猫商品。true表示属于天猫商品,false或不设置表示不限
func (*TaobaoTbkScMaterialOptionalAPIRequest) SetItemloc ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetItemloc(_itemloc string) error
SetItemloc is Itemloc Setter 商品筛选-所在地
func (*TaobaoTbkScMaterialOptionalAPIRequest) SetLatitude ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetLatitude(_latitude string) error
SetLatitude is Latitude Setter 本地化入参-LBS信息-纬度
func (*TaobaoTbkScMaterialOptionalAPIRequest) SetLockRateEndTime ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetLockRateEndTime(_lockRateEndTime int64) error
SetLockRateEndTime is LockRateEndTime Setter 商品筛选-锁佣结束时间
func (*TaobaoTbkScMaterialOptionalAPIRequest) SetLockRateStartTime ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetLockRateStartTime(_lockRateStartTime int64) error
SetLockRateStartTime is LockRateStartTime Setter 商品筛选-锁佣开始时间
func (*TaobaoTbkScMaterialOptionalAPIRequest) SetLongitude ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetLongitude(_longitude string) error
SetLongitude is Longitude Setter 本地化入参-LBS信息-经度
func (*TaobaoTbkScMaterialOptionalAPIRequest) SetMaterialId ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetMaterialId(_materialId int64) error
SetMaterialId is MaterialId Setter 不传时默认物料id=2836。如果直接对消费者投放,可使用官方个性化算法优化的搜索物料id=17004
func (*TaobaoTbkScMaterialOptionalAPIRequest) SetNeedFreeShipment ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetNeedFreeShipment(_needFreeShipment bool) error
SetNeedFreeShipment is NeedFreeShipment Setter 商品筛选-是否包邮。true表示包邮,false或不设置表示不限
func (*TaobaoTbkScMaterialOptionalAPIRequest) SetNeedPrepay ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetNeedPrepay(_needPrepay bool) error
SetNeedPrepay is NeedPrepay Setter 商品筛选-是否加入消费者保障。true表示加入,false或不设置表示不限
func (*TaobaoTbkScMaterialOptionalAPIRequest) SetNpxLevel ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetNpxLevel(_npxLevel int64) error
SetNpxLevel is NpxLevel Setter 商品筛选-牛皮癣程度。取值:1不限,2无,3轻微
func (*TaobaoTbkScMaterialOptionalAPIRequest) SetPageNo ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 第几页,默认:1
func (*TaobaoTbkScMaterialOptionalAPIRequest) SetPageResultKey ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetPageResultKey(_pageResultKey string) error
SetPageResultKey is PageResultKey Setter 本地化业务入参-分页唯一标识,非首页的请求必传,值为上一页返回结果中的page_result_key字段值
func (*TaobaoTbkScMaterialOptionalAPIRequest) SetPageSize ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 页大小,默认20,1~100
func (*TaobaoTbkScMaterialOptionalAPIRequest) SetPlatform ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetPlatform(_platform int64) error
SetPlatform is Platform Setter 链接形式-1:PC,2:无线,默认为1
func (*TaobaoTbkScMaterialOptionalAPIRequest) SetQ ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetQ(_q string) error
SetQ is Q Setter 查询的关键词
func (*TaobaoTbkScMaterialOptionalAPIRequest) SetRelationId ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetRelationId(_relationId string) error
SetRelationId is RelationId Setter 渠道关系ID,仅适用于渠道推广场景
func (*TaobaoTbkScMaterialOptionalAPIRequest) SetSellerIds ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetSellerIds(_sellerIds string) error
SetSellerIds is SellerIds Setter 商家筛选-商家id,仅支持饿了么卡券商家id,支持批量请求1-100以内,多个商家id使用英文逗号分隔
func (*TaobaoTbkScMaterialOptionalAPIRequest) SetSiteId ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetSiteId(_siteId int64) error
SetSiteId is SiteId Setter mm_xxx_xxx_xxx的第2段数字
func (*TaobaoTbkScMaterialOptionalAPIRequest) SetSort ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetSort(_sort string) error
SetSort is Sort Setter 排序_des(降序),排序_asc(升序),销量(total_sales),淘客佣金比率(tk_rate), 累计推广量(tk_total_sales),总支出佣金(tk_total_commi),价格(price),匹配分(match)
func (*TaobaoTbkScMaterialOptionalAPIRequest) SetSpecialId ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetSpecialId(_specialId string) error
SetSpecialId is SpecialId Setter 会员运营ID,仅适用于会员运营场景
func (*TaobaoTbkScMaterialOptionalAPIRequest) SetStartDsr ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetStartDsr(_startDsr int64) error
SetStartDsr is StartDsr Setter 商品筛选(特定媒体支持)-店铺dsr评分。筛选大于等于当前设置的店铺dsr评分的商品0-50000之间
func (*TaobaoTbkScMaterialOptionalAPIRequest) SetStartKaTkRate ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetStartKaTkRate(_startKaTkRate int64) error
SetStartKaTkRate is StartKaTkRate Setter 商品筛选-KA媒体淘客佣金率下限。如:1234表示12.34%
func (*TaobaoTbkScMaterialOptionalAPIRequest) SetStartPrice ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetStartPrice(_startPrice int64) error
SetStartPrice is StartPrice Setter 商品筛选-折扣价范围上限。单位:元
func (*TaobaoTbkScMaterialOptionalAPIRequest) SetStartTkRate ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetStartTkRate(_startTkRate int64) error
SetStartTkRate is StartTkRate Setter 商品筛选-淘客佣金比率下限。如:1234表示12.34%
func (*TaobaoTbkScMaterialOptionalAPIRequest) SetUcrowdId ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetUcrowdId(_ucrowdId int64) error
SetUcrowdId is UcrowdId Setter 人群ID,仅适用于物料评估场景material_id=41377
func (*TaobaoTbkScMaterialOptionalAPIRequest) SetUcrowdRankItems ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetUcrowdRankItems(_ucrowdRankItems []Ucrowdrankitems) error
SetUcrowdRankItems is UcrowdRankItems Setter 物料评估-商品列表
type TaobaoTbkScMaterialOptionalAPIResponse ¶ added in v1.2.5
type TaobaoTbkScMaterialOptionalAPIResponse struct { model.CommonResponse TaobaoTbkScMaterialOptionalAPIResponseModel }
TaobaoTbkScMaterialOptionalAPIResponse 淘宝客-服务商-物料搜索 API返回值 taobao.tbk.sc.material.optional
服务商使用。支持入参推广者对应的“推广位”、关键词和相关筛选条件,获取对应的物料信息和推广者对应的推广链接。
type TaobaoTbkScMaterialOptionalAPIResponseModel ¶ added in v1.2.5
type TaobaoTbkScMaterialOptionalAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_material_optional_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // resultList ResultList []TaobaoTbkScMaterialOptionalMapData `json:"result_list,omitempty" xml:"result_list>taobao_tbk_sc_material_optional_map_data,omitempty"` // 本地化-lbs唯一分页标示,请在翻页时作为入参透传 PageResultKey string `json:"page_result_key,omitempty" xml:"page_result_key,omitempty"` // 搜索到符合条件的结果总数 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` }
TaobaoTbkScMaterialOptionalAPIResponseModel is 淘宝客-服务商-物料搜索 成功返回结果
type TaobaoTbkScMaterialOptionalMapData ¶ added in v1.2.5
type TaobaoTbkScMaterialOptionalMapData struct { // 商品信息-商品小图列表 SmallImages []string `json:"small_images,omitempty" xml:"small_images>string,omitempty"` // 优惠券信息-优惠券开始时间 CouponStartTime string `json:"coupon_start_time,omitempty" xml:"coupon_start_time,omitempty"` // 优惠券信息-优惠券开始时间 CouponEndTime string `json:"coupon_end_time,omitempty" xml:"coupon_end_time,omitempty"` // 商品信息-是否包含定向计划 InfoDxjh string `json:"info_dxjh,omitempty" xml:"info_dxjh,omitempty"` // 商品信息-淘客30天推广量 TkTotalSales string `json:"tk_total_sales,omitempty" xml:"tk_total_sales,omitempty"` // 商品信息-月支出佣金(该字段废弃,请勿再用) TkTotalCommi string `json:"tk_total_commi,omitempty" xml:"tk_total_commi,omitempty"` // 优惠券信息-优惠券id CouponId string `json:"coupon_id,omitempty" xml:"coupon_id,omitempty"` // 商品信息-宝贝id(该字段废弃,请勿再用) NumIid string `json:"num_iid,omitempty" xml:"num_iid,omitempty"` // 商品信息-商品标题 Title string `json:"title,omitempty" xml:"title,omitempty"` // 商品信息-商品主图 PictUrl string `json:"pict_url,omitempty" xml:"pict_url,omitempty"` // 商品信息-一口价通常显示为划线价 ReservePrice string `json:"reserve_price,omitempty" xml:"reserve_price,omitempty"` // 商品信息-在线售卖价(元)。若属于预售商品,付定金时间内,在线售卖价=预售价 ZkFinalPrice string `json:"zk_final_price,omitempty" xml:"zk_final_price,omitempty"` // 商品信息-宝贝所在地 Provcity string `json:"provcity,omitempty" xml:"provcity,omitempty"` // 商品信息-商品地址 ItemUrl string `json:"item_url,omitempty" xml:"item_url,omitempty"` // 商品信息-是否包含营销计划 IncludeMkt string `json:"include_mkt,omitempty" xml:"include_mkt,omitempty"` // 商品信息-是否包含定向计划 IncludeDxjh string `json:"include_dxjh,omitempty" xml:"include_dxjh,omitempty"` // 商品信息-佣金比率。1550表示15.5% CommissionRate string `json:"commission_rate,omitempty" xml:"commission_rate,omitempty"` // 店铺信息-店铺名称 ShopTitle string `json:"shop_title,omitempty" xml:"shop_title,omitempty"` // 优惠券信息-优惠券满减信息 CouponInfo string `json:"coupon_info,omitempty" xml:"coupon_info,omitempty"` // 商品信息-佣金类型。MKT表示营销计划,SP表示定向计划,COMMON表示通用计划 CommissionType string `json:"commission_type,omitempty" xml:"commission_type,omitempty"` // 链接-宝贝推广链接 Url string `json:"url,omitempty" xml:"url,omitempty"` CouponShareUrl string `json:"coupon_share_url,omitempty" xml:"coupon_share_url,omitempty"` // 商品信息-商品白底图 WhiteImage string `json:"white_image,omitempty" xml:"white_image,omitempty"` // 商品信息-商品短标题 ShortTitle string `json:"short_title,omitempty" xml:"short_title,omitempty"` // 商品信息-叶子类目名称 CategoryName string `json:"category_name,omitempty" xml:"category_name,omitempty"` // 商品信息-一级类目名称 LevelOneCategoryName string `json:"level_one_category_name,omitempty" xml:"level_one_category_name,omitempty"` // 拼团专用-拼团结束时间 Oetime string `json:"oetime,omitempty" xml:"oetime,omitempty"` // 拼团专用-拼团开始时间 Ostime string `json:"ostime,omitempty" xml:"ostime,omitempty"` // 拼团专用-拼团拼成价,单位元 JddPrice string `json:"jdd_price,omitempty" xml:"jdd_price,omitempty"` // 优惠券信息-优惠券(元)。若属于预售商品,该优惠券付尾款可用,付定金不可用 CouponAmount string `json:"coupon_amount,omitempty" xml:"coupon_amount,omitempty"` // 优惠券信息-优惠券起用门槛,满X元可用,如:满299元减20元 CouponStartFee string `json:"coupon_start_fee,omitempty" xml:"coupon_start_fee,omitempty"` // 商品信息-宝贝描述(推荐理由,不一定有) ItemDescription string `json:"item_description,omitempty" xml:"item_description,omitempty"` // 店铺信息-卖家昵称 Nick string `json:"nick,omitempty" xml:"nick,omitempty"` // 链接-物料块id(测试中请勿使用) XId string `json:"x_id,omitempty" xml:"x_id,omitempty"` // 拼团专用-拼团一人价(原价),单位元 OrigPrice string `json:"orig_price,omitempty" xml:"orig_price,omitempty"` // 营销-天猫营销玩法 TmallPlayActivityInfo string `json:"tmall_play_activity_info,omitempty" xml:"tmall_play_activity_info,omitempty"` // 商品信息-宝贝id ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"` // 商品信息-商品邮费 RealPostFee string `json:"real_post_fee,omitempty" xml:"real_post_fee,omitempty"` // 商品信息-锁住的佣金率 LockRate string `json:"lock_rate,omitempty" xml:"lock_rate,omitempty"` // 预售商品-优惠信息 PresaleDiscountFeeText string `json:"presale_discount_fee_text,omitempty" xml:"presale_discount_fee_text,omitempty"` // 预售商品-定金(元) PresaleDeposit string `json:"presale_deposit,omitempty" xml:"presale_deposit,omitempty"` // 预售有礼-淘礼金发放时间 YsylTljSendTime string `json:"ysyl_tlj_send_time,omitempty" xml:"ysyl_tlj_send_time,omitempty"` // 预售有礼-推广链接 YsylClickUrl string `json:"ysyl_click_url,omitempty" xml:"ysyl_click_url,omitempty"` // 预售有礼-佣金比例(预售有礼活动享受的推广佣金比例,注:推广该活动有特殊分成规则,请详见:https://tbk.bbs.taobao.com/detail.html?appId=45301&postId=9334376 ) YsylCommissionRate string `json:"ysyl_commission_rate,omitempty" xml:"ysyl_commission_rate,omitempty"` // 预售有礼-预估淘礼金(元) YsylTljFace string `json:"ysyl_tlj_face,omitempty" xml:"ysyl_tlj_face,omitempty"` // 预售有礼-淘礼金使用结束时间 YsylTljUseEndTime string `json:"ysyl_tlj_use_end_time,omitempty" xml:"ysyl_tlj_use_end_time,omitempty"` // 预售有礼-淘礼金使用开始时间 YsylTljUseStartTime string `json:"ysyl_tlj_use_start_time,omitempty" xml:"ysyl_tlj_use_start_time,omitempty"` // 本地化-可用店铺名称 UsableShopName string `json:"usable_shop_name,omitempty" xml:"usable_shop_name,omitempty"` // 本地化-可用店铺id UsableShopId string `json:"usable_shop_id,omitempty" xml:"usable_shop_id,omitempty"` // 本地化-到门店距离(米) Distance string `json:"distance,omitempty" xml:"distance,omitempty"` // 本地化-销售开始时间 SaleEndTime string `json:"sale_end_time,omitempty" xml:"sale_end_time,omitempty"` // 本地化-销售结束时间 SaleBeginTime string `json:"sale_begin_time,omitempty" xml:"sale_begin_time,omitempty"` // 商品信息-大促活动预热价 SalePrice string `json:"sale_price,omitempty" xml:"sale_price,omitempty"` // 营销-跨店满减信息 KuadianPromotionInfo string `json:"kuadian_promotion_info,omitempty" xml:"kuadian_promotion_info,omitempty"` // 是否品牌精选,0不是,1是 SuperiorBrand string `json:"superior_brand,omitempty" xml:"superior_brand,omitempty"` // 是否品牌快抢,0不是,1是 IsBrandFlashSale string `json:"is_brand_flash_sale,omitempty" xml:"is_brand_flash_sale,omitempty"` // 本地化-扩展信息 LocalizationExtend string `json:"localization_extend,omitempty" xml:"localization_extend,omitempty"` // 物料评估-收益分 CommiScore string `json:"commi_score,omitempty" xml:"commi_score,omitempty"` // 物料评估-匹配分 MatchScore string `json:"match_score,omitempty" xml:"match_score,omitempty"` // 是否是热门商品,0不是,1是 HotFlag string `json:"hot_flag,omitempty" xml:"hot_flag,omitempty"` // 商品入驻淘特后产生的所有销量量级,不特指某段具体时间 TtSoldCount string `json:"tt_sold_count,omitempty" xml:"tt_sold_count,omitempty"` // 额外奖励活动类型,如果一个商品有多个奖励类型,返回结果使用空格分割,0=预售单单奖励,1=618超级U选单单补 CpaRewardType string `json:"cpa_reward_type,omitempty" xml:"cpa_reward_type,omitempty"` // 额外奖励活动金额,活动奖励金额的类型与cpa_reward_type字段对应,如果一个商品有多个奖励类型,返回结果使用空格分割 CpaRewardAmount string `json:"cpa_reward_amount,omitempty" xml:"cpa_reward_amount,omitempty"` // 合作伙伴单单补ID,用作“年货节超级单单补”活动合作伙伴奖励统计依据 ActivityId string `json:"activity_id,omitempty" xml:"activity_id,omitempty"` // 榜单url RankPageUrl string `json:"rank_page_url,omitempty" xml:"rank_page_url,omitempty"` // 店铺信息-卖家类型。0表示集市,1表示天猫 UserType int64 `json:"user_type,omitempty" xml:"user_type,omitempty"` // 商品信息-30天销量(饿了么卡券信息-总销量) Volume int64 `json:"volume,omitempty" xml:"volume,omitempty"` // 店铺信息-卖家id SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"` // 优惠券信息-优惠券总量 CouponTotalCount int64 `json:"coupon_total_count,omitempty" xml:"coupon_total_count,omitempty"` // 优惠券信息-优惠券剩余量 CouponRemainCount int64 `json:"coupon_remain_count,omitempty" xml:"coupon_remain_count,omitempty"` // 店铺信息-店铺dsr评分 ShopDsr int64 `json:"shop_dsr,omitempty" xml:"shop_dsr,omitempty"` // 商品信息-叶子类目id CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"` // 商品信息-一级类目ID LevelOneCategoryId int64 `json:"level_one_category_id,omitempty" xml:"level_one_category_id,omitempty"` // 拼团专用--拼团几人团 JddNum int64 `json:"jdd_num,omitempty" xml:"jdd_num,omitempty"` // 预售专用-预售数量 UvSumPreSale int64 `json:"uv_sum_pre_sale,omitempty" xml:"uv_sum_pre_sale,omitempty"` // 拼团专用-拼团库存数量 TotalStock int64 `json:"total_stock,omitempty" xml:"total_stock,omitempty"` // 拼团专用-拼团已售数量 SellNum int64 `json:"sell_num,omitempty" xml:"sell_num,omitempty"` // 拼团专用-拼团剩余库存 Stock int64 `json:"stock,omitempty" xml:"stock,omitempty"` // 商品信息-锁佣开始时间 LockRateStartTime int64 `json:"lock_rate_start_time,omitempty" xml:"lock_rate_start_time,omitempty"` // 商品信息-锁佣结束时间 LockRateEndTime int64 `json:"lock_rate_end_time,omitempty" xml:"lock_rate_end_time,omitempty"` // 预售商品-付尾款结束时间(毫秒) PresaleTailEndTime int64 `json:"presale_tail_end_time,omitempty" xml:"presale_tail_end_time,omitempty"` // 预售商品-付尾款开始时间(毫秒) PresaleTailStartTime int64 `json:"presale_tail_start_time,omitempty" xml:"presale_tail_start_time,omitempty"` // 预售商品-付定金结束时间(毫秒) PresaleEndTime int64 `json:"presale_end_time,omitempty" xml:"presale_end_time,omitempty"` // 预售商品-付定金开始时间(毫秒) PresaleStartTime int64 `json:"presale_start_time,omitempty" xml:"presale_start_time,omitempty"` // 比价场景专用,当系统检测到入参消费者ID购买当前商品会获得《天天开彩蛋》玩法的彩蛋时,该字段显示1,否则为0 RewardInfo int64 `json:"reward_info,omitempty" xml:"reward_info,omitempty"` // 前N件佣金信息-前N件佣金生效或预热时透出以下字段 TopnInfo *TopNInfoDto `json:"topn_info,omitempty" xml:"topn_info,omitempty"` // 百亿补贴信息 BybtInfo *BybtInfoDto `json:"bybt_info,omitempty" xml:"bybt_info,omitempty"` // 猫超买返卡信息 MaifanPromotion *MaifanPromotionDto `json:"maifan_promotion,omitempty" xml:"maifan_promotion,omitempty"` }
TaobaoTbkScMaterialOptionalMapData 结构体
type TaobaoTbkScMaterialTemporaryOptionalAPIRequest ¶ added in v1.2.5
type TaobaoTbkScMaterialTemporaryOptionalAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkScMaterialTemporaryOptionalAPIRequest 淘宝客-服务商-物料搜索(临时接口) API请求 taobao.tbk.sc.material.temporary.optional
服务商使用。支持入参推广者对应的“推广位”、关键词和相关筛选条件,获取对应的物料信息和推广者对应的推广链接。
func NewTaobaoTbkScMaterialTemporaryOptionalRequest ¶ added in v1.2.5
func NewTaobaoTbkScMaterialTemporaryOptionalRequest() *TaobaoTbkScMaterialTemporaryOptionalAPIRequest
NewTaobaoTbkScMaterialTemporaryOptionalRequest 初始化TaobaoTbkScMaterialTemporaryOptionalAPIRequest对象
func (TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetAdzoneId ¶ added in v1.2.5
func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetAdzoneId() int64
GetAdzoneId AdzoneId Getter
func (TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetCat ¶ added in v1.2.5
func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetCat() string
GetCat Cat Getter
func (TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetCityCode ¶ added in v1.2.5
func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetCityCode() string
GetCityCode CityCode Getter
func (TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetDeviceEncrypt ¶ added in v1.2.5
func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetDeviceEncrypt() string
GetDeviceEncrypt DeviceEncrypt Getter
func (TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetDeviceType ¶ added in v1.2.5
func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetDeviceType() string
GetDeviceType DeviceType Getter
func (TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetDeviceValue ¶ added in v1.2.5
func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetDeviceValue() string
GetDeviceValue DeviceValue Getter
func (TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetEndKaTkRate ¶ added in v1.2.5
func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetEndKaTkRate() int64
GetEndKaTkRate EndKaTkRate Getter
func (TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetEndPrice ¶ added in v1.2.5
func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetEndPrice() int64
GetEndPrice EndPrice Getter
func (TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetEndTkRate ¶ added in v1.2.5
func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetEndTkRate() int64
GetEndTkRate EndTkRate Getter
func (TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetGetTopnRate ¶ added in v1.2.5
func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetGetTopnRate() int64
GetGetTopnRate GetTopnRate Getter
func (TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetHasCoupon ¶ added in v1.2.5
func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetHasCoupon() bool
GetHasCoupon HasCoupon Getter
func (TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetIncludeGoodRate ¶ added in v1.2.5
func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetIncludeGoodRate() bool
GetIncludeGoodRate IncludeGoodRate Getter
func (TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetIncludePayRate30 ¶ added in v1.2.5
func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetIncludePayRate30() bool
GetIncludePayRate30 IncludePayRate30 Getter
func (TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetIncludeRfdRate ¶ added in v1.2.5
func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetIncludeRfdRate() bool
GetIncludeRfdRate IncludeRfdRate Getter
func (TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetIp ¶ added in v1.2.5
func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetIp() string
GetIp Ip Getter
func (TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetIsOverseas ¶ added in v1.2.5
func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetIsOverseas() bool
GetIsOverseas IsOverseas Getter
func (TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetIsTmall ¶ added in v1.2.5
func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetIsTmall() bool
GetIsTmall IsTmall Getter
func (TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetItemloc ¶ added in v1.2.5
func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetItemloc() string
GetItemloc Itemloc Getter
func (TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetLatitude ¶ added in v1.2.5
func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetLatitude() string
GetLatitude Latitude Getter
func (TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetLockRateEndTime ¶ added in v1.2.5
func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetLockRateEndTime() int64
GetLockRateEndTime LockRateEndTime Getter
func (TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetLockRateStartTime ¶ added in v1.2.5
func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetLockRateStartTime() int64
GetLockRateStartTime LockRateStartTime Getter
func (TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetLongitude ¶ added in v1.2.5
func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetLongitude() string
GetLongitude Longitude Getter
func (TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetMaterialId ¶ added in v1.2.5
func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetMaterialId() int64
GetMaterialId MaterialId Getter
func (TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetNeedFreeShipment ¶ added in v1.2.5
func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetNeedFreeShipment() bool
GetNeedFreeShipment NeedFreeShipment Getter
func (TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetNeedPrepay ¶ added in v1.2.5
func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetNeedPrepay() bool
GetNeedPrepay NeedPrepay Getter
func (TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetNpxLevel ¶ added in v1.2.5
func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetNpxLevel() int64
GetNpxLevel NpxLevel Getter
func (TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetPageNo ¶ added in v1.2.5
func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetPageResultKey ¶ added in v1.2.5
func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetPageResultKey() string
GetPageResultKey PageResultKey Getter
func (TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetPageSize ¶ added in v1.2.5
func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetPlatform ¶ added in v1.2.5
func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetPlatform() int64
GetPlatform Platform Getter
func (TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetQ ¶ added in v1.2.5
func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetQ() string
GetQ Q Getter
func (TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetRelationId ¶ added in v1.2.5
func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetRelationId() string
GetRelationId RelationId Getter
func (TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetSellerIds ¶ added in v1.2.5
func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetSellerIds() string
GetSellerIds SellerIds Getter
func (TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetSiteId ¶ added in v1.2.5
func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetSiteId() int64
GetSiteId SiteId Getter
func (TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetSort ¶ added in v1.2.5
func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetSort() string
GetSort Sort Getter
func (TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetSpecialId ¶ added in v1.2.5
func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetSpecialId() string
GetSpecialId SpecialId Getter
func (TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetStartDsr ¶ added in v1.2.5
func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetStartDsr() int64
GetStartDsr StartDsr Getter
func (TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetStartKaTkRate ¶ added in v1.2.5
func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetStartKaTkRate() int64
GetStartKaTkRate StartKaTkRate Getter
func (TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetStartPrice ¶ added in v1.2.5
func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetStartPrice() int64
GetStartPrice StartPrice Getter
func (TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetStartTkRate ¶ added in v1.2.5
func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetStartTkRate() int64
GetStartTkRate StartTkRate Getter
func (TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetUcrowdId ¶ added in v1.2.5
func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetUcrowdId() int64
GetUcrowdId UcrowdId Getter
func (TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetUcrowdRankItems ¶ added in v1.2.5
func (r TaobaoTbkScMaterialTemporaryOptionalAPIRequest) GetUcrowdRankItems() []Ucrowdrankitems
GetUcrowdRankItems UcrowdRankItems Getter
func (*TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetAdzoneId ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetAdzoneId(_adzoneId int64) error
SetAdzoneId is AdzoneId Setter mm_xxx_xxx_xxx的第3段数字
func (*TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetCat ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetCat(_cat string) error
SetCat is Cat Setter 商品筛选-后台类目ID。用,分割,最大10个,该ID可以通过taobao.itemcats.get接口获取到
func (*TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetCityCode ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetCityCode(_cityCode string) error
SetCityCode is CityCode Setter 本地化入参-LBS信息-国标城市码,仅支持单个请求,请求饿了么卡券物料时,该字段必填。 (详细城市ID见:https://mo.m.taobao.com/page_2020010315120200508)
func (*TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetDeviceEncrypt ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetDeviceEncrypt(_deviceEncrypt string) error
SetDeviceEncrypt is DeviceEncrypt Setter 智能匹配-设备号加密类型:MD5
func (*TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetDeviceType ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetDeviceType(_deviceType string) error
SetDeviceType is DeviceType Setter 智能匹配-设备号类型:IMEI,或者IDFA,或者UTDID(UTDID不支持MD5加密),或者OAID
func (*TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetDeviceValue ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetDeviceValue(_deviceValue string) error
SetDeviceValue is DeviceValue Setter 智能匹配-设备号加密后的值(MD5加密需32位小写)
func (*TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetEndKaTkRate ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetEndKaTkRate(_endKaTkRate int64) error
SetEndKaTkRate is EndKaTkRate Setter 商品筛选-KA媒体淘客佣金率上限。如:1234表示12.34%
func (*TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetEndPrice ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetEndPrice(_endPrice int64) error
SetEndPrice is EndPrice Setter 商品筛选-折扣价范围上限。单位:元
func (*TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetEndTkRate ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetEndTkRate(_endTkRate int64) error
SetEndTkRate is EndTkRate Setter 商品筛选-淘客佣金比率上限。如:1234表示12.34%
func (*TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetGetTopnRate ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetGetTopnRate(_getTopnRate int64) error
SetGetTopnRate is GetTopnRate Setter 是否获取前N件佣金信息,0否,1是,其他值否
func (*TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetHasCoupon ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetHasCoupon(_hasCoupon bool) error
SetHasCoupon is HasCoupon Setter 优惠券筛选-是否有优惠券。true表示该商品有优惠券,false或不设置表示不限
func (*TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetIncludeGoodRate ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetIncludeGoodRate(_includeGoodRate bool) error
SetIncludeGoodRate is IncludeGoodRate Setter 商品筛选(特定媒体支持)-好评率是否高于行业均值。True表示大于等于,false或不设置表示不限
func (*TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetIncludePayRate30 ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetIncludePayRate30(_includePayRate30 bool) error
SetIncludePayRate30 is IncludePayRate30 Setter 商品筛选(特定媒体支持)-成交转化是否高于行业均值。True表示大于等于,false或不设置表示不限
func (*TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetIncludeRfdRate ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetIncludeRfdRate(_includeRfdRate bool) error
SetIncludeRfdRate is IncludeRfdRate Setter 商品筛选(特定媒体支持)-退款率是否低于行业均值。True表示大于等于,false或不设置表示不限
func (*TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetIp ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetIp(_ip string) error
SetIp is Ip Setter ip参数影响邮费获取,如果不传或者传入不准确,邮费无法精准提供
func (*TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetIsOverseas ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetIsOverseas(_isOverseas bool) error
SetIsOverseas is IsOverseas Setter 商品筛选-是否海外商品。true表示属于海外商品,false或不设置表示不限
func (*TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetIsTmall ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetIsTmall(_isTmall bool) error
SetIsTmall is IsTmall Setter 商品筛选-是否天猫商品。true表示属于天猫商品,false或不设置表示不限
func (*TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetItemloc ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetItemloc(_itemloc string) error
SetItemloc is Itemloc Setter 商品筛选-所在地
func (*TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetLatitude ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetLatitude(_latitude string) error
SetLatitude is Latitude Setter 本地化入参-LBS信息-纬度
func (*TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetLockRateEndTime ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetLockRateEndTime(_lockRateEndTime int64) error
SetLockRateEndTime is LockRateEndTime Setter 商品筛选-锁佣结束时间
func (*TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetLockRateStartTime ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetLockRateStartTime(_lockRateStartTime int64) error
SetLockRateStartTime is LockRateStartTime Setter 商品筛选-锁佣开始时间
func (*TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetLongitude ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetLongitude(_longitude string) error
SetLongitude is Longitude Setter 本地化入参-LBS信息-经度
func (*TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetMaterialId ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetMaterialId(_materialId int64) error
SetMaterialId is MaterialId Setter 不传时默认物料id=2836。如果直接对消费者投放,可使用官方个性化算法优化的搜索物料id=17004
func (*TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetNeedFreeShipment ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetNeedFreeShipment(_needFreeShipment bool) error
SetNeedFreeShipment is NeedFreeShipment Setter 商品筛选-是否包邮。true表示包邮,false或不设置表示不限
func (*TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetNeedPrepay ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetNeedPrepay(_needPrepay bool) error
SetNeedPrepay is NeedPrepay Setter 商品筛选-是否加入消费者保障。true表示加入,false或不设置表示不限
func (*TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetNpxLevel ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetNpxLevel(_npxLevel int64) error
SetNpxLevel is NpxLevel Setter 商品筛选-牛皮癣程度。取值:1不限,2无,3轻微
func (*TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetPageNo ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 第几页,默认:1
func (*TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetPageResultKey ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetPageResultKey(_pageResultKey string) error
SetPageResultKey is PageResultKey Setter 本地化业务入参-分页唯一标识,非首页的请求必传,值为上一页返回结果中的page_result_key字段值
func (*TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetPageSize ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 页大小,默认20,1~100
func (*TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetPlatform ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetPlatform(_platform int64) error
SetPlatform is Platform Setter 链接形式-1:PC,2:无线,默认为1
func (*TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetQ ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetQ(_q string) error
SetQ is Q Setter 查询的关键词
func (*TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetRelationId ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetRelationId(_relationId string) error
SetRelationId is RelationId Setter 渠道关系ID,仅适用于渠道推广场景
func (*TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetSellerIds ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetSellerIds(_sellerIds string) error
SetSellerIds is SellerIds Setter 商家筛选-商家id,仅支持饿了么卡券商家id,支持批量请求1-100以内,多个商家id使用英文逗号分隔
func (*TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetSiteId ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetSiteId(_siteId int64) error
SetSiteId is SiteId Setter mm_xxx_xxx_xxx的第2段数字
func (*TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetSort ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetSort(_sort string) error
SetSort is Sort Setter 排序_des(降序),排序_asc(升序),销量(total_sales),淘客佣金比率(tk_rate), 累计推广量(tk_total_sales),总支出佣金(tk_total_commi),价格(price),匹配分(match)
func (*TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetSpecialId ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetSpecialId(_specialId string) error
SetSpecialId is SpecialId Setter 会员运营ID,仅适用于会员运营场景
func (*TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetStartDsr ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetStartDsr(_startDsr int64) error
SetStartDsr is StartDsr Setter 商品筛选(特定媒体支持)-店铺dsr评分。筛选大于等于当前设置的店铺dsr评分的商品0-50000之间
func (*TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetStartKaTkRate ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetStartKaTkRate(_startKaTkRate int64) error
SetStartKaTkRate is StartKaTkRate Setter 商品筛选-KA媒体淘客佣金率下限。如:1234表示12.34%
func (*TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetStartPrice ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetStartPrice(_startPrice int64) error
SetStartPrice is StartPrice Setter 商品筛选-折扣价范围上限。单位:元
func (*TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetStartTkRate ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetStartTkRate(_startTkRate int64) error
SetStartTkRate is StartTkRate Setter 商品筛选-淘客佣金比率下限。如:1234表示12.34%
func (*TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetUcrowdId ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetUcrowdId(_ucrowdId int64) error
SetUcrowdId is UcrowdId Setter 人群ID,仅适用于物料评估场景material_id=41377
func (*TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetUcrowdRankItems ¶ added in v1.2.5
func (r *TaobaoTbkScMaterialTemporaryOptionalAPIRequest) SetUcrowdRankItems(_ucrowdRankItems []Ucrowdrankitems) error
SetUcrowdRankItems is UcrowdRankItems Setter 物料评估-商品列表
type TaobaoTbkScMaterialTemporaryOptionalAPIResponse ¶ added in v1.2.5
type TaobaoTbkScMaterialTemporaryOptionalAPIResponse struct { model.CommonResponse TaobaoTbkScMaterialTemporaryOptionalAPIResponseModel }
TaobaoTbkScMaterialTemporaryOptionalAPIResponse 淘宝客-服务商-物料搜索(临时接口) API返回值 taobao.tbk.sc.material.temporary.optional
服务商使用。支持入参推广者对应的“推广位”、关键词和相关筛选条件,获取对应的物料信息和推广者对应的推广链接。
type TaobaoTbkScMaterialTemporaryOptionalAPIResponseModel ¶ added in v1.2.5
type TaobaoTbkScMaterialTemporaryOptionalAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_material_temporary_optional_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // resultList ResultList []TaobaoTbkScMaterialTemporaryOptionalMapData `json:"result_list,omitempty" xml:"result_list>taobao_tbk_sc_material_temporary_optional_map_data,omitempty"` // 本地化-lbs唯一分页标示,请在翻页时作为入参透传 PageResultKey string `json:"page_result_key,omitempty" xml:"page_result_key,omitempty"` // 搜索到符合条件的结果总数 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` }
TaobaoTbkScMaterialTemporaryOptionalAPIResponseModel is 淘宝客-服务商-物料搜索(临时接口) 成功返回结果
type TaobaoTbkScMaterialTemporaryOptionalMapData ¶ added in v1.2.5
type TaobaoTbkScMaterialTemporaryOptionalMapData struct { // 商品信息-商品小图列表 SmallImages []string `json:"small_images,omitempty" xml:"small_images>string,omitempty"` // 优惠券信息-优惠券开始时间 CouponStartTime string `json:"coupon_start_time,omitempty" xml:"coupon_start_time,omitempty"` // 优惠券信息-优惠券开始时间 CouponEndTime string `json:"coupon_end_time,omitempty" xml:"coupon_end_time,omitempty"` // 商品信息-是否包含定向计划 InfoDxjh string `json:"info_dxjh,omitempty" xml:"info_dxjh,omitempty"` // 商品信息-淘客30天推广量 TkTotalSales string `json:"tk_total_sales,omitempty" xml:"tk_total_sales,omitempty"` // 商品信息-月支出佣金(该字段废弃,请勿再用) TkTotalCommi string `json:"tk_total_commi,omitempty" xml:"tk_total_commi,omitempty"` // 优惠券信息-优惠券id CouponId string `json:"coupon_id,omitempty" xml:"coupon_id,omitempty"` // 商品信息-宝贝id(该字段废弃,请勿再用) NumIid string `json:"num_iid,omitempty" xml:"num_iid,omitempty"` // 商品信息-商品标题 Title string `json:"title,omitempty" xml:"title,omitempty"` // 商品信息-商品主图 PictUrl string `json:"pict_url,omitempty" xml:"pict_url,omitempty"` // 商品信息-一口价通常显示为划线价 ReservePrice string `json:"reserve_price,omitempty" xml:"reserve_price,omitempty"` // 商品信息-在线售卖价(元)。若属于预售商品,付定金时间内,在线售卖价=预售价 ZkFinalPrice string `json:"zk_final_price,omitempty" xml:"zk_final_price,omitempty"` // 商品信息-宝贝所在地 Provcity string `json:"provcity,omitempty" xml:"provcity,omitempty"` // 商品信息-商品地址 ItemUrl string `json:"item_url,omitempty" xml:"item_url,omitempty"` // 商品信息-是否包含营销计划 IncludeMkt string `json:"include_mkt,omitempty" xml:"include_mkt,omitempty"` // 商品信息-是否包含定向计划 IncludeDxjh string `json:"include_dxjh,omitempty" xml:"include_dxjh,omitempty"` // 商品信息-佣金比率。1550表示15.5% CommissionRate string `json:"commission_rate,omitempty" xml:"commission_rate,omitempty"` // 店铺信息-店铺名称 ShopTitle string `json:"shop_title,omitempty" xml:"shop_title,omitempty"` // 优惠券信息-优惠券满减信息 CouponInfo string `json:"coupon_info,omitempty" xml:"coupon_info,omitempty"` // 商品信息-佣金类型。MKT表示营销计划,SP表示定向计划,COMMON表示通用计划 CommissionType string `json:"commission_type,omitempty" xml:"commission_type,omitempty"` // 链接-宝贝推广链接 Url string `json:"url,omitempty" xml:"url,omitempty"` CouponShareUrl string `json:"coupon_share_url,omitempty" xml:"coupon_share_url,omitempty"` // 商品信息-商品白底图 WhiteImage string `json:"white_image,omitempty" xml:"white_image,omitempty"` // 商品信息-商品短标题 ShortTitle string `json:"short_title,omitempty" xml:"short_title,omitempty"` // 商品信息-叶子类目名称 CategoryName string `json:"category_name,omitempty" xml:"category_name,omitempty"` // 商品信息-一级类目名称 LevelOneCategoryName string `json:"level_one_category_name,omitempty" xml:"level_one_category_name,omitempty"` // 拼团专用-拼团结束时间 Oetime string `json:"oetime,omitempty" xml:"oetime,omitempty"` // 拼团专用-拼团开始时间 Ostime string `json:"ostime,omitempty" xml:"ostime,omitempty"` // 拼团专用-拼团拼成价,单位元 JddPrice string `json:"jdd_price,omitempty" xml:"jdd_price,omitempty"` // 优惠券信息-优惠券(元)。若属于预售商品,该优惠券付尾款可用,付定金不可用 CouponAmount string `json:"coupon_amount,omitempty" xml:"coupon_amount,omitempty"` // 优惠券信息-优惠券起用门槛,满X元可用,如:满299元减20元 CouponStartFee string `json:"coupon_start_fee,omitempty" xml:"coupon_start_fee,omitempty"` // 商品信息-宝贝描述(推荐理由,不一定有) ItemDescription string `json:"item_description,omitempty" xml:"item_description,omitempty"` // 店铺信息-卖家昵称 Nick string `json:"nick,omitempty" xml:"nick,omitempty"` // 链接-物料块id(测试中请勿使用) XId string `json:"x_id,omitempty" xml:"x_id,omitempty"` // 拼团专用-拼团一人价(原价),单位元 OrigPrice string `json:"orig_price,omitempty" xml:"orig_price,omitempty"` // 营销-天猫营销玩法 TmallPlayActivityInfo string `json:"tmall_play_activity_info,omitempty" xml:"tmall_play_activity_info,omitempty"` // 商品信息-宝贝id ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"` // 商品信息-商品邮费 RealPostFee string `json:"real_post_fee,omitempty" xml:"real_post_fee,omitempty"` // 商品信息-锁住的佣金率 LockRate string `json:"lock_rate,omitempty" xml:"lock_rate,omitempty"` // 预售商品-优惠信息 PresaleDiscountFeeText string `json:"presale_discount_fee_text,omitempty" xml:"presale_discount_fee_text,omitempty"` // 预售商品-定金(元) PresaleDeposit string `json:"presale_deposit,omitempty" xml:"presale_deposit,omitempty"` // 预售有礼-淘礼金发放时间 YsylTljSendTime string `json:"ysyl_tlj_send_time,omitempty" xml:"ysyl_tlj_send_time,omitempty"` // 预售有礼-推广链接 YsylClickUrl string `json:"ysyl_click_url,omitempty" xml:"ysyl_click_url,omitempty"` // 预售有礼-佣金比例(预售有礼活动享受的推广佣金比例,注:推广该活动有特殊分成规则,请详见:https://tbk.bbs.taobao.com/detail.html?appId=45301&postId=9334376 ) YsylCommissionRate string `json:"ysyl_commission_rate,omitempty" xml:"ysyl_commission_rate,omitempty"` // 预售有礼-预估淘礼金(元) YsylTljFace string `json:"ysyl_tlj_face,omitempty" xml:"ysyl_tlj_face,omitempty"` // 预售有礼-淘礼金使用结束时间 YsylTljUseEndTime string `json:"ysyl_tlj_use_end_time,omitempty" xml:"ysyl_tlj_use_end_time,omitempty"` // 预售有礼-淘礼金使用开始时间 YsylTljUseStartTime string `json:"ysyl_tlj_use_start_time,omitempty" xml:"ysyl_tlj_use_start_time,omitempty"` // 本地化-可用店铺名称 UsableShopName string `json:"usable_shop_name,omitempty" xml:"usable_shop_name,omitempty"` // 本地化-可用店铺id UsableShopId string `json:"usable_shop_id,omitempty" xml:"usable_shop_id,omitempty"` // 本地化-到门店距离(米) Distance string `json:"distance,omitempty" xml:"distance,omitempty"` // 本地化-销售开始时间 SaleEndTime string `json:"sale_end_time,omitempty" xml:"sale_end_time,omitempty"` // 本地化-销售结束时间 SaleBeginTime string `json:"sale_begin_time,omitempty" xml:"sale_begin_time,omitempty"` // 商品信息-大促活动预热价 SalePrice string `json:"sale_price,omitempty" xml:"sale_price,omitempty"` // 营销-跨店满减信息 KuadianPromotionInfo string `json:"kuadian_promotion_info,omitempty" xml:"kuadian_promotion_info,omitempty"` // 是否品牌精选,0不是,1是 SuperiorBrand string `json:"superior_brand,omitempty" xml:"superior_brand,omitempty"` // 是否品牌快抢,0不是,1是 IsBrandFlashSale string `json:"is_brand_flash_sale,omitempty" xml:"is_brand_flash_sale,omitempty"` // 本地化-扩展信息 LocalizationExtend string `json:"localization_extend,omitempty" xml:"localization_extend,omitempty"` // 物料评估-收益分 CommiScore string `json:"commi_score,omitempty" xml:"commi_score,omitempty"` // 物料评估-匹配分 MatchScore string `json:"match_score,omitempty" xml:"match_score,omitempty"` // 是否是热门商品,0不是,1是 HotFlag string `json:"hot_flag,omitempty" xml:"hot_flag,omitempty"` // 商品入驻淘特后产生的所有销量量级,不特指某段具体时间 TtSoldCount string `json:"tt_sold_count,omitempty" xml:"tt_sold_count,omitempty"` // 额外奖励活动类型,如果一个商品有多个奖励类型,返回结果使用空格分割,0=单单奖励(已失效),1=超级单单奖励(已失效),2=年货节单单奖励 CpaRewardType string `json:"cpa_reward_type,omitempty" xml:"cpa_reward_type,omitempty"` // 额外奖励活动金额,活动奖励金额的类型与cpa_reward_type字段对应,如果一个商品有多个奖励类型,返回结果使用空格分割 CpaRewardAmount string `json:"cpa_reward_amount,omitempty" xml:"cpa_reward_amount,omitempty"` // 合作伙伴单单补ID,用作“年货节超级单单补”活动合作伙伴奖励统计依据 ActivityId string `json:"activity_id,omitempty" xml:"activity_id,omitempty"` // 店铺信息-卖家类型。0表示集市,1表示天猫 UserType int64 `json:"user_type,omitempty" xml:"user_type,omitempty"` // 商品信息-30天销量(饿了么卡券信息-总销量) Volume int64 `json:"volume,omitempty" xml:"volume,omitempty"` // 优惠券信息-优惠券总量 CouponTotalCount int64 `json:"coupon_total_count,omitempty" xml:"coupon_total_count,omitempty"` // 优惠券信息-优惠券剩余量 CouponRemainCount int64 `json:"coupon_remain_count,omitempty" xml:"coupon_remain_count,omitempty"` // 店铺信息-店铺dsr评分 ShopDsr int64 `json:"shop_dsr,omitempty" xml:"shop_dsr,omitempty"` // 商品信息-叶子类目id CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"` // 商品信息-一级类目ID LevelOneCategoryId int64 `json:"level_one_category_id,omitempty" xml:"level_one_category_id,omitempty"` // 拼团专用--拼团几人团 JddNum int64 `json:"jdd_num,omitempty" xml:"jdd_num,omitempty"` // 预售专用-预售数量 UvSumPreSale int64 `json:"uv_sum_pre_sale,omitempty" xml:"uv_sum_pre_sale,omitempty"` // 拼团专用-拼团库存数量 TotalStock int64 `json:"total_stock,omitempty" xml:"total_stock,omitempty"` // 拼团专用-拼团已售数量 SellNum int64 `json:"sell_num,omitempty" xml:"sell_num,omitempty"` // 拼团专用-拼团剩余库存 Stock int64 `json:"stock,omitempty" xml:"stock,omitempty"` // 商品信息-锁佣开始时间 LockRateStartTime int64 `json:"lock_rate_start_time,omitempty" xml:"lock_rate_start_time,omitempty"` // 商品信息-锁佣结束时间 LockRateEndTime int64 `json:"lock_rate_end_time,omitempty" xml:"lock_rate_end_time,omitempty"` // 预售商品-付尾款结束时间(毫秒) PresaleTailEndTime int64 `json:"presale_tail_end_time,omitempty" xml:"presale_tail_end_time,omitempty"` // 预售商品-付尾款开始时间(毫秒) PresaleTailStartTime int64 `json:"presale_tail_start_time,omitempty" xml:"presale_tail_start_time,omitempty"` // 预售商品-付定金结束时间(毫秒) PresaleEndTime int64 `json:"presale_end_time,omitempty" xml:"presale_end_time,omitempty"` // 预售商品-付定金开始时间(毫秒) PresaleStartTime int64 `json:"presale_start_time,omitempty" xml:"presale_start_time,omitempty"` // 比价场景专用,当系统检测到入参消费者ID购买当前商品会获得《天天开彩蛋》玩法的彩蛋时,该字段显示1,否则为0 RewardInfo int64 `json:"reward_info,omitempty" xml:"reward_info,omitempty"` // 前N件佣金信息-前N件佣金生效或预热时透出以下字段 TopnInfo *TopNInfoDto `json:"topn_info,omitempty" xml:"topn_info,omitempty"` // 百亿补贴信息 BybtInfo *BybtInfoDto `json:"bybt_info,omitempty" xml:"bybt_info,omitempty"` // 猫超买返卡信息 MaifanPromotion *MaifanPromotionDto `json:"maifan_promotion,omitempty" xml:"maifan_promotion,omitempty"` }
TaobaoTbkScMaterialTemporaryOptionalMapData 结构体
type TaobaoTbkScOptimusMaterialAPIRequest ¶ added in v1.2.5
type TaobaoTbkScOptimusMaterialAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkScOptimusMaterialAPIRequest 淘宝客-服务商-物料精选 API请求 taobao.tbk.sc.optimus.material
服务商使用。支持入参推广者对应的“推广位”和官方提供的“物料id”,获取指定物料信息和推广者对应的推广链接,还可入参用户信息提供智能推荐(需智能推荐请先前协议https://pub.alimama.com/fourth/protocol/common.htm?key=hangye_laxin)
func NewTaobaoTbkScOptimusMaterialRequest ¶ added in v1.2.5
func NewTaobaoTbkScOptimusMaterialRequest() *TaobaoTbkScOptimusMaterialAPIRequest
NewTaobaoTbkScOptimusMaterialRequest 初始化TaobaoTbkScOptimusMaterialAPIRequest对象
func (TaobaoTbkScOptimusMaterialAPIRequest) GetAdzoneId ¶ added in v1.2.5
func (r TaobaoTbkScOptimusMaterialAPIRequest) GetAdzoneId() int64
GetAdzoneId AdzoneId Getter
func (TaobaoTbkScOptimusMaterialAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoTbkScOptimusMaterialAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkScOptimusMaterialAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoTbkScOptimusMaterialAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkScOptimusMaterialAPIRequest) GetContentId ¶ added in v1.2.5
func (r TaobaoTbkScOptimusMaterialAPIRequest) GetContentId() int64
GetContentId ContentId Getter
func (TaobaoTbkScOptimusMaterialAPIRequest) GetContentSource ¶ added in v1.2.5
func (r TaobaoTbkScOptimusMaterialAPIRequest) GetContentSource() string
GetContentSource ContentSource Getter
func (TaobaoTbkScOptimusMaterialAPIRequest) GetDeviceEncrypt ¶ added in v1.2.5
func (r TaobaoTbkScOptimusMaterialAPIRequest) GetDeviceEncrypt() string
GetDeviceEncrypt DeviceEncrypt Getter
func (TaobaoTbkScOptimusMaterialAPIRequest) GetDeviceType ¶ added in v1.2.5
func (r TaobaoTbkScOptimusMaterialAPIRequest) GetDeviceType() string
GetDeviceType DeviceType Getter
func (TaobaoTbkScOptimusMaterialAPIRequest) GetDeviceValue ¶ added in v1.2.5
func (r TaobaoTbkScOptimusMaterialAPIRequest) GetDeviceValue() string
GetDeviceValue DeviceValue Getter
func (TaobaoTbkScOptimusMaterialAPIRequest) GetItemId ¶ added in v1.2.5
func (r TaobaoTbkScOptimusMaterialAPIRequest) GetItemId() string
GetItemId ItemId Getter
func (TaobaoTbkScOptimusMaterialAPIRequest) GetMaterialId ¶ added in v1.2.5
func (r TaobaoTbkScOptimusMaterialAPIRequest) GetMaterialId() int64
GetMaterialId MaterialId Getter
func (TaobaoTbkScOptimusMaterialAPIRequest) GetPageNo ¶ added in v1.2.5
func (r TaobaoTbkScOptimusMaterialAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoTbkScOptimusMaterialAPIRequest) GetPageSize ¶ added in v1.2.5
func (r TaobaoTbkScOptimusMaterialAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoTbkScOptimusMaterialAPIRequest) GetSiteId ¶ added in v1.2.5
func (r TaobaoTbkScOptimusMaterialAPIRequest) GetSiteId() int64
GetSiteId SiteId Getter
func (*TaobaoTbkScOptimusMaterialAPIRequest) SetAdzoneId ¶ added in v1.2.5
func (r *TaobaoTbkScOptimusMaterialAPIRequest) SetAdzoneId(_adzoneId int64) error
SetAdzoneId is AdzoneId Setter mm_xxx_xxx_xxx的第3段数字
func (*TaobaoTbkScOptimusMaterialAPIRequest) SetContentId ¶ added in v1.2.5
func (r *TaobaoTbkScOptimusMaterialAPIRequest) SetContentId(_contentId int64) error
SetContentId is ContentId Setter 内容专用-内容详情ID
func (*TaobaoTbkScOptimusMaterialAPIRequest) SetContentSource ¶ added in v1.2.5
func (r *TaobaoTbkScOptimusMaterialAPIRequest) SetContentSource(_contentSource string) error
SetContentSource is ContentSource Setter 内容专用-内容渠道信息
func (*TaobaoTbkScOptimusMaterialAPIRequest) SetDeviceEncrypt ¶ added in v1.2.5
func (r *TaobaoTbkScOptimusMaterialAPIRequest) SetDeviceEncrypt(_deviceEncrypt string) error
SetDeviceEncrypt is DeviceEncrypt Setter 智能匹配-设备号加密类型:MD5,类型为OAID时不传
func (*TaobaoTbkScOptimusMaterialAPIRequest) SetDeviceType ¶ added in v1.2.5
func (r *TaobaoTbkScOptimusMaterialAPIRequest) SetDeviceType(_deviceType string) error
SetDeviceType is DeviceType Setter 智能匹配-设备号类型:IMEI,或者IDFA,或者UTDID(UTDID不支持MD5加密),或者OAID
func (*TaobaoTbkScOptimusMaterialAPIRequest) SetDeviceValue ¶ added in v1.2.5
func (r *TaobaoTbkScOptimusMaterialAPIRequest) SetDeviceValue(_deviceValue string) error
SetDeviceValue is DeviceValue Setter 智能匹配-设备号加密后的值(MD5加密需32位小写),类型为OAID时传原始OAID值
func (*TaobaoTbkScOptimusMaterialAPIRequest) SetItemId ¶ added in v1.2.5
func (r *TaobaoTbkScOptimusMaterialAPIRequest) SetItemId(_itemId string) error
SetItemId is ItemId Setter 商品ID,用于相似商品推荐
func (*TaobaoTbkScOptimusMaterialAPIRequest) SetMaterialId ¶ added in v1.2.5
func (r *TaobaoTbkScOptimusMaterialAPIRequest) SetMaterialId(_materialId int64) error
SetMaterialId is MaterialId Setter 官方提供的物料Id(详细物料id见:https://market.m.taobao.com/app/qn/toutiao-new/index-pc.html#/detail/10628875?_k=gpov9a)
func (*TaobaoTbkScOptimusMaterialAPIRequest) SetPageNo ¶ added in v1.2.5
func (r *TaobaoTbkScOptimusMaterialAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 第几页,默认:1
func (*TaobaoTbkScOptimusMaterialAPIRequest) SetPageSize ¶ added in v1.2.5
func (r *TaobaoTbkScOptimusMaterialAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 页大小,默认20,1~100
func (*TaobaoTbkScOptimusMaterialAPIRequest) SetSiteId ¶ added in v1.2.5
func (r *TaobaoTbkScOptimusMaterialAPIRequest) SetSiteId(_siteId int64) error
SetSiteId is SiteId Setter mm_xxx_xxx_xxx的第2段数字
type TaobaoTbkScOptimusMaterialAPIResponse ¶ added in v1.2.5
type TaobaoTbkScOptimusMaterialAPIResponse struct { model.CommonResponse TaobaoTbkScOptimusMaterialAPIResponseModel }
TaobaoTbkScOptimusMaterialAPIResponse 淘宝客-服务商-物料精选 API返回值 taobao.tbk.sc.optimus.material
服务商使用。支持入参推广者对应的“推广位”和官方提供的“物料id”,获取指定物料信息和推广者对应的推广链接,还可入参用户信息提供智能推荐(需智能推荐请先前协议https://pub.alimama.com/fourth/protocol/common.htm?key=hangye_laxin)
type TaobaoTbkScOptimusMaterialAPIResponseModel ¶ added in v1.2.5
type TaobaoTbkScOptimusMaterialAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_optimus_material_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // resultList ResultList []TaobaoTbkScOptimusMaterialMapData `json:"result_list,omitempty" xml:"result_list>taobao_tbk_sc_optimus_material_map_data,omitempty"` // 推荐信息-是否抄底 IsDefault string `json:"is_default,omitempty" xml:"is_default,omitempty"` }
TaobaoTbkScOptimusMaterialAPIResponseModel is 淘宝客-服务商-物料精选 成功返回结果
type TaobaoTbkScOptimusMaterialMapData ¶ added in v1.2.5
type TaobaoTbkScOptimusMaterialMapData struct { // 商品信息-商品小图列表 SmallImages []string `json:"small_images,omitempty" xml:"small_images>string,omitempty"` // 商品信息-商品关联词 WordList []WordMapData `json:"word_list,omitempty" xml:"word_list>word_map_data,omitempty"` // 店铺信息-店铺名称 ShopTitle string `json:"shop_title,omitempty" xml:"shop_title,omitempty"` // 优惠券信息-优惠券起用门槛,满X元可用。如:满299元减20元 CouponStartFee string `json:"coupon_start_fee,omitempty" xml:"coupon_start_fee,omitempty"` // 商品信息-宝贝id ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"` // 商品信息-在线售卖价(元)。若属于预售商品,付定金时间内,在线售卖价=预售价 ZkFinalPrice string `json:"zk_final_price,omitempty" xml:"zk_final_price,omitempty"` // 商品信息-佣金比率(%) CommissionRate string `json:"commission_rate,omitempty" xml:"commission_rate,omitempty"` // 优惠券信息-优惠券开始时间 CouponStartTime string `json:"coupon_start_time,omitempty" xml:"coupon_start_time,omitempty"` // 商品信息-商品标题 Title string `json:"title,omitempty" xml:"title,omitempty"` // 商品信息-宝贝描述(推荐理由,不一定有) ItemDescription string `json:"item_description,omitempty" xml:"item_description,omitempty"` // 优惠券信息-优惠券结束时间 CouponEndTime string `json:"coupon_end_time,omitempty" xml:"coupon_end_time,omitempty"` // 链接-宝贝+券二合一页面链接(该字段废弃,请勿再用) CouponClickUrl string `json:"coupon_click_url,omitempty" xml:"coupon_click_url,omitempty"` // 商品信息-商品主图 PictUrl string `json:"pict_url,omitempty" xml:"pict_url,omitempty"` // 链接-宝贝推广链接 ClickUrl string `json:"click_url,omitempty" xml:"click_url,omitempty"` // 拼团专用-拼团结束时间 Oetime string `json:"oetime,omitempty" xml:"oetime,omitempty"` // 拼团专用-拼团开始时间 Ostime string `json:"ostime,omitempty" xml:"ostime,omitempty"` // 拼团专用-拼团拼成价,单位元 JddPrice string `json:"jdd_price,omitempty" xml:"jdd_price,omitempty"` // 拼团专用-拼团一人价(原价),单位元 OrigPrice string `json:"orig_price,omitempty" xml:"orig_price,omitempty"` // 商品信息-一级类目名称 LevelOneCategoryName string `json:"level_one_category_name,omitempty" xml:"level_one_category_name,omitempty"` // 商品信息-叶子类目名称 CategoryName string `json:"category_name,omitempty" xml:"category_name,omitempty"` // 商品信息-商品短标题 ShortTitle string `json:"short_title,omitempty" xml:"short_title,omitempty"` // 商品信息-商品白底图 WhiteImage string `json:"white_image,omitempty" xml:"white_image,omitempty"` // 营销-天猫营销玩法 TmallPlayActivityInfo string `json:"tmall_play_activity_info,omitempty" xml:"tmall_play_activity_info,omitempty"` // 商品信息-新人价 NewUserPrice string `json:"new_user_price,omitempty" xml:"new_user_price,omitempty"` // 优惠券信息-优惠券满减信息 CouponInfo string `json:"coupon_info,omitempty" xml:"coupon_info,omitempty"` CouponShareUrl string `json:"coupon_share_url,omitempty" xml:"coupon_share_url,omitempty"` // 店铺信息-卖家昵称 Nick string `json:"nick,omitempty" xml:"nick,omitempty"` // 商品信息-一口价通常显示为划线价 ReservePrice string `json:"reserve_price,omitempty" xml:"reserve_price,omitempty"` // 营销-聚划算聚淘结束时间 JuOnlineEndTime string `json:"ju_online_end_time,omitempty" xml:"ju_online_end_time,omitempty"` // 营销-聚划算聚淘开始时间 JuOnlineStartTime string `json:"ju_online_start_time,omitempty" xml:"ju_online_start_time,omitempty"` // 猫超玩法信息-当前是否包邮,1:是,0:否 MaochaoPlayFreePostFee string `json:"maochao_play_free_post_fee,omitempty" xml:"maochao_play_free_post_fee,omitempty"` // 猫超玩法信息-活动结束时间,精确到毫秒 MaochaoPlayEndTime string `json:"maochao_play_end_time,omitempty" xml:"maochao_play_end_time,omitempty"` // 猫超玩法信息-活动开始时间,精确到毫秒 MaochaoPlayStartTime string `json:"maochao_play_start_time,omitempty" xml:"maochao_play_start_time,omitempty"` // 猫超玩法信息-折扣条件,价格百分数存储,件数按数量存储。可以有多个折扣条件,与折扣字段对应,','分割 MaochaoPlayConditions string `json:"maochao_play_conditions,omitempty" xml:"maochao_play_conditions,omitempty"` // 猫超玩法信息-折扣,折扣按照百分数存储,其余按照单位分存储。可以有多个折扣,','分割 MaochaoPlayDiscounts string `json:"maochao_play_discounts,omitempty" xml:"maochao_play_discounts,omitempty"` // 猫超玩法信息-玩法类型,2:折扣(满n件折扣),5:减钱(满n元减m元) MaochaoPlayDiscountType string `json:"maochao_play_discount_type,omitempty" xml:"maochao_play_discount_type,omitempty"` // 营销-多件券优惠比例 MultiCouponZkRate string `json:"multi_coupon_zk_rate,omitempty" xml:"multi_coupon_zk_rate,omitempty"` // 营销-多件券件单价 PriceAfterMultiCoupon string `json:"price_after_multi_coupon,omitempty" xml:"price_after_multi_coupon,omitempty"` // 营销-多件券件数 MultiCouponItemCount string `json:"multi_coupon_item_count,omitempty" xml:"multi_coupon_item_count,omitempty"` // 商品信息-锁住的佣金率 LockRate string `json:"lock_rate,omitempty" xml:"lock_rate,omitempty"` // 预售商品-优惠信息 PresaleDiscountFeeText string `json:"presale_discount_fee_text,omitempty" xml:"presale_discount_fee_text,omitempty"` // 预售商品-定金(元) PresaleDeposit string `json:"presale_deposit,omitempty" xml:"presale_deposit,omitempty"` // 预售有礼-淘礼金发放时间 YsylTljSendTime string `json:"ysyl_tlj_send_time,omitempty" xml:"ysyl_tlj_send_time,omitempty"` // 预售有礼-推广链接 YsylClickUrl string `json:"ysyl_click_url,omitempty" xml:"ysyl_click_url,omitempty"` // 预售有礼-预估淘礼金(元) YsylTljFace string `json:"ysyl_tlj_face,omitempty" xml:"ysyl_tlj_face,omitempty"` // 预售有礼-佣金比例(预售有礼活动享受的推广佣金比例,注:推广该活动有特殊分成规则,请详见:https://tbk.bbs.taobao.com/detail.html?appId=45301&postId=9334376) YsylCommissionRate string `json:"ysyl_commission_rate,omitempty" xml:"ysyl_commission_rate,omitempty"` // 预售有礼-淘礼金使用结束时间 YsylTljUseEndTime string `json:"ysyl_tlj_use_end_time,omitempty" xml:"ysyl_tlj_use_end_time,omitempty"` // 预售有礼-淘礼金使用开始时间 YsylTljUseStartTime string `json:"ysyl_tlj_use_start_time,omitempty" xml:"ysyl_tlj_use_start_time,omitempty"` // 营销-1、聚划算满减满折:满N件减X元、满N件X折、满N件X元;2、天猫限时抢:前N分钟每件X元、前N分钟满N件每件X元、前N件每件X元 PlayInfo string `json:"play_info,omitempty" xml:"play_info,omitempty"` // 营销-满减满折的类型(1. 满减 2. 满折) PromotionType string `json:"promotion_type,omitempty" xml:"promotion_type,omitempty"` // 营销-满减满折信息 PromotionInfo string `json:"promotion_info,omitempty" xml:"promotion_info,omitempty"` // 营销-满减满折门槛(满2件打5折中值为2,满300减20中值为300) PromotionDiscount string `json:"promotion_discount,omitempty" xml:"promotion_discount,omitempty"` // 营销-满减满折优惠(满2件打5折中值为5,满300减20中值为20) PromotionCondition string `json:"promotion_condition,omitempty" xml:"promotion_condition,omitempty"` // 营销-聚划算商品预热开始时间(毫秒) JuPreShowEndTime string `json:"ju_pre_show_end_time,omitempty" xml:"ju_pre_show_end_time,omitempty"` // 营销-聚划算商品预热结束时间(毫秒) JuPreShowStartTime string `json:"ju_pre_show_start_time,omitempty" xml:"ju_pre_show_start_time,omitempty"` // 商品信息-大促活动预热价 SalePrice string `json:"sale_price,omitempty" xml:"sale_price,omitempty"` // 营销-跨店满减信息 KuadianPromotionInfo string `json:"kuadian_promotion_info,omitempty" xml:"kuadian_promotion_info,omitempty"` // 商品信息-商品子标题 SubTitle string `json:"sub_title,omitempty" xml:"sub_title,omitempty"` // 营销-聚划算商品价格卖点描述 JhsPriceUspList string `json:"jhs_price_usp_list,omitempty" xml:"jhs_price_usp_list,omitempty"` // 淘抢购商品专用-总库存 TqgTotalCount string `json:"tqg_total_count,omitempty" xml:"tqg_total_count,omitempty"` // 淘抢购商品专用-已抢购数量 TqgSoldCount string `json:"tqg_sold_count,omitempty" xml:"tqg_sold_count,omitempty"` // 淘抢购商品专用-开团时间 TqgOnlineStartTime string `json:"tqg_online_start_time,omitempty" xml:"tqg_online_start_time,omitempty"` // 淘抢购商品专用-结束时间 TqgOnlineEndTime string `json:"tqg_online_end_time,omitempty" xml:"tqg_online_end_time,omitempty"` // 是否品牌精选,0不是,1是 SuperiorBrand string `json:"superior_brand,omitempty" xml:"superior_brand,omitempty"` // 是否品牌快抢,0不是,1是 IsBrandFlashSale string `json:"is_brand_flash_sale,omitempty" xml:"is_brand_flash_sale,omitempty"` // 是否是热门商品,0不是,1是 HotFlag string `json:"hot_flag,omitempty" xml:"hot_flag,omitempty"` // 商品入驻淘特后产生的所有销量量级,不特指某段具体时间 TtSoldCount string `json:"tt_sold_count,omitempty" xml:"tt_sold_count,omitempty"` // 额外奖励活动类型,如果一个商品有多个奖励类型,返回结果使用空格分割,0=单单奖励(已失效),1=超级单单奖励(已失效),2=年货节单单奖励 CpaRewardType string `json:"cpa_reward_type,omitempty" xml:"cpa_reward_type,omitempty"` // 额外奖励活动金额,活动奖励金额的类型与cpa_reward_type字段对应,如果一个商品有多个奖励类型,返回结果使用空格分割 CpaRewardAmount string `json:"cpa_reward_amount,omitempty" xml:"cpa_reward_amount,omitempty"` // 合作伙伴单单补ID,用作“年货节超级单单补”活动合作伙伴奖励统计依据 ActivityId string `json:"activity_id,omitempty" xml:"activity_id,omitempty"` // 优惠券信息-优惠券(元)。若属于预售商品,该优惠券付尾款可用,付定金不可用 CouponAmount int64 `json:"coupon_amount,omitempty" xml:"coupon_amount,omitempty"` // 商品信息-叶子类目id CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"` // 优惠券信息-优惠券总量 CouponTotalCount int64 `json:"coupon_total_count,omitempty" xml:"coupon_total_count,omitempty"` // 店铺信息-卖家类型,0表示淘宝,1表示天猫,3表示特价版 UserType int64 `json:"user_type,omitempty" xml:"user_type,omitempty"` // 优惠券信息-优惠券剩余量 CouponRemainCount int64 `json:"coupon_remain_count,omitempty" xml:"coupon_remain_count,omitempty"` // 店铺信息-卖家id SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"` // 商品信息-30天销量 Volume int64 `json:"volume,omitempty" xml:"volume,omitempty"` // 拼团专用-拼团剩余库存 Stock int64 `json:"stock,omitempty" xml:"stock,omitempty"` // 拼团专用-拼团已售数量 SellNum int64 `json:"sell_num,omitempty" xml:"sell_num,omitempty"` // 拼团专用-拼团库存数量 TotalStock int64 `json:"total_stock,omitempty" xml:"total_stock,omitempty"` // 拼团专用-拼团几人团 JddNum int64 `json:"jdd_num,omitempty" xml:"jdd_num,omitempty"` // 商品信息-一级类目ID LevelOneCategoryId int64 `json:"level_one_category_id,omitempty" xml:"level_one_category_id,omitempty"` // 商品信息-预售数量 UvSumPreSale int64 `json:"uv_sum_pre_sale,omitempty" xml:"uv_sum_pre_sale,omitempty"` // 商品信息-锁佣结束时间 LockRateEndTime int64 `json:"lock_rate_end_time,omitempty" xml:"lock_rate_end_time,omitempty"` // 商品信息-锁佣开始时间 LockRateStartTime int64 `json:"lock_rate_start_time,omitempty" xml:"lock_rate_start_time,omitempty"` // 预售商品-付尾款结束时间(毫秒) PresaleTailEndTime int64 `json:"presale_tail_end_time,omitempty" xml:"presale_tail_end_time,omitempty"` // 预售商品-付尾款开始时间(毫秒) PresaleTailStartTime int64 `json:"presale_tail_start_time,omitempty" xml:"presale_tail_start_time,omitempty"` // 预售商品-付定金结束时间(毫秒) PresaleEndTime int64 `json:"presale_end_time,omitempty" xml:"presale_end_time,omitempty"` // 预售商品-付定金开始时间(毫秒) PresaleStartTime int64 `json:"presale_start_time,omitempty" xml:"presale_start_time,omitempty"` // 天猫限时抢可售 -结束时间(毫秒) TmallPlayActivityEndTime int64 `json:"tmall_play_activity_end_time,omitempty" xml:"tmall_play_activity_end_time,omitempty"` // 天猫限时抢可售 -开始时间(毫秒) TmallPlayActivityStartTime int64 `json:"tmall_play_activity_start_time,omitempty" xml:"tmall_play_activity_start_time,omitempty"` // 营销-聚划算满减结束时间(毫秒) JuPlayEndTime int64 `json:"ju_play_end_time,omitempty" xml:"ju_play_end_time,omitempty"` // 营销-聚划算满减开始时间(毫秒) JuPlayStartTime int64 `json:"ju_play_start_time,omitempty" xml:"ju_play_start_time,omitempty"` // 前N件佣金信息-前N件佣金生效或预热时透出以下字段 TopnInfo *TopNInfoDto `json:"topn_info,omitempty" xml:"topn_info,omitempty"` // 百亿补贴信息 BybtInfo *BybtInfoDto `json:"bybt_info,omitempty" xml:"bybt_info,omitempty"` // 猫超买返卡信息 MaifanPromotion *MaifanPromotionDto `json:"maifan_promotion,omitempty" xml:"maifan_promotion,omitempty"` }
TaobaoTbkScOptimusMaterialMapData 结构体
type TaobaoTbkScOptimusPromotionAPIRequest ¶ added in v1.2.5
type TaobaoTbkScOptimusPromotionAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkScOptimusPromotionAPIRequest 淘宝客-服务商-权益物料精选 API请求 taobao.tbk.sc.optimus.promotion
服务商使用。支持入参推广者对应的“推广位”和官方提供的“权益物料id”,获取指定权益物料。
func NewTaobaoTbkScOptimusPromotionRequest ¶ added in v1.2.5
func NewTaobaoTbkScOptimusPromotionRequest() *TaobaoTbkScOptimusPromotionAPIRequest
NewTaobaoTbkScOptimusPromotionRequest 初始化TaobaoTbkScOptimusPromotionAPIRequest对象
func (TaobaoTbkScOptimusPromotionAPIRequest) GetAdzoneId ¶ added in v1.2.5
func (r TaobaoTbkScOptimusPromotionAPIRequest) GetAdzoneId() int64
GetAdzoneId AdzoneId Getter
func (TaobaoTbkScOptimusPromotionAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoTbkScOptimusPromotionAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkScOptimusPromotionAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoTbkScOptimusPromotionAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkScOptimusPromotionAPIRequest) GetPageNum ¶ added in v1.2.5
func (r TaobaoTbkScOptimusPromotionAPIRequest) GetPageNum() int64
GetPageNum PageNum Getter
func (TaobaoTbkScOptimusPromotionAPIRequest) GetPageSize ¶ added in v1.2.5
func (r TaobaoTbkScOptimusPromotionAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoTbkScOptimusPromotionAPIRequest) GetPromotionId ¶ added in v1.2.5
func (r TaobaoTbkScOptimusPromotionAPIRequest) GetPromotionId() int64
GetPromotionId PromotionId Getter
func (TaobaoTbkScOptimusPromotionAPIRequest) GetSiteId ¶ added in v1.2.5
func (r TaobaoTbkScOptimusPromotionAPIRequest) GetSiteId() int64
GetSiteId SiteId Getter
func (*TaobaoTbkScOptimusPromotionAPIRequest) SetAdzoneId ¶ added in v1.2.5
func (r *TaobaoTbkScOptimusPromotionAPIRequest) SetAdzoneId(_adzoneId int64) error
SetAdzoneId is AdzoneId Setter mm_xxx_xxx_xxx的第3段数字
func (*TaobaoTbkScOptimusPromotionAPIRequest) SetPageNum ¶ added in v1.2.5
func (r *TaobaoTbkScOptimusPromotionAPIRequest) SetPageNum(_pageNum int64) error
SetPageNum is PageNum Setter 第几页,默认:1
func (*TaobaoTbkScOptimusPromotionAPIRequest) SetPageSize ¶ added in v1.2.5
func (r *TaobaoTbkScOptimusPromotionAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 页大小,每次请求限制10以内
func (*TaobaoTbkScOptimusPromotionAPIRequest) SetPromotionId ¶ added in v1.2.5
func (r *TaobaoTbkScOptimusPromotionAPIRequest) SetPromotionId(_promotionId int64) error
SetPromotionId is PromotionId Setter 官方提供的权益物料Id。有价券-37104、大额店铺券-37116,更多权益物料id敬请期待!
func (*TaobaoTbkScOptimusPromotionAPIRequest) SetSiteId ¶ added in v1.2.5
func (r *TaobaoTbkScOptimusPromotionAPIRequest) SetSiteId(_siteId int64) error
SetSiteId is SiteId Setter mm_xxx_xxx_xxx的第2段数字
type TaobaoTbkScOptimusPromotionAPIResponse ¶ added in v1.2.5
type TaobaoTbkScOptimusPromotionAPIResponse struct { model.CommonResponse TaobaoTbkScOptimusPromotionAPIResponseModel }
TaobaoTbkScOptimusPromotionAPIResponse 淘宝客-服务商-权益物料精选 API返回值 taobao.tbk.sc.optimus.promotion
服务商使用。支持入参推广者对应的“推广位”和官方提供的“权益物料id”,获取指定权益物料。
type TaobaoTbkScOptimusPromotionAPIResponseModel ¶ added in v1.2.5
type TaobaoTbkScOptimusPromotionAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_optimus_promotion_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // resultList ResultList []TaobaoTbkScOptimusPromotionMapData `json:"result_list,omitempty" xml:"result_list>taobao_tbk_sc_optimus_promotion_map_data,omitempty"` }
TaobaoTbkScOptimusPromotionAPIResponseModel is 淘宝客-服务商-权益物料精选 成功返回结果
type TaobaoTbkScOptimusPromotionMapData ¶ added in v1.2.5
type TaobaoTbkScOptimusPromotionMapData struct { // 权益信息 PromotionList []PromotionList `json:"promotion_list,omitempty" xml:"promotion_list>promotion_list,omitempty"` // 权益类型。1 有价券(需要购买的店铺券或单品券) 2 公开券(直接领取的店铺券或单品券) 3 妈妈券(妈妈渠道领取的店铺券或单品券) 4.品类券 (跨店可用券,可与1,2,3叠加) PromotionType string `json:"promotion_type,omitempty" xml:"promotion_type,omitempty"` // 优惠门槛类型: 1 满元 2 满件 ConditionType string `json:"condition_type,omitempty" xml:"condition_type,omitempty"` // 优惠类型: 1 减钱 2 打折 DiscountType string `json:"discount_type,omitempty" xml:"discount_type,omitempty"` // 权益信息展示开始时间,精确到毫秒时间戳 DisplayStartTime string `json:"display_start_time,omitempty" xml:"display_start_time,omitempty"` // 权益信息展示结束时间,精确到毫秒时间戳 DisplayEndTime string `json:"display_end_time,omitempty" xml:"display_end_time,omitempty"` // 店铺信息-卖家ID SellerId string `json:"seller_id,omitempty" xml:"seller_id,omitempty"` // 店铺信息-卖家昵称 Nick string `json:"nick,omitempty" xml:"nick,omitempty"` // 店铺信息-店铺名称 ShopTitle string `json:"shop_title,omitempty" xml:"shop_title,omitempty"` // 店铺信息-店铺logo ShopPictureUrl string `json:"shop_picture_url,omitempty" xml:"shop_picture_url,omitempty"` // 权益信息-总量(权益初始库存量) TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` // 权益信息-剩余库存(权益剩余库存量) RemainCount int64 `json:"remain_count,omitempty" xml:"remain_count,omitempty"` // 权益扩展信息 PromotionExtend *PromotionExtend `json:"promotion_extend,omitempty" xml:"promotion_extend,omitempty"` }
TaobaoTbkScOptimusPromotionMapData 结构体
type TaobaoTbkScOrderDetailsGetAPIRequest ¶ added in v1.2.3
type TaobaoTbkScOrderDetailsGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkScOrderDetailsGetAPIRequest 淘宝客-服务商-所有订单查询 API请求 taobao.tbk.sc.order.details.get
服务商使用。可通过该接口查询推广者账号下对应的推广订单明细。
func NewTaobaoTbkScOrderDetailsGetRequest ¶ added in v1.2.3
func NewTaobaoTbkScOrderDetailsGetRequest() *TaobaoTbkScOrderDetailsGetAPIRequest
NewTaobaoTbkScOrderDetailsGetRequest 初始化TaobaoTbkScOrderDetailsGetAPIRequest对象
func (TaobaoTbkScOrderDetailsGetAPIRequest) GetApiMethodName ¶ added in v1.2.3
func (r TaobaoTbkScOrderDetailsGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkScOrderDetailsGetAPIRequest) GetApiParams ¶ added in v1.2.3
func (r TaobaoTbkScOrderDetailsGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkScOrderDetailsGetAPIRequest) GetEndTime ¶ added in v1.2.3
func (r TaobaoTbkScOrderDetailsGetAPIRequest) GetEndTime() string
GetEndTime EndTime Getter
func (TaobaoTbkScOrderDetailsGetAPIRequest) GetJumpType ¶ added in v1.2.3
func (r TaobaoTbkScOrderDetailsGetAPIRequest) GetJumpType() int64
GetJumpType JumpType Getter
func (TaobaoTbkScOrderDetailsGetAPIRequest) GetMemberType ¶ added in v1.2.3
func (r TaobaoTbkScOrderDetailsGetAPIRequest) GetMemberType() int64
GetMemberType MemberType Getter
func (TaobaoTbkScOrderDetailsGetAPIRequest) GetOrderScene ¶ added in v1.2.3
func (r TaobaoTbkScOrderDetailsGetAPIRequest) GetOrderScene() int64
GetOrderScene OrderScene Getter
func (TaobaoTbkScOrderDetailsGetAPIRequest) GetPageNo ¶ added in v1.2.3
func (r TaobaoTbkScOrderDetailsGetAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoTbkScOrderDetailsGetAPIRequest) GetPageSize ¶ added in v1.2.3
func (r TaobaoTbkScOrderDetailsGetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoTbkScOrderDetailsGetAPIRequest) GetPositionIndex ¶ added in v1.2.3
func (r TaobaoTbkScOrderDetailsGetAPIRequest) GetPositionIndex() string
GetPositionIndex PositionIndex Getter
func (TaobaoTbkScOrderDetailsGetAPIRequest) GetQueryType ¶ added in v1.2.3
func (r TaobaoTbkScOrderDetailsGetAPIRequest) GetQueryType() int64
GetQueryType QueryType Getter
func (TaobaoTbkScOrderDetailsGetAPIRequest) GetStartTime ¶ added in v1.2.3
func (r TaobaoTbkScOrderDetailsGetAPIRequest) GetStartTime() string
GetStartTime StartTime Getter
func (TaobaoTbkScOrderDetailsGetAPIRequest) GetTkStatus ¶ added in v1.2.3
func (r TaobaoTbkScOrderDetailsGetAPIRequest) GetTkStatus() int64
GetTkStatus TkStatus Getter
func (*TaobaoTbkScOrderDetailsGetAPIRequest) SetEndTime ¶ added in v1.2.3
func (r *TaobaoTbkScOrderDetailsGetAPIRequest) SetEndTime(_endTime string) error
SetEndTime is EndTime Setter 订单查询结束时间,订单开始时间至订单结束时间,中间时间段日常要求不超过3个小时,但如618、双11、年货节等大促期间预估时间段不可超过20分钟,超过会提示错误,调用时请务必注意时间段的选择,以保证亲能正常调用!
func (*TaobaoTbkScOrderDetailsGetAPIRequest) SetJumpType ¶ added in v1.2.3
func (r *TaobaoTbkScOrderDetailsGetAPIRequest) SetJumpType(_jumpType int64) error
SetJumpType is JumpType Setter 跳转类型,当向前或者向后翻页必须提供,-1: 向前翻页,1:向后翻页
func (*TaobaoTbkScOrderDetailsGetAPIRequest) SetMemberType ¶ added in v1.2.3
func (r *TaobaoTbkScOrderDetailsGetAPIRequest) SetMemberType(_memberType int64) error
SetMemberType is MemberType Setter 推广者角色类型,2:二方,3:三方,不传,表示所有角色
func (*TaobaoTbkScOrderDetailsGetAPIRequest) SetOrderScene ¶ added in v1.2.3
func (r *TaobaoTbkScOrderDetailsGetAPIRequest) SetOrderScene(_orderScene int64) error
SetOrderScene is OrderScene Setter 场景订单场景类型,1:常规订单,2:渠道订单,3:会员运营订单,默认为1
func (*TaobaoTbkScOrderDetailsGetAPIRequest) SetPageNo ¶ added in v1.2.3
func (r *TaobaoTbkScOrderDetailsGetAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 第几页,默认1,1~100
func (*TaobaoTbkScOrderDetailsGetAPIRequest) SetPageSize ¶ added in v1.2.3
func (r *TaobaoTbkScOrderDetailsGetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 页大小,默认20,1~100
func (*TaobaoTbkScOrderDetailsGetAPIRequest) SetPositionIndex ¶ added in v1.2.3
func (r *TaobaoTbkScOrderDetailsGetAPIRequest) SetPositionIndex(_positionIndex string) error
SetPositionIndex is PositionIndex Setter 位点,除第一页之外,都需要传递;前端原样返回。
func (*TaobaoTbkScOrderDetailsGetAPIRequest) SetQueryType ¶ added in v1.2.3
func (r *TaobaoTbkScOrderDetailsGetAPIRequest) SetQueryType(_queryType int64) error
SetQueryType is QueryType Setter 查询时间类型,1:按照订单淘客创建时间查询,2:按照订单淘客付款时间查询,3:按照订单淘客结算时间查询,4:按照订单更新时间;
func (*TaobaoTbkScOrderDetailsGetAPIRequest) SetStartTime ¶ added in v1.2.3
func (r *TaobaoTbkScOrderDetailsGetAPIRequest) SetStartTime(_startTime string) error
SetStartTime is StartTime Setter 订单查询开始时间
func (*TaobaoTbkScOrderDetailsGetAPIRequest) SetTkStatus ¶ added in v1.2.3
func (r *TaobaoTbkScOrderDetailsGetAPIRequest) SetTkStatus(_tkStatus int64) error
SetTkStatus is TkStatus Setter 淘客订单状态,12-付款,13-关闭,14-确认收货,3-结算成功;不传,表示所有状态
type TaobaoTbkScOrderDetailsGetAPIResponse ¶ added in v1.2.3
type TaobaoTbkScOrderDetailsGetAPIResponse struct { model.CommonResponse TaobaoTbkScOrderDetailsGetAPIResponseModel }
TaobaoTbkScOrderDetailsGetAPIResponse 淘宝客-服务商-所有订单查询 API返回值 taobao.tbk.sc.order.details.get
服务商使用。可通过该接口查询推广者账号下对应的推广订单明细。
type TaobaoTbkScOrderDetailsGetAPIResponseModel ¶ added in v1.2.3
type TaobaoTbkScOrderDetailsGetAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_order_details_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // PublisherOrderDto Data *OrderPage `json:"data,omitempty" xml:"data,omitempty"` }
TaobaoTbkScOrderDetailsGetAPIResponseModel is 淘宝客-服务商-所有订单查询 成功返回结果
type TaobaoTbkScOrderDetailsTemporaryGetAPIRequest ¶ added in v1.2.5
type TaobaoTbkScOrderDetailsTemporaryGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkScOrderDetailsTemporaryGetAPIRequest 淘宝客-服务商-所有订单查询(临时接口) API请求 taobao.tbk.sc.order.details.temporary.get
服务商使用。可通过该接口查询推广者账号下对应的推广订单明细。
func NewTaobaoTbkScOrderDetailsTemporaryGetRequest ¶ added in v1.2.5
func NewTaobaoTbkScOrderDetailsTemporaryGetRequest() *TaobaoTbkScOrderDetailsTemporaryGetAPIRequest
NewTaobaoTbkScOrderDetailsTemporaryGetRequest 初始化TaobaoTbkScOrderDetailsTemporaryGetAPIRequest对象
func (TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) GetEndTime ¶ added in v1.2.5
func (r TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) GetEndTime() string
GetEndTime EndTime Getter
func (TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) GetJumpType ¶ added in v1.2.5
func (r TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) GetJumpType() int64
GetJumpType JumpType Getter
func (TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) GetMemberGroupId ¶ added in v1.2.5
func (r TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) GetMemberGroupId() string
GetMemberGroupId MemberGroupId Getter
func (TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) GetMemberType ¶ added in v1.2.5
func (r TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) GetMemberType() int64
GetMemberType MemberType Getter
func (TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) GetOrderScene ¶ added in v1.2.5
func (r TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) GetOrderScene() int64
GetOrderScene OrderScene Getter
func (TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) GetPageNo ¶ added in v1.2.5
func (r TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) GetPageSize ¶ added in v1.2.5
func (r TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) GetPositionIndex ¶ added in v1.2.5
func (r TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) GetPositionIndex() string
GetPositionIndex PositionIndex Getter
func (TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) GetQueryType ¶ added in v1.2.5
func (r TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) GetQueryType() int64
GetQueryType QueryType Getter
func (TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) GetStartTime ¶ added in v1.2.5
func (r TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) GetStartTime() string
GetStartTime StartTime Getter
func (TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) GetTkStatus ¶ added in v1.2.5
func (r TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) GetTkStatus() int64
GetTkStatus TkStatus Getter
func (*TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) SetEndTime ¶ added in v1.2.5
func (r *TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) SetEndTime(_endTime string) error
SetEndTime is EndTime Setter 订单查询结束时间,订单开始时间至订单结束时间,中间时间段日常要求不超过3个小时,但如618、双11、年货节等大促期间预估时间段不可超过20分钟,超过会提示错误,调用时请务必注意时间段的选择,以保证亲能正常调用!
func (*TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) SetJumpType ¶ added in v1.2.5
func (r *TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) SetJumpType(_jumpType int64) error
SetJumpType is JumpType Setter 跳转类型,当向前或者向后翻页必须提供,-1: 向前翻页,1:向后翻页
func (*TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) SetMemberGroupId ¶ added in v1.2.5
func (r *TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) SetMemberGroupId(_memberGroupId string) error
SetMemberGroupId is MemberGroupId Setter member组ID
func (*TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) SetMemberType ¶ added in v1.2.5
func (r *TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) SetMemberType(_memberType int64) error
SetMemberType is MemberType Setter 推广者角色类型,2:二方,3:三方,不传,表示所有角色
func (*TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) SetOrderScene ¶ added in v1.2.5
func (r *TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) SetOrderScene(_orderScene int64) error
SetOrderScene is OrderScene Setter 场景订单场景类型,1:常规订单,2:渠道订单,3:会员运营订单,默认为1
func (*TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) SetPageNo ¶ added in v1.2.5
func (r *TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 第几页,默认1,1~100
func (*TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) SetPageSize ¶ added in v1.2.5
func (r *TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 页大小,默认20,1~100
func (*TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) SetPositionIndex ¶ added in v1.2.5
func (r *TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) SetPositionIndex(_positionIndex string) error
SetPositionIndex is PositionIndex Setter 位点,除第一页之外,都需要传递;前端原样返回。
func (*TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) SetQueryType ¶ added in v1.2.5
func (r *TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) SetQueryType(_queryType int64) error
SetQueryType is QueryType Setter 查询时间类型,1:按照订单淘客创建时间查询,2:按照订单淘客付款时间查询,3:按照订单淘客结算时间查询,4:按照订单更新时间;
func (*TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) SetStartTime ¶ added in v1.2.5
func (r *TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) SetStartTime(_startTime string) error
SetStartTime is StartTime Setter 订单查询开始时间
func (*TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) SetTkStatus ¶ added in v1.2.5
func (r *TaobaoTbkScOrderDetailsTemporaryGetAPIRequest) SetTkStatus(_tkStatus int64) error
SetTkStatus is TkStatus Setter 淘客订单状态,12-付款,13-关闭,14-确认收货,3-结算成功;不传,表示所有状态
type TaobaoTbkScOrderDetailsTemporaryGetAPIResponse ¶ added in v1.2.5
type TaobaoTbkScOrderDetailsTemporaryGetAPIResponse struct { model.CommonResponse TaobaoTbkScOrderDetailsTemporaryGetAPIResponseModel }
TaobaoTbkScOrderDetailsTemporaryGetAPIResponse 淘宝客-服务商-所有订单查询(临时接口) API返回值 taobao.tbk.sc.order.details.temporary.get
服务商使用。可通过该接口查询推广者账号下对应的推广订单明细。
type TaobaoTbkScOrderDetailsTemporaryGetAPIResponseModel ¶ added in v1.2.5
type TaobaoTbkScOrderDetailsTemporaryGetAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_order_details_temporary_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // PublisherOrderDto Data *OrderPage `json:"data,omitempty" xml:"data,omitempty"` }
TaobaoTbkScOrderDetailsTemporaryGetAPIResponseModel is 淘宝客-服务商-所有订单查询(临时接口) 成功返回结果
type TaobaoTbkScPublisherInfoGetAPIRequest ¶ added in v1.2.0
type TaobaoTbkScPublisherInfoGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkScPublisherInfoGetAPIRequest 淘宝客-公用-私域用户备案信息查询 API请求 taobao.tbk.sc.publisher.info.get
查询已生成的渠道id或会员运营id的相关信息。
func NewTaobaoTbkScPublisherInfoGetRequest ¶
func NewTaobaoTbkScPublisherInfoGetRequest() *TaobaoTbkScPublisherInfoGetAPIRequest
NewTaobaoTbkScPublisherInfoGetRequest 初始化TaobaoTbkScPublisherInfoGetAPIRequest对象
func (TaobaoTbkScPublisherInfoGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTbkScPublisherInfoGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkScPublisherInfoGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTbkScPublisherInfoGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkScPublisherInfoGetAPIRequest) GetExternalId ¶ added in v1.2.0
func (r TaobaoTbkScPublisherInfoGetAPIRequest) GetExternalId() string
GetExternalId ExternalId Getter
func (TaobaoTbkScPublisherInfoGetAPIRequest) GetExternalType ¶ added in v1.2.0
func (r TaobaoTbkScPublisherInfoGetAPIRequest) GetExternalType() int64
GetExternalType ExternalType Getter
func (TaobaoTbkScPublisherInfoGetAPIRequest) GetInfoType ¶ added in v1.2.0
func (r TaobaoTbkScPublisherInfoGetAPIRequest) GetInfoType() int64
GetInfoType InfoType Getter
func (TaobaoTbkScPublisherInfoGetAPIRequest) GetPageNo ¶ added in v1.2.0
func (r TaobaoTbkScPublisherInfoGetAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoTbkScPublisherInfoGetAPIRequest) GetPageSize ¶ added in v1.2.0
func (r TaobaoTbkScPublisherInfoGetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoTbkScPublisherInfoGetAPIRequest) GetRelationApp ¶ added in v1.2.0
func (r TaobaoTbkScPublisherInfoGetAPIRequest) GetRelationApp() string
GetRelationApp RelationApp Getter
func (TaobaoTbkScPublisherInfoGetAPIRequest) GetRelationId ¶ added in v1.2.0
func (r TaobaoTbkScPublisherInfoGetAPIRequest) GetRelationId() int64
GetRelationId RelationId Getter
func (TaobaoTbkScPublisherInfoGetAPIRequest) GetSpecialId ¶ added in v1.2.0
func (r TaobaoTbkScPublisherInfoGetAPIRequest) GetSpecialId() string
GetSpecialId SpecialId Getter
func (*TaobaoTbkScPublisherInfoGetAPIRequest) SetExternalId ¶ added in v1.2.0
func (r *TaobaoTbkScPublisherInfoGetAPIRequest) SetExternalId(_externalId string) error
SetExternalId is ExternalId Setter 淘宝客外部用户标记,如自身系统账户ID;微信ID等
func (*TaobaoTbkScPublisherInfoGetAPIRequest) SetExternalType ¶ added in v1.2.0
func (r *TaobaoTbkScPublisherInfoGetAPIRequest) SetExternalType(_externalType int64) error
SetExternalType is ExternalType Setter 1-微信、2-微博、3-抖音、4-快手、5-QQ,0-其他;默认为0
func (*TaobaoTbkScPublisherInfoGetAPIRequest) SetInfoType ¶ added in v1.2.0
func (r *TaobaoTbkScPublisherInfoGetAPIRequest) SetInfoType(_infoType int64) error
SetInfoType is InfoType Setter 类型,必选 1:渠道信息;2:会员信息
func (*TaobaoTbkScPublisherInfoGetAPIRequest) SetPageNo ¶ added in v1.2.0
func (r *TaobaoTbkScPublisherInfoGetAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 第几页
func (*TaobaoTbkScPublisherInfoGetAPIRequest) SetPageSize ¶ added in v1.2.0
func (r *TaobaoTbkScPublisherInfoGetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 每页大小
func (*TaobaoTbkScPublisherInfoGetAPIRequest) SetRelationApp ¶ added in v1.2.0
func (r *TaobaoTbkScPublisherInfoGetAPIRequest) SetRelationApp(_relationApp string) error
SetRelationApp is RelationApp Setter 备案的场景:common(通用备案),etao(一淘备案),minietao(一淘小程序备案),offlineShop(线下门店备案),offlinePerson(线下个人备案)。如不填默认common。查询会员信息只需填写common即可
func (*TaobaoTbkScPublisherInfoGetAPIRequest) SetRelationId ¶ added in v1.2.0
func (r *TaobaoTbkScPublisherInfoGetAPIRequest) SetRelationId(_relationId int64) error
SetRelationId is RelationId Setter 渠道独占 - 渠道关系ID
func (*TaobaoTbkScPublisherInfoGetAPIRequest) SetSpecialId ¶ added in v1.2.0
func (r *TaobaoTbkScPublisherInfoGetAPIRequest) SetSpecialId(_specialId string) error
SetSpecialId is SpecialId Setter 会员独占 - 会员运营ID
type TaobaoTbkScPublisherInfoGetAPIResponse ¶
type TaobaoTbkScPublisherInfoGetAPIResponse struct { model.CommonResponse TaobaoTbkScPublisherInfoGetAPIResponseModel }
TaobaoTbkScPublisherInfoGetAPIResponse 淘宝客-公用-私域用户备案信息查询 API返回值 taobao.tbk.sc.publisher.info.get
查询已生成的渠道id或会员运营id的相关信息。
type TaobaoTbkScPublisherInfoGetAPIResponseModel ¶ added in v1.2.0
type TaobaoTbkScPublisherInfoGetAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_publisher_info_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // data Data *TaobaoTbkScPublisherInfoGetData `json:"data,omitempty" xml:"data,omitempty"` }
TaobaoTbkScPublisherInfoGetAPIResponseModel is 淘宝客-公用-私域用户备案信息查询 成功返回结果
type TaobaoTbkScPublisherInfoGetData ¶
type TaobaoTbkScPublisherInfoGetData struct { // 共享字段 - 渠道或会员列表 InviterList []TaobaoTbkScPublisherInfoGetMapData `json:"inviter_list,omitempty" xml:"inviter_list>taobao_tbk_sc_publisher_info_get_map_data,omitempty"` // 渠道专属pidList RootPidChannelList []string `json:"root_pid_channel_list,omitempty" xml:"root_pid_channel_list>string,omitempty"` // 共享字段 - 总记录数 TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` }
TaobaoTbkScPublisherInfoGetData 结构体
type TaobaoTbkScPublisherInfoGetMapData ¶
type TaobaoTbkScPublisherInfoGetMapData struct { // 共享字段 - 备案场景:common(通用备案),etao(一淘备案),minietao(一淘小程序备案),offlineShop(线下门店备案),offlinePerson(线下个人备案) RelationApp string `json:"relation_app,omitempty" xml:"relation_app,omitempty"` // 共享字段 - 备案日期 CreateDate string `json:"create_date,omitempty" xml:"create_date,omitempty"` // 渠道独有 - 渠道昵称 AccountName string `json:"account_name,omitempty" xml:"account_name,omitempty"` // 渠道独有 - 渠道名称 RealName string `json:"real_name,omitempty" xml:"real_name,omitempty"` // 渠道独有 - 线下场景信息,1 - 门店,2- 学校,3 - 工厂,4 - 其他 OfflineScene string `json:"offline_scene,omitempty" xml:"offline_scene,omitempty"` // 渠道独有 - 线上场景信息,1 - 微信群,2- QQ群,3 - 其他 OnlineScene string `json:"online_scene,omitempty" xml:"online_scene,omitempty"` // 渠道独有 - 媒体侧渠道备注信息 Note string `json:"note,omitempty" xml:"note,omitempty"` // 共享字段 - 渠道/会员专属pid RootPid string `json:"root_pid,omitempty" xml:"root_pid,omitempty"` // 共享字段 - 渠道/会员原始身份信息 Rtag string `json:"rtag,omitempty" xml:"rtag,omitempty"` // 渠道独有 - 处罚状态 PunishStatus string `json:"punish_status,omitempty" xml:"punish_status,omitempty"` // 淘宝客外部用户标记 ExternalId string `json:"external_id,omitempty" xml:"external_id,omitempty"` // 1-微信、2-微博、3-抖音、4-快手、5-QQ,0-其他 ExternalType string `json:"external_type,omitempty" xml:"external_type,omitempty"` // 渠道独有 - 渠道关系ID RelationId int64 `json:"relation_id,omitempty" xml:"relation_id,omitempty"` // 线下备案专属信息 OfflineInfo *RegisterInfoDto `json:"offline_info,omitempty" xml:"offline_info,omitempty"` // 会员独有 - 会员运营ID SpecialId int64 `json:"special_id,omitempty" xml:"special_id,omitempty"` }
TaobaoTbkScPublisherInfoGetMapData 结构体
type TaobaoTbkScPublisherInfoSaveAPIRequest ¶ added in v1.2.0
type TaobaoTbkScPublisherInfoSaveAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkScPublisherInfoSaveAPIRequest 淘宝客-公用-私域用户备案 API请求 taobao.tbk.sc.publisher.info.save
通过入参渠道管理或会员运营管理的邀请码,生成渠道id或会员运营id,完成渠道或会员的备案。
func NewTaobaoTbkScPublisherInfoSaveRequest ¶
func NewTaobaoTbkScPublisherInfoSaveRequest() *TaobaoTbkScPublisherInfoSaveAPIRequest
NewTaobaoTbkScPublisherInfoSaveRequest 初始化TaobaoTbkScPublisherInfoSaveAPIRequest对象
func (TaobaoTbkScPublisherInfoSaveAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTbkScPublisherInfoSaveAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkScPublisherInfoSaveAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTbkScPublisherInfoSaveAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkScPublisherInfoSaveAPIRequest) GetInfoType ¶ added in v1.2.0
func (r TaobaoTbkScPublisherInfoSaveAPIRequest) GetInfoType() int64
GetInfoType InfoType Getter
func (TaobaoTbkScPublisherInfoSaveAPIRequest) GetInviterCode ¶ added in v1.2.0
func (r TaobaoTbkScPublisherInfoSaveAPIRequest) GetInviterCode() string
GetInviterCode InviterCode Getter
func (TaobaoTbkScPublisherInfoSaveAPIRequest) GetNote ¶ added in v1.2.0
func (r TaobaoTbkScPublisherInfoSaveAPIRequest) GetNote() string
GetNote Note Getter
func (TaobaoTbkScPublisherInfoSaveAPIRequest) GetOfflineScene ¶ added in v1.2.0
func (r TaobaoTbkScPublisherInfoSaveAPIRequest) GetOfflineScene() string
GetOfflineScene OfflineScene Getter
func (TaobaoTbkScPublisherInfoSaveAPIRequest) GetOnlineScene ¶ added in v1.2.0
func (r TaobaoTbkScPublisherInfoSaveAPIRequest) GetOnlineScene() string
GetOnlineScene OnlineScene Getter
func (TaobaoTbkScPublisherInfoSaveAPIRequest) GetRegisterInfo ¶ added in v1.2.0
func (r TaobaoTbkScPublisherInfoSaveAPIRequest) GetRegisterInfo() string
GetRegisterInfo RegisterInfo Getter
func (TaobaoTbkScPublisherInfoSaveAPIRequest) GetRelationFrom ¶ added in v1.2.0
func (r TaobaoTbkScPublisherInfoSaveAPIRequest) GetRelationFrom() string
GetRelationFrom RelationFrom Getter
func (*TaobaoTbkScPublisherInfoSaveAPIRequest) SetInfoType ¶ added in v1.2.0
func (r *TaobaoTbkScPublisherInfoSaveAPIRequest) SetInfoType(_infoType int64) error
SetInfoType is InfoType Setter 类型,必选 默认为1:
func (*TaobaoTbkScPublisherInfoSaveAPIRequest) SetInviterCode ¶ added in v1.2.0
func (r *TaobaoTbkScPublisherInfoSaveAPIRequest) SetInviterCode(_inviterCode string) error
SetInviterCode is InviterCode Setter 淘宝客邀请渠道或会员的邀请码
func (*TaobaoTbkScPublisherInfoSaveAPIRequest) SetNote ¶ added in v1.2.0
func (r *TaobaoTbkScPublisherInfoSaveAPIRequest) SetNote(_note string) error
SetNote is Note Setter 媒体侧渠道备注
func (*TaobaoTbkScPublisherInfoSaveAPIRequest) SetOfflineScene ¶ added in v1.2.0
func (r *TaobaoTbkScPublisherInfoSaveAPIRequest) SetOfflineScene(_offlineScene string) error
SetOfflineScene is OfflineScene Setter 渠道备案 - 线下场景信息,1 - 门店,2- 学校,3 - 工厂,4 - 其他
func (*TaobaoTbkScPublisherInfoSaveAPIRequest) SetOnlineScene ¶ added in v1.2.0
func (r *TaobaoTbkScPublisherInfoSaveAPIRequest) SetOnlineScene(_onlineScene string) error
SetOnlineScene is OnlineScene Setter 渠道备案 - 线上场景信息,1 - 微信群,2- QQ群,3 - 其他
func (*TaobaoTbkScPublisherInfoSaveAPIRequest) SetRegisterInfo ¶ added in v1.2.0
func (r *TaobaoTbkScPublisherInfoSaveAPIRequest) SetRegisterInfo(_registerInfo string) error
SetRegisterInfo is RegisterInfo Setter 线下备案注册信息,字段包含: 电话号码(phoneNumber,必填),省(province,必填),市(city,必填),区县街道(location,必填),详细地址(detailAddress,必填),经营类型(career,线下个人必填),店铺类型(shopType,线下店铺必填),店铺名称(shopName,线下店铺必填),店铺证书类型(shopCertifyType,线下店铺选填),店铺证书编号(certifyNumber,线下店铺选填)
func (*TaobaoTbkScPublisherInfoSaveAPIRequest) SetRelationFrom ¶ added in v1.2.0
func (r *TaobaoTbkScPublisherInfoSaveAPIRequest) SetRelationFrom(_relationFrom string) error
SetRelationFrom is RelationFrom Setter 渠道备案 - 来源,取链接的来源
type TaobaoTbkScPublisherInfoSaveAPIResponse ¶
type TaobaoTbkScPublisherInfoSaveAPIResponse struct { model.CommonResponse TaobaoTbkScPublisherInfoSaveAPIResponseModel }
TaobaoTbkScPublisherInfoSaveAPIResponse 淘宝客-公用-私域用户备案 API返回值 taobao.tbk.sc.publisher.info.save
通过入参渠道管理或会员运营管理的邀请码,生成渠道id或会员运营id,完成渠道或会员的备案。
type TaobaoTbkScPublisherInfoSaveAPIResponseModel ¶ added in v1.2.0
type TaobaoTbkScPublisherInfoSaveAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_publisher_info_save_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // data Data *TaobaoTbkScPublisherInfoSaveData `json:"data,omitempty" xml:"data,omitempty"` }
TaobaoTbkScPublisherInfoSaveAPIResponseModel is 淘宝客-公用-私域用户备案 成功返回结果
type TaobaoTbkScPublisherInfoSaveData ¶
type TaobaoTbkScPublisherInfoSaveData struct { // 渠道昵称 AccountName string `json:"account_name,omitempty" xml:"account_name,omitempty"` // 如果重复绑定会提示:”重复绑定渠道“或”重复绑定粉丝“ Desc string `json:"desc,omitempty" xml:"desc,omitempty"` // 渠道关系ID RelationId int64 `json:"relation_id,omitempty" xml:"relation_id,omitempty"` // 会员运营ID SpecialId int64 `json:"special_id,omitempty" xml:"special_id,omitempty"` }
TaobaoTbkScPublisherInfoSaveData 结构体
type TaobaoTbkScPunishOrderGetAPIRequest ¶ added in v1.2.5
type TaobaoTbkScPunishOrderGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkScPunishOrderGetAPIRequest 淘宝客-服务商-处罚订单查询 API请求 taobao.tbk.sc.punish.order.get
服务商使用。可通过该接口查询推广者账号下在处罚管理后台,可直接下载的处罚订单明细。请注意:若是基于账号(member)、媒体id(site)、推广位(adzone)、渠道方(relationid)维度的完整处罚,对应订单明细请根据处罚后台对应的处罚订单时间说明,在“推广订单明细”中筛选对应订单。
func NewTaobaoTbkScPunishOrderGetRequest ¶ added in v1.2.5
func NewTaobaoTbkScPunishOrderGetRequest() *TaobaoTbkScPunishOrderGetAPIRequest
NewTaobaoTbkScPunishOrderGetRequest 初始化TaobaoTbkScPunishOrderGetAPIRequest对象
func (TaobaoTbkScPunishOrderGetAPIRequest) GetAfOrderOption ¶ added in v1.2.5
func (r TaobaoTbkScPunishOrderGetAPIRequest) GetAfOrderOption() *TopApiAfOrderOption
GetAfOrderOption AfOrderOption Getter
func (TaobaoTbkScPunishOrderGetAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoTbkScPunishOrderGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkScPunishOrderGetAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoTbkScPunishOrderGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (*TaobaoTbkScPunishOrderGetAPIRequest) SetAfOrderOption ¶ added in v1.2.5
func (r *TaobaoTbkScPunishOrderGetAPIRequest) SetAfOrderOption(_afOrderOption *TopApiAfOrderOption) error
SetAfOrderOption is AfOrderOption Setter 入参的对象
type TaobaoTbkScPunishOrderGetAPIResponse ¶ added in v1.2.5
type TaobaoTbkScPunishOrderGetAPIResponse struct { model.CommonResponse TaobaoTbkScPunishOrderGetAPIResponseModel }
TaobaoTbkScPunishOrderGetAPIResponse 淘宝客-服务商-处罚订单查询 API返回值 taobao.tbk.sc.punish.order.get
服务商使用。可通过该接口查询推广者账号下在处罚管理后台,可直接下载的处罚订单明细。请注意:若是基于账号(member)、媒体id(site)、推广位(adzone)、渠道方(relationid)维度的完整处罚,对应订单明细请根据处罚后台对应的处罚订单时间说明,在“推广订单明细”中筛选对应订单。
type TaobaoTbkScPunishOrderGetAPIResponseModel ¶ added in v1.2.5
type TaobaoTbkScPunishOrderGetAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_punish_order_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 查询的对象 Result *TaobaoTbkScPunishOrderGetRpcResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoTbkScPunishOrderGetAPIResponseModel is 淘宝客-服务商-处罚订单查询 成功返回结果
type TaobaoTbkScPunishOrderGetResult ¶ added in v1.2.5
type TaobaoTbkScPunishOrderGetResult struct { // 淘宝联盟unionid(该字段不再支持) UnionId string `json:"union_id,omitempty" xml:"union_id,omitempty"` // 处罚状态。0 冻结,1 解冻 PunishStatus string `json:"punish_status,omitempty" xml:"punish_status,omitempty"` // 处罚类型,目前包括 1:店铺淘宝客 2:订单虚假交易 ViolationType string `json:"violation_type,omitempty" xml:"violation_type,omitempty"` // 淘客订单创建时间 TkTradeCreateTime string `json:"tk_trade_create_time,omitempty" xml:"tk_trade_create_time,omitempty"` // 会员运营id(该字段不再支持) SpecialId int64 `json:"special_id,omitempty" xml:"special_id,omitempty"` // 渠道关系id RelationId int64 `json:"relation_id,omitempty" xml:"relation_id,omitempty"` // 结算月份 SettleMonth int64 `json:"settle_month,omitempty" xml:"settle_month,omitempty"` // 子订单号 TbTradeId int64 `json:"tb_trade_id,omitempty" xml:"tb_trade_id,omitempty"` // 父订单号(该字段不再支持) TbTradeParentId int64 `json:"tb_trade_parent_id,omitempty" xml:"tb_trade_parent_id,omitempty"` // pid里的adzoneid TkAdzoneId int64 `json:"tk_adzone_id,omitempty" xml:"tk_adzone_id,omitempty"` // pid里的siteid TkSiteId int64 `json:"tk_site_id,omitempty" xml:"tk_site_id,omitempty"` // pid里的pubid TkPubId int64 `json:"tk_pub_id,omitempty" xml:"tk_pub_id,omitempty"` }
TaobaoTbkScPunishOrderGetResult 结构体
type TaobaoTbkScPunishOrderGetRpcResult ¶ added in v1.2.5
type TaobaoTbkScPunishOrderGetRpcResult struct { // 业务出错的描述 BizErrorDesc string `json:"biz_error_desc,omitempty" xml:"biz_error_desc,omitempty"` // 执行结果 ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` // 结果 Data *PageResult `json:"data,omitempty" xml:"data,omitempty"` // 业务出错的状态码 BizErrorCode int64 `json:"biz_error_code,omitempty" xml:"biz_error_code,omitempty"` // 执行结果状态码 ResultCode int64 `json:"result_code,omitempty" xml:"result_code,omitempty"` }
TaobaoTbkScPunishOrderGetRpcResult 结构体
type TaobaoTbkScRelationRecordAPIRequest ¶ added in v1.2.5
type TaobaoTbkScRelationRecordAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkScRelationRecordAPIRequest 淘宝客-服务商-私域会员标记 API请求 taobao.tbk.sc.relation.record
服务商使用。支持淘宝客通过入参私域外部ID,获得待私域会员可标记的链接,会员打开该链接后,可帮助媒体自动生成会员运营id进行标记,同时自动跳转到推广落地页。
func NewTaobaoTbkScRelationRecordRequest ¶ added in v1.2.5
func NewTaobaoTbkScRelationRecordRequest() *TaobaoTbkScRelationRecordAPIRequest
NewTaobaoTbkScRelationRecordRequest 初始化TaobaoTbkScRelationRecordAPIRequest对象
func (TaobaoTbkScRelationRecordAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoTbkScRelationRecordAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkScRelationRecordAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoTbkScRelationRecordAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkScRelationRecordAPIRequest) GetExternalId ¶ added in v1.2.5
func (r TaobaoTbkScRelationRecordAPIRequest) GetExternalId() string
GetExternalId ExternalId Getter
func (TaobaoTbkScRelationRecordAPIRequest) GetExternalType ¶ added in v1.2.5
func (r TaobaoTbkScRelationRecordAPIRequest) GetExternalType() int64
GetExternalType ExternalType Getter
func (TaobaoTbkScRelationRecordAPIRequest) GetOpType ¶ added in v1.2.5
func (r TaobaoTbkScRelationRecordAPIRequest) GetOpType() int64
GetOpType OpType Getter
func (TaobaoTbkScRelationRecordAPIRequest) GetRedirectUrl ¶ added in v1.2.5
func (r TaobaoTbkScRelationRecordAPIRequest) GetRedirectUrl() string
GetRedirectUrl RedirectUrl Getter
func (TaobaoTbkScRelationRecordAPIRequest) GetUcrowdId ¶ added in v1.2.5
func (r TaobaoTbkScRelationRecordAPIRequest) GetUcrowdId() int64
GetUcrowdId UcrowdId Getter
func (*TaobaoTbkScRelationRecordAPIRequest) SetExternalId ¶ added in v1.2.5
func (r *TaobaoTbkScRelationRecordAPIRequest) SetExternalId(_externalId string) error
SetExternalId is ExternalId Setter 淘宝客自有私域用户自定义标记,如自有私域系统账号标记等
func (*TaobaoTbkScRelationRecordAPIRequest) SetExternalType ¶ added in v1.2.5
func (r *TaobaoTbkScRelationRecordAPIRequest) SetExternalType(_externalType int64) error
SetExternalType is ExternalType Setter 淘宝客其他平台私域用户自定义标记,1-微信、2-微博、3-抖音、4-快手、5-QQ,0-其他
func (*TaobaoTbkScRelationRecordAPIRequest) SetOpType ¶ added in v1.2.5
func (r *TaobaoTbkScRelationRecordAPIRequest) SetOpType(_opType int64) error
SetOpType is OpType Setter 授权类型,选2时可用于更新外部用户标记,默认1:1-新绑,2-更新
func (*TaobaoTbkScRelationRecordAPIRequest) SetRedirectUrl ¶ added in v1.2.5
func (r *TaobaoTbkScRelationRecordAPIRequest) SetRedirectUrl(_redirectUrl string) error
SetRedirectUrl is RedirectUrl Setter 会员备案授权后,跳转的目标页地址
func (*TaobaoTbkScRelationRecordAPIRequest) SetUcrowdId ¶ added in v1.2.5
func (r *TaobaoTbkScRelationRecordAPIRequest) SetUcrowdId(_ucrowdId int64) error
SetUcrowdId is UcrowdId Setter 人群标签ID,用户备案授权后会自动添加到该人群
type TaobaoTbkScRelationRecordAPIResponse ¶ added in v1.2.5
type TaobaoTbkScRelationRecordAPIResponse struct { model.CommonResponse TaobaoTbkScRelationRecordAPIResponseModel }
TaobaoTbkScRelationRecordAPIResponse 淘宝客-服务商-私域会员标记 API返回值 taobao.tbk.sc.relation.record
服务商使用。支持淘宝客通过入参私域外部ID,获得待私域会员可标记的链接,会员打开该链接后,可帮助媒体自动生成会员运营id进行标记,同时自动跳转到推广落地页。
type TaobaoTbkScRelationRecordAPIResponseModel ¶ added in v1.2.5
type TaobaoTbkScRelationRecordAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_relation_record_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // data Data *TaobaoTbkScRelationRecordMapData `json:"data,omitempty" xml:"data,omitempty"` }
TaobaoTbkScRelationRecordAPIResponseModel is 淘宝客-服务商-私域会员标记 成功返回结果
type TaobaoTbkScRelationRecordMapData ¶ added in v1.2.5
type TaobaoTbkScRelationRecordMapData struct { // 带授权的备案链接 Url string `json:"url,omitempty" xml:"url,omitempty"` // 已废弃,请调用淘口令生成接口 PasswordSimple string `json:"password_simple,omitempty" xml:"password_simple,omitempty"` // 已废弃,请调用淘口令生成接口 Model string `json:"model,omitempty" xml:"model,omitempty"` }
TaobaoTbkScRelationRecordMapData 结构体
type TaobaoTbkScRelationRefundAPIRequest ¶ added in v1.2.5
type TaobaoTbkScRelationRefundAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkScRelationRefundAPIRequest 淘宝客-服务商-维权退款订单查询 API请求 taobao.tbk.sc.relation.refund
淘宝客维权退款订单查询-渠道管理和会员运营管理专用
func NewTaobaoTbkScRelationRefundRequest ¶ added in v1.2.5
func NewTaobaoTbkScRelationRefundRequest() *TaobaoTbkScRelationRefundAPIRequest
NewTaobaoTbkScRelationRefundRequest 初始化TaobaoTbkScRelationRefundAPIRequest对象
func (TaobaoTbkScRelationRefundAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoTbkScRelationRefundAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkScRelationRefundAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoTbkScRelationRefundAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkScRelationRefundAPIRequest) GetSearchOption ¶ added in v1.2.5
func (r TaobaoTbkScRelationRefundAPIRequest) GetSearchOption() *TopApiRefundRptOption
GetSearchOption SearchOption Getter
func (*TaobaoTbkScRelationRefundAPIRequest) SetSearchOption ¶ added in v1.2.5
func (r *TaobaoTbkScRelationRefundAPIRequest) SetSearchOption(_searchOption *TopApiRefundRptOption) error
SetSearchOption is SearchOption Setter 参数option
type TaobaoTbkScRelationRefundAPIResponse ¶ added in v1.2.5
type TaobaoTbkScRelationRefundAPIResponse struct { model.CommonResponse TaobaoTbkScRelationRefundAPIResponseModel }
TaobaoTbkScRelationRefundAPIResponse 淘宝客-服务商-维权退款订单查询 API返回值 taobao.tbk.sc.relation.refund
淘宝客维权退款订单查询-渠道管理和会员运营管理专用
type TaobaoTbkScRelationRefundAPIResponseModel ¶ added in v1.2.5
type TaobaoTbkScRelationRefundAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_relation_refund_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果封装对象 Result *TaobaoTbkScRelationRefundRpcResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoTbkScRelationRefundAPIResponseModel is 淘宝客-服务商-维权退款订单查询 成功返回结果
type TaobaoTbkScRelationRefundResult ¶ added in v1.2.5
type TaobaoTbkScRelationRefundResult struct { // 第三方应该返还的补贴 TkSubsidyFeeRefund3rdPub string `json:"tk_subsidy_fee_refund3rd_pub,omitempty" xml:"tk_subsidy_fee_refund3rd_pub,omitempty"` // 第三方应该返还的佣金 TkCommissionFeeRefund3rdPub string `json:"tk_commission_fee_refund3rd_pub,omitempty" xml:"tk_commission_fee_refund3rd_pub,omitempty"` // 第二方应该返还的补贴(不包括技术服务费) TkSubsidyFeeRefundPub string `json:"tk_subsidy_fee_refund_pub,omitempty" xml:"tk_subsidy_fee_refund_pub,omitempty"` // 第二方应该返还的佣金(不包括技术服务费) TkCommissionFeeRefundPub string `json:"tk_commission_fee_refund_pub,omitempty" xml:"tk_commission_fee_refund_pub,omitempty"` // 维权完成时间 TkRefundSuitTime string `json:"tk_refund_suit_time,omitempty" xml:"tk_refund_suit_time,omitempty"` // 维权创建时间 TkRefundTime string `json:"tk_refund_time,omitempty" xml:"tk_refund_time,omitempty"` // 订单结算时间 EarningTime string `json:"earning_time,omitempty" xml:"earning_time,omitempty"` // 订单创建时间 TbTradeCreateTime string `json:"tb_trade_create_time,omitempty" xml:"tb_trade_create_time,omitempty"` // 宝贝标题 TbAuctionTitle string `json:"tb_auction_title,omitempty" xml:"tb_auction_title,omitempty"` // 维权金额 RefundFee string `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"` // 结算金额 TbTradeFinishPrice string `json:"tb_trade_finish_price,omitempty" xml:"tb_trade_finish_price,omitempty"` // 应返商家金额(二方) TkPubShowReturnFee string `json:"tk_pub_show_return_fee,omitempty" xml:"tk_pub_show_return_fee,omitempty"` // 应返商家金额(三方) Tk3rdPubShowReturnFee string `json:"tk3rd_pub_show_return_fee,omitempty" xml:"tk3rd_pub_show_return_fee,omitempty"` // (口碑订单)口碑父订单号 AlscPid string `json:"alsc_pid,omitempty" xml:"alsc_pid,omitempty"` // (口碑订单)口碑子订单号 AlscId string `json:"alsc_id,omitempty" xml:"alsc_id,omitempty"` // 更新时间 ModifiedTime string `json:"modified_time,omitempty" xml:"modified_time,omitempty"` // 淘宝订单编号 TbTradeParentId int64 `json:"tb_trade_parent_id,omitempty" xml:"tb_trade_parent_id,omitempty"` // 会员关系id SpecialId int64 `json:"special_id,omitempty" xml:"special_id,omitempty"` // 渠道关系id RelationId int64 `json:"relation_id,omitempty" xml:"relation_id,omitempty"` // 第三方推广者memberid Tk3rdPubId int64 `json:"tk3rd_pub_id,omitempty" xml:"tk3rd_pub_id,omitempty"` // 推广者memberid TkPubId int64 `json:"tk_pub_id,omitempty" xml:"tk_pub_id,omitempty"` // 维权创建(淘客结算回执) 4,维权成功(淘客结算回执) 2,维权失败(淘客结算回执) 3,发生多次维权,待处理 11,从淘客处补扣(钱已结给淘客) 等待扣款 12,从淘客处补扣(钱已结给淘客) 扣款成功 13,从卖家处补扣(钱已结给卖家) 等待扣款 14,从卖家处补扣(钱已结给卖家) 扣款成功 15 RefundStatus int64 `json:"refund_status,omitempty" xml:"refund_status,omitempty"` // 淘宝子订单编号 TbTradeId int64 `json:"tb_trade_id,omitempty" xml:"tb_trade_id,omitempty"` // 1 表示2方,2表示3方 RefundType int64 `json:"refund_type,omitempty" xml:"refund_type,omitempty"` }
TaobaoTbkScRelationRefundResult 结构体
type TaobaoTbkScRelationRefundRpcResult ¶ added in v1.2.5
type TaobaoTbkScRelationRefundRpcResult struct { // 返回信息 ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` // 业务错误信息 BizErrorDesc string `json:"biz_error_desc,omitempty" xml:"biz_error_desc,omitempty"` // 真正的业务数据结构 Data *PageResult `json:"data,omitempty" xml:"data,omitempty"` // 接口返回值信息,跟rpc架构保持一致 ResultCode int64 `json:"result_code,omitempty" xml:"result_code,omitempty"` // 业务错误码 101, 102,103 BizErrorCode int64 `json:"biz_error_code,omitempty" xml:"biz_error_code,omitempty"` }
TaobaoTbkScRelationRefundRpcResult 结构体
type TaobaoTbkScShopConvertAPIRequest ¶ added in v1.2.5
type TaobaoTbkScShopConvertAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkScShopConvertAPIRequest 淘宝客-服务商-店铺链接转换 API请求 taobao.tbk.sc.shop.convert
服务商使用。支持入参推广者对应的“推广位”和卖家id,获取对应的店铺推广链接。
func NewTaobaoTbkScShopConvertRequest ¶ added in v1.2.5
func NewTaobaoTbkScShopConvertRequest() *TaobaoTbkScShopConvertAPIRequest
NewTaobaoTbkScShopConvertRequest 初始化TaobaoTbkScShopConvertAPIRequest对象
func (TaobaoTbkScShopConvertAPIRequest) GetAdzoneId ¶ added in v1.2.5
func (r TaobaoTbkScShopConvertAPIRequest) GetAdzoneId() int64
GetAdzoneId AdzoneId Getter
func (TaobaoTbkScShopConvertAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoTbkScShopConvertAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkScShopConvertAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoTbkScShopConvertAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkScShopConvertAPIRequest) GetFields ¶ added in v1.2.5
func (r TaobaoTbkScShopConvertAPIRequest) GetFields() string
GetFields Fields Getter
func (TaobaoTbkScShopConvertAPIRequest) GetPlatform ¶ added in v1.2.5
func (r TaobaoTbkScShopConvertAPIRequest) GetPlatform() int64
GetPlatform Platform Getter
func (TaobaoTbkScShopConvertAPIRequest) GetSiteId ¶ added in v1.2.5
func (r TaobaoTbkScShopConvertAPIRequest) GetSiteId() int64
GetSiteId SiteId Getter
func (TaobaoTbkScShopConvertAPIRequest) GetUnid ¶ added in v1.2.5
func (r TaobaoTbkScShopConvertAPIRequest) GetUnid() string
GetUnid Unid Getter
func (TaobaoTbkScShopConvertAPIRequest) GetUserIds ¶ added in v1.2.5
func (r TaobaoTbkScShopConvertAPIRequest) GetUserIds() string
GetUserIds UserIds Getter
func (*TaobaoTbkScShopConvertAPIRequest) SetAdzoneId ¶ added in v1.2.5
func (r *TaobaoTbkScShopConvertAPIRequest) SetAdzoneId(_adzoneId int64) error
SetAdzoneId is AdzoneId Setter mm_xxx_xxx_xxx的第3段数字
func (*TaobaoTbkScShopConvertAPIRequest) SetFields ¶ added in v1.2.5
func (r *TaobaoTbkScShopConvertAPIRequest) SetFields(_fields string) error
SetFields is Fields Setter 需返回的字段列表
func (*TaobaoTbkScShopConvertAPIRequest) SetPlatform ¶ added in v1.2.5
func (r *TaobaoTbkScShopConvertAPIRequest) SetPlatform(_platform int64) error
SetPlatform is Platform Setter 链接形式-1:PC,2:无线。默认为1
func (*TaobaoTbkScShopConvertAPIRequest) SetSiteId ¶ added in v1.2.5
func (r *TaobaoTbkScShopConvertAPIRequest) SetSiteId(_siteId int64) error
SetSiteId is SiteId Setter mm_xxx_xxx_xxx的第2段数字
func (*TaobaoTbkScShopConvertAPIRequest) SetUnid ¶ added in v1.2.5
func (r *TaobaoTbkScShopConvertAPIRequest) SetUnid(_unid string) error
SetUnid is Unid Setter (该字段不开放)自定义输入串,英文和数字组成,长度不能大于12个字符,区分不同的推广渠道
func (*TaobaoTbkScShopConvertAPIRequest) SetUserIds ¶ added in v1.2.5
func (r *TaobaoTbkScShopConvertAPIRequest) SetUserIds(_userIds string) error
SetUserIds is UserIds Setter 卖家id串,用,分割,从taobao.tbk.shop.get接口获取user_id字段
type TaobaoTbkScShopConvertAPIResponse ¶ added in v1.2.5
type TaobaoTbkScShopConvertAPIResponse struct { model.CommonResponse TaobaoTbkScShopConvertAPIResponseModel }
TaobaoTbkScShopConvertAPIResponse 淘宝客-服务商-店铺链接转换 API返回值 taobao.tbk.sc.shop.convert
服务商使用。支持入参推广者对应的“推广位”和卖家id,获取对应的店铺推广链接。
type TaobaoTbkScShopConvertAPIResponseModel ¶ added in v1.2.5
type TaobaoTbkScShopConvertAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_shop_convert_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 加入淘宝客的店铺 Results []NTbkShop `json:"results,omitempty" xml:"results>n_tbk_shop,omitempty"` }
TaobaoTbkScShopConvertAPIResponseModel is 淘宝客-服务商-店铺链接转换 成功返回结果
type TaobaoTbkScTpwdConvertAPIRequest ¶ added in v1.2.5
type TaobaoTbkScTpwdConvertAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkScTpwdConvertAPIRequest 淘宝客-服务商-淘口令解析&转链 API请求 taobao.tbk.sc.tpwd.convert
支持通过淘口令解析商品id,并提供对应的淘客转链接
func NewTaobaoTbkScTpwdConvertRequest ¶ added in v1.2.5
func NewTaobaoTbkScTpwdConvertRequest() *TaobaoTbkScTpwdConvertAPIRequest
NewTaobaoTbkScTpwdConvertRequest 初始化TaobaoTbkScTpwdConvertAPIRequest对象
func (TaobaoTbkScTpwdConvertAPIRequest) GetAdzoneId ¶ added in v1.2.5
func (r TaobaoTbkScTpwdConvertAPIRequest) GetAdzoneId() int64
GetAdzoneId AdzoneId Getter
func (TaobaoTbkScTpwdConvertAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoTbkScTpwdConvertAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkScTpwdConvertAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoTbkScTpwdConvertAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkScTpwdConvertAPIRequest) GetDx ¶ added in v1.2.5
func (r TaobaoTbkScTpwdConvertAPIRequest) GetDx() string
GetDx Dx Getter
func (TaobaoTbkScTpwdConvertAPIRequest) GetPasswordContent ¶ added in v1.2.5
func (r TaobaoTbkScTpwdConvertAPIRequest) GetPasswordContent() string
GetPasswordContent PasswordContent Getter
func (TaobaoTbkScTpwdConvertAPIRequest) GetSiteId ¶ added in v1.2.5
func (r TaobaoTbkScTpwdConvertAPIRequest) GetSiteId() int64
GetSiteId SiteId Getter
func (TaobaoTbkScTpwdConvertAPIRequest) GetUcrowdId ¶ added in v1.2.5
func (r TaobaoTbkScTpwdConvertAPIRequest) GetUcrowdId() int64
GetUcrowdId UcrowdId Getter
func (*TaobaoTbkScTpwdConvertAPIRequest) SetAdzoneId ¶ added in v1.2.5
func (r *TaobaoTbkScTpwdConvertAPIRequest) SetAdzoneId(_adzoneId int64) error
SetAdzoneId is AdzoneId Setter 广告位ID,mm_xx_xx_xx pid三段式中的第三段
func (*TaobaoTbkScTpwdConvertAPIRequest) SetDx ¶ added in v1.2.5
func (r *TaobaoTbkScTpwdConvertAPIRequest) SetDx(_dx string) error
SetDx is Dx Setter 1表示商品转通用计划链接,其他值或不传表示优先转营销计划链接
func (*TaobaoTbkScTpwdConvertAPIRequest) SetPasswordContent ¶ added in v1.2.5
func (r *TaobaoTbkScTpwdConvertAPIRequest) SetPasswordContent(_passwordContent string) error
SetPasswordContent is PasswordContent Setter 需要解析的淘口令
func (*TaobaoTbkScTpwdConvertAPIRequest) SetSiteId ¶ added in v1.2.5
func (r *TaobaoTbkScTpwdConvertAPIRequest) SetSiteId(_siteId int64) error
SetSiteId is SiteId Setter 备案的网站id, mm_xx_xx_xx pid三段式中的第二段
func (*TaobaoTbkScTpwdConvertAPIRequest) SetUcrowdId ¶ added in v1.2.5
func (r *TaobaoTbkScTpwdConvertAPIRequest) SetUcrowdId(_ucrowdId int64) error
SetUcrowdId is UcrowdId Setter 会员人群ID,用于统计人群推广效果
type TaobaoTbkScTpwdConvertAPIResponse ¶ added in v1.2.5
type TaobaoTbkScTpwdConvertAPIResponse struct { model.CommonResponse TaobaoTbkScTpwdConvertAPIResponseModel }
TaobaoTbkScTpwdConvertAPIResponse 淘宝客-服务商-淘口令解析&转链 API返回值 taobao.tbk.sc.tpwd.convert
支持通过淘口令解析商品id,并提供对应的淘客转链接
type TaobaoTbkScTpwdConvertAPIResponseModel ¶ added in v1.2.5
type TaobaoTbkScTpwdConvertAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_tpwd_convert_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // data Data *TaobaoTbkScTpwdConvertMapData `json:"data,omitempty" xml:"data,omitempty"` }
TaobaoTbkScTpwdConvertAPIResponseModel is 淘宝客-服务商-淘口令解析&转链 成功返回结果
type TaobaoTbkScTpwdConvertMapData ¶ added in v1.2.5
type TaobaoTbkScTpwdConvertMapData struct { // 商品Id NumIid string `json:"num_iid,omitempty" xml:"num_iid,omitempty"` // 商品淘客转链链接 ClickUrl string `json:"click_url,omitempty" xml:"click_url,omitempty"` // 店铺卖家ID SellerId string `json:"seller_id,omitempty" xml:"seller_id,omitempty"` // 入参淘口令对应原始链接 OriginUrl string `json:"origin_url,omitempty" xml:"origin_url,omitempty"` // 入参淘口令推广链接中的pid,如果不属于当前调用的推广者则展示“0” OriginPid string `json:"origin_pid,omitempty" xml:"origin_pid,omitempty"` }
TaobaoTbkScTpwdConvertMapData 结构体
type TaobaoTbkScTpwdTemporaryConvertAPIRequest ¶ added in v1.2.5
type TaobaoTbkScTpwdTemporaryConvertAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkScTpwdTemporaryConvertAPIRequest 淘宝客-服务商-淘口令解析&&转链(临时接口) API请求 taobao.tbk.sc.tpwd.temporary.convert
支持通过淘口令解析商品id,并提供对应的淘客转链接
func NewTaobaoTbkScTpwdTemporaryConvertRequest ¶ added in v1.2.5
func NewTaobaoTbkScTpwdTemporaryConvertRequest() *TaobaoTbkScTpwdTemporaryConvertAPIRequest
NewTaobaoTbkScTpwdTemporaryConvertRequest 初始化TaobaoTbkScTpwdTemporaryConvertAPIRequest对象
func (TaobaoTbkScTpwdTemporaryConvertAPIRequest) GetAdzoneId ¶ added in v1.2.5
func (r TaobaoTbkScTpwdTemporaryConvertAPIRequest) GetAdzoneId() int64
GetAdzoneId AdzoneId Getter
func (TaobaoTbkScTpwdTemporaryConvertAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoTbkScTpwdTemporaryConvertAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkScTpwdTemporaryConvertAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoTbkScTpwdTemporaryConvertAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkScTpwdTemporaryConvertAPIRequest) GetDx ¶ added in v1.2.5
func (r TaobaoTbkScTpwdTemporaryConvertAPIRequest) GetDx() string
GetDx Dx Getter
func (TaobaoTbkScTpwdTemporaryConvertAPIRequest) GetPasswordContent ¶ added in v1.2.5
func (r TaobaoTbkScTpwdTemporaryConvertAPIRequest) GetPasswordContent() string
GetPasswordContent PasswordContent Getter
func (TaobaoTbkScTpwdTemporaryConvertAPIRequest) GetSiteId ¶ added in v1.2.5
func (r TaobaoTbkScTpwdTemporaryConvertAPIRequest) GetSiteId() int64
GetSiteId SiteId Getter
func (TaobaoTbkScTpwdTemporaryConvertAPIRequest) GetUcrowdId ¶ added in v1.2.5
func (r TaobaoTbkScTpwdTemporaryConvertAPIRequest) GetUcrowdId() int64
GetUcrowdId UcrowdId Getter
func (*TaobaoTbkScTpwdTemporaryConvertAPIRequest) SetAdzoneId ¶ added in v1.2.5
func (r *TaobaoTbkScTpwdTemporaryConvertAPIRequest) SetAdzoneId(_adzoneId int64) error
SetAdzoneId is AdzoneId Setter 广告位ID,mm_xx_xx_xx pid三段式中的第三段
func (*TaobaoTbkScTpwdTemporaryConvertAPIRequest) SetDx ¶ added in v1.2.5
func (r *TaobaoTbkScTpwdTemporaryConvertAPIRequest) SetDx(_dx string) error
SetDx is Dx Setter 1表示商品转通用计划链接,其他值或不传表示优先转营销计划链接
func (*TaobaoTbkScTpwdTemporaryConvertAPIRequest) SetPasswordContent ¶ added in v1.2.5
func (r *TaobaoTbkScTpwdTemporaryConvertAPIRequest) SetPasswordContent(_passwordContent string) error
SetPasswordContent is PasswordContent Setter 需要解析的淘口令
func (*TaobaoTbkScTpwdTemporaryConvertAPIRequest) SetSiteId ¶ added in v1.2.5
func (r *TaobaoTbkScTpwdTemporaryConvertAPIRequest) SetSiteId(_siteId int64) error
SetSiteId is SiteId Setter 备案的网站id, mm_xx_xx_xx pid三段式中的第二段
func (*TaobaoTbkScTpwdTemporaryConvertAPIRequest) SetUcrowdId ¶ added in v1.2.5
func (r *TaobaoTbkScTpwdTemporaryConvertAPIRequest) SetUcrowdId(_ucrowdId int64) error
SetUcrowdId is UcrowdId Setter 会员人群ID,用于统计人群推广效果
type TaobaoTbkScTpwdTemporaryConvertAPIResponse ¶ added in v1.2.5
type TaobaoTbkScTpwdTemporaryConvertAPIResponse struct { model.CommonResponse TaobaoTbkScTpwdTemporaryConvertAPIResponseModel }
TaobaoTbkScTpwdTemporaryConvertAPIResponse 淘宝客-服务商-淘口令解析&&转链(临时接口) API返回值 taobao.tbk.sc.tpwd.temporary.convert
支持通过淘口令解析商品id,并提供对应的淘客转链接
type TaobaoTbkScTpwdTemporaryConvertAPIResponseModel ¶ added in v1.2.5
type TaobaoTbkScTpwdTemporaryConvertAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_tpwd_temporary_convert_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // data Data string `json:"data,omitempty" xml:"data,omitempty"` }
TaobaoTbkScTpwdTemporaryConvertAPIResponseModel is 淘宝客-服务商-淘口令解析&&转链(临时接口) 成功返回结果
type TaobaoTbkScUcrowdCreateAPIRequest ¶ added in v1.2.5
type TaobaoTbkScUcrowdCreateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkScUcrowdCreateAPIRequest 淘宝客-服务商-创建人群标签 API请求 taobao.tbk.sc.ucrowd.create
服务商使用。可为淘宝客创建会员人群标签,获得人群id,人群id可用于物料评估推荐等场景。
func NewTaobaoTbkScUcrowdCreateRequest ¶ added in v1.2.5
func NewTaobaoTbkScUcrowdCreateRequest() *TaobaoTbkScUcrowdCreateAPIRequest
NewTaobaoTbkScUcrowdCreateRequest 初始化TaobaoTbkScUcrowdCreateAPIRequest对象
func (TaobaoTbkScUcrowdCreateAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoTbkScUcrowdCreateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkScUcrowdCreateAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoTbkScUcrowdCreateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkScUcrowdCreateAPIRequest) GetDesc ¶ added in v1.2.5
func (r TaobaoTbkScUcrowdCreateAPIRequest) GetDesc() string
GetDesc Desc Getter
func (TaobaoTbkScUcrowdCreateAPIRequest) GetExternalCrowdCode ¶ added in v1.2.5
func (r TaobaoTbkScUcrowdCreateAPIRequest) GetExternalCrowdCode() string
GetExternalCrowdCode ExternalCrowdCode Getter
func (TaobaoTbkScUcrowdCreateAPIRequest) GetUcrowdName ¶ added in v1.2.5
func (r TaobaoTbkScUcrowdCreateAPIRequest) GetUcrowdName() string
GetUcrowdName UcrowdName Getter
func (TaobaoTbkScUcrowdCreateAPIRequest) GetUcrowdType ¶ added in v1.2.5
func (r TaobaoTbkScUcrowdCreateAPIRequest) GetUcrowdType() int64
GetUcrowdType UcrowdType Getter
func (*TaobaoTbkScUcrowdCreateAPIRequest) SetDesc ¶ added in v1.2.5
func (r *TaobaoTbkScUcrowdCreateAPIRequest) SetDesc(_desc string) error
SetDesc is Desc Setter 人群描述,最大100字符
func (*TaobaoTbkScUcrowdCreateAPIRequest) SetExternalCrowdCode ¶ added in v1.2.5
func (r *TaobaoTbkScUcrowdCreateAPIRequest) SetExternalCrowdCode(_externalCrowdCode string) error
SetExternalCrowdCode is ExternalCrowdCode Setter 人群外部编码,只能包含:字母、数字、下划线(以字母、数字开头),最大128字符
func (*TaobaoTbkScUcrowdCreateAPIRequest) SetUcrowdName ¶ added in v1.2.5
func (r *TaobaoTbkScUcrowdCreateAPIRequest) SetUcrowdName(_ucrowdName string) error
SetUcrowdName is UcrowdName Setter 人群名称,最大32字符
func (*TaobaoTbkScUcrowdCreateAPIRequest) SetUcrowdType ¶ added in v1.2.5
func (r *TaobaoTbkScUcrowdCreateAPIRequest) SetUcrowdType(_ucrowdType int64) error
SetUcrowdType is UcrowdType Setter 人群类型,1:社群
type TaobaoTbkScUcrowdCreateAPIResponse ¶ added in v1.2.5
type TaobaoTbkScUcrowdCreateAPIResponse struct { model.CommonResponse TaobaoTbkScUcrowdCreateAPIResponseModel }
TaobaoTbkScUcrowdCreateAPIResponse 淘宝客-服务商-创建人群标签 API返回值 taobao.tbk.sc.ucrowd.create
服务商使用。可为淘宝客创建会员人群标签,获得人群id,人群id可用于物料评估推荐等场景。
type TaobaoTbkScUcrowdCreateAPIResponseModel ¶ added in v1.2.5
type TaobaoTbkScUcrowdCreateAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_ucrowd_create_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // data Data *TaobaoTbkScUcrowdCreateRpcResult `json:"data,omitempty" xml:"data,omitempty"` }
TaobaoTbkScUcrowdCreateAPIResponseModel is 淘宝客-服务商-创建人群标签 成功返回结果
type TaobaoTbkScUcrowdCreateRpcResult ¶ added in v1.2.5
type TaobaoTbkScUcrowdCreateRpcResult struct { // 人群标签id UcrowdId int64 `json:"ucrowd_id,omitempty" xml:"ucrowd_id,omitempty"` }
TaobaoTbkScUcrowdCreateRpcResult 结构体
type TaobaoTbkScUcrowdDeleteAPIRequest ¶ added in v1.2.5
type TaobaoTbkScUcrowdDeleteAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkScUcrowdDeleteAPIRequest 淘宝客-服务商-删除人群标签 API请求 taobao.tbk.sc.ucrowd.delete
服务商使用。支持淘宝客删除人群标签id,被删除的人群标签id将失效,并不可重新生效。
func NewTaobaoTbkScUcrowdDeleteRequest ¶ added in v1.2.5
func NewTaobaoTbkScUcrowdDeleteRequest() *TaobaoTbkScUcrowdDeleteAPIRequest
NewTaobaoTbkScUcrowdDeleteRequest 初始化TaobaoTbkScUcrowdDeleteAPIRequest对象
func (TaobaoTbkScUcrowdDeleteAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoTbkScUcrowdDeleteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkScUcrowdDeleteAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoTbkScUcrowdDeleteAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkScUcrowdDeleteAPIRequest) GetUcrowdId ¶ added in v1.2.5
func (r TaobaoTbkScUcrowdDeleteAPIRequest) GetUcrowdId() int64
GetUcrowdId UcrowdId Getter
func (*TaobaoTbkScUcrowdDeleteAPIRequest) SetUcrowdId ¶ added in v1.2.5
func (r *TaobaoTbkScUcrowdDeleteAPIRequest) SetUcrowdId(_ucrowdId int64) error
SetUcrowdId is UcrowdId Setter 人群标签id
type TaobaoTbkScUcrowdDeleteAPIResponse ¶ added in v1.2.5
type TaobaoTbkScUcrowdDeleteAPIResponse struct { model.CommonResponse TaobaoTbkScUcrowdDeleteAPIResponseModel }
TaobaoTbkScUcrowdDeleteAPIResponse 淘宝客-服务商-删除人群标签 API返回值 taobao.tbk.sc.ucrowd.delete
服务商使用。支持淘宝客删除人群标签id,被删除的人群标签id将失效,并不可重新生效。
type TaobaoTbkScUcrowdDeleteAPIResponseModel ¶ added in v1.2.5
type TaobaoTbkScUcrowdDeleteAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_ucrowd_delete_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // data Data *TaobaoTbkScUcrowdDeleteRpcResult `json:"data,omitempty" xml:"data,omitempty"` }
TaobaoTbkScUcrowdDeleteAPIResponseModel is 淘宝客-服务商-删除人群标签 成功返回结果
type TaobaoTbkScUcrowdDeleteRpcResult ¶ added in v1.2.5
type TaobaoTbkScUcrowdDeleteRpcResult struct { // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoTbkScUcrowdDeleteRpcResult 结构体
type TaobaoTbkScUcrowdGetAPIRequest ¶ added in v1.2.5
type TaobaoTbkScUcrowdGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkScUcrowdGetAPIRequest 淘宝客-服务商-获取人群标签 API请求 taobao.tbk.sc.ucrowd.get
服务商使用。支持淘宝客通过入参人群标签id,获得人群信息,包括人群名称描述及覆盖会员数。
func NewTaobaoTbkScUcrowdGetRequest ¶ added in v1.2.5
func NewTaobaoTbkScUcrowdGetRequest() *TaobaoTbkScUcrowdGetAPIRequest
NewTaobaoTbkScUcrowdGetRequest 初始化TaobaoTbkScUcrowdGetAPIRequest对象
func (TaobaoTbkScUcrowdGetAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoTbkScUcrowdGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkScUcrowdGetAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoTbkScUcrowdGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkScUcrowdGetAPIRequest) GetUcrowdId ¶ added in v1.2.5
func (r TaobaoTbkScUcrowdGetAPIRequest) GetUcrowdId() int64
GetUcrowdId UcrowdId Getter
func (*TaobaoTbkScUcrowdGetAPIRequest) SetUcrowdId ¶ added in v1.2.5
func (r *TaobaoTbkScUcrowdGetAPIRequest) SetUcrowdId(_ucrowdId int64) error
SetUcrowdId is UcrowdId Setter 人群标签id
type TaobaoTbkScUcrowdGetAPIResponse ¶ added in v1.2.5
type TaobaoTbkScUcrowdGetAPIResponse struct { model.CommonResponse TaobaoTbkScUcrowdGetAPIResponseModel }
TaobaoTbkScUcrowdGetAPIResponse 淘宝客-服务商-获取人群标签 API返回值 taobao.tbk.sc.ucrowd.get
服务商使用。支持淘宝客通过入参人群标签id,获得人群信息,包括人群名称描述及覆盖会员数。
type TaobaoTbkScUcrowdGetAPIResponseModel ¶ added in v1.2.5
type TaobaoTbkScUcrowdGetAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_ucrowd_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // data Data *TaobaoTbkScUcrowdGetRpcResult `json:"data,omitempty" xml:"data,omitempty"` }
TaobaoTbkScUcrowdGetAPIResponseModel is 淘宝客-服务商-获取人群标签 成功返回结果
type TaobaoTbkScUcrowdGetRpcResult ¶ added in v1.2.5
type TaobaoTbkScUcrowdGetRpcResult struct { // 人群 Ucrowd *CrowdDto `json:"ucrowd,omitempty" xml:"ucrowd,omitempty"` }
TaobaoTbkScUcrowdGetRpcResult 结构体
type TaobaoTbkScUcrowdMemberAddAPIRequest ¶ added in v1.2.5
type TaobaoTbkScUcrowdMemberAddAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkScUcrowdMemberAddAPIRequest 淘宝客-服务商-上传人群数据 API请求 taobao.tbk.sc.ucrowd.member.add
服务商使用。支持淘宝客上传人群标签id对应的会员列表,支持全量和增量多种数据更新方式。
func NewTaobaoTbkScUcrowdMemberAddRequest ¶ added in v1.2.5
func NewTaobaoTbkScUcrowdMemberAddRequest() *TaobaoTbkScUcrowdMemberAddAPIRequest
NewTaobaoTbkScUcrowdMemberAddRequest 初始化TaobaoTbkScUcrowdMemberAddAPIRequest对象
func (TaobaoTbkScUcrowdMemberAddAPIRequest) GetAccountList ¶ added in v1.2.5
func (r TaobaoTbkScUcrowdMemberAddAPIRequest) GetAccountList() []string
GetAccountList AccountList Getter
func (TaobaoTbkScUcrowdMemberAddAPIRequest) GetAccountType ¶ added in v1.2.5
func (r TaobaoTbkScUcrowdMemberAddAPIRequest) GetAccountType() int64
GetAccountType AccountType Getter
func (TaobaoTbkScUcrowdMemberAddAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoTbkScUcrowdMemberAddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkScUcrowdMemberAddAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoTbkScUcrowdMemberAddAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkScUcrowdMemberAddAPIRequest) GetEditType ¶ added in v1.2.5
func (r TaobaoTbkScUcrowdMemberAddAPIRequest) GetEditType() int64
GetEditType EditType Getter
func (TaobaoTbkScUcrowdMemberAddAPIRequest) GetUcrowdId ¶ added in v1.2.5
func (r TaobaoTbkScUcrowdMemberAddAPIRequest) GetUcrowdId() int64
GetUcrowdId UcrowdId Getter
func (*TaobaoTbkScUcrowdMemberAddAPIRequest) SetAccountList ¶ added in v1.2.5
func (r *TaobaoTbkScUcrowdMemberAddAPIRequest) SetAccountList(_accountList []string) error
SetAccountList is AccountList Setter 成员列表
func (*TaobaoTbkScUcrowdMemberAddAPIRequest) SetAccountType ¶ added in v1.2.5
func (r *TaobaoTbkScUcrowdMemberAddAPIRequest) SetAccountType(_accountType int64) error
SetAccountType is AccountType Setter 成员账号类型,1:sid
func (*TaobaoTbkScUcrowdMemberAddAPIRequest) SetEditType ¶ added in v1.2.5
func (r *TaobaoTbkScUcrowdMemberAddAPIRequest) SetEditType(_editType int64) error
SetEditType is EditType Setter 更新方式,1:增量更新,2:全量更新
func (*TaobaoTbkScUcrowdMemberAddAPIRequest) SetUcrowdId ¶ added in v1.2.5
func (r *TaobaoTbkScUcrowdMemberAddAPIRequest) SetUcrowdId(_ucrowdId int64) error
SetUcrowdId is UcrowdId Setter 人群id
type TaobaoTbkScUcrowdMemberAddAPIResponse ¶ added in v1.2.5
type TaobaoTbkScUcrowdMemberAddAPIResponse struct { model.CommonResponse TaobaoTbkScUcrowdMemberAddAPIResponseModel }
TaobaoTbkScUcrowdMemberAddAPIResponse 淘宝客-服务商-上传人群数据 API返回值 taobao.tbk.sc.ucrowd.member.add
服务商使用。支持淘宝客上传人群标签id对应的会员列表,支持全量和增量多种数据更新方式。
type TaobaoTbkScUcrowdMemberAddAPIResponseModel ¶ added in v1.2.5
type TaobaoTbkScUcrowdMemberAddAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_ucrowd_member_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // data Data *TaobaoTbkScUcrowdMemberAddRpcResult `json:"data,omitempty" xml:"data,omitempty"` }
TaobaoTbkScUcrowdMemberAddAPIResponseModel is 淘宝客-服务商-上传人群数据 成功返回结果
type TaobaoTbkScUcrowdMemberAddRpcResult ¶ added in v1.2.5
type TaobaoTbkScUcrowdMemberAddRpcResult struct { // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoTbkScUcrowdMemberAddRpcResult 结构体
type TaobaoTbkScUcrowdReportGetAPIRequest ¶ added in v1.2.5
type TaobaoTbkScUcrowdReportGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkScUcrowdReportGetAPIRequest 淘宝客-服务商-人群推广效果 API请求 taobao.tbk.sc.ucrowd.report.get
服务商使用。支持淘宝客通过入参人群标签id,获得人群的推广和转化效果数据。
func NewTaobaoTbkScUcrowdReportGetRequest ¶ added in v1.2.5
func NewTaobaoTbkScUcrowdReportGetRequest() *TaobaoTbkScUcrowdReportGetAPIRequest
NewTaobaoTbkScUcrowdReportGetRequest 初始化TaobaoTbkScUcrowdReportGetAPIRequest对象
func (TaobaoTbkScUcrowdReportGetAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoTbkScUcrowdReportGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkScUcrowdReportGetAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoTbkScUcrowdReportGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkScUcrowdReportGetAPIRequest) GetReportDate ¶ added in v1.2.5
func (r TaobaoTbkScUcrowdReportGetAPIRequest) GetReportDate() string
GetReportDate ReportDate Getter
func (TaobaoTbkScUcrowdReportGetAPIRequest) GetUcrowdId ¶ added in v1.2.5
func (r TaobaoTbkScUcrowdReportGetAPIRequest) GetUcrowdId() int64
GetUcrowdId UcrowdId Getter
func (*TaobaoTbkScUcrowdReportGetAPIRequest) SetReportDate ¶ added in v1.2.5
func (r *TaobaoTbkScUcrowdReportGetAPIRequest) SetReportDate(_reportDate string) error
SetReportDate is ReportDate Setter 报表日期,支持:月、日,示例:2020-12,2020-12-30
func (*TaobaoTbkScUcrowdReportGetAPIRequest) SetUcrowdId ¶ added in v1.2.5
func (r *TaobaoTbkScUcrowdReportGetAPIRequest) SetUcrowdId(_ucrowdId int64) error
SetUcrowdId is UcrowdId Setter 人群标签id
type TaobaoTbkScUcrowdReportGetAPIResponse ¶ added in v1.2.5
type TaobaoTbkScUcrowdReportGetAPIResponse struct { model.CommonResponse TaobaoTbkScUcrowdReportGetAPIResponseModel }
TaobaoTbkScUcrowdReportGetAPIResponse 淘宝客-服务商-人群推广效果 API返回值 taobao.tbk.sc.ucrowd.report.get
服务商使用。支持淘宝客通过入参人群标签id,获得人群的推广和转化效果数据。
type TaobaoTbkScUcrowdReportGetAPIResponseModel ¶ added in v1.2.5
type TaobaoTbkScUcrowdReportGetAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_ucrowd_report_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // data Data *TaobaoTbkScUcrowdReportGetRpcResult `json:"data,omitempty" xml:"data,omitempty"` }
TaobaoTbkScUcrowdReportGetAPIResponseModel is 淘宝客-服务商-人群推广效果 成功返回结果
type TaobaoTbkScUcrowdReportGetRpcResult ¶ added in v1.2.5
type TaobaoTbkScUcrowdReportGetRpcResult struct { // ucrowd_report UcrowdReport *DwsUnionAppDto `json:"ucrowd_report,omitempty" xml:"ucrowd_report,omitempty"` }
TaobaoTbkScUcrowdReportGetRpcResult 结构体
type TaobaoTbkScVegasSendReportAPIRequest ¶ added in v1.2.5
type TaobaoTbkScVegasSendReportAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkScVegasSendReportAPIRequest 淘宝客-服务商-查询红包发放个数 API请求 taobao.tbk.sc.vegas.send.report
服务商使用。可通过此接口查询对应推广者账号下的红包发放个数。
func NewTaobaoTbkScVegasSendReportRequest ¶ added in v1.2.5
func NewTaobaoTbkScVegasSendReportRequest() *TaobaoTbkScVegasSendReportAPIRequest
NewTaobaoTbkScVegasSendReportRequest 初始化TaobaoTbkScVegasSendReportAPIRequest对象
func (TaobaoTbkScVegasSendReportAPIRequest) GetActivityId ¶ added in v1.2.5
func (r TaobaoTbkScVegasSendReportAPIRequest) GetActivityId() int64
GetActivityId ActivityId Getter
func (TaobaoTbkScVegasSendReportAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoTbkScVegasSendReportAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkScVegasSendReportAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoTbkScVegasSendReportAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkScVegasSendReportAPIRequest) GetBizDate ¶ added in v1.2.5
func (r TaobaoTbkScVegasSendReportAPIRequest) GetBizDate() string
GetBizDate BizDate Getter
func (TaobaoTbkScVegasSendReportAPIRequest) GetPageNo ¶ added in v1.2.5
func (r TaobaoTbkScVegasSendReportAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoTbkScVegasSendReportAPIRequest) GetPageSize ¶ added in v1.2.5
func (r TaobaoTbkScVegasSendReportAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoTbkScVegasSendReportAPIRequest) GetRelationId ¶ added in v1.2.5
func (r TaobaoTbkScVegasSendReportAPIRequest) GetRelationId() int64
GetRelationId RelationId Getter
func (*TaobaoTbkScVegasSendReportAPIRequest) SetActivityId ¶ added in v1.2.5
func (r *TaobaoTbkScVegasSendReportAPIRequest) SetActivityId(_activityId int64) error
SetActivityId is ActivityId Setter 红包活动id:1462
func (*TaobaoTbkScVegasSendReportAPIRequest) SetBizDate ¶ added in v1.2.5
func (r *TaobaoTbkScVegasSendReportAPIRequest) SetBizDate(_bizDate string) error
SetBizDate is BizDate Setter 统计日期
func (*TaobaoTbkScVegasSendReportAPIRequest) SetPageNo ¶ added in v1.2.5
func (r *TaobaoTbkScVegasSendReportAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 页码
func (*TaobaoTbkScVegasSendReportAPIRequest) SetPageSize ¶ added in v1.2.5
func (r *TaobaoTbkScVegasSendReportAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 每页大小
func (*TaobaoTbkScVegasSendReportAPIRequest) SetRelationId ¶ added in v1.2.5
func (r *TaobaoTbkScVegasSendReportAPIRequest) SetRelationId(_relationId int64) error
SetRelationId is RelationId Setter 渠道关系id
type TaobaoTbkScVegasSendReportAPIResponse ¶ added in v1.2.5
type TaobaoTbkScVegasSendReportAPIResponse struct { model.CommonResponse TaobaoTbkScVegasSendReportAPIResponseModel }
TaobaoTbkScVegasSendReportAPIResponse 淘宝客-服务商-查询红包发放个数 API返回值 taobao.tbk.sc.vegas.send.report
服务商使用。可通过此接口查询对应推广者账号下的红包发放个数。
type TaobaoTbkScVegasSendReportAPIResponseModel ¶ added in v1.2.5
type TaobaoTbkScVegasSendReportAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_vegas_send_report_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口返回model Result *TaobaoTbkScVegasSendReportResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoTbkScVegasSendReportAPIResponseModel is 淘宝客-服务商-查询红包发放个数 成功返回结果
type TaobaoTbkScVegasSendReportResult ¶ added in v1.2.5
type TaobaoTbkScVegasSendReportResult struct { // msgInfo MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"` // msgCode MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"` // model Model *RightsSendRptDto `json:"model,omitempty" xml:"model,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoTbkScVegasSendReportResult 结构体
type TaobaoTbkScVegasSendStatusAPIRequest ¶ added in v1.2.5
type TaobaoTbkScVegasSendStatusAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkScVegasSendStatusAPIRequest 淘宝客-服务商-红包领取状态查询 API请求 taobao.tbk.sc.vegas.send.status
服务商使用。支持淘宝客传入用户标识的信息,查询该用户是否有当前阶段待核销的红包。接入前需签署协议:https://pub.alimama.com/fourth/protocol/common.htm?key=hangye_laxin
func NewTaobaoTbkScVegasSendStatusRequest ¶ added in v1.2.5
func NewTaobaoTbkScVegasSendStatusRequest() *TaobaoTbkScVegasSendStatusAPIRequest
NewTaobaoTbkScVegasSendStatusRequest 初始化TaobaoTbkScVegasSendStatusAPIRequest对象
func (TaobaoTbkScVegasSendStatusAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoTbkScVegasSendStatusAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkScVegasSendStatusAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoTbkScVegasSendStatusAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkScVegasSendStatusAPIRequest) GetDeviceType ¶ added in v1.2.5
func (r TaobaoTbkScVegasSendStatusAPIRequest) GetDeviceType() string
GetDeviceType DeviceType Getter
func (TaobaoTbkScVegasSendStatusAPIRequest) GetDeviceValue ¶ added in v1.2.5
func (r TaobaoTbkScVegasSendStatusAPIRequest) GetDeviceValue() string
GetDeviceValue DeviceValue Getter
func (TaobaoTbkScVegasSendStatusAPIRequest) GetRelationId ¶ added in v1.2.5
func (r TaobaoTbkScVegasSendStatusAPIRequest) GetRelationId() string
GetRelationId RelationId Getter
func (TaobaoTbkScVegasSendStatusAPIRequest) GetSpecialId ¶ added in v1.2.5
func (r TaobaoTbkScVegasSendStatusAPIRequest) GetSpecialId() string
GetSpecialId SpecialId Getter
func (*TaobaoTbkScVegasSendStatusAPIRequest) SetDeviceType ¶ added in v1.2.5
func (r *TaobaoTbkScVegasSendStatusAPIRequest) SetDeviceType(_deviceType string) error
SetDeviceType is DeviceType Setter 入参类型(该模式下返回的结果为模糊匹配结果,和实际情况可能存在误差): 1. IMEI 2. IDFA 3. OAID 4. MOBILE 5. ALIPAY_ID
func (*TaobaoTbkScVegasSendStatusAPIRequest) SetDeviceValue ¶ added in v1.2.5
func (r *TaobaoTbkScVegasSendStatusAPIRequest) SetDeviceValue(_deviceValue string) error
SetDeviceValue is DeviceValue Setter 加密后的值(ALIPAY_ID除外),需用MD5加密,32位小写
func (*TaobaoTbkScVegasSendStatusAPIRequest) SetRelationId ¶ added in v1.2.5
func (r *TaobaoTbkScVegasSendStatusAPIRequest) SetRelationId(_relationId string) error
SetRelationId is RelationId Setter 渠道管理id
func (*TaobaoTbkScVegasSendStatusAPIRequest) SetSpecialId ¶ added in v1.2.5
func (r *TaobaoTbkScVegasSendStatusAPIRequest) SetSpecialId(_specialId string) error
SetSpecialId is SpecialId Setter 会员运营id
type TaobaoTbkScVegasSendStatusAPIResponse ¶ added in v1.2.5
type TaobaoTbkScVegasSendStatusAPIResponse struct { model.CommonResponse TaobaoTbkScVegasSendStatusAPIResponseModel }
TaobaoTbkScVegasSendStatusAPIResponse 淘宝客-服务商-红包领取状态查询 API返回值 taobao.tbk.sc.vegas.send.status
服务商使用。支持淘宝客传入用户标识的信息,查询该用户是否有当前阶段待核销的红包。接入前需签署协议:https://pub.alimama.com/fourth/protocol/common.htm?key=hangye_laxin
type TaobaoTbkScVegasSendStatusAPIResponseModel ¶ added in v1.2.5
type TaobaoTbkScVegasSendStatusAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_vegas_send_status_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果描述信息 ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` // 返回结果封装对象 Data *TaobaoTbkScVegasSendStatusData `json:"data,omitempty" xml:"data,omitempty"` }
TaobaoTbkScVegasSendStatusAPIResponseModel is 淘宝客-服务商-红包领取状态查询 成功返回结果
type TaobaoTbkScVegasSendStatusData ¶ added in v1.2.5
type TaobaoTbkScVegasSendStatusData struct { // 返回结果封装对象 ResultList []TaobaoTbkScVegasSendStatusMapData `json:"result_list,omitempty" xml:"result_list>taobao_tbk_sc_vegas_send_status_map_data,omitempty"` }
TaobaoTbkScVegasSendStatusData 结构体
type TaobaoTbkScVegasSendStatusMapData ¶ added in v1.2.5
type TaobaoTbkScVegasSendStatusMapData struct { // 若该用户当前无待核销的红包,则返回1,若当前有待核销的红包,则返回0 IsNewUser string `json:"is_new_user,omitempty" xml:"is_new_user,omitempty"` }
TaobaoTbkScVegasSendStatusMapData 结构体
type TaobaoTbkShopGetAPIRequest ¶ added in v1.2.0
TaobaoTbkShopGetAPIRequest 淘宝客-推广者-店铺搜索 API请求 taobao.tbk.shop.get
淘宝客店铺查询
func NewTaobaoTbkShopGetRequest ¶
func NewTaobaoTbkShopGetRequest() *TaobaoTbkShopGetAPIRequest
NewTaobaoTbkShopGetRequest 初始化TaobaoTbkShopGetAPIRequest对象
func (TaobaoTbkShopGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTbkShopGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkShopGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTbkShopGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkShopGetAPIRequest) GetEndAuctionCount ¶ added in v1.2.0
func (r TaobaoTbkShopGetAPIRequest) GetEndAuctionCount() int64
GetEndAuctionCount EndAuctionCount Getter
func (TaobaoTbkShopGetAPIRequest) GetEndCommissionRate ¶ added in v1.2.0
func (r TaobaoTbkShopGetAPIRequest) GetEndCommissionRate() int64
GetEndCommissionRate EndCommissionRate Getter
func (TaobaoTbkShopGetAPIRequest) GetEndCredit ¶ added in v1.2.0
func (r TaobaoTbkShopGetAPIRequest) GetEndCredit() int64
GetEndCredit EndCredit Getter
func (TaobaoTbkShopGetAPIRequest) GetEndTotalAction ¶ added in v1.2.0
func (r TaobaoTbkShopGetAPIRequest) GetEndTotalAction() int64
GetEndTotalAction EndTotalAction Getter
func (TaobaoTbkShopGetAPIRequest) GetFields ¶ added in v1.2.0
func (r TaobaoTbkShopGetAPIRequest) GetFields() string
GetFields Fields Getter
func (TaobaoTbkShopGetAPIRequest) GetIsTmall ¶ added in v1.2.0
func (r TaobaoTbkShopGetAPIRequest) GetIsTmall() bool
GetIsTmall IsTmall Getter
func (TaobaoTbkShopGetAPIRequest) GetPageNo ¶ added in v1.2.0
func (r TaobaoTbkShopGetAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoTbkShopGetAPIRequest) GetPageSize ¶ added in v1.2.0
func (r TaobaoTbkShopGetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoTbkShopGetAPIRequest) GetPlatform ¶ added in v1.2.0
func (r TaobaoTbkShopGetAPIRequest) GetPlatform() int64
GetPlatform Platform Getter
func (TaobaoTbkShopGetAPIRequest) GetQ ¶ added in v1.2.0
func (r TaobaoTbkShopGetAPIRequest) GetQ() string
GetQ Q Getter
func (TaobaoTbkShopGetAPIRequest) GetSort ¶ added in v1.2.0
func (r TaobaoTbkShopGetAPIRequest) GetSort() string
GetSort Sort Getter
func (TaobaoTbkShopGetAPIRequest) GetStartAuctionCount ¶ added in v1.2.0
func (r TaobaoTbkShopGetAPIRequest) GetStartAuctionCount() int64
GetStartAuctionCount StartAuctionCount Getter
func (TaobaoTbkShopGetAPIRequest) GetStartCommissionRate ¶ added in v1.2.0
func (r TaobaoTbkShopGetAPIRequest) GetStartCommissionRate() int64
GetStartCommissionRate StartCommissionRate Getter
func (TaobaoTbkShopGetAPIRequest) GetStartCredit ¶ added in v1.2.0
func (r TaobaoTbkShopGetAPIRequest) GetStartCredit() int64
GetStartCredit StartCredit Getter
func (TaobaoTbkShopGetAPIRequest) GetStartTotalAction ¶ added in v1.2.0
func (r TaobaoTbkShopGetAPIRequest) GetStartTotalAction() int64
GetStartTotalAction StartTotalAction Getter
func (*TaobaoTbkShopGetAPIRequest) SetEndAuctionCount ¶ added in v1.2.0
func (r *TaobaoTbkShopGetAPIRequest) SetEndAuctionCount(_endAuctionCount int64) error
SetEndAuctionCount is EndAuctionCount Setter 累计推广商品上限
func (*TaobaoTbkShopGetAPIRequest) SetEndCommissionRate ¶ added in v1.2.0
func (r *TaobaoTbkShopGetAPIRequest) SetEndCommissionRate(_endCommissionRate int64) error
SetEndCommissionRate is EndCommissionRate Setter 淘客佣金比率上限,1~10000
func (*TaobaoTbkShopGetAPIRequest) SetEndCredit ¶ added in v1.2.0
func (r *TaobaoTbkShopGetAPIRequest) SetEndCredit(_endCredit int64) error
SetEndCredit is EndCredit Setter 信用等级上限,1~20
func (*TaobaoTbkShopGetAPIRequest) SetEndTotalAction ¶ added in v1.2.0
func (r *TaobaoTbkShopGetAPIRequest) SetEndTotalAction(_endTotalAction int64) error
SetEndTotalAction is EndTotalAction Setter 店铺商品总数上限
func (*TaobaoTbkShopGetAPIRequest) SetFields ¶ added in v1.2.0
func (r *TaobaoTbkShopGetAPIRequest) SetFields(_fields string) error
SetFields is Fields Setter 需返回的字段列表
func (*TaobaoTbkShopGetAPIRequest) SetIsTmall ¶ added in v1.2.0
func (r *TaobaoTbkShopGetAPIRequest) SetIsTmall(_isTmall bool) error
SetIsTmall is IsTmall Setter 是否商城的店铺,设置为true表示该是属于淘宝商城的店铺,设置为false或不设置表示不判断这个属性
func (*TaobaoTbkShopGetAPIRequest) SetPageNo ¶ added in v1.2.0
func (r *TaobaoTbkShopGetAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 第几页,默认1,1~100
func (*TaobaoTbkShopGetAPIRequest) SetPageSize ¶ added in v1.2.0
func (r *TaobaoTbkShopGetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 页大小,默认20,1~100
func (*TaobaoTbkShopGetAPIRequest) SetPlatform ¶ added in v1.2.0
func (r *TaobaoTbkShopGetAPIRequest) SetPlatform(_platform int64) error
SetPlatform is Platform Setter 链接形式:1:PC,2:无线,默认:1
func (*TaobaoTbkShopGetAPIRequest) SetQ ¶ added in v1.2.0
func (r *TaobaoTbkShopGetAPIRequest) SetQ(_q string) error
SetQ is Q Setter 查询词
func (*TaobaoTbkShopGetAPIRequest) SetSort ¶ added in v1.2.0
func (r *TaobaoTbkShopGetAPIRequest) SetSort(_sort string) error
SetSort is Sort Setter 排序_des(降序),排序_asc(升序),佣金比率(commission_rate), 商品数量(auction_count),销售总数量(total_auction)
func (*TaobaoTbkShopGetAPIRequest) SetStartAuctionCount ¶ added in v1.2.0
func (r *TaobaoTbkShopGetAPIRequest) SetStartAuctionCount(_startAuctionCount int64) error
SetStartAuctionCount is StartAuctionCount Setter 累计推广商品下限
func (*TaobaoTbkShopGetAPIRequest) SetStartCommissionRate ¶ added in v1.2.0
func (r *TaobaoTbkShopGetAPIRequest) SetStartCommissionRate(_startCommissionRate int64) error
SetStartCommissionRate is StartCommissionRate Setter 淘客佣金比率下限,1~10000
func (*TaobaoTbkShopGetAPIRequest) SetStartCredit ¶ added in v1.2.0
func (r *TaobaoTbkShopGetAPIRequest) SetStartCredit(_startCredit int64) error
SetStartCredit is StartCredit Setter 信用等级下限,1~20
func (*TaobaoTbkShopGetAPIRequest) SetStartTotalAction ¶ added in v1.2.0
func (r *TaobaoTbkShopGetAPIRequest) SetStartTotalAction(_startTotalAction int64) error
SetStartTotalAction is StartTotalAction Setter 店铺商品总数下限
type TaobaoTbkShopGetAPIResponse ¶
type TaobaoTbkShopGetAPIResponse struct { model.CommonResponse TaobaoTbkShopGetAPIResponseModel }
TaobaoTbkShopGetAPIResponse 淘宝客-推广者-店铺搜索 API返回值 taobao.tbk.shop.get
淘宝客店铺查询
type TaobaoTbkShopGetAPIResponseModel ¶ added in v1.2.0
type TaobaoTbkShopGetAPIResponseModel struct { XMLName xml.Name `xml:"tbk_shop_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 淘宝客店铺 Results []NTbkShop `json:"results,omitempty" xml:"results>n_tbk_shop,omitempty"` // 搜索到符合条件的结果总数 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` }
TaobaoTbkShopGetAPIResponseModel is 淘宝客-推广者-店铺搜索 成功返回结果
type TaobaoTbkShopRecommendGetAPIRequest ¶ added in v1.2.0
type TaobaoTbkShopRecommendGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkShopRecommendGetAPIRequest 淘宝客-公用-店铺关联推荐 API请求 taobao.tbk.shop.recommend.get
入参卖家id,可推荐与此店铺相关联的相关店铺。
func NewTaobaoTbkShopRecommendGetRequest ¶
func NewTaobaoTbkShopRecommendGetRequest() *TaobaoTbkShopRecommendGetAPIRequest
NewTaobaoTbkShopRecommendGetRequest 初始化TaobaoTbkShopRecommendGetAPIRequest对象
func (TaobaoTbkShopRecommendGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTbkShopRecommendGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkShopRecommendGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTbkShopRecommendGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkShopRecommendGetAPIRequest) GetCount ¶ added in v1.2.0
func (r TaobaoTbkShopRecommendGetAPIRequest) GetCount() int64
GetCount Count Getter
func (TaobaoTbkShopRecommendGetAPIRequest) GetFields ¶ added in v1.2.0
func (r TaobaoTbkShopRecommendGetAPIRequest) GetFields() string
GetFields Fields Getter
func (TaobaoTbkShopRecommendGetAPIRequest) GetPlatform ¶ added in v1.2.0
func (r TaobaoTbkShopRecommendGetAPIRequest) GetPlatform() int64
GetPlatform Platform Getter
func (TaobaoTbkShopRecommendGetAPIRequest) GetUserId ¶ added in v1.2.0
func (r TaobaoTbkShopRecommendGetAPIRequest) GetUserId() int64
GetUserId UserId Getter
func (*TaobaoTbkShopRecommendGetAPIRequest) SetCount ¶ added in v1.2.0
func (r *TaobaoTbkShopRecommendGetAPIRequest) SetCount(_count int64) error
SetCount is Count Setter 返回数量,默认20,最大值40
func (*TaobaoTbkShopRecommendGetAPIRequest) SetFields ¶ added in v1.2.0
func (r *TaobaoTbkShopRecommendGetAPIRequest) SetFields(_fields string) error
SetFields is Fields Setter 需返回的字段列表
func (*TaobaoTbkShopRecommendGetAPIRequest) SetPlatform ¶ added in v1.2.0
func (r *TaobaoTbkShopRecommendGetAPIRequest) SetPlatform(_platform int64) error
SetPlatform is Platform Setter 链接形式:1:PC,2:无线,默认:1
func (*TaobaoTbkShopRecommendGetAPIRequest) SetUserId ¶ added in v1.2.0
func (r *TaobaoTbkShopRecommendGetAPIRequest) SetUserId(_userId int64) error
SetUserId is UserId Setter 卖家Id
type TaobaoTbkShopRecommendGetAPIResponse ¶
type TaobaoTbkShopRecommendGetAPIResponse struct { model.CommonResponse TaobaoTbkShopRecommendGetAPIResponseModel }
TaobaoTbkShopRecommendGetAPIResponse 淘宝客-公用-店铺关联推荐 API返回值 taobao.tbk.shop.recommend.get
入参卖家id,可推荐与此店铺相关联的相关店铺。
type TaobaoTbkShopRecommendGetAPIResponseModel ¶ added in v1.2.0
type TaobaoTbkShopRecommendGetAPIResponseModel struct { XMLName xml.Name `xml:"tbk_shop_recommend_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 淘宝客店铺 Results []NTbkShop `json:"results,omitempty" xml:"results>n_tbk_shop,omitempty"` }
TaobaoTbkShopRecommendGetAPIResponseModel is 淘宝客-公用-店铺关联推荐 成功返回结果
type TaobaoTbkSkuBestCouponAPIRequest ¶ added in v1.2.0
type TaobaoTbkSkuBestCouponAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkSkuBestCouponAPIRequest sku维度最优优惠券信息 API请求 taobao.tbk.sku.best.coupon
根据itemid和skuid查询最优优惠券信息
func NewTaobaoTbkSkuBestCouponRequest ¶
func NewTaobaoTbkSkuBestCouponRequest() *TaobaoTbkSkuBestCouponAPIRequest
NewTaobaoTbkSkuBestCouponRequest 初始化TaobaoTbkSkuBestCouponAPIRequest对象
func (TaobaoTbkSkuBestCouponAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTbkSkuBestCouponAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkSkuBestCouponAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTbkSkuBestCouponAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkSkuBestCouponAPIRequest) GetItemId ¶ added in v1.2.0
func (r TaobaoTbkSkuBestCouponAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoTbkSkuBestCouponAPIRequest) GetSkuId ¶ added in v1.2.0
func (r TaobaoTbkSkuBestCouponAPIRequest) GetSkuId() int64
GetSkuId SkuId Getter
func (*TaobaoTbkSkuBestCouponAPIRequest) SetItemId ¶ added in v1.2.0
func (r *TaobaoTbkSkuBestCouponAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品ID
func (*TaobaoTbkSkuBestCouponAPIRequest) SetSkuId ¶ added in v1.2.0
func (r *TaobaoTbkSkuBestCouponAPIRequest) SetSkuId(_skuId int64) error
SetSkuId is SkuId Setter 商品对应的skuId
type TaobaoTbkSkuBestCouponAPIResponse ¶
type TaobaoTbkSkuBestCouponAPIResponse struct { model.CommonResponse TaobaoTbkSkuBestCouponAPIResponseModel }
TaobaoTbkSkuBestCouponAPIResponse sku维度最优优惠券信息 API返回值 taobao.tbk.sku.best.coupon
根据itemid和skuid查询最优优惠券信息
type TaobaoTbkSkuBestCouponAPIResponseModel ¶ added in v1.2.0
type TaobaoTbkSkuBestCouponAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sku_best_coupon_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 优惠券详细信息 CouponInfo *TaobaoTbkSkuBestCouponMapData `json:"coupon_info,omitempty" xml:"coupon_info,omitempty"` }
TaobaoTbkSkuBestCouponAPIResponseModel is sku维度最优优惠券信息 成功返回结果
type TaobaoTbkSkuBestCouponMapData ¶
type TaobaoTbkSkuBestCouponMapData struct { // 优惠券过期时间13位时间戳 CouponExpireTime int64 `json:"coupon_expire_time,omitempty" xml:"coupon_expire_time,omitempty"` }
TaobaoTbkSkuBestCouponMapData 结构体
type TaobaoTbkSpreadGetAPIRequest ¶ added in v1.2.0
TaobaoTbkSpreadGetAPIRequest 淘宝客-公用-长链转短链 API请求 taobao.tbk.spread.get
输入一个原始的链接,转换得到指定的传播方式,如二维码,淘口令,短连接; 现阶段只支持短连接。
func NewTaobaoTbkSpreadGetRequest ¶
func NewTaobaoTbkSpreadGetRequest() *TaobaoTbkSpreadGetAPIRequest
NewTaobaoTbkSpreadGetRequest 初始化TaobaoTbkSpreadGetAPIRequest对象
func (TaobaoTbkSpreadGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTbkSpreadGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkSpreadGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTbkSpreadGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkSpreadGetAPIRequest) GetRequests ¶ added in v1.2.0
func (r TaobaoTbkSpreadGetAPIRequest) GetRequests() []TbkSpreadRequest
GetRequests Requests Getter
func (*TaobaoTbkSpreadGetAPIRequest) SetRequests ¶ added in v1.2.0
func (r *TaobaoTbkSpreadGetAPIRequest) SetRequests(_requests []TbkSpreadRequest) error
SetRequests is Requests Setter 请求列表,内部包含多个url
type TaobaoTbkSpreadGetAPIResponse ¶
type TaobaoTbkSpreadGetAPIResponse struct { model.CommonResponse TaobaoTbkSpreadGetAPIResponseModel }
TaobaoTbkSpreadGetAPIResponse 淘宝客-公用-长链转短链 API返回值 taobao.tbk.spread.get
输入一个原始的链接,转换得到指定的传播方式,如二维码,淘口令,短连接; 现阶段只支持短连接。
type TaobaoTbkSpreadGetAPIResponseModel ¶ added in v1.2.0
type TaobaoTbkSpreadGetAPIResponseModel struct { XMLName xml.Name `xml:"tbk_spread_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 传播形式对象列表 Results []TbkSpread `json:"results,omitempty" xml:"results>tbk_spread,omitempty"` // totalResults TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` }
TaobaoTbkSpreadGetAPIResponseModel is 淘宝客-公用-长链转短链 成功返回结果
type TaobaoTbkTpwdCreateAPIRequest ¶ added in v1.2.0
type TaobaoTbkTpwdCreateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTbkTpwdCreateAPIRequest 淘宝客-公用-淘口令生成 API请求 taobao.tbk.tpwd.create
提供淘口令生成接口。提交需要生成淘口令的内容、logo、url等参数,生成淘口令,其中关键信息为¥SADadW¥,后续可基于淘口令进行文案包装组装用于传播。
func NewTaobaoTbkTpwdCreateRequest ¶
func NewTaobaoTbkTpwdCreateRequest() *TaobaoTbkTpwdCreateAPIRequest
NewTaobaoTbkTpwdCreateRequest 初始化TaobaoTbkTpwdCreateAPIRequest对象
func (TaobaoTbkTpwdCreateAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTbkTpwdCreateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTbkTpwdCreateAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTbkTpwdCreateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTbkTpwdCreateAPIRequest) GetExt ¶ added in v1.2.0
func (r TaobaoTbkTpwdCreateAPIRequest) GetExt() string
GetExt Ext Getter
func (TaobaoTbkTpwdCreateAPIRequest) GetLogo ¶ added in v1.2.0
func (r TaobaoTbkTpwdCreateAPIRequest) GetLogo() string
GetLogo Logo Getter
func (TaobaoTbkTpwdCreateAPIRequest) GetText ¶ added in v1.2.0
func (r TaobaoTbkTpwdCreateAPIRequest) GetText() string
GetText Text Getter
func (TaobaoTbkTpwdCreateAPIRequest) GetUrl ¶ added in v1.2.0
func (r TaobaoTbkTpwdCreateAPIRequest) GetUrl() string
GetUrl Url Getter
func (TaobaoTbkTpwdCreateAPIRequest) GetUserId ¶ added in v1.2.0
func (r TaobaoTbkTpwdCreateAPIRequest) GetUserId() string
GetUserId UserId Getter
func (*TaobaoTbkTpwdCreateAPIRequest) SetExt ¶ added in v1.2.0
func (r *TaobaoTbkTpwdCreateAPIRequest) SetExt(_ext string) error
SetExt is Ext Setter 兼容旧版本api参数,无实际作用
func (*TaobaoTbkTpwdCreateAPIRequest) SetLogo ¶ added in v1.2.0
func (r *TaobaoTbkTpwdCreateAPIRequest) SetLogo(_logo string) error
SetLogo is Logo Setter 兼容旧版本api参数,无实际作用
func (*TaobaoTbkTpwdCreateAPIRequest) SetText ¶ added in v1.2.0
func (r *TaobaoTbkTpwdCreateAPIRequest) SetText(_text string) error
SetText is Text Setter 兼容旧版本api参数,无实际作用
func (*TaobaoTbkTpwdCreateAPIRequest) SetUrl ¶ added in v1.2.0
func (r *TaobaoTbkTpwdCreateAPIRequest) SetUrl(_url string) error
SetUrl is Url Setter 联盟官方渠道获取的淘客推广链接,请注意,不要随意篡改官方生成的链接,否则可能无法生成淘口令
func (*TaobaoTbkTpwdCreateAPIRequest) SetUserId ¶ added in v1.2.0
func (r *TaobaoTbkTpwdCreateAPIRequest) SetUserId(_userId string) error
SetUserId is UserId Setter 兼容旧版本api参数,无实际作用
type TaobaoTbkTpwdCreateAPIResponse ¶
type TaobaoTbkTpwdCreateAPIResponse struct { model.CommonResponse TaobaoTbkTpwdCreateAPIResponseModel }
TaobaoTbkTpwdCreateAPIResponse 淘宝客-公用-淘口令生成 API返回值 taobao.tbk.tpwd.create
提供淘口令生成接口。提交需要生成淘口令的内容、logo、url等参数,生成淘口令,其中关键信息为¥SADadW¥,后续可基于淘口令进行文案包装组装用于传播。
type TaobaoTbkTpwdCreateAPIResponseModel ¶ added in v1.2.0
type TaobaoTbkTpwdCreateAPIResponseModel struct { XMLName xml.Name `xml:"tbk_tpwd_create_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果对象 Data *TaobaoTbkTpwdCreateMapData `json:"data,omitempty" xml:"data,omitempty"` }
TaobaoTbkTpwdCreateAPIResponseModel is 淘宝客-公用-淘口令生成 成功返回结果
type TaobaoTbkTpwdCreateMapData ¶
type TaobaoTbkTpwdCreateMapData struct { // 非苹果ios14以上版本的设备(即其他ios版本、Android系统等),可以用此淘口令正常在复制到手淘打开 PasswordSimple string `json:"password_simple,omitempty" xml:"password_simple,omitempty"` // 针对苹果ios14及以上版本的苹果设备,手淘将按照示例值信息格式读取淘口令(需包含:数字+羊角符+url,识别规则可能根据ios情况变更)。如需更改淘口令内文案、url等内容,请务必先验证更改后的淘口令在手淘可被识别打开! Model string `json:"model,omitempty" xml:"model,omitempty"` }
TaobaoTbkTpwdCreateMapData 结构体
type TbkSpread ¶
type TbkSpread struct { // 传播形式, 目前只支持短链接 Content string `json:"content,omitempty" xml:"content,omitempty"` // 调用错误信息;由于是批量接口,请重点关注每条请求返回的结果,如果非OK,则说明该结果对应的content不正常,请酌情处理; ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"` }
TbkSpread 结构体
type TbkSpreadRequest ¶
type TbkSpreadRequest struct { // 原始url, 只支持uland.taobao.com,s.click.taobao.com, ai.taobao.com,temai.taobao.com的域名转换,否则判错 Url string `json:"url,omitempty" xml:"url,omitempty"` }
TbkSpreadRequest 结构体
type TopApiAfOrderOption ¶
type TopApiAfOrderOption struct { // 查询开始时间,以taoke订单创建时间开始 StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"` // 渠道关系id RelationId int64 `json:"relation_id,omitempty" xml:"relation_id,omitempty"` // 子订单号 TbTradeId int64 `json:"tb_trade_id,omitempty" xml:"tb_trade_id,omitempty"` // 此参数不再使用,请勿入参 TbTradeParentId int64 `json:"tb_trade_parent_id,omitempty" xml:"tb_trade_parent_id,omitempty"` // pagesize PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // pageNo PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"` // 查询时间跨度,不超过30天,单位是天 Span int64 `json:"span,omitempty" xml:"span,omitempty"` // 此参数不再使用,请勿入参 SpecialId int64 `json:"special_id,omitempty" xml:"special_id,omitempty"` // pid中的第三段,adzoneId AdzoneId int64 `json:"adzone_id,omitempty" xml:"adzone_id,omitempty"` // pid中的第二段,siteId SiteId int64 `json:"site_id,omitempty" xml:"site_id,omitempty"` // 此参数不再使用,请勿入参 ViolationType int64 `json:"violation_type,omitempty" xml:"violation_type,omitempty"` // 此参数不再使用,请勿入参 PunishStatus int64 `json:"punish_status,omitempty" xml:"punish_status,omitempty"` }
TopApiAfOrderOption 结构体
type TopApiRefundRptOption ¶ added in v1.2.5
type TopApiRefundRptOption struct { // 开始时间 StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"` // pagesize PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // 1-维权发起时间,2-订单结算时间(正向订单),3-维权完成时间,4-订单创建时间,5-订单更新时间 SearchType int64 `json:"search_type,omitempty" xml:"search_type,omitempty"` // 1 表示2方,2表示3方,0表示不限 RefundType int64 `json:"refund_type,omitempty" xml:"refund_type,omitempty"` // pagenumber PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"` // 1代表渠道关系id,2代表会员关系id BizType int64 `json:"biz_type,omitempty" xml:"biz_type,omitempty"` }
TopApiRefundRptOption 结构体
type TopNInfoDto ¶ added in v1.2.0
type TopNInfoDto struct { // 百亿补贴商品特征标签,eg.今日发货、晚发补偿、限购一件等 BybtItemTags []string `json:"bybt_item_tags,omitempty" xml:"bybt_item_tags>string,omitempty"` // 前N件佣金结束时间 TopnEndTime string `json:"topn_end_time,omitempty" xml:"topn_end_time,omitempty"` // 前N件佣金开始时间 TopnStartTime string `json:"topn_start_time,omitempty" xml:"topn_start_time,omitempty"` // 前N件佣金率 TopnRate string `json:"topn_rate,omitempty" xml:"topn_rate,omitempty"` // 百亿补贴品牌logo BybtBrandLogo string `json:"bybt_brand_logo,omitempty" xml:"bybt_brand_logo,omitempty"` // 百亿补贴白底图 BybtPicUrl string `json:"bybt_pic_url,omitempty" xml:"bybt_pic_url,omitempty"` // 百亿补贴专属券面额,仅限百亿补贴场景透出 BybtCouponAmount string `json:"bybt_coupon_amount,omitempty" xml:"bybt_coupon_amount,omitempty"` // 百亿补贴页面实时价 BybtShowPrice string `json:"bybt_show_price,omitempty" xml:"bybt_show_price,omitempty"` // 全网对比参考价格 BybtLowestPrice string `json:"bybt_lowest_price,omitempty" xml:"bybt_lowest_price,omitempty"` // 商品的百亿补贴开始时间 BybtEndTime string `json:"bybt_end_time,omitempty" xml:"bybt_end_time,omitempty"` // 商品的百亿补贴结束时间 BybtStartTime string `json:"bybt_start_time,omitempty" xml:"bybt_start_time,omitempty"` // 前N件剩余库存 TopnQuantity int64 `json:"topn_quantity,omitempty" xml:"topn_quantity,omitempty"` // 前N件初始总库存 TopnTotalCount int64 `json:"topn_total_count,omitempty" xml:"topn_total_count,omitempty"` }
TopNInfoDto 结构体
type Ucrowdrankitems ¶
type Ucrowdrankitems struct { // 物料评估-商品ID,material_id=41377时必填 ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"` // 物料评估-商品佣金率,如:1234表示12.34%,material_id=41377时选填 Commirate int64 `json:"commirate,omitempty" xml:"commirate,omitempty"` // 物料评估-商品价格,单位:元,material_id=41377时选填 Price *BigDecimal `json:"price,omitempty" xml:"price,omitempty"` }
Ucrowdrankitems 结构体
type UpdateStatusResult ¶ added in v1.2.5
type UpdateStatusResult struct { // 暂停成功 UpdateSuccess bool `json:"update_success,omitempty" xml:"update_success,omitempty"` }
UpdateStatusResult 结构体
type UserRuleInfo ¶
type UserRuleInfo struct { // 用户对应的商品详细信息 ItemList []TaobaoTbkCartCouponExpireUserQueryMapData `json:"item_list,omitempty" xml:"item_list>taobao_tbk_cart_coupon_expire_user_query_map_data,omitempty"` // 用户在TOP上的openId OpenId string `json:"open_id,omitempty" xml:"open_id,omitempty"` // 每条记录离线任务生成,代表当时离线任务的时间戳 Version int64 `json:"version,omitempty" xml:"version,omitempty"` }
UserRuleInfo 结构体
type VegasCpaReportDto ¶ added in v1.2.5
type VegasCpaReportDto struct { // 奖励金额;按入参是预估/结算,区分获得金额为预估or可结算结果; RewardAmount string `json:"reward_amount,omitempty" xml:"reward_amount,omitempty"` // 统计日期(统计活动期内,截止 统计日期 的数据) BizDate string `json:"biz_date,omitempty" xml:"biz_date,omitempty"` // 媒体三段式id,当查询数据为pid维度时返回该字段 Pid string `json:"pid,omitempty" xml:"pid,omitempty"` // 符合奖励要求的累计用户数;按入参是预估/结算,区分用户数为预估or可结算结果; Union30dLxUv int64 `json:"union_30d_lx_uv,omitempty" xml:"union_30d_lx_uv,omitempty"` // rid,当查询数据为rid维度时返回该字段 RelationId int64 `json:"relation_id,omitempty" xml:"relation_id,omitempty"` // 数据类型:1预估 2结算 QueryType int64 `json:"query_type,omitempty" xml:"query_type,omitempty"` }
VegasCpaReportDto 结构体
type WordMapData ¶
type WordMapData struct { // 链接-商品相关关联词落地页地址 Url string `json:"url,omitempty" xml:"url,omitempty"` // 商品相关的关联词 Word string `json:"word,omitempty" xml:"word,omitempty"` }
WordMapData 结构体
type Youjiacouponinfo ¶
type Youjiacouponinfo struct { // 有价券商品id ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"` // 商品链接 Url string `json:"url,omitempty" xml:"url,omitempty"` }
Youjiacouponinfo 结构体
Source Files ¶
- BigDecimal.go
- BybtInfoDto.go
- CrowdDto.go
- DataMap.go
- DwsUnionAppDto.go
- Extra.go
- FavoritesDetail.go
- FavoritesInfo.go
- InstanceDto.go
- MaifanPromotionDto.go
- MaterialDto.go
- MiniProgramDto.go
- NTbkItem.go
- NTbkShop.go
- OrderData.go
- OrderPage.go
- PageResult.go
- PromotionExtend.go
- PromotionList.go
- PublisherOrderDto.go
- RecommendItemList.go
- RegisterInfoDto.go
- RightsInstanceCreateResult.go
- RightsSendRelationRptDto.go
- RightsSendRptDto.go
- ServiceFeeDto.go
- StepRateDto.go
- TaobaoTbkActivityInfoGetAPIRequest.go
- TaobaoTbkActivityInfoGetAPIResponse.go
- TaobaoTbkActivityInfoGetData.go
- TaobaoTbkCartCouponExpireUserQueryAPIRequest.go
- TaobaoTbkCartCouponExpireUserQueryAPIResponse.go
- TaobaoTbkCartCouponExpireUserQueryMapData.go
- TaobaoTbkCouponGetAPIRequest.go
- TaobaoTbkCouponGetAPIResponse.go
- TaobaoTbkCouponGetMapData.go
- TaobaoTbkDgCpaActivityDetailAPIRequest.go
- TaobaoTbkDgCpaActivityDetailAPIResponse.go
- TaobaoTbkDgCpaActivityDetailResult.go
- TaobaoTbkDgCpaActivityDetailResults.go
- TaobaoTbkDgCpaActivityReportAPIRequest.go
- TaobaoTbkDgCpaActivityReportAPIResponse.go
- TaobaoTbkDgCpaActivityReportRpcResult.go
- TaobaoTbkDgMaterialOptionalAPIRequest.go
- TaobaoTbkDgMaterialOptionalAPIResponse.go
- TaobaoTbkDgMaterialOptionalMapData.go
- TaobaoTbkDgMaterialTemporaryOptionalAPIRequest.go
- TaobaoTbkDgMaterialTemporaryOptionalAPIResponse.go
- TaobaoTbkDgMaterialTemporaryOptionalMapData.go
- TaobaoTbkDgNewuserOrderGetAPIRequest.go
- TaobaoTbkDgNewuserOrderGetAPIResponse.go
- TaobaoTbkDgNewuserOrderGetData.go
- TaobaoTbkDgNewuserOrderGetMapData.go
- TaobaoTbkDgNewuserOrderGetResults.go
- TaobaoTbkDgNewuserOrderSumAPIRequest.go
- TaobaoTbkDgNewuserOrderSumAPIResponse.go
- TaobaoTbkDgNewuserOrderSumData.go
- TaobaoTbkDgOptimusMaterialAPIRequest.go
- TaobaoTbkDgOptimusMaterialAPIResponse.go
- TaobaoTbkDgOptimusMaterialMapData.go
- TaobaoTbkDgOptimusPromotionAPIRequest.go
- TaobaoTbkDgOptimusPromotionAPIResponse.go
- TaobaoTbkDgOptimusPromotionMapData.go
- TaobaoTbkDgPunishOrderGetAPIRequest.go
- TaobaoTbkDgPunishOrderGetAPIResponse.go
- TaobaoTbkDgPunishOrderGetResult.go
- TaobaoTbkDgPunishOrderGetRpcResult.go
- TaobaoTbkDgTpwdReportGetAPIRequest.go
- TaobaoTbkDgTpwdReportGetAPIResponse.go
- TaobaoTbkDgTpwdReportGetMapData.go
- TaobaoTbkDgTpwdRiskReportAPIRequest.go
- TaobaoTbkDgTpwdRiskReportAPIResponse.go
- TaobaoTbkDgTpwdRiskReportResult.go
- TaobaoTbkDgVegasSendReportAPIRequest.go
- TaobaoTbkDgVegasSendReportAPIResponse.go
- TaobaoTbkDgVegasSendReportResult.go
- TaobaoTbkDgVegasSendStatusAPIRequest.go
- TaobaoTbkDgVegasSendStatusAPIResponse.go
- TaobaoTbkDgVegasSendStatusData.go
- TaobaoTbkDgVegasSendStatusMapData.go
- TaobaoTbkDgVegasTljCreateAPIRequest.go
- TaobaoTbkDgVegasTljCreateAPIResponse.go
- TaobaoTbkDgVegasTljCreateResult.go
- TaobaoTbkDgVegasTljReportAPIRequest.go
- TaobaoTbkDgVegasTljReportAPIResponse.go
- TaobaoTbkDgVegasTljStopAPIRequest.go
- TaobaoTbkDgVegasTljStopAPIResponse.go
- TaobaoTbkDgVegasTljTemporaryCreateAPIRequest.go
- TaobaoTbkDgVegasTljTemporaryCreateAPIResponse.go
- TaobaoTbkDgVegasTljTemporaryCreateResult.go
- TaobaoTbkItemInfoGetAPIRequest.go
- TaobaoTbkItemInfoGetAPIResponse.go
- TaobaoTbkItemInfoTemporaryGetAPIRequest.go
- TaobaoTbkItemInfoTemporaryGetAPIResponse.go
- TaobaoTbkOrderDetailsGetAPIRequest.go
- TaobaoTbkOrderDetailsGetAPIResponse.go
- TaobaoTbkPrivilegeGetAPIRequest.go
- TaobaoTbkPrivilegeGetAPIResponse.go
- TaobaoTbkPrivilegeGetRpcResult.go
- TaobaoTbkPrivilegeTemporaryGetAPIRequest.go
- TaobaoTbkPrivilegeTemporaryGetAPIResponse.go
- TaobaoTbkPrivilegeTemporaryGetRpcResult.go
- TaobaoTbkScActivityInfoGetAPIRequest.go
- TaobaoTbkScActivityInfoGetAPIResponse.go
- TaobaoTbkScActivityInfoGetData.go
- TaobaoTbkScInvitecodeGetAPIRequest.go
- TaobaoTbkScInvitecodeGetAPIResponse.go
- TaobaoTbkScInvitecodeGetData.go
- TaobaoTbkScMaterialOptionalAPIRequest.go
- TaobaoTbkScMaterialOptionalAPIResponse.go
- TaobaoTbkScMaterialOptionalMapData.go
- TaobaoTbkScMaterialTemporaryOptionalAPIRequest.go
- TaobaoTbkScMaterialTemporaryOptionalAPIResponse.go
- TaobaoTbkScMaterialTemporaryOptionalMapData.go
- TaobaoTbkScOptimusMaterialAPIRequest.go
- TaobaoTbkScOptimusMaterialAPIResponse.go
- TaobaoTbkScOptimusMaterialMapData.go
- TaobaoTbkScOptimusPromotionAPIRequest.go
- TaobaoTbkScOptimusPromotionAPIResponse.go
- TaobaoTbkScOptimusPromotionMapData.go
- TaobaoTbkScOrderDetailsGetAPIRequest.go
- TaobaoTbkScOrderDetailsGetAPIResponse.go
- TaobaoTbkScOrderDetailsTemporaryGetAPIRequest.go
- TaobaoTbkScOrderDetailsTemporaryGetAPIResponse.go
- TaobaoTbkScPublisherInfoGetAPIRequest.go
- TaobaoTbkScPublisherInfoGetAPIResponse.go
- TaobaoTbkScPublisherInfoGetData.go
- TaobaoTbkScPublisherInfoGetMapData.go
- TaobaoTbkScPublisherInfoSaveAPIRequest.go
- TaobaoTbkScPublisherInfoSaveAPIResponse.go
- TaobaoTbkScPublisherInfoSaveData.go
- TaobaoTbkScPunishOrderGetAPIRequest.go
- TaobaoTbkScPunishOrderGetAPIResponse.go
- TaobaoTbkScPunishOrderGetResult.go
- TaobaoTbkScPunishOrderGetRpcResult.go
- TaobaoTbkScRelationRecordAPIRequest.go
- TaobaoTbkScRelationRecordAPIResponse.go
- TaobaoTbkScRelationRecordMapData.go
- TaobaoTbkScRelationRefundAPIRequest.go
- TaobaoTbkScRelationRefundAPIResponse.go
- TaobaoTbkScRelationRefundResult.go
- TaobaoTbkScRelationRefundRpcResult.go
- TaobaoTbkScShopConvertAPIRequest.go
- TaobaoTbkScShopConvertAPIResponse.go
- TaobaoTbkScTpwdConvertAPIRequest.go
- TaobaoTbkScTpwdConvertAPIResponse.go
- TaobaoTbkScTpwdConvertMapData.go
- TaobaoTbkScTpwdTemporaryConvertAPIRequest.go
- TaobaoTbkScTpwdTemporaryConvertAPIResponse.go
- TaobaoTbkScUcrowdCreateAPIRequest.go
- TaobaoTbkScUcrowdCreateAPIResponse.go
- TaobaoTbkScUcrowdCreateRpcResult.go
- TaobaoTbkScUcrowdDeleteAPIRequest.go
- TaobaoTbkScUcrowdDeleteAPIResponse.go
- TaobaoTbkScUcrowdDeleteRpcResult.go
- TaobaoTbkScUcrowdGetAPIRequest.go
- TaobaoTbkScUcrowdGetAPIResponse.go
- TaobaoTbkScUcrowdGetRpcResult.go
- TaobaoTbkScUcrowdMemberAddAPIRequest.go
- TaobaoTbkScUcrowdMemberAddAPIResponse.go
- TaobaoTbkScUcrowdMemberAddRpcResult.go
- TaobaoTbkScUcrowdReportGetAPIRequest.go
- TaobaoTbkScUcrowdReportGetAPIResponse.go
- TaobaoTbkScUcrowdReportGetRpcResult.go
- TaobaoTbkScVegasSendReportAPIRequest.go
- TaobaoTbkScVegasSendReportAPIResponse.go
- TaobaoTbkScVegasSendReportResult.go
- TaobaoTbkScVegasSendStatusAPIRequest.go
- TaobaoTbkScVegasSendStatusAPIResponse.go
- TaobaoTbkScVegasSendStatusData.go
- TaobaoTbkScVegasSendStatusMapData.go
- TaobaoTbkShopGetAPIRequest.go
- TaobaoTbkShopGetAPIResponse.go
- TaobaoTbkShopRecommendGetAPIRequest.go
- TaobaoTbkShopRecommendGetAPIResponse.go
- TaobaoTbkSkuBestCouponAPIRequest.go
- TaobaoTbkSkuBestCouponAPIResponse.go
- TaobaoTbkSkuBestCouponMapData.go
- TaobaoTbkSpreadGetAPIRequest.go
- TaobaoTbkSpreadGetAPIResponse.go
- TaobaoTbkTpwdCreateAPIRequest.go
- TaobaoTbkTpwdCreateAPIResponse.go
- TaobaoTbkTpwdCreateMapData.go
- TbkSpread.go
- TbkSpreadRequest.go
- TopApiAfOrderOption.go
- TopApiRefundRptOption.go
- TopNInfoDto.go
- Ucrowdrankitems.go
- UpdateStatusResult.go
- UserRuleInfo.go
- VegasCpaReportDto.go
- WordMapData.go
- Youjiacouponinfo.go
- doc.go