admarket

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ad struct {
	TemplateId string `json:"template_id,omitempty" xml:"template_id,omitempty"`

	Price int64 `json:"price,omitempty" xml:"price,omitempty"`

	Adm string `json:"adm,omitempty" xml:"adm,omitempty"`

	Target *Target `json:"target,omitempty" xml:"target,omitempty"`

	Monitor *Monitor `json:"monitor,omitempty" xml:"monitor,omitempty"`
}

Ad

type AdSlot

type AdSlot struct {
	AdSlotId string `json:"ad_slot_id,omitempty" xml:"ad_slot_id,omitempty"`

	Query string `json:"query,omitempty" xml:"query,omitempty"`

	Count int64 `json:"count,omitempty" xml:"count,omitempty"`
}

AdSlot

type AdSlots

type AdSlots struct {
	AdSlotId string `json:"ad_slot_id,omitempty" xml:"ad_slot_id,omitempty"`

	Ads []Ad `json:"ads,omitempty" xml:"ads,omitempty"`
}

AdSlots

type AppInfo

type AppInfo struct {
	AppName string `json:"app_name,omitempty" xml:"app_name,omitempty"`

	Pkg string `json:"pkg,omitempty" xml:"pkg,omitempty"`

	VersionCode int64 `json:"version_code,omitempty" xml:"version_code,omitempty"`

	VersionName string `json:"version_name,omitempty" xml:"version_name,omitempty"`
}

AppInfo

type BidRequest

type BidRequest struct {
	AppInfo *AppInfo `json:"app_info,omitempty" xml:"app_info,omitempty"`

	SdkInfo *SdkInfo `json:"sdk_info,omitempty" xml:"sdk_info,omitempty"`

	DeviceInfo *DeviceInfo `json:"device_info,omitempty" xml:"device_info,omitempty"`

	Udid *Udid `json:"udid,omitempty" xml:"udid,omitempty"`

	UserInfo *UserInfo `json:"user_info,omitempty" xml:"user_info,omitempty"`

	Channel string `json:"channel,omitempty" xml:"channel,omitempty"`

	Network *Network `json:"network,omitempty" xml:"network,omitempty"`

	Version string `json:"version,omitempty" xml:"version,omitempty"`

	Location *Location `json:"location,omitempty" xml:"location,omitempty"`

	AdSlots []AdSlot `json:"ad_slots,omitempty" xml:"ad_slots,omitempty"`

	BatchId string `json:"batch_id,omitempty" xml:"batch_id,omitempty"`
}

BidRequest

type BidResponse

type BidResponse struct {
	AdSlots []AdSlots `json:"ad_slots,omitempty" xml:"ad_slots,omitempty"`
}

BidResponse

type DeviceInfo

type DeviceInfo struct {
	Model string `json:"model,omitempty" xml:"model,omitempty"`

	OsVersion string `json:"os_version,omitempty" xml:"os_version,omitempty"`

	ScreenWidth int64 `json:"screen_width,omitempty" xml:"screen_width,omitempty"`

	DeviceType string `json:"device_type,omitempty" xml:"device_type,omitempty"`

	Vendor string `json:"vendor,omitempty" xml:"vendor,omitempty"`

	OsType string `json:"os_type,omitempty" xml:"os_type,omitempty"`

	ClientType string `json:"client_type,omitempty" xml:"client_type,omitempty"`

	ScreenHeight int64 `json:"screen_height,omitempty" xml:"screen_height,omitempty"`

	ScreenType string `json:"screen_type,omitempty" xml:"screen_type,omitempty"`
}

DeviceInfo

type ExcludeDevice

type ExcludeDevice struct {
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`

	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`

	DeviceIds []string `json:"device_ids,omitempty" xml:"device_ids>string,omitempty"`
}

ExcludeDevice

type Location

type Location struct {
	CoordinateType string `json:"coordinate_type,omitempty" xml:"coordinate_type,omitempty"`

	Longitude string `json:"longitude,omitempty" xml:"longitude,omitempty"`

	Latitude string `json:"latitude,omitempty" xml:"latitude,omitempty"`
}

Location

type Monitor

type Monitor struct {
	ViewUrlList []string `json:"view_url_list,omitempty" xml:"view_url_list>string,omitempty"`

	EndPlayUrlList []string `json:"end_play_url_list,omitempty" xml:"end_play_url_list>string,omitempty"`

	StartPlayUrlList []string `json:"start_play_url_list,omitempty" xml:"start_play_url_list>string,omitempty"`

	ClickUrlList []string `json:"click_url_list,omitempty" xml:"click_url_list>string,omitempty"`

	EventUrlList []string `json:"event_url_list,omitempty" xml:"event_url_list>string,omitempty"`
}

Monitor

type Network

type Network struct {
	CellularId string `json:"cellular_id,omitempty" xml:"cellular_id,omitempty"`

	OperatorType string `json:"operator_type,omitempty" xml:"operator_type,omitempty"`

	ConnectionType string `json:"connection_type,omitempty" xml:"connection_type,omitempty"`

	Ip string `json:"ip,omitempty" xml:"ip,omitempty"`
}

Network

type SdkInfo

type SdkInfo struct {
	VersionName string `json:"version_name,omitempty" xml:"version_name,omitempty"`

	VersionCode int64 `json:"version_code,omitempty" xml:"version_code,omitempty"`
}

SdkInfo

type SspMaterialAuditResult

