adcompass

package
v0.0.0-...-39b604f Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package adcompass 账户罗盘

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Advertiser

type Advertiser struct {
	CorporationName string       `json:"legalEntityName,omitempty"`
	AdvertiserName  string       `json:"accountName,omitempty"`
	AdvertiserId    model.Uint64 `json:"accountId,omitempty"`
}

type AdvertisersRequest

type AdvertisersRequest struct {

	// 代理商ID,直客广告主、代理商开发者使用
	AgentId uint64 `json:"agentId,omitempty"`
	// 实体ID,渠道广告主、三方服务商、MMP 开发者使用
	CorpId     uint64 `json:"corpId,omitempty"`
	PageSize   uint64 `json:"pageSize,omitempty"` //请求页码,默认为1
	PageNumber uint64 `json:"pageNo,omitempty"`   //每页行数,默认20,支持范围1-200
}

AdvertisersRequest 广告罗盘请求信息

func (AdvertisersRequest) Encode

func (r AdvertisersRequest) Encode() []byte

Encode implement PostRequest interface

func (AdvertisersRequest) Url

func (r AdvertisersRequest) Url() string

Url implement PostRequest interface

type AdvertisersResponse

type AdvertisersResponse struct {
	Total   int          `json:"total"`
	Details []Advertiser `json:"data,omitempty"`
}

AdvertisersResponse 罗盘账户

type QuotaTendingRequest

type QuotaTendingRequest struct {
	// TendingDetails 待腾挪组
	TendingDetails []TendingDetails `json:"tending_details,omitempty"`
}

QuotaTendingRequest 磁力罗盘对外 quota 腾挪接口

func (QuotaTendingRequest) Encode

func (r QuotaTendingRequest) Encode() []byte

Encode implement PostRequest interface

func (QuotaTendingRequest) Url

func (r QuotaTendingRequest) Url() string

Url implement PostRequest interface

type QuotaTendingResponse

type QuotaTendingResponse struct {
	// Describe 操作成功描述信息
	Describe string `json:"describe,omitempty"`
}

QuotaTendingResponse

type TendingDetails

type TendingDetails struct {
	// FromAccountID 转出 account_id
	FromAccountID uint64 `json:"from_account_id,omitempty"`
	// ToAccountID 转入 account_id
	ToAccountID uint64 `json:"to_account_id,omitempty"`
	// TendingCount 腾挪额度
	TendingCount int64 `json:"tending_count,omitempty"`
}

TendingDetails 待腾挪组

Jump to

Keyboard shortcuts

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