Documentation ¶
Overview ¶
Package customaudience 人群包相关
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomAudience ¶
type CustomAudience struct { // CustomAudienceID 人群包ID CustomAudienceID uint64 `json:"custom_audience_id,omitempty"` // Name 人群包名称 Name string `json:"name,omitempty"` // TagsType 人群包属性 TagsType local.CustomAudienceTagsType `json:"tags_type,omitempty"` // CreateTime 人群包创建时间 CreateTime string `json:"create_time,omitempty"` }
CustomAudience 人群包
type GetRequest ¶
type GetRequest struct { // LocalAccountID 本地推广告主ID LocalAccountID uint64 `json:"local_account_id,omitempty"` // TagsType 按人群包属性筛选,允许值: // CUSTOM 自定义人群包 // SYS_RECOMMEND 系统推荐人群包 TagsType local.CustomAudienceTagsType `json:"tags_type,omitempty"` // Page 页码,默认值1 Page int `json:"page,omitempty"` // PageSize 页面大小,默认值20,最大值100 PageSize int `json:"page_size,omitempty"` }
GetRequest 查询本地推创编可用人群包 API Request
func (GetRequest) Encode ¶
func (r GetRequest) Encode() string
Encode implements GetRequest interface
type GetResponse ¶
type GetResponse struct { model.BaseResponse Data *GetResult `json:"data,omitempty"` }
GetResponse 查询本地推创编可用人群包 API Response
type GetResult ¶
type GetResult struct { // PageInfo 分页信息 PageInfo *model.PageInfo `json:"page_info,omitempty"` // CustomAudienceList 人群包列表 CustomAudienceList []CustomAudience `json:"custom_audience_list,omitempty"` }
Click to show internal directories.
Click to hide internal directories.