Documentation ¶
Overview ¶
Package privativeword 否定词管理相关API
Index ¶
- func AdAdd(ctx context.Context, clt *core.SDKClient, accessToken string, ...) (*privativeword.AdAddResponseData, error)
- func AdUpdate(ctx context.Context, clt *core.SDKClient, accessToken string, ...) (uint64, error)
- func CampaignAdd(ctx context.Context, clt *core.SDKClient, accessToken string, ...) (*privativeword.CampaignAddResponseData, error)
- func CampaignUpdate(ctx context.Context, clt *core.SDKClient, accessToken string, ...) (uint64, error)
- func Get(ctx context.Context, clt *core.SDKClient, accessToken string, ...) (*privativeword.GetResponseData, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdAdd ¶
func AdAdd(ctx context.Context, clt *core.SDKClient, accessToken string, req *privativeword.AdAddRequest) (*privativeword.AdAddResponseData, error)
AdAdd 批量新增计划否定词 批量新增计划否定词,即增量更新计划否定词 对于单个广告计划,最多200个短语否定词或200个精确否定词,若超过则截断。 多次操作添加否定词,短语否定词或精确否定词总量不能大于200个,若超过则截断。
func AdUpdate ¶
func AdUpdate(ctx context.Context, clt *core.SDKClient, accessToken string, req *privativeword.AdUpdateRequest) (uint64, error)
AdUpdate 设置计划否定词 单个设置计划否定词,即全量更新单个计划否定词 phrase_words 与 precise_words 如果传入空数组,则更新为空。两者至少传入一个,如果只传一个,另一个字段则更新为空。 如果单个否定词有误,则计划否定词全部更新失败。
func CampaignAdd ¶
func CampaignAdd(ctx context.Context, clt *core.SDKClient, accessToken string, req *privativeword.CampaignAddRequest) (*privativeword.CampaignAddResponseData, error)
CampaignAdd 批量新增组否定词 批量新增组否定词,即增量更新组否定词 对于单个广告组,最多200个短语否定词或200个精确否定词,若超过则截断。 多次操作添加否定词,短语否定词或精确否定词总量不能大于200个,若超过则截断。
func CampaignUpdate ¶
func CampaignUpdate(ctx context.Context, clt *core.SDKClient, accessToken string, req *privativeword.AdUpdateRequest) (uint64, error)
CampaignUpdate 设置组否定词
func Get ¶
func Get(ctx context.Context, clt *core.SDKClient, accessToken string, req *privativeword.GetRequest) (*privativeword.GetResponseData, error)
Get 获取否定词列表 获取否定词列表,根据广告组或广告计划获取否定词
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.