promotion

package
v1.29.3 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 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 Create

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

Create 创建广告 广告创建成功后,默认为启用状态

func Detail

func Detail(ctx context.Context, clt *core.SDKClient, accessToken string, req *promotion.DetailRequest) (*promotion.PromotionDetail, error)

Detail 获取广告详情 暂不支持拉取推广目的为获取线索的广告

func List

func List(ctx context.Context, clt *core.SDKClient, accessToken string, req *promotion.ListRequest) (*promotion.ListResult, error)

List 获取广告列表 该接口暂不支持拉取 推广目的为获取线索的项目下的广告

func StatusUpdate

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

StatusUpdate 批量更新广告状态

func Update

func Update(ctx context.Context, clt *core.SDKClient, accessToken string, req *promotion.UpdateRequest) 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