v3

package
v1.30.2 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageDeleteRequest

type ImageDeleteRequest struct {
	// AdvertiserID 素材归属的广告主
	AdvertiserID uint64 `json:"advertiser_id,omitempty"`
	// ImageIDs 待删除的图片ID列表,长度范围:1 ~ 100
	ImageIDs []string `json:"image_ids,omitempty"`
}

ImageDeleteRequest 批量删除图片素材 API Request

func (ImageDeleteRequest) Encode

func (r ImageDeleteRequest) Encode() []byte

Encode implement PostRequest interface

type ImageDeleteResponse

type ImageDeleteResponse struct {
	model.BaseResponse

	Data struct {
		// FailImageIDs 操作失败的图片ID列表,不在此列表内的素材表示删除成功
		FailImageIDs []string `json:"fail_image_ids,omitempty"`
	} `json:"data,omitempty"`
}

ImageDeleteResponse 批量删除图片素材 API Response

type MaterialQuality added in v1.19.8

type MaterialQuality struct {
	// MaterialID 预审ID
	MaterialID uint64 `json:"material_id,omitempty"`
	// Status  可选值:
	// AUDITING 审核中
	// AUDIT_ACCEPTED 预审通过
	// AUDIT_FAILED 预审失败
	// AUDIT_REJECT 预审拒绝
	// AUDIT_SUBMIT 发起预审
	// AUDIT_TIMEOUT 预审超时
	Status enum.MaterialQualityStatus `json:"status,omitempty"`
	// Errmsg 预审拒绝视频此处会展示拒审原因
	Errmsg string `json:"errmsg,omitempty"`
	// IsFirstPublishMaterial 是否是首发素材
	IsFirstPublishMaterial bool `json:"is_first_publish_material,omitempty"`
	// IsSimilarQueueMaterial 是否同质化素材风险-排队投放素材
	IsSimilarQueueMaterial bool `json:"is_similar_queue_material,omitempty"`
	// IsSimilarExpectedQueueMaterial 是否同质化素材风险-未投放预计排队素材
	IsSimilarExpectedQueueMaterial bool `json:"is_similar_expected_queue_material,omitempty"`
}

type QualityGetRequest added in v1.19.8

type QualityGetRequest struct {
	// AdvertiserID 广告主ID
	AdvertiserID uint64 `json:"advertiser_id,omitempty"`
	// MaterialIDs 预审ID
	MaterialIDs []uint64 `json:"material_ids,omitempty"`
}

QualityGetRequest 连山投前分析结果查询 API Request

func (QualityGetRequest) Encode added in v1.19.8

func (r QualityGetRequest) Encode() string

Encode implement GetRequest interface

type QualityGetResponse added in v1.19.8

type QualityGetResponse struct {
	model.BaseResponse
	Data struct {
		// List
		List []MaterialQuality `json:"list,omitempty"`
	} `json:"data,omitempty"`
}

QualityGetResponse 连山投前分析结果查询 API Response

type QualitySubmitRequest added in v1.19.8

type QualitySubmitRequest struct {
	// AdvertiserID 广告主ID
	AdvertiserID uint64 `json:"advertiser_id,omitempty"`
	// MaterialChannel 素材业务线 可选值:
	// AD
	// DOU_PLUS
	// QC
	MaterialChannel enum.MaterialChannel `json:"material_channel,omitempty"`
	// MaterialType 素材类型 可选值:
	// VIDEO
	MaterialType string `json:"material_type,omitempty"`
	// VideoURL 仅支持连山素材内网地址:https://***.tos-cn-beijing.ivolces.com/***
	VideoURL string `json:"video_url,omitempty"`
}

QualitySubmitRequest 连山视频投前分析提交 API Request

func (QualitySubmitRequest) Encode added in v1.19.8

func (r QualitySubmitRequest) Encode() []byte

Encode implement PostRequest interface

type QualitySubmitResponse added in v1.19.8

type QualitySubmitResponse struct {
	model.BaseResponse
	Data struct {
		// MaterialID 预审ID
		MaterialID uint64 `json:"material_id,omitempty"`
	} `json:"data,omitempty"`
}

QualitySubmitResponse 连山视频投前分析提交 API Response

Jump to

Keyboard shortcuts

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