target

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetAvailableTargetInfoRequest

type GetAvailableTargetInfoRequest struct {
	// AdvertiserID 广告主id
	AdvertiserID uint64 `json:"advertiser_id,omitempty"`
	// MarketingTarget 营销目标 (第一期只支持4)
	// 旧计划 OLD = 0, 应用下载 APP = 1, 销售线索 CLUE = 2, 商品推广 ITEM = 3, 笔记推广 NOTE = 4, 私信营销 MESSAGE = 5, 直播推广 LIVE_BROCAST = 8, 客资收集 USER_DATA_COLLECT = 9,
	MarketingTarget int `json:"marketing_target,omitempty"`
}

GetAvailableTargetInfoRequest 获取定向信息 API Request

func (GetAvailableTargetInfoRequest) Encode

func (r GetAvailableTargetInfoRequest) Encode() []byte

Encode implements PostRequest interface

type GetAvailableTargetInfoResponse

type GetAvailableTargetInfoResponse struct {
	Data *TargetInfo `json:"data,omitempty"`
	model.BaseResponse
}

GetAvailableTargetInfoResponse 获取定向信息 API Response

type KeywordMatchInfo

type KeywordMatchInfo struct {
	// Keyword 关键词
	Keyword string `json:"keyword,omitempty"`
	// InThesaurus 是否匹配词库
	InThesaurus bool `json:"in_thesaurus,omitempty"`
}

KeywordMatchInfo 匹配信息

type KeywordMatchRequest

type KeywordMatchRequest struct {
	// Keywords 关键词列表
	// 不能超过150个
	Keywords []string `json:"keywords,omitempty"`
	// AdvertiserID 广告主id
	AdvertiserID uint64 `json:"advertiser_id,omitempty"`
}

KeywordMatchRequest 获取关键词匹配词库信息 API Request

func (KeywordMatchRequest) Encode

func (r KeywordMatchRequest) Encode() []byte

Encode implements PostRequest interface

type KeywordMatchResponse

type KeywordMatchResponse struct {
	Data *KeywordMatchResult `json:"data,omitempty"`
	model.BaseResponse
}

KeywordMatchResponse 获取关键词匹配词库信息 API Response

type KeywordMatchResult

type KeywordMatchResult struct {
	// MatchInfos 匹配信息列表
	MatchInfos []KeywordMatchInfo `json:"match_infos,omitempty"`
	// MatchDistinctCount 匹配个数
	MatchDistinctCount int64 `json:"match_distinct_count,omitempty"`
}

type KeywordRecommend

type KeywordRecommend struct {
	// Word 搜索词
	Word string `json:"target_word,omitempty"`
	// RecommendReason 搜索词
	RecommendReason string `json:"recommend_reason,omitempty"`
	// CoverNum 覆盖人数
	CoverNum int64 `json:"cover_num,omitempty"`
}

type KeywordRecommendRequest

type KeywordRecommendRequest struct {
	// Keyword 搜索词
	Keyword string `json:"keyword,omitempty"`
	// NoteIDs 笔记Id列表
	NoteIDs []string `json:"note_ids,omitempty"`
	// AdvertiserID 广告主id
	AdvertiserID uint64 `json:"advertiser_id,omitempty"`
}

KeywordRecommendRequest 获取推荐关键词信息 API Request

func (KeywordRecommendRequest) Encode

func (r KeywordRecommendRequest) Encode() []byte

Encode implements PostRequest interface

type KeywordRecommendResponse

type KeywordRecommendResponse struct {
	model.BaseResponse
	Data []KeywordRecommend `json:"data,omitempty"`
}

KeywordRecommendResponse 获取推荐关键词信息 API Response

type TargetInfo

type TargetInfo struct {
	// IndustryInterestTarget 行业兴趣
	IndustryInterestTarget *unit.IndustryInterestTarget `json:"industry_interest_target,omitempty"`
	// ContentInterest 内容兴趣
	ContentInterest *model.CodeNamePair `json:"content_interest,omitempty"`
	// Children 子节点
	Children []model.CodeNamePair `json:"children,omitempty"`
	// ShoppingInterest 购物兴趣
	ShoppingInterest *model.CodeNamePair `json:"shopping_interest,omitempty"`
	// CrowdTarget 人群包
	CrowdTarget *unit.CrowdTarget `json:"crowd_target,omitempty"`
	// GenderTarget 性别
	GenderTargets []model.CodeNamePair `json:"gender_targets,omitempty"`
	// AgeTargets 年龄
	AgeTargets []model.CodeNamePair `json:"age_target,omitempty"`
	// AreaTargets 地域
	AreaTargets []model.CodeNamePair `json:"area_target,omitempty"`
	// DeviceTargets 设备
	DeviceTargets []model.CodeNamePair `json:"device_target,omitempty"`
}

TargetInfo 定向信息

Jump to

Keyboard shortcuts

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