report

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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountReport

type AccountReport struct {
	Date              string  `json:"date"`
	Pin               string  `json:"pin"`
	MobileType        string  `json:"mobileType"`
	Impressions       uint64  `json:"impressions"`
	Clicks            uint64  `json:"clicks"`
	Ctr               string  `json:"CTR"`
	Cost              string  `json:"cost"`
	Cpm               string  `json:"CPM"`
	Cpc               string  `json:"CPC"`
	DirectOrderCnt    uint64  `json:"directOrderCnt"`
	DirectOrderSum    string  `json:"directOrderSum"`
	IndirectOrderCnt  uint64  `json:"indirectOrderCnt"`
	IndirectOrderSum  string  `json:"indirectorderSum"`
	TotalOrderCnt     uint64  `json:"totalOrderCnt"`
	TotalOrderSum     string  `json:"totalOrderSum"`
	DirectCartCnt     uint64  `json:"directCartCnt"`
	IndirectCartCnt   uint64  `json:"indirectCartCnt"`
	TotalCartCnt      uint64  `json:"totalCartCnt"`
	TotalOrderCvs     string  `json:"totalOrderCvs"`
	TotalOrderRoi     string  `json:"totalOrderRoi"`
	Cpa               string  `json:"CPA"`
	DepartmentCnt     uint64  `json:"departmentCnt"`
	DepartmentGmv     float64 `json:"departmentGmv"`
	PlatformCnt       uint64  `json:"platformCnt"`
	PlatformGmv       float64 `json:"platformGmv"`
	ChannelRoi        float64 `json:"channelRoi"`
	NewCustomersCnt   uint64  `json:"newCustomersCnt"`
	UserVisitorCnt    uint64  `json:"userVisitorCnt"`
	VisitPageCnt      uint64  `json:"visitPageCnt"`
	VisitTimeAverage  float64 `json:"visitTimeAverage"`
	DepthPassengerCnt uint64  `json:"depthPassengerCnt"`
	GoodsAttentionCnt uint64  `json:"goodsAttentionCnt"`
	ShopAttentionCnt  uint64  `json:"shopAttentionCnt"`
	PreorderCnt       uint64  `json:"preorderCnt"`
	CouponCnt         uint64  `json:"couponCnt"`
}

func QueryAccountReport

func QueryAccountReport(req *QueryAccountReportRequest) ([]*AccountReport, error)

type AdgroupkeywordQueryData

type AdgroupkeywordQueryData struct {
	Result *AdgroupkeywordQueryResult `json:"keywordreportquery_result,omitempty" codec:"keywordreportquery_result,omitempty"`
}

type AdgroupkeywordQueryRequest

type AdgroupkeywordQueryRequest struct {
	api.BaseRequest

	StartDate           string `json:"start_date,omitempty" codec:"start_date,omitempty"`                       // 起始时间
	EndDate             string `json:"end_date,omitempty" codec:"end_date,omitempty"`                           // 结束时间
	GroupId             uint64 `json:"group_id,omitempty" codec:"group_id,omitempty"`                           // 单元ID
	IsOrderOrClick      bool   `json:"is_order_or_click,omitempty" codec:"is_order_or_click,omitempty"`         // 下单点击口径(true:下单口径;flase:点击口径)
	OrderStatusCategory int    `json:"order_status_category,omitempty" codec:"order_status_category,omitempty"` // GMV订单类型(空:全部;1:成交订单)
	Platform            string `json:"platform,omitempty" codec:"platform,omitempty"`                           // 推广设备(全部:all;PC:pc;无线:mobile)
	ValType             string `json:"val_type,omitempty" codec:"val_type,omitempty"`                           // 购买类型exact精确匹配,term短语匹配,segment切词匹配
	Val                 string `json:"val,omitempty" codec:"val,omitempty"`                                     // 关键字
	ClickOrOrderDay     uint8  `json:"click_or_order_day,omitempty" codec:"click_or_order_day,omitempty"`       // 当天/1天/15天 当天:0,1天:1, 15天:15
	PageIndex           int    `json:"page_index,omitempty" codec:"page_index,omitempty"`                       // 当前页码
	PageSize            int    `json:"page_size,omitempty" codec:"page_size,omitempty"`                         // 每页数量(最大值100)
}

type AdgroupkeywordQueryResponse

