tools

package
v1.2.9 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2021 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Overview

Package tools 工具相关API models

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdQuality

type AdQuality struct {
	// AdID 计划ID
	AdID uint64 `json:"ad_id,omitempty"`
	// QualityScore 计划综合质量得分
	QualityScore float64 `json:"quality_score,omitempty"`
	// CtrScore 创意质量得分
	CtrScore float64 `json:"ctr_score,omitempty"`
	// WebScore 落地页响应得分
	WebScore float64 `json:"web_score,omitempty"`
	// CvrScore 落地页素材得分
	CvrScore float64 `json:"cvr_score,omitempty"`
}

AdQuality 广告质量度

type AdQualityGetRequest

type AdQualityGetRequest struct {
	// AdvertiserID 广告主id
	AdvertiserID uint64 `json:"advertiser_id,omitempty"`
	// AdIDs 广告id列表
	AdIDs []uint64 `json:"ad_ids,omitempty"`
}

AdQualityGetRequest 查询广告质量度 API Request

func (AdQualityGetRequest) Encode

func (r AdQualityGetRequest) Encode() string

Encode implement GetRequest interface

type AdQualityGetResponse

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

AdQualityGetResponse 查询广告质量度 API Response

type AdQualityGetResponseData

type AdQualityGetResponseData struct {
	List []AdQuality `json:"list,omitempty"`
}

AdQualityGetResponseData json返回值

type AdStatExtraInfo

type AdStatExtraInfo struct {
	// AdID 计划ID
	AdID uint64 `json:"ad_id,omitempty"`
	// LearningPhase  学习期状态
	LearningPhase enum.LearningPhase `json:"learning_phase,omitempty"`
}

AdStatExtraInfo 广告计划学习期

type AdStatExtraInfoGetRequest

type AdStatExtraInfoGetRequest struct {
	// AdvertiserID 广告主id
	AdvertiserID uint64 `json:"advertiser_id,omitempty"`
	// AdIDs 广告id列表, 最多传100个广告计划id
	AdIDs []uint64 `json:"ad_ids,omitempty"`
}

AdStatExtraInfoGetRequest 查询广告计划学习期状态 API Request

func (AdStatExtraInfoGetRequest) Encode

func (r AdStatExtraInfoGetRequest) Encode() string

Encode implement GetRequest interface

type AdStatExtraInfoGetResponse

type AdStatExtraInfoGetResponse struct {
	model.BaseResponse
	// Data json返回值
	Data []AdStatExtraInfo `json:"data,omitempty"`
}

AdStatExtraInfoGetResponse 查询广告计划学习期状态 API Request

Directories

Path Synopsis
Package event 资产 - 事件管理 相关API models
Package event 资产 - 事件管理 相关API models
Package log 工具-查询工具-日志查询API models
Package log 工具-查询工具-日志查询API models
Package thirdsite 第三方落地页管理API models
Package thirdsite 第三方落地页管理API models

Jump to

Keyboard shortcuts

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