adgroup

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 KuaicheAdgroupAddV2Request

type KuaicheAdgroupAddV2Request struct {
	Request *sdk.Request
}

func NewKuaicheAdgroupAddV2Request

func NewKuaicheAdgroupAddV2Request() (req *KuaicheAdgroupAddV2Request)

create new request

func (*KuaicheAdgroupAddV2Request) GetData

func (*KuaicheAdgroupAddV2Request) GetSystem

func (*KuaicheAdgroupAddV2Request) SetData

func (*KuaicheAdgroupAddV2Request) SetSystem

type KuaicheAdgroupAddV2RequestAd

type KuaicheAdgroupAddV2RequestAd struct {
	SkuId       string `json:"skuId"`                 // skuId
	AdName      string `json:"adName"`                // 创意名称
	ImgUrl      string `json:"imgUrl,omitempty"`      // 图片地址,不填写则为sku默认主图,当sku为特殊类目时,需要自定义标题与图片
	CustomTitle string `json:"customTitle,omitempty"` // 创意标题,长度为10-30字符,不填写则为sku默认标题,当sku为特殊类目时,需要自定义标题与图片
}

type KuaicheAdgroupAddV2RequestCrowdVO

type KuaicheAdgroupAddV2RequestCrowdVO struct {
	IsUsed uint `json:"isUsed"` // 是否启用智能定向,0:不启用,1:启用
}

type KuaicheAdgroupAddV2RequestData

type KuaicheAdgroupAddV2RequestData struct {
	AdList               []KuaicheAdgroupAddV2RequestAd     `json:"adList,omitempty"`             // 创意集合,商品类型计划必须先填写创意,腰带店铺可不填写
	NewAreaIds           []string                           `json:"newAreaIds,omitempty"`         // 地域id列表,可通过jingdong.ads.dsp.rtb.area.query.v2接口获取对应的地域id
	CrowdVO              *KuaicheAdgroupAddV2RequestCrowdVO `json:"crowdVO"`                      // 推荐人群,默认开启一个智能人群(推荐人群已下线)
	FeeDecimal           uint                               `json:"feeDecimal"`                   // 单元pc出价
	InSearchFee          uint                               `json:"inSearchFee"`                  // 搜索广告位 PC端出价
	CampaignId           uint64                             `json:"campaignId"`                   // 商品类型的计划id
	MobilePriceCoef      uint                               `json:"mobilePriceCoef"`              // 无线出价系数
	Name                 string                             `json:"name"`                         // 单元名称
	AutomatedBiddingType uint                               `json:"automatedBiddingType"`         // 出价控制方式,2:系统智能调价(投放目标为自定义的系统智能托管) 256:预算控制(投方目标可选择点击,下单,成交) 若使用智能出价必填,腰带店铺填写0:手动出价
	DeliveryTarget       uint                               `json:"deliveryTarget,omitempty"`     // 投放目标: 1, 自定义, 2, 点击, 3,下单, 4, 成交,选择智能出价控制必须填写
	DayCost              uint                               `json:"dayCost"`                      // 统一日消耗(范围50-计划设置的日预算值),出价控制方式为预算控制必须填写
	TcpaMaxClickBid      uint                               `json:"tcpaMaxClickBid,omitempty"`    // CPC上限(范围 2-9999),选择预算控制非系统托管需要填写
	PremiumCoef          uint                               `json:"premiumCoef,omitempty"`        // 溢价系数,投放目标为自定义,出价控制方式为系统智能调价选择自定义上限必填 30-300
	BiddingControlType   uint                               `json:"biddingControlType,omitempty"` // 控制方式,1系统托管,3指定上限,若指定上限需和tcpaMaxClickBid配合使用
	OrientationRange     uint                               `json:"orientationRange,omitempty"`   // 智能出价定向范围,投放目标为自定义,出价控制方式为智能调价必填,1:关键词定向,2:商品定向,3:关键词+商品定向
	ShopId               uint64                             `json:"shopId,omitempty"`             // 店铺id,腰带店铺单元必填
}

