Documentation ¶
Overview ¶
Package dpa 商品广告相关API
Index ¶
- func AssetsDetailRead(ctx context.Context, clt *core.SDKClient, accessToken string, ...) ([]dpa.Asset, error)
- func AssetsList(ctx context.Context, clt *core.SDKClient, accessToken string, ...) (*dpa.AssetsListResponseData, error)
- func AssetsListV2(ctx context.Context, clt *core.SDKClient, accessToken string, ...) (*dpa.AssetsListV2Result, error)
- func BehaviourAvailables(ctx context.Context, clt *core.SDKClient, accessToken string, ...) ([]dpa.Behaviour, error)
- func CategoryGet(ctx context.Context, clt *core.SDKClient, accessToken string, ...) ([]dpa.Category, error)
- func ClueProductDetail(ctx context.Context, clt *core.SDKClient, accessToken string, ...) ([]dpa.Product, error)
- func ClueProductList(ctx context.Context, clt *core.SDKClient, accessToken string, ...) (*dpa.ClueProductListResult, error)
- func ClueProductSave(ctx context.Context, clt *core.SDKClient, accessToken string, ...) (*dpa.ClueProductSaveResult, error)
- func DetailGet(ctx context.Context, clt *core.SDKClient, accessToken string, ...) (*dpa.DetailGetResponseData, error)
- func DictGet(ctx context.Context, clt *core.SDKClient, accessToken string, ...) ([]dpa.Dict, error)
- func MetaGet(ctx context.Context, clt *core.SDKClient, accessToken string, ...) ([]dpa.Meta, error)
- func PlayletAuthGet(ctx context.Context, clt *core.SDKClient, accessToken string, ...) (*dpa.PlayletAuthGetResult, error)
- func ProductAvailables(ctx context.Context, clt *core.SDKClient, accessToken string, ...) ([]dpa.Platform, error)
- func ProductCreate(ctx context.Context, clt *core.SDKClient, accessToken string, ...) (uint64, error)
- func ProductDelete(ctx context.Context, clt *core.SDKClient, accessToken string, ...) error
- func ProductDetailGet(ctx context.Context, clt *core.SDKClient, accessToken string, ...) (*dpa.DetailGetResponseData, error)
- func ProductStatusBatchUpdate(ctx context.Context, clt *core.SDKClient, accessToken string, ...) (*dpa.ProductStatusBatchUpdateResponseData, error)
- func ProductUpdate(ctx context.Context, clt *core.SDKClient, accessToken string, ...) (uint64, error)
- func TemplateGet(ctx context.Context, clt *core.SDKClient, accessToken string, ...) (*dpa.TemplateGetResponseData, error)
- func VideoGet(ctx context.Context, clt *core.SDKClient, accessToken string, ...) (*dpa.VideoGetResponseData, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssetsDetailRead ¶ added in v1.8.0
func AssetsDetailRead(ctx context.Context, clt *core.SDKClient, accessToken string, req *dpa.AssetsDetailReadRequest) ([]dpa.Asset, error)
AssetsDetailRead 获取投放条件详情
func AssetsList ¶ added in v1.8.0
func AssetsList(ctx context.Context, clt *core.SDKClient, accessToken string, req *dpa.AssetsListRequest) (*dpa.AssetsListResponseData, error)
AssetsList 获取投放条件列表
func AssetsListV2 ¶ added in v1.26.6
func AssetsListV2(ctx context.Context, clt *core.SDKClient, accessToken string, req *dpa.AssetsListV2Request) (*dpa.AssetsListV2Result, error)
AssetsListV2 获取投放条件列表
func BehaviourAvailables ¶ added in v1.8.0
func BehaviourAvailables(ctx context.Context, clt *core.SDKClient, accessToken string, req *dpa.BehaviourAvailablesRequest) ([]dpa.Behaviour, error)
BehaviourAvailables 获取DPA可用行为
func CategoryGet ¶ added in v1.8.0
func CategoryGet(ctx context.Context, clt *core.SDKClient, accessToken string, req *dpa.CategoryGetRequest) ([]dpa.Category, error)
CategoryGet 获取DPA分类
func ClueProductDetail ¶ added in v1.26.6
func ClueProductDetail(ctx context.Context, clt *core.SDKClient, accessToken string, req *dpa.ClueProductDetailRequest) ([]dpa.Product, error)
ClueProductDetail 获取升级版商品详情
func ClueProductList ¶ added in v1.26.6
func ClueProductList(ctx context.Context, clt *core.SDKClient, accessToken string, req *dpa.ClueProductListRequest) (*dpa.ClueProductListResult, error)
ClueProductList 获取升级版商品列表
func ClueProductSave ¶ added in v1.27.9
func ClueProductSave(ctx context.Context, clt *core.SDKClient, accessToken string, req *dpa.ClueProductSaveRequest) (*dpa.ClueProductSaveResult, error)
func DetailGet ¶ added in v1.8.0
func DetailGet(ctx context.Context, clt *core.SDKClient, accessToken string, req *dpa.DetailGetRequest) (*dpa.DetailGetResponseData, error)
DetailGet 获取商品列表
func DictGet ¶ added in v1.8.0
func DictGet(ctx context.Context, clt *core.SDKClient, accessToken string, req *dpa.DictGetRequest) ([]dpa.Dict, error)
DictGet 获取DPA词包
func MetaGet ¶
func MetaGet(ctx context.Context, clt *core.SDKClient, accessToken string, req *dpa.MetaGetRequest) ([]dpa.Meta, error)
MetaGet 获取商品库元信息
func PlayletAuthGet ¶ added in v1.26.6
func PlayletAuthGet(ctx context.Context, clt *core.SDKClient, accessToken string, req *dpa.PlayletAuthGetRequest) (*dpa.PlayletAuthGetResult, error)
PlayletAuthGet 查询短剧商品原片授权申请状态
func ProductAvailables ¶
func ProductAvailables(ctx context.Context, clt *core.SDKClient, accessToken string, req *dpa.ProductAvailablesRequest) ([]dpa.Platform, error)
ProductAvailables 获取商品库信息 仅支持查询广告主有权限访问的商品库 支持「商品推广」的推广目的包含:应用推广(APP)、销售线索收集(LINK)、电商店铺(SHOP)、商品推广(DPA) 其中仅商品推广(DPA)支持多商品推广,其余仅支持单商品推广
func ProductCreate ¶ added in v1.8.0
func ProductCreate(ctx context.Context, clt *core.SDKClient, accessToken string, req *dpa.ProductCreateRequest) (uint64, error)
ProductCreate 创建DPA商品(无商品id)
func ProductDelete ¶ added in v1.8.0
func ProductDelete(ctx context.Context, clt *core.SDKClient, accessToken string, req *dpa.ProductDeleteRequest) error
ProductDelete 删除DPA商品
func ProductDetailGet ¶ added in v1.8.0
func ProductDetailGet(ctx context.Context, clt *core.SDKClient, accessToken string, req *dpa.ProductDetailGetRequest) (*dpa.DetailGetResponseData, error)
ProductDetailGet 获取商品详情
func ProductStatusBatchUpdate ¶ added in v1.8.0
func ProductStatusBatchUpdate(ctx context.Context, clt *core.SDKClient, accessToken string, req *dpa.ProductStatusBatchUpdateRequest) (*dpa.ProductStatusBatchUpdateResponseData, error)
ProductStatusBatchUpdate 批量修改DPA商品状态
func ProductUpdate ¶ added in v1.8.0
func ProductUpdate(ctx context.Context, clt *core.SDKClient, accessToken string, req *dpa.ProductUpdateRequest) (uint64, error)
ProductUpdate 创建DPA商品(已有商品id)/修改DPA商品
func TemplateGet ¶ added in v1.8.0
func TemplateGet(ctx context.Context, clt *core.SDKClient, accessToken string, req *dpa.TemplateGetRequest) (*dpa.TemplateGetResponseData, error)
TemplateGet 获取DPA模板
Types ¶
This section is empty.
Source Files ¶
- assets_detail_read.go
- assets_list.go
- assets_list_v2.go
- behaviour_availables.go
- category_get.go
- clue_product_detail.go
- clue_product_list.go
- clue_product_save.go
- detail_get.go
- dict_get.go
- doc.go
- meta_get.go
- playlet_auth_get.go
- product_availables.go
- product_create.go
- product_delete.go
- product_detail_get.go
- product_status_batch_update.go
- product_update.go
- template_get.go
- video_get.go
Click to show internal directories.
Click to hide internal directories.