Documentation ¶
Overview ¶
Package dpa 商品广告相关API
Index ¶
- func AssetsDetailRead(clt *core.SDKClient, accessToken string, req *dpa.AssetsDetailReadRequest) ([]dpa.Asset, error)
- func AssetsList(clt *core.SDKClient, accessToken string, req *dpa.AssetsListRequest) (*dpa.AssetsListResponseData, error)
- func AssetsListV2(clt *core.SDKClient, accessToken string, req *dpa.AssetsListV2Request) (*dpa.AssetsListV2Result, error)
- func BehaviourAvailables(clt *core.SDKClient, accessToken string, req *dpa.BehaviourAvailablesRequest) ([]dpa.Behaviour, error)
- func CategoryGet(clt *core.SDKClient, accessToken string, req *dpa.CategoryGetRequest) ([]dpa.Category, error)
- func ClueProductDetail(clt *core.SDKClient, accessToken string, req *dpa.ClueProductDetailRequest) ([]dpa.Product, error)
- func ClueProductList(clt *core.SDKClient, accessToken string, req *dpa.ClueProductListRequest) (*dpa.ClueProductListResult, error)
- func DetailGet(clt *core.SDKClient, accessToken string, req *dpa.DetailGetRequest) (*dpa.DetailGetResponseData, error)
- func DictGet(clt *core.SDKClient, accessToken string, req *dpa.DictGetRequest) ([]dpa.Dict, error)
- func MetaGet(clt *core.SDKClient, accessToken string, req *dpa.MetaGetRequest) ([]dpa.Meta, error)
- func PlayletAuthGet(clt *core.SDKClient, accessToken string, req *dpa.PlayletAuthGetRequest) (*dpa.PlayletAuthGetResult, error)
- func ProductAvailables(clt *core.SDKClient, accessToken string, req *dpa.ProductAvailablesRequest) ([]dpa.Platform, error)
- func ProductCreate(clt *core.SDKClient, accessToken string, req *dpa.ProductCreateRequest) (uint64, error)
- func ProductDelete(clt *core.SDKClient, accessToken string, req *dpa.ProductDeleteRequest) error
- func ProductDetailGet(clt *core.SDKClient, accessToken string, req *dpa.ProductDetailGetRequest) (*dpa.DetailGetResponseData, error)
- func ProductStatusBatchUpdate(clt *core.SDKClient, accessToken string, ...) (*dpa.ProductStatusBatchUpdateResponseData, error)
- func ProductUpdate(clt *core.SDKClient, accessToken string, req *dpa.ProductUpdateRequest) (uint64, error)
- func TemplateGet(clt *core.SDKClient, accessToken string, req *dpa.TemplateGetRequest) (*dpa.TemplateGetResponseData, error)
- func VideoGet(clt *core.SDKClient, accessToken string, req *dpa.VideoGetRequest) (*dpa.VideoGetResponseData, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssetsDetailRead ¶ added in v1.8.0
func AssetsDetailRead(clt *core.SDKClient, accessToken string, req *dpa.AssetsDetailReadRequest) ([]dpa.Asset, error)
AssetsDetailRead 获取投放条件详情
func AssetsList ¶ added in v1.8.0
func AssetsList(clt *core.SDKClient, accessToken string, req *dpa.AssetsListRequest) (*dpa.AssetsListResponseData, error)
AssetsList 获取投放条件列表
func AssetsListV2 ¶ added in v1.26.6
func AssetsListV2(clt *core.SDKClient, accessToken string, req *dpa.AssetsListV2Request) (*dpa.AssetsListV2Result, error)
AssetsListV2 获取投放条件列表
func BehaviourAvailables ¶ added in v1.8.0
func BehaviourAvailables(clt *core.SDKClient, accessToken string, req *dpa.BehaviourAvailablesRequest) ([]dpa.Behaviour, error)
BehaviourAvailables 获取DPA可用行为
func CategoryGet ¶ added in v1.8.0
func CategoryGet(clt *core.SDKClient, accessToken string, req *dpa.CategoryGetRequest) ([]dpa.Category, error)
CategoryGet 获取DPA分类
func ClueProductDetail ¶ added in v1.26.6
func ClueProductDetail(clt *core.SDKClient, accessToken string, req *dpa.ClueProductDetailRequest) ([]dpa.Product, error)
ClueProductDetail 获取升级版商品详情
func ClueProductList ¶ added in v1.26.6
func ClueProductList(clt *core.SDKClient, accessToken string, req *dpa.ClueProductListRequest) (*dpa.ClueProductListResult, error)
ClueProductList 获取升级版商品列表
func DetailGet ¶ added in v1.8.0
func DetailGet(clt *core.SDKClient, accessToken string, req *dpa.DetailGetRequest) (*dpa.DetailGetResponseData, error)
DetailGet 获取商品列表
func PlayletAuthGet ¶ added in v1.26.6
func PlayletAuthGet(clt *core.SDKClient, accessToken string, req *dpa.PlayletAuthGetRequest) (*dpa.PlayletAuthGetResult, error)
PlayletAuthGet 查询短剧商品原片授权申请状态
func ProductAvailables ¶
func ProductAvailables(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(clt *core.SDKClient, accessToken string, req *dpa.ProductCreateRequest) (uint64, error)
ProductCreate 创建DPA商品(无商品id)
func ProductDelete ¶ added in v1.8.0
ProductDelete 删除DPA商品
func ProductDetailGet ¶ added in v1.8.0
func ProductDetailGet(clt *core.SDKClient, accessToken string, req *dpa.ProductDetailGetRequest) (*dpa.DetailGetResponseData, error)
ProductDetailGet 获取商品详情
func ProductStatusBatchUpdate ¶ added in v1.8.0
func ProductStatusBatchUpdate(clt *core.SDKClient, accessToken string, req *dpa.ProductStatusBatchUpdateRequest) (*dpa.ProductStatusBatchUpdateResponseData, error)
ProductStatusBatchUpdate 批量修改DPA商品状态
func ProductUpdate ¶ added in v1.8.0
func ProductUpdate(clt *core.SDKClient, accessToken string, req *dpa.ProductUpdateRequest) (uint64, error)
ProductUpdate 创建DPA商品(已有商品id)/修改DPA商品
func TemplateGet ¶ added in v1.8.0
func TemplateGet(clt *core.SDKClient, accessToken string, req *dpa.TemplateGetRequest) (*dpa.TemplateGetResponseData, error)
TemplateGet 获取DPA模板
func VideoGet ¶ added in v1.8.0
func VideoGet(clt *core.SDKClient, accessToken string, req *dpa.VideoGetRequest) (*dpa.VideoGetResponseData, error)
VideoGet 获取 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
- 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.