creative

package
v1.2.8 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KuaicheCreativeAddV2Request

type KuaicheCreativeAddV2Request struct {
	Request *sdk.Request
}

func NewKuaicheCreativeAddV2Request

func NewKuaicheCreativeAddV2Request() (req *KuaicheCreativeAddV2Request)

create new request

func (*KuaicheCreativeAddV2Request) GetData

func (*KuaicheCreativeAddV2Request) GetSystem

func (*KuaicheCreativeAddV2Request) SetData

func (*KuaicheCreativeAddV2Request) SetSystem

type KuaicheCreativeAddV2RequestAd

type KuaicheCreativeAddV2RequestAd struct {
	CustomTitle   string `json:"customTitle,omitempty"`   // 创意标题,长度为10-30字符,不填写则为sku默认标题,当sku为特殊类目时,需要自定义标题与图片
	SkuId         string `json:"skuId"`                   // skuId
	Name          string `json:"name,omitempty"`          // 创意名称
	Url           string `json:"url,omitempty"`           // 落地页
	ImgUrl        string `json:"imgUrl,omitempty"`        // 图片地址,不填写则为sku默认主图,当sku为特殊类目时,需要自定义标题与图片
	ShowSalesWord string `json:"showSalesWord,omitempty"` // 推广文案
}

type KuaicheCreativeAddV2RequestData

type KuaicheCreativeAddV2RequestData struct {
	AdList  []KuaicheCreativeAddV2RequestAd `json:"adList"`  // 创意集合,商品类型计划必须先填写创意,腰带店铺可不填写
	GroupId uint64                          `json:"groupId"` // 所属单元ID
}

type KuaicheCreativeDeleteV2Request

type KuaicheCreativeDeleteV2Request struct {
	Request *sdk.Request
}

func NewKuaicheCreativeDeleteV2Request

func NewKuaicheCreativeDeleteV2Request() (req *KuaicheCreativeDeleteV2Request)

create new request

func (*KuaicheCreativeDeleteV2Request) GetData

func (*KuaicheCreativeDeleteV2Request) GetSystem

func (*KuaicheCreativeDeleteV2Request) SetData

func (*KuaicheCreativeDeleteV2Request) SetSystem

type KuaicheCreativeDeleteV2RequestData

type KuaicheCreativeDeleteV2RequestData struct {
	AdIds []uint64 `json:"adIds"` // 创意id列表
}

type KuaicheCreativeListV2Request

type KuaicheCreativeListV2Request struct {
	Request *sdk.Request
}

func NewKuaicheCreativeListV2Request

func NewKuaicheCreativeListV2Request() (req *KuaicheCreativeListV2Request)

create new request

func (*KuaicheCreativeListV2Request) GetData

func (*KuaicheCreativeListV2Request) GetSystem

func (*KuaicheCreativeListV2Request) SetData

func (*KuaicheCreativeListV2Request) SetSystem

type KuaicheCreativeListV2RequestData

type KuaicheCreativeListV2RequestData struct {
	PutType             uint   `json:"putType,omitempty"`             // 投放类型 3商品 4活动
	PageSize            int    `json:"pageSize,omitempty"`            // 每页条数
	ClickOrOrderDay     uint   `json:"clickOrOrderDay"`               // 当天:0;昨天:1;最近15天:15
	CampaignType        uint   `json:"campaignType,omitempty"`        // 计划类型 2普通快车计划 18快车腰带店铺计划
	GiftFlag            uint   `json:"giftFlag"`                      // 包含赠品 0不含赠品 1含赠品
	CampaignId          uint64 `json:"campaignId,omitempty"`          // 计划id
	GroupId             uint64 `json:"groupId,omitempty"`             // 单元id
	OrderStatusCategory uint   `json:"orderStatusCategory,omitempty"` // 订单类型 空:全部订单 1:成交订单
	Status              uint   `json:"status,omitempty"`              // 计划状态 1暂停2启动3预算用完4不在投放时间段
	EndDay              string `json:"endDay"`                        // 结束时间
	NameLike            string `json:"nameLike,omitempty"`            // 计划名称
	StartDay            string `json:"startDay"`                      // 开始时间
	Page                int    `json:"page"`                          // 页码
	Platform            string `json:"platform,omitempty"`            // 设备类型 空:全部 0 pc 1 无线
	ClickOrOrderCaliber uint   `json:"clickOrOrderCaliber"`           // 点击口径:0 订单口径:1
}

type KuaicheCreativeUpdateStatusV2Request

type KuaicheCreativeUpdateStatusV2Request struct {
	Request *sdk.Request
}

func NewKuaicheCreativeUpdateStatusV2Request

func NewKuaicheCreativeUpdateStatusV2Request() (req *KuaicheCreativeUpdateStatusV2Request)

create new request

func (*KuaicheCreativeUpdateStatusV2Request) GetData

func (*KuaicheCreativeUpdateStatusV2Request) GetSystem

func (*KuaicheCreativeUpdateStatusV2Request) SetData

func (*KuaicheCreativeUpdateStatusV2Request) SetSystem

type KuaicheCreativeUpdateStatusV2RequestData

type KuaicheCreativeUpdateStatusV2RequestData struct {
	Ids         []uint64 `json:"ids"`         // 计划id集合
	OperateType uint     `json:"OperateType"` // 状态值 1暂停;2启动
}

Jump to

Keyboard shortcuts

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