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 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 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 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 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 DetailGet ¶ added in v1.8.0
func DetailGet(clt *core.SDKClient, accessToken string, req *dpa.DetailGetRequest) (*dpa.DetailGetResponseData, error)
DetailGet 获取商品列表
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 ¶
Click to show internal directories.
Click to hide internal directories.