Documentation ¶
Overview ¶
Package asset 高级创意相关API models
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdvCard ¶
type AdvCard struct { // AdvCardID 卡片 id AdvCardID uint64 `json:"adv_card_id,omitempty"` // TemplateName 模版名 TemplateName string `json:"template_name,omitempty"` // UnitCount 关联广告组数 UnitCount int `json:"unit_count,omitempty"` // URL 图片 url URL string `json:"url,omitempty"` // Title 标题 Title string `json:"title,omitempty"` // SubTitle 副标题 SubTitle string `json:"sub_title,omitempty"` // Price 原价格(单位:分) Price int64 `json:"price,omitempty"` // SalePrice 售卖价(单位:分) SalePrice int64 `json:"sale_price,omitempty"` // CardType 卡片类型; 100:图片卡片 101:多利益卡-图文 102:多利益卡-多标签 103:电商促销样式 104:快捷评论卡 CardType int `json:"card_type,omitempty"` // ContentType 卡片内容类型; 当 card_type = 104 必填,当创建 emoji 快捷评论卡时,填 2 ContentType int `json:"content_type,omitempty"` // EmojiList emoji 信息; 当 card_type = 104 必填 EmojiList []Emoji `json:"emoji_list,omitempty"` }
AdvCard 高级创意
type AdvCardCreateRequest ¶
type AdvCardCreateRequest struct { // AdvertiserID 广告主 id AdvertiserID uint64 `json:"advertiser_id,omitempty"` // AdvList 卡片 AdvList []AdvCard `json:"adv_list,omitempty"` }
AdvCardCreateRequest 创建高级创意接口API Request
func (AdvCardCreateRequest) Encode ¶
func (r AdvCardCreateRequest) Encode() []byte
Encode implenment PostRequest interface
func (AdvCardCreateRequest) Url ¶
func (r AdvCardCreateRequest) Url() string
Url implement PostRequest interface
type AdvCardCreateResponse ¶
type AdvCardCreateResponse struct { // AdvList 卡片 id 数组 AdvList []uint64 `json:"adv_list,omitempty"` }
AdvCardCreateResponse 创建高级创意接口
type AdvCardListRequest ¶
type AdvCardListRequest struct { // AdvertiserID 广告主 id AdvertiserID uint64 `json:"advertiser_id,omitempty"` // CardType 卡片类型; 100:图片卡片 101:多利益卡-图文 102:多利益卡-多标签 103:电商促销样式 CardType int `json:"card_type,omitempty"` // Page 查询的页码数 Page int `json:"page,omitempty"` // PageSize 单页行数 PageSize int `json:"page_size,omitempty"` }
AdvCardListRequest 获取高级创意列表
func (AdvCardListRequest) Encode ¶
func (r AdvCardListRequest) Encode() []byte
Encode implement PostRequest interface
func (AdvCardListRequest) Url ¶
func (r AdvCardListRequest) Url() string
Url implement PostRequest interface
type AdvCardListResponse ¶
type AdvCardListResponse struct { // TotalCount 卡片总数 TotalCount int `json:"total_count,omitempty"` // Details 卡片列表 Details []AdvCard `json:"details,omitempty"` }
AdvCardListResponse 获取高级创意列表
type AdvCardRemoveRequest ¶
type AdvCardRemoveRequest struct { // AdvertiserID 广告主 id AdvertiserID uint64 `json:"advertiser_id,omitempty"` // AdvCardID 卡片 id AdvCardID uint64 `json:"adv_card_id,omitempty"` }
AdvCardRemoveRequest 删除高级创意接口
func (AdvCardRemoveRequest) Encode ¶
func (r AdvCardRemoveRequest) Encode() []byte
Encode implement PostRequest interface
func (AdvCardRemoveRequest) Url ¶
func (r AdvCardRemoveRequest) Url() string
Url implement PostRequest interface
type AdvCardRemoveResponse ¶
type AdvCardRemoveResponse struct { // AdvCardID 卡片 id 数组 AdvCardID []uint64 `json:"adv_card_id,omitempty"` }
AdvCardRemoveResponse 删除高级创意接口 API Response
Click to show internal directories.
Click to hide internal directories.