Documentation ¶
Overview ¶
Package advertiser 账户信息获取
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountBudgetGetRequest ¶ added in v1.19.9
type AccountBudgetGetRequest struct { // AdvertiserID 广告主ID AdvertiserID uint64 `json:"advertiser_id,omitempty"` }
AccountBudgetGetRequest 获取账户日预算
func (AccountBudgetGetRequest) Encode ¶ added in v1.19.9
func (r AccountBudgetGetRequest) Encode() string
Encode implement GetRequest interface
type AccountBudgetGetResponse ¶ added in v1.19.9
type AccountBudgetGetResponse struct { model.BaseResponse Data *Budget `json:"data,omitempty"` }
AccountBudgetGetResponse 获取账户日预算
type AccountBudgetUpdateRequest ¶ added in v1.19.9
type AccountBudgetUpdateRequest struct { // AdvertiserID 广告主ID AdvertiserID uint64 `json:"advertiser_id,omitempty"` // BudgetMode 预算类型 // INFINITE 不限 // SPECIFIED 日预算 BudgetMode qianchuan.BudgetMode `json:"budget_mode,omitempty"` // Budget 账户今日竞价预算,单位元 Budget float64 `json:"budget,omitempty"` }
AccountBudgetUpdateRequest 更新账户日预算 API Request
func (AccountBudgetUpdateRequest) Encode ¶ added in v1.19.9
func (r AccountBudgetUpdateRequest) Encode() []byte
type Advertiser ¶
type Budget ¶ added in v1.19.9
type Budget struct { // BudgetMode 预算类型 // INFINITE 不限 // SPECIFIED 日预算 BudgetMode qianchuan.BudgetMode `json:"budget_mode,omitempty"` // Budget 账户今日竞价预算,单位元 Budget float64 `json:"budget,omitempty"` }
type TypeGetRequest ¶
type TypeGetRequest struct { // AdvertiserIDs 千川广告主账户id,一次请求不超过20个 AdvertiserIDs []uint64 `json:"advertiser_ids,omitempty"` }
TypeGetRequest 获取千川账户类型 API Request
func (TypeGetRequest) Encode ¶
func (r TypeGetRequest) Encode() string
Encode implement GetRequest interface
type TypeGetResponse ¶
type TypeGetResponse struct { model.BaseResponse Data struct { // List 广告主数据列表 List []Advertiser `json:"list,omitempty"` } `json:"data,omitempty"` }
TypeGetResponse 获取千川账户类型 API Response
Click to show internal directories.
Click to hide internal directories.