Versions in this module Expand all Collapse all v1 v1.0.1 Oct 26, 2022 v1.0.0 Oct 26, 2022 Changes in this version + type AccessTokenResData struct + AccessToken string + AdvertiserId int64 + AdvertiserIds []int64 + AdvertiserName string + ExpiresIn uint64 + RefreshToken string + RefreshTokenExpiresIn uint64 + type AdvertiserListResData struct + AccountRole string + AdvertiserId int64 + AdvertiserName string + AdvertiserRole int + CompanyList []struct{ ... } + IsValid bool + type AdvertiserListResDataCom struct + List []AdvertiserListResData + type AwemeAuthorInfoAuthors struct + AuthorName string + Avatar string + AwemeId string + CoverNumStr string + LabelId int64 + TotalFansNumStr string + type AwemeAuthorInfoReq struct + AccessToken string + type AwemeAuthorInfoReqBase struct + AdvertiserId int64 + Behaviors []string + LabelIds []int64 + type AwemeAuthorInfoRes struct + Authors []AwemeAuthorInfoAuthors + type AwemeInfoSearchAuthors struct + AuthorName string + Avatar string + AwemeId string + CategoryName string + CoverNumStr string + LabelId int64 + TotalFansNumStr string + type AwemeInfoSearchCategories struct + Children struct{ ... } + CoverNumStr string + FansNumStr string + Id int64 + Value string + type AwemeInfoSearchReq struct + AccessToken string + type AwemeInfoSearchReqBase struct + AdvertiserId int64 + Behaviors []string + QueryWord string + type AwemeInfoSearchRes struct + List []AwemeInfoSearchResBase + type AwemeInfoSearchResBase struct + Authors []AwemeInfoSearchAuthors + Categories []AwemeInfoSearchCategories + type AwemeSimilarAuthorReq struct + AccessToken string + type AwemeSimilarAuthorReqBase struct + AdvertiserId int64 + AwemeId string + Behaviors []string + type AwemeSimilarAuthorRes struct + List []AwemeSimilarAuthorResBase + type AwemeSimilarAuthorResBase struct + AuthorName string + Avatar string + AwemeId string + CategoryName string + CoverNumStr string + LabelId int64 + TotalFansNumStr string + type Client struct + func NewClient(appId int64, secret string, retry int, debug bool, ...) *Client + func (client *Client) DoRequest(df *dataflow.DataFlow, dest interface{}) error + func (client *Client) GetAccessToken(authCode string, response *AccessTokenResData) error + func (client *Client) GetAdvertiserList(accessToken string, response *AdvertiserListResDataCom) error + func (client *Client) GetAwemeAuthorInfo(request *AwemeAuthorInfoReq, response *AwemeAuthorInfoRes) error + func (client *Client) GetAwemeInfoSearch(request *AwemeInfoSearchReq, response *AwemeInfoSearchRes) error + func (client *Client) GetAwemeSimilarAuthor(request *AwemeSimilarAuthorReq, response *AwemeSimilarAuthorRes) error + func (client *Client) GetEstimateAudience(request *EstimateAudienceReq, response *EstimateAudienceResData) error + func (client *Client) GetInterestActionID2Word(request *InterestActionID2WordReq, response *InterestActionID2WordRes) error + func (client *Client) GetInterestActionKeywordSuggest(request *InterestActionKeywordSuggestReq, ...) error + func (client *Client) GetUserInfo(accessToken string, response *UserInfoRes) error + func (client *Client) RefreshToken(refreshToken string, response *RefreshTokenResData) error + func (client *Client) UseRequest(handler ...api.RequestMiddler) + func (client *Client) UseResponse(handler ...api.ResponseMiddler) + type EstimateAudienceGeolocationReq struct + Lat float64 + Long float64 + Name string + Radius int64 + type EstimateAudienceReq struct + AccessToken string + type EstimateAudienceReqBase struct + Ac []string + ActionCategories []int64 + ActionDays int64 + ActionScene []string + ActionWords []int64 + ActivateType []string + AdvertiserId int64 + Age []string + AndroidOsv string + ArticleCategory []string + AudiencePackageId int64 + AutoExtendEnabled int64 + AutoExtendTargets []string + AwemeFanAccounts []int64 + AwemeFanBehaviors []string + AwemeFanCategories []int64 + AwemeFanTimeScope string + Carrier []string + City []int64 + DeviceBrand []string + DeviceType []string + District string + ExcludeFlowPackage []int64 + FilterAwemeAbnormalActive int64 + FilterAwemeFansCount int64 + FilterOwnAwemeFans int64 + FlowPackage []int64 + Gender string + Geolocation []EstimateAudienceGeolocationReq + InterestActionMode string + InterestCategories []int64 + InterestWords []int64 + IosOsv string + LaunchPrice []int64 + LocationType string + Platform []string + RegionVersion string + RetargetingTagsExclude []int64 + RetargetingTagsInclude []int64 + SuperiorPopularityType string + type EstimateAudienceResData struct + Aweme struct{ ... } + TomatoNovelApp struct{ ... } + Toutiao struct{ ... } + VideoApp struct{ ... } + type InterestActionID2WordReq struct + AccessToken string + type InterestActionID2WordReqBase struct + ActionDays int64 + ActionScene []string + AdvertiserId int64 + Ids []int64 + TagType string + TargetingType string + type InterestActionID2WordRes struct + Categories []InterestActionID2WordResBase + Keywords []InterestActionID2WordResBase + type InterestActionID2WordResBase struct + Id int64 + Name string + Num int64 + type InterestActionKeywordSuggestReq struct + AccessToken string + type InterestActionKeywordSuggestReqBase struct + ActionDays int64 + ActionScene []string + AdvertiserId int64 + Id int64 + TagType string + TargetingType string + type InterestActionKeywordSuggestRes struct + Keywords []InterestActionKeywordSuggestResBase + type InterestActionKeywordSuggestResBase struct + Id int64 + Name string + Num int64 + type PageInfo struct + Page uint64 + PageSize uint64 + TotalNumber uint64 + TotalPage uint64 + type QCError struct + Code int64 + Message string + RequestId string + func (e *QCError) Error() string + func (e *QCError) NewError() error + type RefreshTokenResData struct + AccessToken string + ExpiresIn uint64 + RefreshToken string + RefreshTokenExpiresIn uint64 + type Unite struct + Data interface{} + type UserInfoRes struct + DisplayName string + Email string + ID int64