type AdgroupkeywordQueryResponse struct {
	ErrorResp *api.ErrorResponnse      `json:"error_response,omitempty" codec:"error_response,omitempty"`
	Data      *AdgroupkeywordQueryData `` /* 134-byte string literal not displayed */
}

type AdgroupkeywordQueryResult

type AdgroupkeywordQueryResult struct {
	Status     int    `json:"status,omitempty" codec:"status,omitempty"`
	ResultCode string `json:"resultCode,omitempty" codec:"resultCode,omitempty"`
	ErrorMsg   string `json:"errorMsg,omitempty" codec:"errorMsg,omitempty"`
	Success    bool   `json:"success,omitempty" codec:"success,omitempty"`
	Value      *AdgroupkeywordQueryValue
}

type AdgroupkeywordQueryValue

type AdgroupkeywordQueryValue struct {
	Datas []*JosKeywordTmp `json:"datas,omitempty" codec:"datas,omitempty"`
}

type CampaignDailyRpt

type CampaignDailyRpt struct {
	Date                time.Time `json:"date,omitempty" codec:"date,omitempty"`
	CampaignId          uint64    `json:"campaign_id,omitempty" codec:"campaign_id,omitempty"`                 // 计划id
	CampaignName        string    `json:"campaign_name,omitempty" codec:"campaign_name,omitempty"`             // 计划名称
	CampaignStatus      int       `json:"campaign_status,omitempty" codec:"campaign_status,omitempty"`         //计划状态
	CPC                 float64   `json:"cpc,omitempty" codec:"cpc,omitempty"`                                 //平均点击成本
	Clicks              uint64    `json:"clicks,omitempty" codec:"clicks,omitempty"`                           //点击量
	Impressions         uint64    `json:"impressions,omitempty" codec:"impressions,omitempty"`                 //展现数
	Cost                float64   `json:"cost,omitempty" codec:"cost,omitempty"`                               //总费用
	CPM                 float64   `json:"cpm,omitempty" codec:"cpm,omitempty"`                                 //千次展现成本
	CTR                 float64   `json:"ctr,omitempty" codec:"ctr,omitempty"`                                 //点击率
	CouponCnt           uint64    `json:"coupon_cnt,omitempty" codec:"coupon_cnt,omitempty"`                   //领劵数
	DirectOrderSum      float64   `json:"direct_order_sum,omitempty" codec:"direct_order_sum,omitempty"`       //	直接订单金额
	IndirectOrderSum    float64   `json:"indirect_order_sum,omitempty" codec:"indirect_order_sum,omitempty"`   //间接订单金额
	TotalOrderSum       float64   `json:"total_order_sum,omitempty" codec:"total_order_sum,omitempty"`         //总订单金额
	DirectOrderCnt      uint64    `json:"direct_order_cnt,omitempty" codec:"direct_order_cnt,omitempty"`       //直接订单行
	IndirectOrderCnt    uint64    `json:"indirect_order_cnt,omitempty" codec:"indirect_order_cnt,omitempty"`   //	间接订单行
	TotalOrderCnt       uint64    `json:"total_order_cnt,omitempty" codec:"total_order_cnt,omitempty"`         //总订单行
	TotalOrderROI       float64   `json:"total_order_roi,omitempty" codec:"total_order_roi,omitempty"`         //
	OrderROI            float64   `json:"order_roi,omitempty" codec:"order_roi,omitempty"`                     //ROI
	OrderCVS            float64   `json:"order_cvs,omitempty" codec:"order_cvs,omitempty"`                     //转换率
	PreorderCnt         uint64    `json:"preorder_cnt,omitempty" codec:"preorder_cnt,omitempty"`               //预约数
	OrderDate           time.Time `json:"order_date,omitempty" codec:"order_date,omitempty"`                   //
	DirectCartCnt       uint64    `json:"direct_cart_cnt,omitempty" codec:"direct_cart_cnt,omitempty"`         //直接加购数
	IndirectCartCnt     uint64    `json:"indirect_cart_cnt,omitempty" codec:"indirect_cart_cnt,omitempty"`     //间接加购数
	TotalCartCnt        uint64    `json:"total_cart_cnt,omitempty" codec:"total_cart_cnt,omitempty"`           //总加购数
	TotalCartCntNCX     uint64    `json:"total_cart_cnt_ncx,omitempty" codec:"total_cart_cnt_ncx,omitempty"`   //
	PlatformCnt         uint64    `json:"platform_cnt,omitempty" codec:"platform_cnt,omitempty"`               //
	PlatformGmv         float64   `json:"platform_gmv,omitempty" codec:"platform_gmv,omitempty"`               //
	DepthPassengerCnt   uint64    `json:"depth_passenger_cnt,omitempty" codec:"depth_passenger_cnt,omitempty"` //深度进店数
	DepartmentCnt       uint64    `json:"department_cnt,omitempty" codec:"department_cnt,omitempty"`           //
	DepartmentGmv       float64   `json:"department_gmv,omitempty" codec:"department_gmv,omitempty"`           //
	MobileType          string    `json:"mobile_type,omitempty" codec:"mobile_type,omitempty"`                 //
	ChannelROI          float64   `json:"channel_roi,omitempty" codec:"channel_roi,omitempty"`                 //
	VisitTimeRange      float64   `json:"visit_time_range,omitempty" codec:"visit_time_range,omitempty"`       //访问时长
	VisitPageCnt        uint64    `json:"visit_page_cnt,omitempty" codec:"visit_page_cnt,omitempty"`           //访问页面数
	ShopAttentionCnt    uint64    `json:"shop_attention_cnt,omitempty" codec:"shop_attention_cnt,omitempty"`   //店铺关注数
	IsOrderOrClick      string    `json:"is_order_or_click,omitempty" codec:"is_order_or_click,omitempty"`
	IsTodayOr15Days     string    `json:"is_today_or_15days,omitempty" codec:"is_today_or_15days,omitempty"`
	PutType             string    `json:"put_type,omitempty" codec:"put_type,omitempty"`
	NewCustomersCnt     uint64    `json:"new_customers_cnt,omitempty" codec:"new_customers_cnt,omitempty"`       //下单新客数
	CampaignVisitorCnt  uint64    `json:"campaign_visitor_cnt,omitempty" codec:"campaign_visitor_cnt,omitempty"` //访问数
	AdType              int       `json:"ad_type,omitempty" codec:"ad_type,omitempty"`
	OrderStatusCategory string    `json:"order_status_category,omitempty" codec:"order_status_category,omitempty"` //
	GoodsAttentionCnt   uint64    `json:"goods_attention_cnt,omitempty" codec:"goods_attention_cnt,omitempty"`     //商品关注数
}

