promotion

package
v1.27.1 Latest Latest
Warning

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

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

Documentation

Overview

Package promotion 广告管理模块

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutoGenerateConfigCreate added in v1.10.7

func AutoGenerateConfigCreate(ctx context.Context, clt *core.SDKClient, accessToken string, req *promotion.AutoGenerateConfigCreateRequest) (uint64, error)

AutoGenerateConfigCreate 新建/修改白盒配置(广告升级版) 用来保存广告主自定义的策略及物料,用于创意智能生成。创建时promotion_id选填,更新时promotion_id必填,多次更新返回的configid不变

func AutoGenerateConfigGet added in v1.10.7

func AutoGenerateConfigGet(ctx context.Context, clt *core.SDKClient, accessToken string, req *promotion.AutoGenerateConfigGetRequest) (*promotion.AutoGenerateConfig, error)

AutoGenerateConfigGet 查询配置详情

func BidUpdate

func BidUpdate(ctx context.Context, clt *core.SDKClient, accessToken string, req *promotion.BidUpdateRequest) (*promotion.UpdateResponseData, error)

BidUpdate 更新出价

func BudgetUpdate

func BudgetUpdate(ctx context.Context, clt *core.SDKClient, accessToken string, req *promotion.BudgetUpdateRequest) (*promotion.UpdateResponseData, error)

BudgetUpdate 更新广告预算

func CostProtectStatusGet

func CostProtectStatusGet(ctx context.Context, clt *core.SDKClient, accessToken string, req *promotion.CostProtectStatusGetRequest) ([]promotion.CostProtectStatus, error)

CostProtectStatusGet 批量获取计划成本保障状态

func Create

func Create(ctx context.Context, clt *core.SDKClient, accessToken string, req *promotion.CreateRequest) (uint64, error)

Create 创建广告

func DeepBidUpdate

func DeepBidUpdate(ctx context.Context, clt *core.SDKClient, accessToken string, req *promotion.DeepBidUpdateRequest) (*promotion.UpdateResponseData, error)

DeepBidUpdate 更新深度出价

func Delete

Delete 批量删除广告

func List

List 获取广告列表

func MaterialStatusUpdate added in v1.17.8

MaterialStatusUpdate 批量更新广告素材启用状态

func RejectReason

func RejectReason(ctx context.Context, clt *core.SDKClient, accessToken string, req *promotion.RejectReasonRequest) ([]promotion.RejectReason, error)

RejectReason 获取计划审核建议

func ScheduleTimeUpdate added in v1.15.3

func ScheduleTimeUpdate(ctx context.Context, clt *core.SDKClient, accessToken string, req *promotion.ScheduleTimeUpdateRequest) (*promotion.UpdateResponseData, error)

ScheduleTimeUpdate 批量更新广告投放时段 支持在广告层级下批量修改投放时段,所设置的广告投放时段必须在广告所属项目的投放时段范围内 仅支持手动投放的广告

func StatusUpdate

func StatusUpdate(ctx context.Context, clt *core.SDKClient, accessToken string, req *promotion.StatusUpdateRequest) (*promotion.UpdateResponseData, error)

StatusUpdate 更新广告状态

func Update

Update 修改广告

Types

This section is empty.

Jump to

Keyboard shortcuts

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