Documentation ¶
Index ¶
- type CommonRecommendRequest
- type CommonRecommendResponse
- type CommonRecommendResult
- type IndustryTaxonomyAttributeRequest
- type IndustryTaxonomyAttributeResponse
- type IndustryTaxonomyAttributeResult
- type IndustryTaxonomyRequest
- type IndustryTaxonomyResponse
- type IndustryTaxonomyResult
- type Taxonomy
- type TaxonomyAttribute
- type Word
- type WordBag
- type WordBagListRequest
- type WordBagListResponse
- type WordBagListResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonRecommendRequest ¶
type CommonRecommendRequest struct { // RequestType 推词类型 // note:智能推词-笔记推词industry:行业推词search:以词推词session:上下游推词 RequestType enum.KeywordRecommendRequestType `json:"request_type,omitempty"` // Keyword 以词推词(search)、上下游推词(session)必填 Keyword string `json:"keyword,omitempty"` // TaxonomyID 行业id,通过/api/open/jg/keyword/industry/taxonomy接口获取,行业推词下必传 TaxonomyID string `json:"taxonomy_id,omitempty"` // AttributeList 行业属性列表,通过/api/open/jg/keyword/industry/taxonomy/attribute接口获取 AttributeList string `json:"attribute_list,omitempty"` // AttributeNameList 行业属性名称列表,通过/api/open/jg/keyword/industry/taxonomy/attribute接口获取 AttributeNameList string `json:"attribute_name_list,omitempty"` // RecommendReasonFilter 智能推词-笔记推词:高点击行业推词:高点击以词推词:高点击上下游推词:上游、下游 RecommendReasionFilter []string `json:"recommend_reason_filter,omitempty"` // ItemIDs 笔记ids,智能推词-笔记推词必传 ItemIDs []string `json:"item_ids,omitempty"` // AdvertiserID 广告主id AdvertiserID uint64 `json:"advertiser_id,omitempty"` // PromotionTarget 推广目标 // 智能推词-笔记推词必传 // 1: 笔记 // 2: 商品 // 7: 自由链接 // 9: 落地页 // 18: 直播间 PromotionTarget int `json:"promotion_target,omitempty"` // Rank 排序 1:pv降序 2:pv升序 3:竞争指数降序 4:竞争指数升序 Rank int `json:"rank,omitempty"` }
CommonRecommendRequest 定向推词-以词推词 API Request
func (CommonRecommendRequest) Encode ¶
func (r CommonRecommendRequest) Encode() []byte
Encode implements PostRequest interface
type CommonRecommendResponse ¶
type CommonRecommendResponse struct { Data *CommonRecommendResult `json:"data,omitempty"` model.BaseResponse }
CommonRecommendResponse 定向推词-以词推词 API Response
type CommonRecommendResult ¶
type IndustryTaxonomyAttributeRequest ¶
type IndustryTaxonomyAttributeRequest struct { // TaxomonyID 行业类目id,通过/api/open/jg/keyword/industry/taxonomy获取 TaxomonyID string `json:"taxonomy_id,omitempty"` // AdvertiserID 广告主id AdvertiserID uint64 `json:"advertiser_id,omitempty"` }
IndustryTaxonomyAttributeRequest 行业类目属性 API Request
func (IndustryTaxonomyAttributeRequest) Encode ¶
func (r IndustryTaxonomyAttributeRequest) Encode() []byte
Encode implements PostRequest interface
type IndustryTaxonomyAttributeResponse ¶
type IndustryTaxonomyAttributeResponse struct { Data *IndustryTaxonomyAttributeResult `json:"data,omitempty"` model.BaseResponse }
IndustryTaxonomyAttributeResponse 行业类目属性 API Response
type IndustryTaxonomyAttributeResult ¶
type IndustryTaxonomyAttributeResult struct { // List 行业类目属性 List []*TaxonomyAttribute `json:"taxonomy_attribute_dtos,omitempty"` }
type IndustryTaxonomyRequest ¶
type IndustryTaxonomyRequest struct { // AdvertiserID 广告主id AdvertiserID uint64 `json:"advertiser_id,omitempty"` }
IndustryTaxonomyRequest 行业类目 API Request
func (IndustryTaxonomyRequest) Encode ¶
func (r IndustryTaxonomyRequest) Encode() []byte
Encode implements PostRequest interface
type IndustryTaxonomyResponse ¶
type IndustryTaxonomyResponse struct { Data *IndustryTaxonomyResult `json:"data,omitempty"` model.BaseResponse }
IndustryTaxonomyResponse 行业类目 API Response
type IndustryTaxonomyResult ¶
type Taxonomy ¶
type Taxonomy struct { // TaxonomyID 行业id TaxonomyID string `json:"taxonomy_id,omitempty"` // TaxonomyName 行业名称 TaxonomyName string `json:"taxonomy_name,omitempty"` // FullPathName 全路径名 FullPathName string `json:"full_path_name,omitempty"` // Children 子层级 Children []Taxonomy `json:"children,omitempty"` // TaxonomyLevel 行业层级 TaxonomyLevel int `json:"taxonomy_level,omitempty"` }
Taxonomy 行业细节
type TaxonomyAttribute ¶
type TaxonomyAttribute struct { // TaxonomyID 行业类目id TaxonomyID string `json:"taxonomy_id,omitempty"` // TaxonomyAttributeName 行业类目名称 TaxonomyAttributeName string `json:"taxonomy_attribute_name,omitempty"` // TaxonomyLevel 层级 TaxonomyLevel int `json:"taxonomy_level,omitempty"` }
TaxonomyAttribute 行业类目属性
type Word ¶
type Word struct { // Keyword 词名词 Keyword string `json:"keyword,omitempty"` // CompetitionLevel 竞争指数,示例:高 CompetitionLevel string `json:"competition_level,omitempty"` // RecommendReason 推荐理由 RecommendReason []string `json:"recommend_reason,omitempty"` // Bid 市场出价,单位:分 Bid int64 `json:"bid,omitempty"` // MonthPV 月均搜索指数(月pv) MonthPV int64 `json:"monthpv,omitempty"` // Source 词来源 Source int `json:"source,omitempty"` }
type WordBag ¶
type WordBag struct { // Name 词包名称 Name string `json:"name,omitempty"` // CreateAudit 创建账号名称 CreateAudit string `json:"create_audit,omitempty"` // CreateTime 创建时间,示例:"2023-12-26 15:50:43" CreateTime string `json:"create_time,omitempty"` // WordList 所有词信息 WordList []Word `json:"word_list,omitempty"` // Source 词包来源1:自建2:平台 Source int `json:"source,omitempty"` // KeywordSource 词来源 KeywordSource int `json:"keyword_source,omitempty"` }
WordBag 词包信息
type WordBagListRequest ¶
type WordBagListRequest struct { // Name 搜索名称 Name string `json:"name,omitempty"` // Category 状态枚举通用:通用型词包其他:通过接口/api/open/jg/keyword/industry/taxonomy获取,一级类目taxonomy_id Category string `json:"category,omitempty"` // StartTime 开始时间,示例:"2024-02-01" StartTIme string `json:"start_time,omitempty"` // EndTime 结束时间,示例:"2024-02-01" EndTime string `json:"end_time,omitempty"` // AdvertiserID 广告主id AdvertiserID uint64 `json:"advertiser_id,omitempty"` // PageNum 页数,默认10 PageNum int64 `json:"page_num,omitempty"` // PageSize 页码页,默认1 PageSize int64 `json:"page_size,omitempty"` }
WordBagListRequest 词包推荐 API Request
func (WordBagListRequest) Encode ¶
func (r WordBagListRequest) Encode() []byte
Encode implements PostRequest interface
type WordBagListResponse ¶
type WordBagListResponse struct { Data *WordBagListResult `json:"data,omitempty"` model.BaseResponse }
WordBagListResponse 词包推荐 API Response
type WordBagListResult ¶
Click to show internal directories.
Click to hide internal directories.