func QueryCampDailySum

func QueryCampDailySum(req *QueryCampDailySumRequest) ([]*CampaignDailyRpt, error)

查询.快车.计划报表数据

type GroupDailyRpt

type GroupDailyRpt struct {
	Date                              time.Time `json:"date,omitempty" codec:"date,omitempty"`
	GroupId                           uint64    `json:"group_id,omitempty" codec:"group_id,omitempty"`
	GroupName                         string    `json:"group_name,omitempty" codec:"group_name,omitempty"`
	CampaignId                        uint64    `json:"campaign_id,omitempty" codec:"campaign_id,omitempty"`
	CampaignName                      string    `json:"campaign_name,omitempty" codec:"campaign_name,omitempty"`
	CPC                               float64   `json:"cpc,omitempty" codec:"cpc,omitempty"`
	Clicks                            uint64    `json:"clicks,omitempty" codec:"clicks,omitempty"`
	Impressions                       uint64    `json:"impressions,omitempty" codec:"impressions,omitempty"`
	Cost                              float64   `json:"cost,omitempty" codec:"cost,omitempty"`
	CPM                               float64   `json:"cpm,omitempty" codec:"cpm,omitempty"`
	CTR                               float64   `json:"ctr,omitempty" codec:"ctr,omitempty"`
	CouponCnt                         uint64    `json:"coupon_cnt,omitempty" codec:"coupon_cnt,omitempty"`
	DirectOrderSum                    float64   `json:"direct_order_sum,omitempty" codec:"direct_order_sum,omitempty"`
	IndirectOrderSum                  float64   `json:"indirect_order_sum,omitempty" codec:"indirect_order_sum,omitempty"`
	TotalOrderSum                     float64   `json:"total_order_sum,omitempty" codec:"total_order_sum,omitempty"`
	DirectOrderCnt                    uint64    `json:"direct_order_cnt,omitempty" codec:"direct_order_cnt,omitempty"`
	IndirectOrderCnt                  uint64    `json:"indirect_order_cnt,omitempty" codec:"indirect_order_cnt,omitempty"`
	TotalOrderCnt                     uint64    `json:"total_order_cnt,omitempty" codec:"total_order_cnt,omitempty"`
	TotalOrderROI                     float64   `json:"total_order_roi,omitempty" codec:"total_order_roi,omitempty"`
	TotalOrderCVS                     float64   `json:"total_order_cvs,omitempty" codec:"total_order_cvs,omitempty"`
	OrderROI                          float64   `json:"order_roi,omitempty" codec:"order_roi,omitempty"`
	OrderCVS                          float64   `json:"order_cvs,omitempty" codec:"order_cvs,omitempty"`
	NewTotalOrderCnt                  uint64    `json:"new_total_order_cnt,omitempty" codec:"new_total_order_cnt,omitempty"`
	NewTotalOrderSum                  float64   `json:"new_total_order_sum,omitempty" codec:"new_total_order_sum,omitempty"`
	PreorderCnt                       uint64    `json:"preorder_cnt,omitempty" codec:"preorder_cnt,omitempty"`
	OrderDate                         time.Time `json:"order_date,omitempty" codec:"order_date,omitempty"`
	DirectCartCnt                     uint64    `json:"direct_cart_cnt,omitempty" codec:"direct_cart_cnt,omitempty"`
	IndirectCartCnt                   uint64    `json:"indirect_cart_cnt,omitempty" codec:"indirect_cart_cnt,omitempty"`
	TotalCartCnt                      uint64    `json:"total_cart_cnt,omitempty" codec:"total_cart_cnt,omitempty"`
	TotalCartCntNCX                   uint64    `json:"total_cart_cnt_ncx,omitempty" codec:"total_cart_cnt_ncx,omitempty"`
	PlatformCnt                       uint64    `json:"platform_cnt,omitempty" codec:"platform_cnt,omitempty"`
	PlatformGmv                       float64   `json:"platform_gmv,omitempty" codec:"platform_gmv,omitempty"`
	DepthPassengerCnt                 uint64    `json:"depth_passenger_cnt,omitempty" codec:"depth_passenger_cnt,omitempty"`
	DepartmentCnt                     uint64    `json:"department_cnt,omitempty" codec:"department_cnt,omitempty"`
	DepartmentGmv                     float64   `json:"department_gmv,omitempty" codec:"department_gmv,omitempty"`
	MobileType                        string    `json:"mobile_type,omitempty" codec:"mobile_type,omitempty"`
	ChannelROI                        float64   `json:"channel_roi,omitempty" codec:"channel_roi,omitempty"`
	VisitTimeRange                    float64   `json:"visit_time_range,omitempty" codec:"visit_time_range,omitempty"`
	VisitPageCnt                      uint64    `json:"visit_page_cnt,omitempty" codec:"visit_page_cnt,omitempty"`
	ShopAttentionCnt                  uint64    `json:"shop_attention_cnt,omitempty" codec:"shop_attention_cnt,omitempty"`
	NewCustomersCnt                   uint64    `json:"new_customers_cnt,omitempty" codec:"new_customers_cnt,omitempty"`
	OrderStatusCategory               string    `json:"order_status_category,omitempty" codec:"order_status_category,omitempty"`
	GoodsAttentionCnt                 uint64    `json:"goods_attention_cnt,omitempty" codec:"goods_attention_cnt,omitempty"`
	GroupVisitorCntForInternalSummary uint64    `json:"group_visitor_cnt_for_internal_summary,omitempty" codec:"group_visitor_cnt_for_internal_summary,omitempty"`
	RetrievalType                     int       `json:"retrieval_type,omitempty" codec:"retrieval_type,omitempty"`
}

