advertiser

package
v1.19.6 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2023 License: Apache-2.0 Imports: 3 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 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 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