Documentation ¶
Overview ¶
Package tools 工具相关API models
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdQuality ¶
type AdQuality struct { // AdID 计划ID AdID uint64 `json:"ad_id,omitempty"` // QualityScore 计划综合质量得分 QualityScore float64 `json:"quality_score,omitempty"` // CtrScore 创意质量得分 CtrScore float64 `json:"ctr_score,omitempty"` // WebScore 落地页响应得分 WebScore float64 `json:"web_score,omitempty"` // CvrScore 落地页素材得分 CvrScore float64 `json:"cvr_score,omitempty"` }
AdQuality 广告质量度
type AdQualityGetRequest ¶
type AdQualityGetRequest struct { // AdvertiserID 广告主id AdvertiserID uint64 `json:"advertiser_id,omitempty"` // AdIDs 广告id列表 AdIDs []uint64 `json:"ad_ids,omitempty"` }
AdQualityGetRequest 查询广告质量度 API Request
func (AdQualityGetRequest) Encode ¶
func (r AdQualityGetRequest) Encode() string
Encode implement GetRequest interface
type AdQualityGetResponse ¶
type AdQualityGetResponse struct { model.BaseResponse // Data json返回值 Data *AdQualityGetResponseData `json:"data,omitempty"` }
AdQualityGetResponse 查询广告质量度 API Response
type AdQualityGetResponseData ¶
type AdQualityGetResponseData struct {
List []AdQuality `json:"list,omitempty"`
}
AdQualityGetResponseData json返回值
type AdStatExtraInfo ¶
type AdStatExtraInfo struct { // AdID 计划ID AdID uint64 `json:"ad_id,omitempty"` // LearningPhrase 学习期状态 LearningPhrase enum.LearningPhrase `json:"learning_phrase,omitempty"` }
AdStatExtraInfo 广告计划学习期
type AdStatExtraInfoGetRequest ¶
type AdStatExtraInfoGetRequest struct { // AdvertiserID 广告主id AdvertiserID uint64 `json:"advertiser_id,omitempty"` // AdIDs 广告id列表, 最多传100个广告计划id AdIDs []uint64 `json:"ad_ids,omitempty"` }
AdStatExtraInfoGetRequest 查询广告计划学习期状态 API Request
func (AdStatExtraInfoGetRequest) Encode ¶
func (r AdStatExtraInfoGetRequest) Encode() string
Encode implement GetRequest interface
type AdStatExtraInfoGetResponse ¶
type AdStatExtraInfoGetResponse struct { model.BaseResponse // Data json返回值 Data *AdStatExtraInfoGetResponseData `json:"data,omitempty"` }
AdStatExtraInfoGetResponse 查询广告计划学习期状态 API Request
type AdStatExtraInfoGetResponseData ¶
type AdStatExtraInfoGetResponseData struct {
List []AdStatExtraInfo `json:"list,omitempty"`
}
AdStatExtraInfoGetResponseData json返回值
Click to show internal directories.
Click to hide internal directories.