func QueryGroupDailySum

func QueryGroupDailySum(req *QueryGroupDailySumRequest) ([]*GroupDailyRpt, int, error)

查询.快车.单元报表数据

type JosKeyword

type JosKeyword struct {
	Id                      uint64    `json:"id,omitempty" codec:"id,omitempty"`
	Keyword                 string    `json:"keyword,omitempty" codec:"keyword,omitempty"`
	KeywordType             string    `json:"type,omitempty" codec:"type,omitempty"`
	Price                   float64   `json:"keyword_price,omitempty" codec:"keyword_price,omitempty"`
	PriceWireless           float64   `json:"keyword_price_wireless,omitempty" codec:"keyword_price_wireless,omitempty"`
	Clicks                  uint64    `json:"clicks,omitempty" codec:"clicks,omitempty"`
	Cost                    float64   `json:"cost,omitempty" codec:"cost,omitempty"`
	CTR                     float64   `json:"ctr,omitempty" codec:"ctr,omitempty"`
	CPC                     float64   `json:"cpc,omitempty" codec:"cpc,omitempty"`
	CPM                     float64   `json:"cpm,omitempty" codec:"cpm,omitempty"`
	TotalOrderROI           float64   `json:"total_order_roi,omitempty" codec:"total_order_roi,omitempty"`
	Impressions             uint64    `json:"impressions,omitempty" codec:"impressions,omitempty"`
	TotalOrderCnt           uint64    `json:"total_order_cnt,omitempty" codec:"total_order_cnt,omitempty"`
	TotalOrderSum           float64   `json:"total_order_sum,omitempty" codec:"total_order_sum,omitempty"`
	TotalOrderCVS           float64   `json:"total_order_cvs,omitempty" codec:"total_order_cvs,omitempty"`
	IndirectOrderCnt        uint64    `json:"indirect_order_cnt,omitempty" codec:"indirect_order_cnt,omitempty"`
	DirectOrderCnt          uint64    `json:"direct_order_cnt,omitempty" codec:"direct_order_cnt,omitempty"`
	IndirectOrderSum        float64   `json:"indirect_order_sum,omitempty" codec:"indirect_order_sum,omitempty"`
	DirectOrderSum          float64   `json:"direct_order_sum,omitempty" codec:"direct_order_sum,omitempty"`
	IndirectCartCnt         uint64    `json:"indirect_cart_cnt,omitempty" codec:"indirect_cart_cnt,omitempty"`
	DirectCartCnt           uint64    `json:"direct_cart_cnt,omitempty" codec:"direct_cart_cnt,omitempty"`
	TotalCartCnt            uint64    `json:"total_cart_cnt,omitempty" codec:"total_cart_cnt,omitempty"`
	CurrentWlShowq          uint      `json:"current_wl_showq,omitempty" codec:"current_wl_showq,omitempty"`
	CurrentPcShowq          uint      `json:"current_pc_showq,omitempty" codec:"current_pc_showq,omitempty"`
	CurrentHourPcRank       uint      `json:"current_hour_pc_rank,omitempty" codec:"current_hour_pc_rank,omitempty"`
	AverageCurrentPcRank    uint      `json:"average_current_pc_rank,omitempty" codec:"average_current_pc_rank,omitempty"`
	AverageHistoryWlRank    uint      `json:"average_history_wl_rank,omitempty" codec:"average_history_wl_rank,omitempty"`
	AverageHistoryPcRank    uint      `json:"average_history_pc_rank,omitempty" codec:"average_history_pc_rank,omitempty"`
	AverageHistoryTotalRank uint      `json:"average_history_total_rank,omitempty" codec:"average_history_total_rank,omitempty"`
	EffectOrderSum          float64   `json:"effect_order_sum,omitempty" codec:"effect_order_sum,omitempty"`
	EffectOrderCnt          uint64    `json:"effect_order_cnt,omitempty" codec:"effect_order_cnt,omitempty"`
	EffectCartCnt           uint64    `json:"effect_cart_cnt,omitempty" codec:"effect_cart_cnt,omitempty"`
	IsDefaultPrice          bool      `json:"is_default_price,omitempty" codec:"is_default_price,omitempty"`
	OrderCVS                float64   `json:"order_cvs,omitempty" codec:"order_cvs,omitempty"`
	NewTotalOrderCnt        uint64    `json:"new_total_order_cnt,omitempty" codec:"new_total_order_cnt,omitempty"`
	NewTotalOrderSum        float64   `json:"new_total_order_cnt,omitempty" codec:"new_total_order_cnt,omitempty"`
	NewTotalOrderCVS        float64   `json:"new_total_order_cnt,omitempty" codec:"new_total_order_cnt,omitempty"`
	KeywordFlag             int       `json:"keyword_flag,omitempty" codec:"keyword_flag,omitempty"`
	MobileType              string    `json:"mobile_type,omitempty" codec:"mobile_type,omitempty"`
	RecordOn                time.Time `json:"-" codec:"-"`
}

