Documentation ¶
Overview ¶
Package yunosad 包含YunOS-广告相关结构体
Index ¶
- type CreativeAuditDto
- type CreativeParamDto
- type YunosAdAuditCreativeAddAPIRequest
- func (r YunosAdAuditCreativeAddAPIRequest) GetApiMethodName() string
- func (r YunosAdAuditCreativeAddAPIRequest) GetApiParams() url.Values
- func (r YunosAdAuditCreativeAddAPIRequest) GetCreative() *CreativeParamDto
- func (r YunosAdAuditCreativeAddAPIRequest) GetMemberId() int64
- func (r *YunosAdAuditCreativeAddAPIRequest) SetCreative(_creative *CreativeParamDto) error
- func (r *YunosAdAuditCreativeAddAPIRequest) SetMemberId(_memberId int64) error
- type YunosAdAuditCreativeAddAPIResponse
- type YunosAdAuditCreativeAddAPIResponseModel
- type YunosAdAuditCreativeGetAPIRequest
- func (r YunosAdAuditCreativeGetAPIRequest) GetApiMethodName() string
- func (r YunosAdAuditCreativeGetAPIRequest) GetApiParams() url.Values
- func (r YunosAdAuditCreativeGetAPIRequest) GetCreativeId() string
- func (r YunosAdAuditCreativeGetAPIRequest) GetMemberId() int64
- func (r *YunosAdAuditCreativeGetAPIRequest) SetCreativeId(_creativeId string) error
- func (r *YunosAdAuditCreativeGetAPIRequest) SetMemberId(_memberId int64) error
- type YunosAdAuditCreativeGetAPIResponse
- type YunosAdAuditCreativeGetAPIResponseModel
- type YunosAdAuditCreativeGetlistAPIRequest
- func (r YunosAdAuditCreativeGetlistAPIRequest) GetApiMethodName() string
- func (r YunosAdAuditCreativeGetlistAPIRequest) GetApiParams() url.Values
- func (r YunosAdAuditCreativeGetlistAPIRequest) GetCreativeIds() []string
- func (r YunosAdAuditCreativeGetlistAPIRequest) GetMemberId() int64
- func (r YunosAdAuditCreativeGetlistAPIRequest) GetStatus() string
- func (r *YunosAdAuditCreativeGetlistAPIRequest) SetCreativeIds(_creativeIds []string) error
- func (r *YunosAdAuditCreativeGetlistAPIRequest) SetMemberId(_memberId int64) error
- func (r *YunosAdAuditCreativeGetlistAPIRequest) SetStatus(_status string) error
- type YunosAdAuditCreativeGetlistAPIResponse
- type YunosAdAuditCreativeGetlistAPIResponseModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreativeAuditDto ¶
type CreativeAuditDto struct { // 广告创意id CreativeId string `json:"creative_id,omitempty" xml:"creative_id,omitempty"` // 是否审核通过,WAITING等待审核,PASS通过,REFUSE拒绝 Status string `json:"status,omitempty" xml:"status,omitempty"` // 拒绝原因 RefuseCause string `json:"refuse_cause,omitempty" xml:"refuse_cause,omitempty"` // 创意级别 Level int64 `json:"level,omitempty" xml:"level,omitempty"` }
CreativeAuditDto 结构体
type CreativeParamDto ¶
type CreativeParamDto struct { // 创意内容 CreativeText []string `json:"creative_text,omitempty" xml:"creative_text>string,omitempty"` // 创意图片 CreativeImageUrl []string `json:"creative_image_url,omitempty" xml:"creative_image_url>string,omitempty"` // 图标 CreativeIconUrl []string `json:"creative_icon_url,omitempty" xml:"creative_icon_url>string,omitempty"` // 外部创意id CreativeId string `json:"creative_id,omitempty" xml:"creative_id,omitempty"` // 外部创意名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 创意标题 CreativeTitle string `json:"creative_title,omitempty" xml:"creative_title,omitempty"` // 落地页地址 LandingUrl string `json:"landing_url,omitempty" xml:"landing_url,omitempty"` // 类型 ActionType string `json:"action_type,omitempty" xml:"action_type,omitempty"` // 广告尺寸大小 SizeCode string `json:"size_code,omitempty" xml:"size_code,omitempty"` // 创意模板id CreativeTemplateId int64 `json:"creative_template_id,omitempty" xml:"creative_template_id,omitempty"` // 创意类型 CreativeType int64 `json:"creative_type,omitempty" xml:"creative_type,omitempty"` }
CreativeParamDto 结构体
type YunosAdAuditCreativeAddAPIRequest ¶ added in v1.2.0
type YunosAdAuditCreativeAddAPIRequest struct { model.Params // contains filtered or unexported fields }
YunosAdAuditCreativeAddAPIRequest 单个创意预审接口 API请求 yunos.ad.audit.creative.add
YunOS广告业务第三方DSP单个创意预审接口
func NewYunosAdAuditCreativeAddRequest ¶
func NewYunosAdAuditCreativeAddRequest() *YunosAdAuditCreativeAddAPIRequest
NewYunosAdAuditCreativeAddRequest 初始化YunosAdAuditCreativeAddAPIRequest对象
func (YunosAdAuditCreativeAddAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r YunosAdAuditCreativeAddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (YunosAdAuditCreativeAddAPIRequest) GetApiParams ¶ added in v1.2.0
func (r YunosAdAuditCreativeAddAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (YunosAdAuditCreativeAddAPIRequest) GetCreative ¶ added in v1.2.0
func (r YunosAdAuditCreativeAddAPIRequest) GetCreative() *CreativeParamDto
GetCreative Creative Getter
func (YunosAdAuditCreativeAddAPIRequest) GetMemberId ¶ added in v1.2.0
func (r YunosAdAuditCreativeAddAPIRequest) GetMemberId() int64
GetMemberId MemberId Getter
func (*YunosAdAuditCreativeAddAPIRequest) SetCreative ¶ added in v1.2.0
func (r *YunosAdAuditCreativeAddAPIRequest) SetCreative(_creative *CreativeParamDto) error
SetCreative is Creative Setter 创意审核入参
func (*YunosAdAuditCreativeAddAPIRequest) SetMemberId ¶ added in v1.2.0
func (r *YunosAdAuditCreativeAddAPIRequest) SetMemberId(_memberId int64) error
SetMemberId is MemberId Setter 外部dsp的id
type YunosAdAuditCreativeAddAPIResponse ¶
type YunosAdAuditCreativeAddAPIResponse struct { model.CommonResponse YunosAdAuditCreativeAddAPIResponseModel }
YunosAdAuditCreativeAddAPIResponse 单个创意预审接口 API返回值 yunos.ad.audit.creative.add
YunOS广告业务第三方DSP单个创意预审接口
type YunosAdAuditCreativeAddAPIResponseModel ¶ added in v1.2.0
type YunosAdAuditCreativeAddAPIResponseModel struct { XMLName xml.Name `xml:"yunos_ad_audit_creative_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // message Message string `json:"message,omitempty" xml:"message,omitempty"` // statusCode StatusCode int64 `json:"status_code,omitempty" xml:"status_code,omitempty"` // isOk IsOk bool `json:"is_ok,omitempty" xml:"is_ok,omitempty"` }
YunosAdAuditCreativeAddAPIResponseModel is 单个创意预审接口 成功返回结果
type YunosAdAuditCreativeGetAPIRequest ¶ added in v1.2.0
type YunosAdAuditCreativeGetAPIRequest struct { model.Params // contains filtered or unexported fields }
YunosAdAuditCreativeGetAPIRequest 获取单个创意审核状态 API请求 yunos.ad.audit.creative.get
获取单个创意审核状态
func NewYunosAdAuditCreativeGetRequest ¶
func NewYunosAdAuditCreativeGetRequest() *YunosAdAuditCreativeGetAPIRequest
NewYunosAdAuditCreativeGetRequest 初始化YunosAdAuditCreativeGetAPIRequest对象
func (YunosAdAuditCreativeGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r YunosAdAuditCreativeGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (YunosAdAuditCreativeGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r YunosAdAuditCreativeGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (YunosAdAuditCreativeGetAPIRequest) GetCreativeId ¶ added in v1.2.0
func (r YunosAdAuditCreativeGetAPIRequest) GetCreativeId() string
GetCreativeId CreativeId Getter
func (YunosAdAuditCreativeGetAPIRequest) GetMemberId ¶ added in v1.2.0
func (r YunosAdAuditCreativeGetAPIRequest) GetMemberId() int64
GetMemberId MemberId Getter
func (*YunosAdAuditCreativeGetAPIRequest) SetCreativeId ¶ added in v1.2.0
func (r *YunosAdAuditCreativeGetAPIRequest) SetCreativeId(_creativeId string) error
SetCreativeId is CreativeId Setter 第三方广告创意id
func (*YunosAdAuditCreativeGetAPIRequest) SetMemberId ¶ added in v1.2.0
func (r *YunosAdAuditCreativeGetAPIRequest) SetMemberId(_memberId int64) error
SetMemberId is MemberId Setter 第三方的dspId
type YunosAdAuditCreativeGetAPIResponse ¶
type YunosAdAuditCreativeGetAPIResponse struct { model.CommonResponse YunosAdAuditCreativeGetAPIResponseModel }
YunosAdAuditCreativeGetAPIResponse 获取单个创意审核状态 API返回值 yunos.ad.audit.creative.get
获取单个创意审核状态
type YunosAdAuditCreativeGetAPIResponseModel ¶ added in v1.2.0
type YunosAdAuditCreativeGetAPIResponseModel struct { XMLName xml.Name `xml:"yunos_ad_audit_creative_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 错误信息 Message string `json:"message,omitempty" xml:"message,omitempty"` // 状态 StatusCode int64 `json:"status_code,omitempty" xml:"status_code,omitempty"` // 审核结果 Result *CreativeAuditDto `json:"result,omitempty" xml:"result,omitempty"` // 是否成功 IsOk bool `json:"is_ok,omitempty" xml:"is_ok,omitempty"` }
YunosAdAuditCreativeGetAPIResponseModel is 获取单个创意审核状态 成功返回结果
type YunosAdAuditCreativeGetlistAPIRequest ¶ added in v1.2.0
type YunosAdAuditCreativeGetlistAPIRequest struct { model.Params // contains filtered or unexported fields }
YunosAdAuditCreativeGetlistAPIRequest 批量获取创意审核状态 API请求 yunos.ad.audit.creative.getlist
批量获取创意审核状态
func NewYunosAdAuditCreativeGetlistRequest ¶
func NewYunosAdAuditCreativeGetlistRequest() *YunosAdAuditCreativeGetlistAPIRequest
NewYunosAdAuditCreativeGetlistRequest 初始化YunosAdAuditCreativeGetlistAPIRequest对象
func (YunosAdAuditCreativeGetlistAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r YunosAdAuditCreativeGetlistAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (YunosAdAuditCreativeGetlistAPIRequest) GetApiParams ¶ added in v1.2.0
func (r YunosAdAuditCreativeGetlistAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (YunosAdAuditCreativeGetlistAPIRequest) GetCreativeIds ¶ added in v1.2.0
func (r YunosAdAuditCreativeGetlistAPIRequest) GetCreativeIds() []string
GetCreativeIds CreativeIds Getter
func (YunosAdAuditCreativeGetlistAPIRequest) GetMemberId ¶ added in v1.2.0
func (r YunosAdAuditCreativeGetlistAPIRequest) GetMemberId() int64
GetMemberId MemberId Getter
func (YunosAdAuditCreativeGetlistAPIRequest) GetStatus ¶ added in v1.2.0
func (r YunosAdAuditCreativeGetlistAPIRequest) GetStatus() string
GetStatus Status Getter
func (*YunosAdAuditCreativeGetlistAPIRequest) SetCreativeIds ¶ added in v1.2.0
func (r *YunosAdAuditCreativeGetlistAPIRequest) SetCreativeIds(_creativeIds []string) error
SetCreativeIds is CreativeIds Setter 创意列表
func (*YunosAdAuditCreativeGetlistAPIRequest) SetMemberId ¶ added in v1.2.0
func (r *YunosAdAuditCreativeGetlistAPIRequest) SetMemberId(_memberId int64) error
SetMemberId is MemberId Setter 第三方DSP的id
func (*YunosAdAuditCreativeGetlistAPIRequest) SetStatus ¶ added in v1.2.0
func (r *YunosAdAuditCreativeGetlistAPIRequest) SetStatus(_status string) error
SetStatus is Status Setter 状态
type YunosAdAuditCreativeGetlistAPIResponse ¶
type YunosAdAuditCreativeGetlistAPIResponse struct { model.CommonResponse YunosAdAuditCreativeGetlistAPIResponseModel }
YunosAdAuditCreativeGetlistAPIResponse 批量获取创意审核状态 API返回值 yunos.ad.audit.creative.getlist
批量获取创意审核状态
type YunosAdAuditCreativeGetlistAPIResponseModel ¶ added in v1.2.0
type YunosAdAuditCreativeGetlistAPIResponseModel struct { XMLName xml.Name `xml:"yunos_ad_audit_creative_getlist_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Results []CreativeAuditDto `json:"results,omitempty" xml:"results>creative_audit_dto,omitempty"` // message Message string `json:"message,omitempty" xml:"message,omitempty"` // isOk IsOk string `json:"is_ok,omitempty" xml:"is_ok,omitempty"` // errorCode StatusCode int64 `json:"status_code,omitempty" xml:"status_code,omitempty"` }
YunosAdAuditCreativeGetlistAPIResponseModel is 批量获取创意审核状态 成功返回结果