type KuaicheAdgroupDeleteV2Request

type KuaicheAdgroupDeleteV2Request struct {
	Request *sdk.Request
}

func NewKuaicheAdgroupDeleteV2Request

func NewKuaicheAdgroupDeleteV2Request() (req *KuaicheAdgroupDeleteV2Request)

create new request

func (*KuaicheAdgroupDeleteV2Request) GetData

func (*KuaicheAdgroupDeleteV2Request) GetSystem

func (*KuaicheAdgroupDeleteV2Request) SetData

func (*KuaicheAdgroupDeleteV2Request) SetSystem

type KuaicheAdgroupDeleteV2RequestData

type KuaicheAdgroupDeleteV2RequestData struct {
	Ids []uint64 `json:"ids"` // 单元id集合
}

type KuaicheAdgroupGetV2Request

type KuaicheAdgroupGetV2Request struct {
	Request *sdk.Request
}

func NewKuaicheAdgroupGetV2Request

func NewKuaicheAdgroupGetV2Request() (req *KuaicheAdgroupGetV2Request)

create new request

func (*KuaicheAdgroupGetV2Request) GetData

func (*KuaicheAdgroupGetV2Request) GetSystem

func (*KuaicheAdgroupGetV2Request) SetData

func (*KuaicheAdgroupGetV2Request) SetSystem

type KuaicheAdgroupGetV2RequestData

type KuaicheAdgroupGetV2RequestData struct {
	Id uint64 `json:"id"` // 计划id
}

type KuaicheAdgroupListV2Request

type KuaicheAdgroupListV2Request struct {
	Request *sdk.Request
}

func NewKuaicheAdgroupListV2Request

func NewKuaicheAdgroupListV2Request() (req *KuaicheAdgroupListV2Request)

create new request

func (*KuaicheAdgroupListV2Request) GetData

func (*KuaicheAdgroupListV2Request) GetSystem

func (*KuaicheAdgroupListV2Request) SetData

func (*KuaicheAdgroupListV2Request) SetSystem

type KuaicheAdgroupListV2RequestData

type KuaicheAdgroupListV2RequestData struct {
	PutType             uint     `json:"putType,omitempty"`             // 投放类型 3商品 4活动
	PageSize            int      `json:"pageSize,omitempty"`            // 每页条数
	ClickOrOrderDay     uint     `json:"clickOrOrderDay"`               // 转化周期 当天:0 1天:1 3天:3 7天:7 15天: 15
	CampaignType        uint     `json:"campaignType,omitempty"`        // 计划类型 2普通快车 18 快车腰带店铺
	GiftFlag            uint     `json:"giftFlag"`                      // 包含赠品 0不含赠品 1含赠品
	CampaignId          uint64   `json:"campaignId,omitempty"`          // 计划id
	OrderStatusCategory uint     `json:"orderStatusCategory,omitempty"` // 订单类型 空:全部订单 1:成交订单
	Status              uint     `json:"status,omitempty"`              // 单元状态 1 暂停 2 启动
	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:下单
	Filters             []string `json:"filters,omitempty"`             // 高级查询,格式为 属性|条件|属性值,条件为:gt大于,lt小于,如impressions|gt|10,表示展现数大于10
}

type KuaicheAdgroupUpdateAreaV2Request

type KuaicheAdgroupUpdateAreaV2Request struct {
	Request *sdk.Request
}

func NewKuaicheAdgroupUpdateAreaV2Request

func NewKuaicheAdgroupUpdateAreaV2Request() (req *KuaicheAdgroupUpdateAreaV2Request)

create new request

func (*KuaicheAdgroupUpdateAreaV2Request) GetData

func (*KuaicheAdgroupUpdateAreaV2Request) GetSystem

func (*KuaicheAdgroupUpdateAreaV2Request) SetData

func (*KuaicheAdgroupUpdateAreaV2Request) SetSystem