type SspMaterialAuditResult struct {
	Reason string `json:"reason,omitempty" xml:"reason,omitempty"`

	MaterialId int64 `json:"material_id,omitempty" xml:"material_id,omitempty"`

	Status string `json:"status,omitempty" xml:"status,omitempty"`

	ExcludeDevices []ExcludeDevice `json:"exclude_devices,omitempty" xml:"exclude_devices,omitempty"`

	Channel string `json:"channel,omitempty" xml:"channel,omitempty"`
}

SspMaterialAuditResult

type Target

type Target struct {
	TargetType string `json:"target_type,omitempty" xml:"target_type,omitempty"`

	TargetValue string `json:"target_value,omitempty" xml:"target_value,omitempty"`
}

Target

type Udid

type Udid struct {
	Imei string `json:"imei,omitempty" xml:"imei,omitempty"`

	Mac string `json:"mac,omitempty" xml:"mac,omitempty"`

	AndroidId string `json:"android_id,omitempty" xml:"android_id,omitempty"`

	UmidToken string `json:"umid_token,omitempty" xml:"umid_token,omitempty"`

	Uuid string `json:"uuid,omitempty" xml:"uuid,omitempty"`

	SerialNum string `json:"serial_num,omitempty" xml:"serial_num,omitempty"`

	SimSn string `json:"sim_sn,omitempty" xml:"sim_sn,omitempty"`

	Imsi string `json:"imsi,omitempty" xml:"imsi,omitempty"`

	Utdid string `json:"utdid,omitempty" xml:"utdid,omitempty"`

	DeviceId string `json:"device_id,omitempty" xml:"device_id,omitempty"`
}

Udid

type UserInfo

type UserInfo struct {
	Id string `json:"id,omitempty" xml:"id,omitempty"`

	Info string `json:"info,omitempty" xml:"info,omitempty"`
}

UserInfo

type YunosAdmarketAdBidAPIResponse

type YunosAdmarketAdBidAPIResponse struct {
	model.CommonResponse
	YunosAdmarketAdBidResponse
}

广告竞价服务 APIResponse yunos.admarket.ad.bid

广告竞价服务

type YunosAdmarketAdBidRequest

type YunosAdmarketAdBidRequest struct {
	model.Params
	// contains filtered or unexported fields
}

广告竞价服务 APIRequest yunos.admarket.ad.bid

广告竞价服务

func NewYunosAdmarketAdBidRequest

func NewYunosAdmarketAdBidRequest() *YunosAdmarketAdBidRequest

func (YunosAdmarketAdBidRequest) GetApiMethodName

func (r YunosAdmarketAdBidRequest) GetApiMethodName() string

func (YunosAdmarketAdBidRequest) GetApiParams

func (r YunosAdmarketAdBidRequest) GetApiParams() url.Values

func (YunosAdmarketAdBidRequest) GetBidRequest

func (r YunosAdmarketAdBidRequest) GetBidRequest() *BidRequest

func (*YunosAdmarketAdBidRequest) SetBidRequest

func (r *YunosAdmarketAdBidRequest) SetBidRequest(bidRequest *BidRequest) error

type YunosAdmarketAdBidResponse

type YunosAdmarketAdBidResponse struct {
	XMLName xml.Name `xml:"yunos_admarket_ad_bid_response"`

	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	Id string `json:"id,omitempty" xml:"id,omitempty"`

	ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`

	Result *BidResponse `json:"result,omitempty" xml:"result,omitempty"`

	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`

	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

type YunosAdmarketMaterialAuditAPIResponse

type YunosAdmarketMaterialAuditAPIResponse struct {
	model.CommonResponse
	YunosAdmarketMaterialAuditResponse
}

广告平台创意审核 APIResponse yunos.admarket.material.audit

用于厂商上报广告平台审核结果

type YunosAdmarketMaterialAuditRequest

type YunosAdmarketMaterialAuditRequest struct {
	model.Params
	// contains filtered or unexported fields
}

广告平台创意审核 APIRequest yunos.admarket.material.audit

用于厂商上报广告平台审核结果

func NewYunosAdmarketMaterialAuditRequest

func NewYunosAdmarketMaterialAuditRequest() *YunosAdmarketMaterialAuditRequest

func (YunosAdmarketMaterialAuditRequest) GetApiMethodName

func (r YunosAdmarketMaterialAuditRequest) GetApiMethodName() string

func (YunosAdmarketMaterialAuditRequest) GetApiParams

func (r YunosAdmarketMaterialAuditRequest) GetApiParams() url.Values

func (YunosAdmarketMaterialAuditRequest) GetSspMaterialAuditResult

func (r YunosAdmarketMaterialAuditRequest) GetSspMaterialAuditResult() *SspMaterialAuditResult

func (*YunosAdmarketMaterialAuditRequest) SetSspMaterialAuditResult

func (r *YunosAdmarketMaterialAuditRequest) SetSspMaterialAuditResult(sspMaterialAuditResult *SspMaterialAuditResult) error

type YunosAdmarketMaterialAuditResponse

type YunosAdmarketMaterialAuditResponse struct {
	XMLName xml.Name `xml:"yunos_admarket_material_audit_response"`

	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	Result *YunosAdmarketMaterialAuditResult `json:"result,omitempty" xml:"result,omitempty"`
}

type YunosAdmarketMaterialAuditResult

type YunosAdmarketMaterialAuditResult struct {
	ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`

	Result string `json:"result,omitempty" xml:"result,omitempty"`

	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`

	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

YunosAdmarketMaterialAuditResult

Jump to

Keyboard shortcuts

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