func AdgroupkeywordQuery

func AdgroupkeywordQuery(req *AdgroupkeywordQueryRequest) ([]*JosKeyword, error)

获取关键词报表

type JosKeywordTmp

type JosKeywordTmp struct {
	Id                      uint64  `json:"id,omitempty" codec:"id,omitempty"`
	Keyword                 string  `json:"Keyword,omitempty" codec:"Keyword,omitempty"`
	KeywordType             string  `json:"type,omitempty" codec:"type,omitempty"`
	Price                   float64 `json:"keywordPrice,omitempty" codec:"keywordPrice,omitempty"`
	PriceWireless           float64 `json:"keywordPriceWireless,omitempty" codec:"keywordPriceWireless,omitempty"`
	Clicks                  string  `json:"Clicks,omitempty" codec:"Clicks,omitempty"`
	Cost                    string  `json:"Cost,omitempty" codec:"Cost,omitempty"`
	CTR                     string  `json:"CTR,omitempty" codec:"CTR,omitempty"`
	CPC                     string  `json:"CPC,omitempty" codec:"CPC,omitempty"`
	CPM                     string  `json:"CPM,omitempty" codec:"CPM,omitempty"`
	TotalOrderROI           string  `json:"TotalOrderROI,omitempty" codec:"TotalOrderROI,omitempty"`
	Impressions             string  `json:"Impressions,omitempty" codec:"Impressions,omitempty"`
	TotalOrderCnt           string  `json:"TotalOrderCnt,omitempty" codec:"TotalOrderCnt,omitempty"`
	TotalOrderSum           string  `json:"TotalOrderSum,omitempty" codec:"TotalOrderSum,omitempty"`
	TotalOrderCVS           string  `json:"TotalOrderCVS,omitempty" codec:"TotalOrderCVS,omitempty"`
	IndirectOrderCnt        string  `json:"IndirectOrderCnt,omitempty" codec:"IndirectOrderCnt,omitempty"`
	DirectOrderCnt          string  `json:"DirectOrderCnt,omitempty" codec:"DirectOrderCnt,omitempty"`
	IndirectOrderSum        string  `json:"IndirectOrderSum,omitempty" codec:"IndirectOrderSum,omitempty"`
	DirectOrderSum          string  `json:"DirectOrderSum,omitempty" codec:"DirectOrderSum,omitempty"`
	IndirectCartCnt         string  `json:"IndirectCartCnt,omitempty" codec:"IndirectCartCnt,omitempty"`
	DirectCartCnt           string  `json:"DirectCartCnt,omitempty" codec:"DirectCartCnt,omitempty"`
	TotalCartCnt            string  `json:"TotalCartCnt,omitempty" codec:"TotalCartCnt,omitempty"`
	CurrentWlShowq          string  `json:"CurrentWlShowq,omitempty" codec:"CurrentWlShowq,omitempty"`
	CurrentPcShowq          string  `json:"CurrentPcShowq,omitempty" codec:"CurrentPcShowq,omitempty"`
	CurrentHourPcRank       string  `json:"CurrentHourPcRank,omitempty" codec:"CurrentHourPcRank,omitempty"`
	AverageCurrentPcRank    string  `json:"AverageCurrentPcRank,omitempty" codec:"AverageCurrentPcRank,omitempty"`
	AverageHistoryWlRank    string  `json:"AverageHistoryWlRank,omitempty" codec:"AverageHistoryWlRank,omitempty"`
	AverageHistoryPcRank    string  `json:"AverageHistoryPcRank,omitempty" codec:"AverageHistoryPcRank,omitempty"`
	AverageHistoryTotalRank string  `json:"AverageHistoryTotalRank,omitempty" codec:"AverageHistoryTotalRank,omitempty"`
	EffectOrderSum          string  `json:"EffectOrderSum,omitempty" codec:"EffectOrderSum,omitempty"`
	EffectOrderCnt          string  `json:"EffectOrderCnt,omitempty" codec:"EffectOrderCnt,omitempty"`
	EffectCartCnt           string  `json:"EffectCartCnt,omitempty" codec:"EffectCartCnt,omitempty"`
	IsDefaultPrice          bool    `json:"isDefaultPrice,omitempty" codec:"isDefaultPrice,omitempty"`
	OrderCVS                string  `json:"OrderCVS,omitempty" codec:"OrderCVS,omitempty"`
	NewTotalOrderCnt        string  `json:"NewTotalOrderCnt,omitempty" codec:"NewTotalOrderCnt,omitempty"`
	NewTotalOrderSum        string  `json:"TotalOrderSum,omitempty" codec:"NewTotalOrderCnt,omitempty"`
	NewTotalOrderCVS        string  `json:"NewTotalOrderCnt,omitempty" codec:"NewTotalOrderCnt,omitempty"`
	KeywordFlag             string  `json:"KeywordFlag,omitempty" codec:"KeywordFlag,omitempty"`
	MobileType              string  `json:"MobileType,omitempty" codec:"MobileType,omitempty"`
}

