advertiser

package
v1.21.3 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

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 Advertiser struct {
	// EcpType 账户类型,可选值:
	// SHOP: 商家
	// SHOP_STAR: 商家达人
	// COMMON_STAR: 普通达人
	// AGENT: 百应机构
	EcpType qianchuan.EcpType `json:"ecp_type,omitempty"`
	// AdvertiserID 广告主id
	AdvertiserID uint64 `json:"advertiser_id,omitempty"`
}

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

Jump to

Keyboard shortcuts

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