v3

package
v1.25.1 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v3 体验版事件管理

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeepBidTypeGetRequest

type DeepBidTypeGetRequest struct {
	// AdvertiserID 广告主id
	AdvertiserID uint64 `json:"advertiser_id,omitempty"`
	// DeliveryMode 投放模式,允许值:MANUAL手动投放(默认值)、PROCEDURAL自动投放
	DeliveryMode enum.DeliveryMode `json:"delivery_mode,omitempty"`
	// LandingType 推广目的,允许值:LINK线索
	// 如需获取线索智投深度优化方式请同时传入delivery_mode=PROCEDURAL&&landing_type=LINK
	LandingType enum.LandingType `json:"landing_type,omitempty"`
	// AssetID 资产id
	AssetID uint64 `json:"asset_id,omitempty"`
	// ExternalAction 优化目标
	ExternalAction enum.AdConvertType `json:"external_action,omitempty"`
	// DeepExternalAction 深度优化目标,当优化目标不等于AD_CONVERT_TYPE_PAY时必填
	DeepExternalAction enum.DeepExternalAction `json:"deep_external_action,omitempty"`
}

DeepBidTypeGetRequest 获取可用深度优化方式体验版 API Request

func (DeepBidTypeGetRequest) Encode

func (r DeepBidTypeGetRequest) Encode() string

Encode implement GetRequest interface

type DeepBidTypeGetResponse

type DeepBidTypeGetResponse struct {
	model.BaseResponse
	// Data 返回数据
	Data struct {
		// DeepBidType 可用深度优化方式
		DeepBidType []enum.DeepBidType `json:"deep_bid_type,omitempty"`
	} `json:"data"`
}

DeepBidTypeGetResponse 获取可用深度优化方式体验版 API Response

type OptimizedGoalGetRequest

type OptimizedGoalGetRequest struct {
	// AdvertiserID 广告主id
	AdvertiserID uint64 `json:"advertiser_id,omitempty"`
	// DeliveryMode 投放模式,允许值:MANUAL手动投放(默认值)、PROCEDURAL自动投放
	DeliveryMode enum.DeliveryMode `json:"delivery_mode,omitempty"`
	// LandingType 广告组推广目的,允许值:LINK 销售线索收集
	LandingType enum.LandingType `json:"landing_type,omitempty"`
	// MarketingGoal 营销场景,允许值:VIDEO_AND_IMAGE 短视频/图片,LIVE直播
	MarketingGoal enum.MarketingGoal `json:"marketing_goal,omitempty"`
	// AdType 广告类型,允许值: ALL
	AdType enum.CampaignType `json:"ad_type,omitempty"`
	// DeliveryType 投放类型,允许值
	// NORMAL 常规投放
	// DURATION 周期稳投
	// 当前仅支持搜索广告,即ad_type = SEARCH下传入该枚举值有效,否则报错
	DeliveryType enum.DeliveryType `json:"delivery_type,omitempty"`
	// AssetType 资产类型,允许值:THIRD_EXTERNAL 三方落地页、TETRIS_EXTERNAL 建站、APP 应用、QUICK_APP 快应用、MINI_PROGRAME字节小程序
	AssetType enum.AssetType `json:"asset_type,omitempty"`
	// MiniProgoramID 字节小程序资产id,当asset_type=MINI_PROGRAME时需传入
	MiniProgramID string `json:"mini_program_id,omitempty"`
	// QuickAppID 快应用id,当 landing_type = QUICK_APP 时该字段必填
	QuickAppID string `json:"quick_app_id,omitempty"`
	// AssetID 三方的资产id,当asset_type为THIRD_EXTERNAL时必填
	AssetID uint64 `json:"asset_id,omitempty"`
	// PackageName 应用包名称
	PackageName string `json:"package_name,omitempty"`
	// AppType 应用类型,当asset_type为应用APP时必填
	// 可选值:ANDROID 、IOS
	AppType string `json:"app_type,omitempty"`
	// AppPromotionType 子目标,当 landing_type = APP 时该字段必填,允许值: DOWNLOAD 应用下载、LAUNCH 应用调用、RESERVE 预约下载
	AppPromotionType enum.AppPromotionType `json:"app_promotion_type,omitempty"`
}

OptimizedGoalGetRequest 获取优化目标 API Request

func (OptimizedGoalGetRequest) Encode

func (r OptimizedGoalGetRequest) Encode() string

Encode implement GetRequest interface

type OptimizedGoalGetResponse

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

OptimizedGoalGetResponse 获取优化目标 API Response

type OptimizedGoalGetResponseData

type OptimizedGoalGetResponseData struct {
	// AssetIDs 资产 id
	AssetIDs []uint64 `json:"asset_ids,omitempty"`
	// Goals 优化目标数据列表
	Goals []eventmanager.EventConvertOptimizedGoal `json:"goals,omitempty"`
}

OptimizedGoalGetResponseData json返回值

Jump to

Keyboard shortcuts

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