Documentation ¶
Index ¶
- func KeywordDelete(ctx context.Context, req *KeywordDeleteRequest) (bool, error)
- func KeywordInsert(ctx context.Context, req *KeywordInsertRequest) (bool, error)
- func UpdateKeyWords(ctx context.Context, req *UpdateKeyWordsRequest) (bool, error)
- type CategorypricesuggestQueryData
- type CategorypricesuggestQueryRequest
- type CategorypricesuggestQueryResponse
- type CategorypricesuggestQueryResult
- type CategorypricesuggestQueryValue
- type DspDayForeCast
- type KeyWordRecommendQuery
- type KeywordDeleteData
- type KeywordDeleteRequest
- type KeywordDeleteResponse
- type KeywordDeleteResult
- type KeywordInsertData
- type KeywordInsertRequest
- type KeywordInsertResponse
- type KeywordInsertResult
- type KeywordpricesuggestQueryData
- type KeywordpricesuggestQueryRequest
- type KeywordpricesuggestQueryResponse
- type KeywordpricesuggestQueryResult
- type KeywordpricesuggestQueryValue
- type RecommendkeywordGetData
- type RecommendkeywordGetRequest
- type RecommendkeywordGetResponse
- type RecommendkeywordGetResult
- type RecommendkeywordGetValue
- type UpdateKeyWordsData
- type UpdateKeyWordsRequest
- type UpdateKeyWordsResponse
- type UpdateKeyWordsResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KeywordDelete ¶
func KeywordDelete(ctx context.Context, req *KeywordDeleteRequest) (bool, error)
删除关键词
func KeywordInsert ¶
func KeywordInsert(ctx context.Context, req *KeywordInsertRequest) (bool, error)
插入关键词
func UpdateKeyWords ¶
func UpdateKeyWords(ctx context.Context, req *UpdateKeyWordsRequest) (bool, error)
更新关键词状态
Types ¶
type CategorypricesuggestQueryData ¶
type CategorypricesuggestQueryData struct {
Result CategorypricesuggestQueryResult `json:"getPriceForeCast_result,omitempty" codec:"getPriceForeCast_result,omitempty"`
}
func (CategorypricesuggestQueryData) Error ¶ added in v1.1.1
func (r CategorypricesuggestQueryData) Error() string
func (CategorypricesuggestQueryData) IsError ¶ added in v1.1.1
func (r CategorypricesuggestQueryData) IsError() bool
type CategorypricesuggestQueryRequest ¶
type CategorypricesuggestQueryRequest struct { api.BaseRequest Key uint64 `json:"key,omitempty" codec:"key,omitempty"` // 三级类目ID MobileType uint8 `json:"mobile_type,omitempty" codec:"mobile_type,omitempty"` // 设备类型 0.PC 1.无线 }
type CategorypricesuggestQueryResponse ¶
type CategorypricesuggestQueryResponse struct { ErrorResp *api.ErrorResponnse `json:"error_response,omitempty" codec:"error_response,omitempty"` Data *CategorypricesuggestQueryData `` /* 156-byte string literal not displayed */ }
func (CategorypricesuggestQueryResponse) Error ¶ added in v1.1.1
func (r CategorypricesuggestQueryResponse) Error() string
func (CategorypricesuggestQueryResponse) IsError ¶ added in v1.1.1
func (r CategorypricesuggestQueryResponse) IsError() bool
type CategorypricesuggestQueryResult ¶
type CategorypricesuggestQueryResult struct { Success bool `json:"success,omitempty" codec:"success,omitempty"` ResultCode string `json:"resultCode,omitempty" codec:"resultCode,omitempty"` ErrorMsg string `json:"errorMsg,omitempty" codec:"errorMsg,omitempty"` Value *CategorypricesuggestQueryValue `json:"value,omitempty" codec:"value,omitempty"` }
func (CategorypricesuggestQueryResult) Error ¶ added in v1.1.1
func (r CategorypricesuggestQueryResult) Error() string
func (CategorypricesuggestQueryResult) IsError ¶ added in v1.1.1
func (r CategorypricesuggestQueryResult) IsError() bool
type CategorypricesuggestQueryValue ¶
type CategorypricesuggestQueryValue struct { HourHigh []DspDayForeCast `json:"hourHigh,omitempty" codec:"hourHigh,omitempty"` DayLow []DspDayForeCast `json:"dayLow,omitempty" codec:"dayLow,omitempty"` HourLow []DspDayForeCast `json:"hourLow,omitempty" codec:"hourLow,omitempty"` HourMiddle []DspDayForeCast `json:"hourMiddle,omitempty" codec:"hourMiddle,omitempty"` DayMiddle []DspDayForeCast `json:"dayMiddle,omitempty" codec:"dayMiddle,omitempty"` DayHigh []DspDayForeCast `json:"dayHigh,omitempty" codec:"dayHigh,omitempty"` }
func CategorypricesuggestQuery ¶
func CategorypricesuggestQuery(ctx context.Context, req *CategorypricesuggestQueryRequest) (*CategorypricesuggestQueryValue, error)
查询.快车.三级类目出价建议
type DspDayForeCast ¶
type KeyWordRecommendQuery ¶
type KeyWordRecommendQuery struct { AvgBigPrice float64 `json:"avgBigPrice,omitempty" codec:"avgBigPrice,omitempty"` // 平均出家 StarCount uint8 `json:"starCount,omitempty" codec:"starCount,omitempty"` // 星星数量 Pv uint64 `json:"pv,omitempty" codec:"pv,omitempty"` // 三十访问量 KeyWord string `json:"keyWord,omitempty" codec:"keyWord,omitempty"` // 三十访问量 }
func RecommendkeywordGet ¶
func RecommendkeywordGet(ctx context.Context, req *RecommendkeywordGetRequest) ([]KeyWordRecommendQuery, error)
获取推荐关键词
type KeywordDeleteData ¶
type KeywordDeleteData struct {
Result KeywordDeleteResult `json:"result,omitempty" codec:"result,omitempty"`
}
func (KeywordDeleteData) Error ¶ added in v1.1.1
func (r KeywordDeleteData) Error() string
func (KeywordDeleteData) IsError ¶ added in v1.1.1
func (r KeywordDeleteData) IsError() bool
type KeywordDeleteRequest ¶
type KeywordDeleteRequest struct { api.BaseRequest AdGroupId uint64 `json:"ad_group_id,omitempty" codec:"ad_group_id,omitempty"` // 单元id KeyWordsName string `json:"key_words_name,omitempty" codec:"key_words_name,omitempty"` // 关键词 }
type KeywordDeleteResponse ¶
type KeywordDeleteResponse struct { ErrorResp *api.ErrorResponnse `json:"error_response,omitempty" codec:"error_response,omitempty"` Data *KeywordDeleteData `` /* 132-byte string literal not displayed */ }
func (KeywordDeleteResponse) Error ¶ added in v1.1.1
func (r KeywordDeleteResponse) Error() string
func (KeywordDeleteResponse) IsError ¶ added in v1.1.1
func (r KeywordDeleteResponse) IsError() bool
type KeywordDeleteResult ¶
type KeywordDeleteResult struct { Success bool `json:"success,omitempty" codec:"success,omitempty"` ResultCode string `json:"resultCode,omitempty" codec:"resultCode,omitempty"` ErrorMsg string `json:"errorMsg,omitempty" codec:"errorMsg,omitempty"` }
func (KeywordDeleteResult) Error ¶ added in v1.1.1
func (r KeywordDeleteResult) Error() string
func (KeywordDeleteResult) IsError ¶ added in v1.1.1
func (r KeywordDeleteResult) IsError() bool
type KeywordInsertData ¶
type KeywordInsertData struct {
Result KeywordInsertResult `json:"searchrecommendkeywords_result,omitempty" codec:"searchrecommendkeywords_result,omitempty"`
}
func (KeywordInsertData) Error ¶ added in v1.1.1
func (r KeywordInsertData) Error() string
func (KeywordInsertData) IsError ¶ added in v1.1.1
func (r KeywordInsertData) IsError() bool
type KeywordInsertRequest ¶
type KeywordInsertRequest struct { api.BaseRequest Name string `json:"name,omitempty" codec:"name,omitempty"` // 关键字 Price float64 `json:"price,omitempty" codec:"price,omitempty"` // 出价 Type uint8 `json:"type,omitempty" codec:"type,omitempty"` // 购买类型:1.精确匹配4.短语匹配8.切词匹配 AdGroupId uint64 `json:"ad_groupId,omitempty" codec:"ad_groupId,omitempty"` // 单元id }
type KeywordInsertResponse ¶
type KeywordInsertResponse struct { ErrorResp *api.ErrorResponnse `json:"error_response,omitempty" codec:"error_response,omitempty"` Data *KeywordInsertData `` /* 138-byte string literal not displayed */ }
func (KeywordInsertResponse) Error ¶ added in v1.1.1
func (r KeywordInsertResponse) Error() string
func (KeywordInsertResponse) IsError ¶ added in v1.1.1
func (r KeywordInsertResponse) IsError() bool
type KeywordInsertResult ¶
type KeywordInsertResult struct { Success bool `json:"success,omitempty" codec:"success,omitempty"` ResultCode string `json:"resultCode,omitempty" codec:"resultCode,omitempty"` ErrorMsg string `json:"errorMsg,omitempty" codec:"errorMsg,omitempty"` }
func (KeywordInsertResult) Error ¶ added in v1.1.1
func (r KeywordInsertResult) Error() string
func (KeywordInsertResult) IsError ¶ added in v1.1.1
func (r KeywordInsertResult) IsError() bool
type KeywordpricesuggestQueryData ¶
type KeywordpricesuggestQueryData struct {
Result KeywordpricesuggestQueryResult `json:"getPriceForeCast_result,omitempty" codec:"getPriceForeCast_result,omitempty"`
}
func (KeywordpricesuggestQueryData) Error ¶ added in v1.1.1
func (r KeywordpricesuggestQueryData) Error() string
func (KeywordpricesuggestQueryData) IsError ¶ added in v1.1.1
func (r KeywordpricesuggestQueryData) IsError() bool
type KeywordpricesuggestQueryRequest ¶
type KeywordpricesuggestQueryRequest struct { api.BaseRequest Key string `json:"key,omitempty" codec:"key,omitempty"` // 关键字 MobileType uint8 `json:"mobile_type,omitempty" codec:"mobile_type,omitempty"` // 设备类型 0.PC 1.无线 }
type KeywordpricesuggestQueryResponse ¶
type KeywordpricesuggestQueryResponse struct { ErrorResp *api.ErrorResponnse `json:"error_response,omitempty" codec:"error_response,omitempty"` Data *KeywordpricesuggestQueryData `` /* 154-byte string literal not displayed */ }
func (KeywordpricesuggestQueryResponse) Error ¶ added in v1.1.1
func (r KeywordpricesuggestQueryResponse) Error() string
func (KeywordpricesuggestQueryResponse) IsError ¶ added in v1.1.1
func (r KeywordpricesuggestQueryResponse) IsError() bool
type KeywordpricesuggestQueryResult ¶
type KeywordpricesuggestQueryResult struct { Success bool `json:"success,omitempty" codec:"success,omitempty"` ResultCode string `json:"resultCode,omitempty" codec:"resultCode,omitempty"` ErrorMsg string `json:"errorMsg,omitempty" codec:"errorMsg,omitempty"` Value *KeywordpricesuggestQueryValue `json:"value,omitempty" codec:"value,omitempty"` }
func (KeywordpricesuggestQueryResult) Error ¶ added in v1.1.1
func (r KeywordpricesuggestQueryResult) Error() string
func (KeywordpricesuggestQueryResult) IsError ¶ added in v1.1.1
func (r KeywordpricesuggestQueryResult) IsError() bool
type KeywordpricesuggestQueryValue ¶
type KeywordpricesuggestQueryValue struct { HourHigh []DspDayForeCast `json:"hourHigh,omitempty" codec:"hourHigh,omitempty"` DayLow []DspDayForeCast `json:"dayLow,omitempty" codec:"dayLow,omitempty"` HourLow []DspDayForeCast `json:"hourLow,omitempty" codec:"hourLow,omitempty"` HourMiddle []DspDayForeCast `json:"hourMiddle,omitempty" codec:"hourMiddle,omitempty"` DayMiddle []DspDayForeCast `json:"dayMiddle,omitempty" codec:"dayMiddle,omitempty"` DayHigh []DspDayForeCast `json:"dayHigh,omitempty" codec:"dayHigh,omitempty"` }
func KeywordpricesuggestQuery ¶
func KeywordpricesuggestQuery(ctx context.Context, req *KeywordpricesuggestQueryRequest) (*KeywordpricesuggestQueryValue, error)
查询.快车.关键词出价建议
type RecommendkeywordGetData ¶
type RecommendkeywordGetData struct {
Result *RecommendkeywordGetResult `json:"searchrecommendkeywords_result,omitempty" codec:"searchrecommendkeywords_result,omitempty"`
}
func (RecommendkeywordGetData) Error ¶ added in v1.1.1
func (r RecommendkeywordGetData) Error() string
func (RecommendkeywordGetData) IsError ¶ added in v1.1.1
func (r RecommendkeywordGetData) IsError() bool
type RecommendkeywordGetRequest ¶
type RecommendkeywordGetRequest struct { api.BaseRequest SkuId uint64 `json:"sku_id,omitempty" codec:"sku_id,omitempty"` SearchType uint8 `json:"search_type,omitempty" codec:"search_type,omitempty"` // 查询范围 1.按整体查询/2.按无线端查询/3.按PC端查询 Order uint8 `json:"order,omitempty" codec:"order,omitempty"` // 排序方式 0.正序/1.倒序 SortType uint8 `json:"sort_type,omitempty" codec:"sort_type,omitempty"` // 排序方式 1.按搜索量排序/2.按平均出价排序/3.按竞争激烈程度排序 KeyWordType uint8 `json:"key_word_type,omitempty" codec:"key_word_type,omitempty"` // 关键词来源 1.商品关键词/2.相似商品关键词/3.行业热词 }
type RecommendkeywordGetResponse ¶
type RecommendkeywordGetResponse struct { ErrorResp *api.ErrorResponnse `json:"error_response,omitempty" codec:"error_response,omitempty"` Data *RecommendkeywordGetData `` /* 144-byte string literal not displayed */ }
func (RecommendkeywordGetResponse) Error ¶ added in v1.1.1
func (r RecommendkeywordGetResponse) Error() string
func (RecommendkeywordGetResponse) IsError ¶ added in v1.1.1
func (r RecommendkeywordGetResponse) IsError() bool
type RecommendkeywordGetResult ¶
type RecommendkeywordGetResult struct { ErrorMsg string `json:"errorMsg,omitempty" codec:"errorMsg,omitempty"` ResultCode string `json:"resultCode,omitempty" codec:"resultCode,omitempty"` Success bool `json:"success,omitempty" codec:"success,omitempty"` Value *RecommendkeywordGetValue `json:"data,omitempty" codec:"data,omitempty"` }
func (RecommendkeywordGetResult) Error ¶ added in v1.1.1
func (r RecommendkeywordGetResult) Error() string
func (RecommendkeywordGetResult) IsError ¶ added in v1.1.1
func (r RecommendkeywordGetResult) IsError() bool
type RecommendkeywordGetValue ¶
type RecommendkeywordGetValue struct {
Datas []KeyWordRecommendQuery `json:"datas,omitempty" codec:"datas,omitempty"`
}
type UpdateKeyWordsData ¶
type UpdateKeyWordsData struct {
Result UpdateKeyWordsResult `json:"updatekeywords_result,omitempty" codec:"updatekeywords_result,omitempty"`
}
func (UpdateKeyWordsData) Error ¶ added in v1.1.1
func (r UpdateKeyWordsData) Error() string
func (UpdateKeyWordsData) IsError ¶ added in v1.1.1
func (r UpdateKeyWordsData) IsError() bool
type UpdateKeyWordsRequest ¶
type UpdateKeyWordsRequest struct { api.BaseRequest Name string `json:"name,omitempty" codec:"name,omitempty"` // 关键词名称 Price string `json:"price,omitempty" codec:"price,omitempty"` // 关键词出价 Type string `json:"type,omitempty" codec:"type,omitempty"` // 关键词类型:1精确匹配 4.短语匹配 8.切词包含 MobilePrice string `json:"mobile_price,mobile_price" codec:"mobile_price,omitempty"` // 关键词无线出价 AdGroupId uint64 `json:"ad_group_id,omitempty" codec:"ad_group_id,omitempty"` // 单元id }
type UpdateKeyWordsResponse ¶
type UpdateKeyWordsResponse struct { ErrorResp *api.ErrorResponnse `json:"error_response,omitempty" codec:"error_response,omitempty"` Data *UpdateKeyWordsData `` /* 132-byte string literal not displayed */ }
func (UpdateKeyWordsResponse) Error ¶ added in v1.1.1
func (r UpdateKeyWordsResponse) Error() string
func (UpdateKeyWordsResponse) IsError ¶ added in v1.1.1
func (r UpdateKeyWordsResponse) IsError() bool
type UpdateKeyWordsResult ¶
type UpdateKeyWordsResult struct { Success bool `json:"success,omitempty" codec:"success,omitempty"` ResultCode string `json:"resultCode,omitempty" codec:"resultCode,omitempty"` ErrorMsg string `json:"errorMsg,omitempty" codec:"errorMsg,omitempty"` }
func (UpdateKeyWordsResult) Error ¶ added in v1.1.1
func (r UpdateKeyWordsResult) Error() string
func (UpdateKeyWordsResult) IsError ¶ added in v1.1.1
func (r UpdateKeyWordsResult) IsError() bool
Click to show internal directories.
Click to hide internal directories.