Documentation ¶
Overview ¶
Package campaign 计划
Index ¶
- func AddCampaign(clt *core.SDKClient, auth *model.RequestHeader, ...) (*model.ResponseHeader, []campaign.Campaign, error)
- func DeleteCampaign(clt *core.SDKClient, auth *model.RequestHeader, campaignIds ...uint64) (*model.ResponseHeader, error)
- func GetBindBusinessPointList(clt *core.SDKClient, auth *model.RequestHeader, ...) (*model.ResponseHeader, []campaign.BusinessPoint, error)
- func GetCampaign(clt *core.SDKClient, auth *model.RequestHeader, ...) (*model.ResponseHeader, []campaign.Campaign, error)
- func UpdateCampaign(clt *core.SDKClient, auth *model.RequestHeader, campaigns []campaign.Campaign) (*model.ResponseHeader, []campaign.Campaign, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCampaign ¶
func AddCampaign(clt *core.SDKClient, auth *model.RequestHeader, reqBody *campaign.AddCampaignRequest) (*model.ResponseHeader, []campaign.Campaign, error)
AddCampaign 添加计划 新增推广计划,新增时可设置计划的属性设置。
func DeleteCampaign ¶
func DeleteCampaign(clt *core.SDKClient, auth *model.RequestHeader, campaignIds ...uint64) (*model.ResponseHeader, error)
DeleteCampaign 删除计划
func GetBindBusinessPointList ¶ added in v1.2.7
func GetBindBusinessPointList(clt *core.SDKClient, auth *model.RequestHeader, reqBody *campaign.GetBindBusinessPointListRequest) (*model.ResponseHeader, []campaign.BusinessPoint, error)
GetBindBusinessPointList 查询计划已使用的推广业务
func GetCampaign ¶
func GetCampaign(clt *core.SDKClient, auth *model.RequestHeader, reqBody *campaign.GetCampaignRequest) (*model.ResponseHeader, []campaign.Campaign, error)
GetCampaign 查询计划 根据指定的计划ID获取推广计划(ID可批量)
func UpdateCampaign ¶
func UpdateCampaign(clt *core.SDKClient, auth *model.RequestHeader, campaigns []campaign.Campaign) (*model.ResponseHeader, []campaign.Campaign, error)
UpdateCampaign 更新计划 根据指定的计划ID更新推广计划的属性
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.