Documentation ¶
Overview ¶
Package promotion 广告管理模块
Index ¶
- func Create(ctx context.Context, clt *core.SDKClient, accessToken string, ...) (uint64, error)
- func Detail(ctx context.Context, clt *core.SDKClient, accessToken string, ...) (*promotion.PromotionDetail, error)
- func List(ctx context.Context, clt *core.SDKClient, accessToken string, ...) (*promotion.ListResult, error)
- func StatusUpdate(ctx context.Context, clt *core.SDKClient, accessToken string, ...) (*promotion.UpdateResult, error)
- func Update(ctx context.Context, clt *core.SDKClient, accessToken string, ...) error
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 批量更新广告状态
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.