aweme

package
v1.6.26 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Overview

Package aweme 千川授权抖音号相关API models

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthorizedGetRequest

type AuthorizedGetRequest struct {
	// AdvertiserID 千川广告主账户id
	AdvertiserID uint64 `json:"advertiser_id,omitempty"`
	// Page 页码.默认值: 1
	Page int `json:"page,omitempty"`
	// PageSize 页面数据量.默认值: 10, 最大值:100
	PageSize int `json:"page_size,omitempty"`
}

AuthorizedGetRequest 获取千川账户下已授权抖音号 API Request

func (AuthorizedGetRequest) Encode

func (r AuthorizedGetRequest) Encode() string

Encode implement GetRequest interface

type AuthorizedGetResponse

type AuthorizedGetResponse struct {
	model.BaseResponse
	// Data json返回值
	Data *AuthorizedGetResponseData `json:"data,omitempty"`
}

AuthorizedGetResponse 获取千川账户下已授权抖音号 API Response

type AuthorizedGetResponseData

type AuthorizedGetResponseData struct {
	// PageInfo 分页信息
	PageInfo model.PageInfo `json:"page_info,omitempty"`
	// AwemeList 抖音号列表
	AwemeList []Aweme `json:"aweme_id_list,omitempty"`
}

AuthorizedGetResponseData json返回值

type Aweme

type Aweme struct {
	// ID 抖音id,用于创建计划,拉取抖音号视频素材时入参
	ID uint64 `json:"aweme_id,omitempty"`
	// Avatar 抖音头像
	Avatar string `json:"aweme_avatar,omitempty"`
	// ShowID 抖音号,即客户在手机端上看到的抖音号,若向客户披露抖音号请使用该字段
	ShowID string `json:"aweme_show_id,omitempty"`
	// Name 抖音号名称
	Name string `json:"aweme_name,omitempty"`
	// Status 抖音号带货状态,返回值:NORMAL 可以正常投放;ANCHOR_FORBID 带货口碑分过低,暂时无法创建计划;ANCHOR_REACH_UPPER_LIMIT_TODAY 带货分过低或暂无带货分,可以创建计划,但无法产生消耗,带货分恢复正常后可正常消耗
	Status enum.AwemeStatus `json:"aweme_status,omitempty"`
	// BindType 抖音号关系类型
	BindType []enum.AwemeBindType `json:"bind_type,omitempty"`
}

Aweme 抖音号

Jump to

Keyboard shortcuts

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