Versions in this module Expand all Collapse all v1 v1.28.4 Oct 12, 2024 v1.28.3 Oct 11, 2024 Changes in this version + type CreateRequest struct + AwemeID string + CustomerMaterialList []CustomerMaterial + EnableGraphicDelivery bool + LiveMaterialType enum.MarketingGoal + LocalAccountID uint64 + Name string + ProjectID uint64 + VideoHpVisibility enum.VideoHpVisibility + func (r CreateRequest) Encode() []byte + type CreateResponse struct + Data struct{ ... } + type CustomerMaterial struct + ImageMode local.ImageMode + TitleMaterial *TitleMaterial + VideoMaterial *VideoMaterial + type DetailRequest struct + LocalAccountID uint64 + PromotionID uint64 + func (r DetailRequest) Encode() string + type DetailResponse struct + Data *PromotionDetail + type ListFilter struct + AdType local.AdType + BidType local.BidType + BudgetMode enum.BudgetMode + LearningPhase enum.LearningPhase + MarketingGoal local.MarketingGoal + ProjectID uint64 + PromotionCreateTimeEnd string + PromotionCreateTimeStart string + PromotionIDs []uint64 + PromotionModifyTimeEnd string + PromotionModifyTimeStart string + PromotionName string + PromotionStatusFirst local.PromotionStatusFirst + PromotionStatusSecond local.PromotionStatusSecond + RejectReasonType enum.PromotionRejectReasonType + type ListRequest struct + Filtering *ListFilter + LocalAccountID uint64 + Page int + PageSize int + func (r ListRequest) Encode() string + type ListResponse struct + Data *ListResult + type ListResult struct + PageInfo *model.PageInfo + Promotion []Promotion + type Promotion struct + AdType local.AdType + AwemeID string + AwemeName string + LearningPhase enum.LearningPhase + LocalAccountID uint64 + ProjectID uint64 + PromotionCreateTime string + PromotionID uint64 + PromotionModifyTime string + PromotionName string + PromotionStatusFirst local.PromotionStatusFirst + PromotionStatusSecond []local.PromotionStatusSecond + type PromotionDetail struct + AwemeID string + CustomerMaterialList []CustomerMaterial + EnableGraphicDelivery bool + LiveMaterialType enum.MarketingGoal + PromotionID uint64 + VideoHpVisibility enum.VideoHpVisibility + type StatusUpdateItem struct + OptStatus string + PromotionID uint64 + type StatusUpdateRequest struct + Data []StatusUpdateItem + LocalAccountID uint64 + func (r StatusUpdateRequest) Encode() []byte + type StatusUpdateResponse struct + Data *UpdateResult + type TitleMaterial struct + LegoMaterialID uint64 + MaterialID uint64 + Title string + type UpdateError struct + ErrorMessage string + PromotionID uint64 + func (e UpdateError) Error() string + type UpdateRequest struct + AwemeID string + CustomerMaterialList []CustomerMaterial + LocalAccountID uint64 + Name string + PromotionID uint64 + VideoHpVisibility enum.VideoHpVisibility + func (r UpdateRequest) Encode() []byte + type UpdateResult struct + Errors []UpdateError + PromotionIDs []uint64 + type VideoMaterial struct + AwemeItemID uint64 + CoverImageHeight int64 + CoverImageWidth int64 + CoverWebURI string + CoverWebURL string + ImageMode local.ImageMode + LegoMaterialID uint64 + MaterialID uint64 + VideoDuration int64 + VideoHeight int64 + VideoID string + VideoPlayURL string + VideoWidth int64