adkckeyword

package
v1.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KeywordDelete

func KeywordDelete(req *KeywordDeleteRequest) (bool, error)

删除关键词

func KeywordInsert

func KeywordInsert(req *KeywordInsertRequest) (bool, error)

插入关键词

func UpdateKeyWords

func UpdateKeyWords(req *UpdateKeyWordsRequest) (bool, error)

更新关键词状态

Types

type CategorypricesuggestQueryData

type CategorypricesuggestQueryData struct {
	Result CategorypricesuggestQueryResult `json:"getPriceForeCast_result,omitempty" codec:"getPriceForeCast_result,omitempty"`
}

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 */
}

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"`
}

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(req *CategorypricesuggestQueryRequest) (*CategorypricesuggestQueryValue, error)

查询.快车.三级类目出价建议

type DspDayForeCast

type DspDayForeCast struct {
	Price float64 `json:"price,omitempty" codec:"price,omitempty"`
	Hour  uint8   `json:"hour,omitempty" codec:"hour,omitempty"`
	Day   uint64  `json:"day,omitempty" codec:"day,omitempty"`
}

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(req *RecommendkeywordGetRequest) ([]*KeyWordRecommendQuery, error)

获取推荐关键词

type KeywordDeleteData

type KeywordDeleteData struct {
	Result KeywordInsertResult `json:"result,omitempty" codec:"result,omitempty"`
}

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      *RecommendkeywordGetData `` /* 132-byte string literal not displayed */
}

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"`
}

type KeywordInsertData

type KeywordInsertData struct {
	Result KeywordInsertResult `json:"searchrecommendkeywords_result,omitempty" codec:"searchrecommendkeywords_result,omitempty"`
}

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      *RecommendkeywordGetData `` /* 138-byte string literal not displayed */
}

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"`
}

type KeywordpricesuggestQueryData

type KeywordpricesuggestQueryData struct {
	Result KeywordpricesuggestQueryResult `json:"getPriceForeCast_result,omitempty" codec:"getPriceForeCast_result,omitempty"`
}

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 */
}

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"`
}

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(req *KeywordpricesuggestQueryRequest) (*KeywordpricesuggestQueryValue, error)

查询.快车.关键词出价建议

type RecommendkeywordGetData

type RecommendkeywordGetData struct {
	Result *RecommendkeywordGetResult `json:"searchrecommendkeywords_result,omitempty" codec:"searchrecommendkeywords_result,omitempty"`
}

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 */
}

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"`
}

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"`
}

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 */
}

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL