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 Balance ¶ added in v1.21.9
type Balance struct { // AdvertiserID 广告主ID或代理商ID AdvertiserID uint64 `json:"advertiser_id,omitempty"` // AccountTotal 账户总余额 AccountTotal float64 `json:"account_total,omitempty"` // AccountValid 账户可用总余额 AccountValid float64 `json:"account_valid,omitempty"` // AccountFrozen 账户冻结总余额 AccountFrozen float64 `json:"account_frozen,omitempty"` // AccountGeneralTotal 通用总余额 AccountGeneralTotal float64 `json:"account_general_total,omitempty"` // AccountGeneralValid 通用可用余额 AccountGeneralValid float64 `json:"account_general_valid,omitempty"` // AccountGeneralFrozen 通用冻结余额 AccountGeneralFrozen float64 `json:"account_general_frozen,omitempty"` // AccountBiddingTotal 竞价总余额 AccountBiddingTotal float64 `json:"account_bidding_total,omitempty"` // AccountBiddingValid 竞价可用余额 AccountBiddingValid float64 `json:"account_bidding_valid,omitempty"` // AccountBiddingFrozen 竞价冻结余额 AccountBiddingFrozen float64 `json:"account_bidding_frozen,omitempty"` // AccountBrandTotal 账户品牌总余额 AccountBrandTotal float64 `json:"account_brand_total,omitempty"` // AccountBrandValid 账户品牌可用余额 AccountBrandValid float64 `json:"account_brand_valid,omitempty"` // AccountBrandFrozen 账户品牌冻结余额 AccountBrandFrozen float64 `json:"account_brand_frozen,omitempty"` ShareGrantTotal float64 `json:"share_grant_total,omitempty"` ShareWalletGeneralValid float64 `json:"share_wallet_general_valid,omitempty"` ShareWalletBiddingValid float64 `json:"share_wallet_bidding_valid,omitempty"` ShareWalletBrandValid float64 `json:"share_wallet_brand_valid,omitempty"` ShareWalletID string `json:"share_wallet_id,omitempty"` ShareWalletName string `json:"share_wallet_name,omitempty"` ShareWalletTotal float64 `json:"share_wallet_total,omitempty"` }
type BalanceGetRequest ¶ added in v1.21.9
type BalanceGetRequest struct { // AdvertiserID 广告主ID AdvertiserID uint64 `json:"advertiser_id,omitempty"` }
BalanceGetRequest 获取账户余额 API Request
func (BalanceGetRequest) Encode ¶ added in v1.21.9
func (r BalanceGetRequest) Encode() string
Encode implement GetRequest interface
type BalanceGetResponse ¶ added in v1.21.9
type BalanceGetResponse struct { model.BaseResponse Data *Balance `json:"data,omitempty"` }
BalanceGetResponse 获取账户余额 API Response
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.