func (*JosKeywordTmp) ToJosKeyword

func (k *JosKeywordTmp) ToJosKeyword() *JosKeyword

type QueryAccountReportData

type QueryAccountReportData struct {
	Code      string                    `json:"code,omitempty" codec:"code,omitempty"`
	ErrorDesc string                    `json:"error_description,omitempty" codec:"error_description,omitempty"`
	Result    *QueryAccountReportResult `json:"querycampdailysum_result,omitempty" codec:"querycampdailysum_result,omitempty"`
}

type QueryAccountReportRequest

type QueryAccountReportRequest struct {
	api.BaseRequest

	StartDay            string `json:"startDay"`                      // 起始日期
	EndDay              string `json:"endDay"`                        // 结束日期
	IsDaily             string `json:"isDaily"`                       // 是否分日
	Platform            string `json:"platform"`                      // 设备(all: 全部,pc: PC,mobile:无线)
	ClickOrOrderDay     uint8  `json:"clickOrOrderDay"`               // 口径(0:当天,1:1天,3:3天,7:7天,15:15天)
	ClickOrOrderCaliber uint8  `json:"clickOrOrderCaliber"`           // 点击口径/下单口径(0-点击口径,1-下单口径)
	OrderStatusCategory uint8  `json:"orderStatusCategory,omitempty"` // 全部订单/成交订单(null:全部订单,1: 成交订单)
	PageIndex           uint16 `json:"pageIndex"`                     // 当前页码
	PageSize            uint8  `json:"pageSize"`                      // 每页数量(最大值100)
}

