Documentation
¶
Overview ¶
Package aweme 抖音达人
Index ¶
- type Author
- type AwemeAuthorInfoGetRequest
- type AwemeAuthorInfoGetResponse
- type AwemeCategoryTopAuthorGetRequest
- type AwemeCategoryTopAuthorGetResponse
- type AwemeInfoSearchRequest
- type AwemeInfoSearchResponse
- type AwemeInfoSearchResult
- type AwemeMultiLevelCategoryGetRequest
- type AwemeMultiLevelCategoryGetResponse
- type AwemeSimilarAuthorSearchRequest
- type AwemeSimilarAuthorSearchResponse
- type Category
- type LimitedPromotionType
- type LiveAuthorize
- type LiveAuthorizeListRequest
- type LiveAuthorizeListResponse
- type LiveAuthorizeListResponseData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Author ¶
type Author struct {
// AwemeID 抖音id
AwemeID string `json:"aweme_id,omitempty"`
// LabelID 抖音号id
LabelID uint64 `json:"label_id,omitempty"`
// Name 抖音作者名
Name string `json:"author_name,omitempty"`
// Avatar 抖音头像
Avatar string `json:"avatar,omitempty"`
// CategoryName 抖音分类
CategoryName string `json:"category_name,omitempty"`
// TotalFansNumStr 粉丝数
TotalFansNumStr string `json:"total_fans_num_str,omitempty"`
// CoverNumStr 覆盖人群数
CoverNumStr string `json:"cover_num_str,omitempty"`
}
Author 抖音账户信息
type AwemeAuthorInfoGetRequest ¶
type AwemeAuthorInfoGetRequest struct {
// AdvertiserID 广告主id
AdvertiserID uint64 `json:"advertiser_id,omitempty"`
// LabelIDs 抖音号id列表,取值大小:1~50;label_id即计划中设置的抖音达人账号的id
LabelIDs []uint64 `json:"label_ids,omitempty"`
// Behaviors 抖音用户行为类型
Behaviors []enum.Behavior `json:"behaviors,omitempty"`
}
AwemeAuthorInfoGetRequest 查询抖音号id对应的达人信息 API Request
func (AwemeAuthorInfoGetRequest) Encode ¶
func (r AwemeAuthorInfoGetRequest) Encode() string
Encode implement GetRequest interface
type AwemeAuthorInfoGetResponse ¶
type AwemeAuthorInfoGetResponse struct {
model.BaseResponse
// Data json返回值
Data struct {
List []Author `json:"authors,omitempty"`
} `json:"data,omitempty"`
}
AwemeAuthorInfoGetResponse 查询抖音号id对应的达人信息 API Response
type AwemeCategoryTopAuthorGetRequest ¶
type AwemeCategoryTopAuthorGetRequest struct {
// AdvertiserID 广告主id
AdvertiserID uint64 `json:"advertiser_id,omitempty"`
// CategoryID 类目id,一级,二级,三级类目id均可
CategoryID uint64 `json:"category_id,omitempty"`
// Behaviors 抖音用户行为类型
Behaviors []enum.Behavior `json:"behaviors,omitempty"`
}
AwemeCategoryTopAuthorGetRequest 查询抖音类目下的推荐达人 API Request
func (AwemeCategoryTopAuthorGetRequest) Encode ¶
func (r AwemeCategoryTopAuthorGetRequest) Encode() string
Encode implement GetRequest interface
type AwemeCategoryTopAuthorGetResponse ¶
type AwemeCategoryTopAuthorGetResponse struct {
model.BaseResponse
// Data json返回值
Data struct {
List []Author `json:"authors,omitempty"`
} `json:"data,omitempty"`
}
AwemeCategoryTopAuthorGetResponse 查询抖音类目下的推荐达人 API Response
type AwemeInfoSearchRequest ¶
type AwemeInfoSearchRequest struct {
// AdvertiserID 广告主id
AdvertiserID uint64 `json:"advertiser_id,omitempty"`
// QueryWord 搜索词
QueryWord string `json:"query_word,omitempty"`
// Behaviors 抖音用户行为类型
Behaviors []enum.Behavior `json:"behaviors,omitempty"`
}
AwemeInfoSearchRequest 查询抖音帐号和类目信息 API Request
func (AwemeInfoSearchRequest) Encode ¶
func (r AwemeInfoSearchRequest) Encode() string
Encode implement GetRequest interface
type AwemeInfoSearchResponse ¶
type AwemeInfoSearchResponse struct {
model.BaseResponse
// Data json返回值
Data struct {
List *AwemeInfoSearchResult `json:"list,omitempty"`
} `json:"data,omitempty"`
}
AwemeInfoSearchResponse 查询抖音帐号和类目信息 API Response
type AwemeInfoSearchResult ¶
type AwemeInfoSearchResult struct {
Categories []Category `json:"categories,omitempty"`
Authors []Author `json:"authors,omitempty"`
}
AwemeInfoSearchResult 抖音账号类目信息
type AwemeMultiLevelCategoryGetRequest ¶
type AwemeMultiLevelCategoryGetRequest struct {
// AdvertiserID 广告主id
AdvertiserID uint64 `json:"advertiser_id,omitempty"`
// Behaviors 抖音用户行为类型
Behaviors []enum.Behavior `json:"behaviors,omitempty"`
}
AwemeMultiLevelCategoryGetRequest 查询抖音类目列表 API Request
func (AwemeMultiLevelCategoryGetRequest) Encode ¶
func (r AwemeMultiLevelCategoryGetRequest) Encode() string
Encode implement GetRequest interface
type AwemeMultiLevelCategoryGetResponse ¶
type AwemeMultiLevelCategoryGetResponse struct {
model.BaseResponse
// Data json返回值
Data struct {
List []Category `json:"categories,omitempty"`
} `json:"data,omitempty"`
}
AwemeMultiLevelCategoryGetResponse 查询抖音帐号和类目信息 API Response
type AwemeSimilarAuthorSearchRequest ¶
type AwemeSimilarAuthorSearchRequest struct {
// AdvertiserID 广告主id
AdvertiserID uint64 `json:"advertiser_id,omitempty"`
// AwemeID 抖音id
AwemeID string `json:"aweme_id,omitempty"`
// Behaviors 抖音用户行为类型
Behaviors []enum.Behavior `json:"behaviors,omitempty"`
}
AwemeSimilarAuthorSearchRequest 查询抖音类似帐号 API Request
func (AwemeSimilarAuthorSearchRequest) Encode ¶
func (r AwemeSimilarAuthorSearchRequest) Encode() string
Encode implement GetRequest interface
type AwemeSimilarAuthorSearchResponse ¶
type AwemeSimilarAuthorSearchResponse struct {
model.BaseResponse
// Data json返回值
Data struct {
List []Author `json:"list,omitempty"`
} `json:"data,omitempty"`
}
AwemeSimilarAuthorSearchResponse 查询抖音帐号和类目信息 API Response
type Category ¶
type Category struct {
// ID 抖音类目分类
ID uint64 `json:"id,omitempty"`
// CoverNumStr 覆盖人群数
CoverNumStr string `json:"cover_num_str,omitempty"`
// FansNumStr 粉丝数
FansNumStr string `json:"fans_num_str,omitempty"`
// Value 抖音类目名称
Value string `json:"value,omitempty"`
// Children 次级分类信息
Children []Category `json:"children,omitempty"`
}
Category 抖音类目信息
type LimitedPromotionType ¶
type LimitedPromotionType struct {
// Msg 场景信息
Msg string `json:"msg,omitempty"`
}
LimitedPromotionType 限制抖音号使用场景信息
type LiveAuthorize ¶
type LiveAuthorize struct {
// IesID 抖音号id
IesID string `json:"ies_id,omitempty"`
// IesUserName 抖音昵称
IesUserName string `json:"ies_user_name,omitempty"`
// AdvertiserID 广告主id
AdvertiserID uint64 `json:"advertiser_id,omitempty"`
// CreateTime 发起时间,格式yyyy-mm-dd hh:MM:ss
CreateTime string `json:"create_time,omitempty"`
// AuthorizeStarttime 直播授权开始时间,格式yyyy-mm-dd hh:MM:ss
AuthorizeStarttime string `json:"authorize_starttime,omitempty"`
// AuthorizeEndtime 直播授权结束时间,格式yyyy-mm-dd hh:MM:ss
AuthorizeEndtime string `json:"authorize_endtime,omitempty"`
// LimitedPromotionTypes 限制抖音号使用场景信息
LimitedPromotionTypes []LimitedPromotionType `json:"limited_promotion_types,omitempty"`
}
LiveAuthorize 达人授权信息
type LiveAuthorizeListRequest ¶
type LiveAuthorizeListRequest struct {
// AdvertiserID 广告主id
AdvertiserID uint64 `json:"advertiser_id,omitempty"`
// Status 直播达人授权状态列表 ,允许值:APPLYING申请中、APPLY_OVERDUE申请过期、AUTHORIZING授权中、AUTHORIZE_OVERDUE授权过期
Status []enum.LiveAuthorizeStatus `json:"status,omitempty"`
// Page 当前页码,默认值:1
Page int `json:"page,omitempty"`
// PageSize 页面大小,默认值:10,最大值:50
PageSize int `json:"page_size,omitempty"`
}
LiveAuthorizeListRequest 查询授权直播抖音达人列表
func (LiveAuthorizeListRequest) Encode ¶
func (r LiveAuthorizeListRequest) Encode() string
Encode implement GetRequest interface
type LiveAuthorizeListResponse ¶
type LiveAuthorizeListResponse struct {
model.BaseResponse
// Data json返回值
Data *LiveAuthorizeListResponseData `json:"data,omitempty"`
}
LiveAuthorizeListResponse 查询授权直播抖音达人列表 API Response
type LiveAuthorizeListResponseData ¶
type LiveAuthorizeListResponseData struct {
// PageInfo 分页信息
PageInfo model.PageInfo `json:"page_info,omitempty"`
// List 达人信息列表
List []LiveAuthorize `json:"list,omitempty"`
}
LiveAuthorizeListResponseData json返回值