Documentation ¶
Overview ¶
Package customercenter 管家账号相关API models
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Advertiser ¶
type Advertiser struct { // ID 广告主id ID uint64 `json:"advertiser_id,omitempty"` // Name 广告主名称(一个对象只会返回企业号和广告主其中一种) Name string `json:"advertiser_name,omitempty"` // AdvertiserType 广告主类型 // 枚举值:DOU+ DOU+类广告主账号、NORMAL普通广告主帐号 // DOU+类广告主账号不支持任何调用接口操作 Type AdvertiserType `json:"advertiser_type,omitempty"` // EDouyinID 企业号id(一个对象只会返回企业号和广告主其中一种) EDouyinID string `json:"e_douyin_id,omitempty"` // EDouyinName 企业号名称(一个对象只会返回企业号和广告主其中一种) EDouyinName string `json:"e_douyin_name,omitempty"` }
Advertiser 广告主
type AdvertiserListData ¶
type AdvertiserListData struct { // List 账户列表 List []Advertiser `json:"list,omitempty"` // PageInfo 分页信息 PageInfo *model.PageInfo `json:"page_info,omitempty"` }
AdvertiserListData json返回值
type AdvertiserListFilter ¶
type AdvertiserListFilter struct { // AccountName 根据账户名称过滤 AccountName string `json:"account_name,omitempty"` }
AdvertiserListFilter 过滤条件
type AdvertiserListRequest ¶
type AdvertiserListRequest struct { // CcAccountID 纵横组织id,通过【获取已授权账户】接口获取 CcAccountID uint64 `json:"cc_account_id,omitempty"` // Page 页码. 默认值: 1 Page int `json:"page,omitempty"` // PageSize 页面数据量. 默认值: 10 PageSize int `json:"page_size,omitempty"` // Filtering 过滤条件 Filtering *AdvertiserListFilter `json:"filtering,omitempty"` }
AdvertiserListRequest 获取纵横组织下资产账户列表(分页) API Request
func (AdvertiserListRequest) Encode ¶
func (r AdvertiserListRequest) Encode() string
Encode implement GetRequest interface
type AdvertiserListResponse ¶
type AdvertiserListResponse struct { model.BaseResponse // Data json返回值 Data *AdvertiserListData `json:"data,omitempty"` }
AdvertiserListResponse 获取纵横组织下资产账户列表(分页)API Response
type AdvertiserType ¶
type AdvertiserType string
AdvertiserType 广告主类型
const ( // AdvertiserType_DOU DOU+类广告主账号 AdvertiserType_DOU AdvertiserType = "DOU+" // AdvertiserType_NORMAL 普通广告主帐号 AdvertiserType_NORMAL AdvertiserType = "NORMAL" )
Click to show internal directories.
Click to hide internal directories.