type QueryAccountReportResponse

type QueryAccountReportResponse struct {
	ErrorResp *api.ErrorResponnse     `json:"error_response,omitempty" codec:"error_response,omitempty"`
	Data      *QueryAccountReportData `` /* 130-byte string literal not displayed */
}

type QueryAccountReportResult

type QueryAccountReportResult struct {
	Value      *QueryAccountReportResultValue `json:"value,omitempty" codec:"value,omitempty"`
	ResultCode string                         `json:"resultCode,omitempty" codec:"resultCode,omitempty"`
	ErrorMsg   string                         `json:"errorMsg,omitempty" codec:"errorMsg,omitempty"`
	Success    bool                           `json:"success" codec:"success"`
}

type QueryAccountReportResultValue

type QueryAccountReportResultValue struct {
	Datas []*AccountReport `json:"datas" codec:"datas"`
}

type QueryCampDailySumData

type QueryCampDailySumData struct {
	Result *QueryCampDailySumResult `json:"querycampdailysum_result,omitempty" codec:"querycampdailysum_result,omitempty"`
}

type QueryCampDailySumRequest

type QueryCampDailySumRequest struct {
	api.BaseRequest
	IsDaily             bool   `json:"is_daily,omitempty" codec:"is_daily,omitempty"`                           //是否分日
	CampaignId          int    `json:"campaign_id,omitempty" codec:"campaign_id,omitempty"`                     //计划标识
	StartDay            string `json:"start_day,omitempty" codec:"start_day,omitempty"`                         //起始时间
	EndDay              string `json:"end_day,omitempty" codec:"end_day,omitempty"`                             //结束时间
	IsOrderOrClick      bool   `json:"is_order_or_click,omitempty" codec:"is_order_or_click,omitempty"`         //下单点击口径(true:下单口径;flase:点击口径)
	IsTodayOr15Days     bool   `json:"is_today_or_15_days,omitempty" codec:"is_today_or_15_days,omitempty"`     //是当天15天口径(true:15天;flase:当天)
	OrderStatusCategory int    `json:"order_status_category,omitempty" codec:"order_status_category,omitempty"` //GMV订单类型(空:全部;1:成交订单)
	Platform            string `json:"platform,omitempty" codec:"platform,omitempty"`                           //推广设备(全部:all;PC:pc;无线:mobile)
	PageIndex           int    `json:"page_index,omitempty" codec:"page_index,omitempty"`                       //当前页码
	PageSize            int    `json:"page_size,omitempty" codec:"page_size,omitempty"`                         //每页数量(最大值100)
}

