promotion

package
v1.20.7 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: Apache-2.0 Imports: 2 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(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(clt *core.SDKClient, accessToken string, req *promotion.AutoGenerateConfigGetRequest) (*promotion.AutoGenerateConfig, error)

AutoGenerateConfigGet 查询配置详情

func BidUpdate

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

BidUpdate 更新出价

func BudgetUpdate

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

BudgetUpdate 更新广告预算

func CostProtectStatusGet

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

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

func Create

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

Create 创建广告

func DeepBidUpdate

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

DeepBidUpdate 更新深度出价

func Delete

func Delete(clt *core.SDKClient, accessToken string, req *promotion.DeleteRequest) (*promotion.UpdateResponseData, error)

Delete 批量删除广告

func List

func List(clt *core.SDKClient, accessToken string, req *promotion.ListRequest) (*promotion.ListResponseData, error)

List 获取广告列表

func MaterialStatusUpdate added in v1.17.8

func MaterialStatusUpdate(clt *core.SDKClient, accessToken string, req *promotion.MaterialStatusUpdateRequest) (*promotion.MaterialStatusUpdateResult, error)

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

func RejectReason

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

RejectReason 获取计划审核建议

func ScheduleTimeUpdate added in v1.15.3

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

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

func StatusUpdate

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

StatusUpdate 更新广告状态

func Update

func Update(clt *core.SDKClient, accessToken string, req *promotion.UpdateRequest) (*promotion.UpdateResponseData, error)

Update 修改广告

Types

This section is empty.

Jump to

Keyboard shortcuts

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