Documentation ¶
Overview ¶
Package tools 工具相关API models
Index ¶
- type AdQuality
- type AdQualityGetRequest
- type AdQualityGetResponse
- type AdQualityGetResponseData
- type AdStatExtraInfo
- type AdStatExtraInfoGetRequest
- type AdStatExtraInfoGetResponse
- type EstimatedPrice
- type EstimatedPriceGetRequest
- type EstimatedPriceGetResponse
- type Industry
- type IndustryGetRequest
- type IndustryGetResponse
- type Region
- type RegionGetRequest
- type RegionGetResponse
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"` // LearningPhase 学习期状态 LearningPhase enum.LearningPhase `json:"learning_phase,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 []AdStatExtraInfo `json:"data,omitempty"` }
AdStatExtraInfoGetResponse 查询广告计划学习期状态 API Request
type EstimatedPrice ¶ added in v1.3.0
type EstimatedPrice struct { // UpperBound 建议出价上界,单位为元 UpperBound float64 `json:"upper_bound,omitempty"` // LowerBound 建议出价下界,单位为元 LowerBound float64 `json:"lower_bound,omitempty"` // CpcPrice 回填建议出价,单位为元 CpcPrice float64 `json:"cpc_price,omitempty"` }
EstimatedPrice 预估点击成本
type EstimatedPriceGetRequest ¶ added in v1.3.0
type EstimatedPriceGetRequest struct { // AdvertiserID 广告主ID AdvertiserID uint64 `json:"advertiser_id,omitempty"` }
EstimatedPriceGet 获取预估点击成本 API Request
func (EstimatedPriceGetRequest) Encode ¶ added in v1.3.0
func (r EstimatedPriceGetRequest) Encode() string
Encode implement GetRequest interface
type EstimatedPriceGetResponse ¶ added in v1.3.0
type EstimatedPriceGetResponse struct { model.BaseResponse // Data json返回值 Data *EstimatedPrice `json:"data,omitempty"` }
EstimatedPriceGetResponse 获取预估点击成本 API Response
type Industry ¶ added in v1.3.0
type Industry struct { // IndustryID 行业ID IndustryID uint64 `json:"industry_id,omitempty"` // IndustryName 名称 IndustryName string `json:"industry_name,omitempty"` // Level 所在级别,1:一级行业、2:二级行业、3:三级行业 Level int `json:"level,omitempty"` // FirstIndustryID 该行业的一级行业ID FirstIndustryID uint64 `json:"first_industry_id,omitempty"` // FirstIndustryName 该行业的一级行业名称 FirstIndustryName string `json:"first_industry_name,omitempty"` // SecondIndustryID 该行业的二级行业ID SecondIndustryID uint64 `json:"second_industry_id,omitempty"` // SecondIndustryName 该行业的二级行业名称 SecondIndustryName string `json:"second_industry_name,omitempty"` // ThirdIndustryID 该行业的三级行业ID ThirdIndustryID uint64 `json:"third_industry_id,omitempty"` // ThirdIndustryName 该行业的三级行业名称 ThirdIndustryName string `json:"third_industry_name,omitempty"` }
Industry 行业
type IndustryGetRequest ¶ added in v1.3.0
type IndustryGetRequest struct { // Level 只获取某级别数据,1:第一级,2:第二级,3:第三级,默认都返回 Level int `json:"level,omitempty"` // Type 可选值:"ADVERTISER","AGENT","ADVERTISER"为原有广告3.0行业, "AGENT"为代理商行业获取,代理商行业level都为1 Type string `json:"type,omitempty"` }
IndustryGetRequest 获取行业列表 API Request
func (IndustryGetRequest) Encode ¶ added in v1.3.0
func (r IndustryGetRequest) Encode() string
Encode implement GetRequest interface
type IndustryGetResponse ¶ added in v1.3.0
type IndustryGetResponse struct { model.BaseResponse // Data json返回值 Data struct { List []Industry `json:"list,omitempty"` } `json:"data,omitempty"` }
IndustryGetResponse 获取行业列表 API Response
type Region ¶ added in v1.3.0
type Region struct { // ID ID uint64 `json:"id,omitempty"` // Name 名称 Name string `json:"name,omitempty"` // ParentID 父级id ParentID uint64 `json:"parent_id,omitempty"` // RegionLevel 地域所在层级 RegionLevel string `json:"region_level,omitempty"` }
Region 地域
type RegionGetRequest ¶ added in v1.3.0
type RegionGetRequest struct { // RegionType 地域类型,目前只支持:BUSINESS_DISTRICT(商圈);允许值:"BUSINESS_DISTRICT" RegionType string `json:"region_type,omitempty"` // RegionLevel 只获取某层级数据,详见【附录-地域层级】 RegionLevel string `json:"region_level,omitempty"` }
RegionGetRequest 获取地域列表 API Request
func (RegionGetRequest) Encode ¶ added in v1.3.0
func (r RegionGetRequest) Encode() string
Encode implement GetRequest interface
type RegionGetResponse ¶ added in v1.3.0
type RegionGetResponse struct { model.BaseResponse // Data json返回值 Data struct { List []Region `json:"list,omitempty"` } `json:"data,omitempty"` }
RegionGetResponse 获取地域列表 API Response
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package adraise 一键起量相关API
|
Package adraise 一键起量相关API |
Package diagnosis 获取计划诊断信息
|
Package diagnosis 获取计划诊断信息 |
Package event 资产 - 事件管理 相关API models
|
Package event 资产 - 事件管理 相关API models |
Package interestaction 行为兴趣关键词管理
|
Package interestaction 行为兴趣关键词管理 |
Package log 工具-查询工具-日志查询API models
|
Package log 工具-查询工具-日志查询API models |
Package thirdsite 第三方落地页管理API models
|
Package thirdsite 第三方落地页管理API models |