type QueryCampDailySumResponse

type QueryCampDailySumResponse struct {
	ErrorResp *api.ErrorResponnse    `json:"error_response,omitempty" codec:"error_response,omitempty"`
	Data      *QueryCampDailySumData `` /* 128-byte string literal not displayed */
}

type QueryCampDailySumResult

type QueryCampDailySumResult 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"`
	Total      int           `json:"total,omitempty" codec:"total,omitempty"`
	Page       int           `json:"page,omitempty" codec:"page,omitempty"`
	Value      []*ReportInfo `json:"value,omitempty" codec:"value,omitempty"`
}

type QueryGroupDailySumData

type QueryGroupDailySumData struct {
	Result *QueryGroupDailySumResult `json:"querycampdailysum_result,omitempty" codec:"querycampdailysum_result,omitempty"`
}

type QueryGroupDailySumRequest

type QueryGroupDailySumRequest struct {
	api.BaseRequest
	IsDaily             bool   `json:"is_daily,omitempty" codec:"is_daily,omitempty"`                           // 是否分日
	CampaignId          int    `json:"campaign_id,omitempty" codec:"campaign_id,omitempty"`                     // 计划标识
	StartDay            string `json:"start_day,omitempty" codec:"start_day,omitempty"`                         // 起始时间
	EndDay              string `json:"end_day,omitempty" codec:"end_day,omitempty"`                             // 结束时间
	IsOrderOrClick      bool   `json:"is_order_or_click,omitempty" codec:"is_order_or_click,omitempty"`         // 下单点击口径(true:下单口径;flase:点击口径)
	IsTodayOr15Days     bool   `json:"is_today_or_15_days,omitempty" codec:"is_today_or_15_days,omitempty"`     // 是当天15天口径(true:15天;flase:当天)
	OrderStatusCategory int    `json:"order_status_category,omitempty" codec:"order_status_category,omitempty"` // GMV订单类型(空:全部;1:成交订单)
	Platform            string `json:"platform,omitempty" codec:"platform,omitempty"`                           // 推广设备(全部:all;PC:pc;无线:mobile)
	PageIndex           int    `json:"page_index,omitempty" codec:"page_index,omitempty"`                       // 当前页码
	PageSize            int    `json:"page_size,omitempty" codec:"page_size,omitempty"`                         // 每页数量(最大值100)
}

type QueryGroupDailySumResponse

type QueryGroupDailySumResponse struct {
	ErrorResp *api.ErrorResponnse     `json:"error_response,omitempty" codec:"error_response,omitempty"`
	Data      *QueryGroupDailySumData `` /* 130-byte string literal not displayed */
}

type QueryGroupDailySumResult

type QueryGroupDailySumResult 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"`
	Total      int           `json:"total,omitempty" codec:"total,omitempty"`
	Page       int           `json:"page,omitempty" codec:"page,omitempty"`
	Value      []*ReportInfo `json:"value,omitempty" codec:"value,omitempty"`
}

type ReportInfo

type ReportInfo struct {
	Id         int               `json:"id,omitempty" codec:"id,omitempty"`
	Pin        string            `json:"pin,omitempty" codec:"pin,omitempty"`
	Dimension  string            `json:"dimension,omitempty" codec:"dimension,omitempty"`
	Date       string            `json:"date,omitempty" codec:"date,omitempty"`
	FigureData map[string]string `json:"figureData,omitempty" codec:"figureData,omitempty"`
}

Jump to

Keyboard shortcuts

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