Documentation ¶
Overview ¶
Package abtest AB实验工具
Index ¶
- func Create(ctx context.Context, clt *core.SDKClient, accessToken string, ...) (uint64, error)
- func Delete(ctx context.Context, clt *core.SDKClient, accessToken string, ...) (*abtest.DeleteResult, error)
- func Info(ctx context.Context, clt *core.SDKClient, accessToken string, ...) (*abtest.AbTest, error)
- func List(ctx context.Context, clt *core.SDKClient, accessToken string, ...) (*abtest.ListData, error)
- func Stop(ctx context.Context, clt *core.SDKClient, accessToken string, ...) (*abtest.StopResult, error)
- func Update(ctx context.Context, clt *core.SDKClient, accessToken string, ...) (uint64, 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 *abtest.CreateRequest) (uint64, error)
Create 创建实验 该接口用于创建AB实验。
func Delete ¶
func Delete(ctx context.Context, clt *core.SDKClient, accessToken string, req *abtest.DeleteRequest) (*abtest.DeleteResult, error)
Delete 删除实验 仅实验状态为进行中的实验,可以删除
func Info ¶
func Info(ctx context.Context, clt *core.SDKClient, accessToken string, req *abtest.InfoRequest) (*abtest.AbTest, error)
Info 获取实验详情及报告 该接口用于获取AB实验的详细信息与实验数据报告。
func List ¶
func List(ctx context.Context, clt *core.SDKClient, accessToken string, req *abtest.ListRequest) (*abtest.ListData, error)
List 获取实验列表 该接口用于获取广告主账户下创建的AB实验,接口返回的实验列表默认按照创建时间降序。
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.