type KuaicheAdgroupUpdateAreaV2RequestData

type KuaicheAdgroupUpdateAreaV2RequestData struct {
	Ids        []uint64 `json:"ids"`        // 单元id集合
	NewAreaIds []string `json:"newAreaIds"` // 区域码集合
}

type KuaicheAdgroupUpdateFeeV2Request

type KuaicheAdgroupUpdateFeeV2Request struct {
	Request *sdk.Request
}

func NewKuaicheAdgroupUpdateFeeV2Request

func NewKuaicheAdgroupUpdateFeeV2Request() (req *KuaicheAdgroupUpdateFeeV2Request)

create new request

func (*KuaicheAdgroupUpdateFeeV2Request) GetData

func (*KuaicheAdgroupUpdateFeeV2Request) GetSystem

func (*KuaicheAdgroupUpdateFeeV2Request) SetData

func (*KuaicheAdgroupUpdateFeeV2Request) SetSystem

type KuaicheAdgroupUpdateFeeV2RequestAutoBiddingModuleVO

type KuaicheAdgroupUpdateFeeV2RequestAutoBiddingModuleVO struct {
	DayCost            uint `json:"dayCost"`            // 统一日消耗(范围50-计划设置的日预算值),出价控制方式为预算控制必须填写
	TcpaMaxClickBid    uint `json:"tcpaMaxClickBid"`    // CPC上限(范围 2-9999),选择预算控制非系统托管需要填写
	BiddingControlType uint `json:"biddingControlType"` // 控制方式,1系统托管,3指定上限,若指定上限需和tcpaMaxClickBid配合使用
}

type KuaicheAdgroupUpdateFeeV2RequestData

type KuaicheAdgroupUpdateFeeV2RequestData struct {
	MobilePriceCoef     uint64                                               `json:"mobilePriceCoef"`               // 快车单元无线出价系数
	InSearchFee         float64                                              `json:"inSearchFee"`                   // 快车pc搜索出价
	Id                  uint64                                               `json:"id"`                            // 快车单元id
	RecommendFee        float64                                              `json:"recommendFee"`                  // 快车pc推荐出价
	AutoBiddingModuleVO *KuaicheAdgroupUpdateFeeV2RequestAutoBiddingModuleVO `json:"autoBiddingModuleVO,omitempty"` // 智能出价相关信息
}

type KuaicheAdgroupUpdateNameV2Request

type KuaicheAdgroupUpdateNameV2Request struct {
	Request *sdk.Request
}

func NewKuaicheAdgroupUpdateNameV2Request

func NewKuaicheAdgroupUpdateNameV2Request() (req *KuaicheAdgroupUpdateNameV2Request)

create new request

func (*KuaicheAdgroupUpdateNameV2Request) GetData

func (*KuaicheAdgroupUpdateNameV2Request) GetSystem

func (*KuaicheAdgroupUpdateNameV2Request) SetData

func (*KuaicheAdgroupUpdateNameV2Request) SetSystem

type KuaicheAdgroupUpdateNameV2RequestData

type KuaicheAdgroupUpdateNameV2RequestData struct {
	Id   uint64 `json:"id"`   // 快车单元id
	Name string `json:"name"` // 单元名称
}

type KuaicheAdgroupUpdateStatusV2Request

type KuaicheAdgroupUpdateStatusV2Request struct {
	Request *sdk.Request
}

func NewKuaicheAdgroupUpdateStatusV2Request

func NewKuaicheAdgroupUpdateStatusV2Request() (req *KuaicheAdgroupUpdateStatusV2Request)

create new request

func (*KuaicheAdgroupUpdateStatusV2Request) GetData

func (*KuaicheAdgroupUpdateStatusV2Request) GetSystem

func (*KuaicheAdgroupUpdateStatusV2Request) SetData

func (*KuaicheAdgroupUpdateStatusV2Request) SetSystem

type KuaicheAdgroupUpdateStatusV2RequestData

type KuaicheAdgroupUpdateStatusV2RequestData 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