account

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2021 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	UserId         int64   `json:"userId,omitempty"`         // 账户ID
	Balance        float64 `json:"balance,omitempty"`        // 账户余额。此字段仅用于查询,updateAccountFeed接口传此字段无效。
	Budget         float64 `json:"budget,omitempty"`         // 账户预算。默认为0,表示不限预算。正常取值范围为[50-9999999.99]
	BalancePackage int     `json:"balancePackage,omitempty"` // 资金包类型。此字段仅用于查询,updateAccountFeed接口传此字段无效。取值范围如下:0:原生资金包 1:凤巢资金包 2:代理商原生资金包
	UserStat       int     `json:"userStat,omitempty"`       // 账户状态。此字段仅用于查询,updateAccountFeed接口传此字段无效。取值范围如下:1:开户金未到 2:生效 3:账户余额为0 4:被拒绝 6:审核中 7:被禁用 8:待激活 11:账户预算不足
	UaStat         int     `json:"uaStat,omitempty"`         // 是否开通feed产品线权限。此字段仅用于查询,updateAccountFeed接口传此字段无效。取值范围如下:1:已开通 2:待开通 3:不允许开通(KA客户)
	ValidFlows     []int   `json:"validFlow,omitempty"`      // 可投放流量。此字段仅用于查询,updateAccountFeed接口传此字段无效。数组为空时表示无可投放流量。流量类型与推广单元对象的ftypes字段定义保持一致,取值范围如下:1:手机百度 2:贴吧 4:百青藤 8:好看视频 64:百度小说
}

type GetAccountFeedRequest

type GetAccountFeedRequest struct {
	AccountFeedFields []string `json:"accountFeedFields,omitempty"` // 需要查询的账户属性。取值范围参考账户信息对象中的字段取值
}

func (GetAccountFeedRequest) Url

func (r GetAccountFeedRequest) Url() string

type GetAccountFeedResponse

type GetAccountFeedResponse struct {
	Data []Account `json:"data,omitempty"`
}

type RTASetting

type RTASetting struct {
	UserId      int64   `json:"userId,omitempty"`      // 账户ID
	Url         string  `json:"url,omitempty"`         // 接口地址,长度不超过1024个字符,http/https开头,不含空格,必填
	Qps         *int    `json:"qps,omitempty"`         // 请求qps,大于等于0,0表示不限制(默认),单位次/秒,选填,此字段暂不生效
	CacheTime   *int64  `json:"cacheTime,omitempty"`   // 缓存时长,大于等于0,0表示不使用缓存(默认),单位秒,选填,此字段暂不生效
	StrategyIds []int64 `json:"strategyIds,omitempty"` // 策略ids,大于0,上限100个,选填
	CustomToken string  `json:"customToken,omitempty"` // 自定义token,最大256个字符,选填
	Token       string  `json:"token,omitempty"`       // 百度认证token,系统自动生成,新增无效
}

type UpdateAccountFeedRequest

type UpdateAccountFeedRequest struct {
	Budget float64 `json:"budget,omitempty"` // 账户预算。默认为0,表示不限预算。正常取值范围为[50-9999999.99]
}

func (UpdateAccountFeedRequest) Url

type UpdateAccountFeedResponse

type UpdateAccountFeedResponse struct {
	Data []Account `json:"data,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL