ad

package
v1.1.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdUpdateStatus

func AdUpdateStatus(req *AdUpdateStatusRequest) (bool, error)

修改创意状态

Types

type AdQueryAdListByParamData

type AdQueryAdListByParamData struct {
	Result *AdQueryAdListByParamResult `json:"querylistbyparam_result,omitempty" codec:"querylistbyparam_result,omitempty"`
}

func (AdQueryAdListByParamData) Error added in v1.1.1

func (r AdQueryAdListByParamData) Error() string

func (AdQueryAdListByParamData) IsError added in v1.1.1

func (r AdQueryAdListByParamData) IsError() bool

type AdQueryAdListByParamRequest

type AdQueryAdListByParamRequest struct {
	api.BaseRequest
	AdGroupId uint64 `json:"ad_group_id,omitempty" codec:"ad_group_id,omitempty"` // 单元id
	PageNum   int    `json:"page_num,omitempty" codec:"page_num,omitempty"`       // 页数
	PageSize  int    `json:"page_size,omitempty" codec:"page_size,omitempty"`     // 列数
}

type AdQueryAdListByParamResponse

type AdQueryAdListByParamResponse struct {
	ErrorResp *api.ErrorResponnse       `json:"error_response,omitempty" codec:"error_response,omitempty"`
	Data      *AdQueryAdListByParamData `` /* 128-byte string literal not displayed */
}

func (AdQueryAdListByParamResponse) Error added in v1.1.1

func (AdQueryAdListByParamResponse) IsError added in v1.1.1

func (r AdQueryAdListByParamResponse) IsError() bool

type AdQueryAdListByParamResult

type AdQueryAdListByParamResult struct {
	Value      *AdQueryAdListByParamValues `json:"value,omitempty" codec:"value,omitempty"`
	ResultCode string                      `json:"resultCode,omitempty" codec:"resultCode,omitempty"`
	ErrorMsg   string                      `json:"errorMsg,omitempty" codec:"errorMsg,omitempty"`
	Success    bool                        `json:"success,omitempty" codec:"success,omitempty"`
}

func (AdQueryAdListByParamResult) Error added in v1.1.1

func (AdQueryAdListByParamResult) IsError added in v1.1.1

func (r AdQueryAdListByParamResult) IsError() bool

type AdQueryAdListByParamValues

type AdQueryAdListByParamValues struct {
	Paginator *dsp.Paginator `json:"paginator,omitempty" codec:"paginator,omitempty"`
	Datas     []DspADQuery   `json:"datas,omitempty" codec:"datas,omitempty"`
}

type AdUpdateStatusData

type AdUpdateStatusData struct {
	Result *DspKcAdUpdateResult `json:"updatestatus_result"`
}

func (AdUpdateStatusData) Error added in v1.1.1

func (r AdUpdateStatusData) Error() string

func (AdUpdateStatusData) IsError added in v1.1.1

func (r AdUpdateStatusData) IsError() bool

type AdUpdateStatusRequest

type AdUpdateStatusRequest struct {
	api.BaseRequest
	Id     string `json:"id,omitempty" codec:"id,omitempty"`
	Status int    `json:"status,omitempty" codec:"status,omitempty"`
}

type AdUpdateStatusResponse

type AdUpdateStatusResponse struct {
	ErrorResp *api.ErrorResponnse `json:"error_response,omitempty" codec:"error_response,omitempty"`
	Data      *AdUpdateStatusData `json:"jingdong_dsp_kc_ad_updatestatus_response,omitempty" codec:"jingdong_dsp_kc_ad_updatestatus_response,omitempty"`
}

func (AdUpdateStatusResponse) Error added in v1.1.1

func (r AdUpdateStatusResponse) Error() string

func (AdUpdateStatusResponse) IsError added in v1.1.1

func (r AdUpdateStatusResponse) IsError() bool

type AuditInfo

type AuditInfo struct {
	AuditInfo string `json:"auditInfo,omitempty" codec:"auditInfo,omitempty"`
}

type DspADQuery

type DspADQuery struct {
	ImgUrl        string      `json:"imgUrl,omitempty" codec:"imgUrl,omitempty"`               // 图片地址
	Id            uint64      `json:"id,omitempty" codec:"id,omitempty"`                       // 创意id
	Status        uint8       `json:"status,omitempty" codec:"status,omitempty"`               // 状态
	Name          string      `json:"name,omitempty" codec:"name,omitempty"`                   // 创意名称
	SkuId         string      `json:"skuId,omitempty" codec:"skuId,omitempty"`                 // SkuId
	AuditInfoList []AuditInfo `json:"auditInfoList,omitempty" codec:"auditInfoList,omitempty"` // 审核List
}

func AdQueryAdListByParam

func AdQueryAdListByParam(req *AdQueryAdListByParamRequest) ([]DspADQuery, int, error)

查询.快车.指定单元下创意基本信息

type DspKcAdUpdateResult

type DspKcAdUpdateResult struct {
	Value      int    `json:"value,omitempty" codec:"value,omitempty"`
	ResultCode string `json:"resultCode,omitempty" codec:"resultCode,omitempty"`
	ErrorMsg   string `json:"errorMsg,omitempty" codec:"errorMsg,omitempty"`
	Success    bool   `json:"success,omitempty" codec:"success,omitempty"`
}

func (DspKcAdUpdateResult) Error added in v1.1.1

func (r DspKcAdUpdateResult) Error() string

func (DspKcAdUpdateResult) IsError added in v1.1.1

func (r DspKcAdUpdateResult) IsError() bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL