Documentation ¶
Index ¶
- Variables
- type App
- type BidRequest
- func (*BidRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BidRequest) GetAdStyle() int32
- func (x *BidRequest) GetAdType() int32
- func (x *BidRequest) GetApp() *App
- func (x *BidRequest) GetBidFloor() int64
- func (x *BidRequest) GetDevice() *Device
- func (x *BidRequest) GetH() int32
- func (x *BidRequest) GetMediaId() string
- func (x *BidRequest) GetPositionId() string
- func (x *BidRequest) GetReqId() string
- func (x *BidRequest) GetW() int32
- func (*BidRequest) ProtoMessage()
- func (x *BidRequest) ProtoReflect() protoreflect.Message
- func (x *BidRequest) Reset()
- func (x *BidRequest) String() string
- type BidResponse
- func (*BidResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BidResponse) GetAd() *BidResponse_Ad
- func (x *BidResponse) GetStatusCode() int64
- func (*BidResponse) ProtoMessage()
- func (x *BidResponse) ProtoReflect() protoreflect.Message
- func (x *BidResponse) Reset()
- func (x *BidResponse) String() string
- type BidResponse_Ad
- func (*BidResponse_Ad) Descriptor() ([]byte, []int)deprecated
- func (x *BidResponse_Ad) GetAdStyle() int32
- func (x *BidResponse_Ad) GetAdType() int32
- func (x *BidResponse_Ad) GetAdid() int64
- func (x *BidResponse_Ad) GetCheckclickUrls() []string
- func (x *BidResponse_Ad) GetCheckdplinkUrls() []string
- func (x *BidResponse_Ad) GetCheckimpUrls() []string
- func (x *BidResponse_Ad) GetClickUrl() string
- func (x *BidResponse_Ad) GetDeeplinkUrl() string
- func (x *BidResponse_Ad) GetDesc() string
- func (x *BidResponse_Ad) GetImageUrls() []*BidResponse_Ad_ImageUrls
- func (x *BidResponse_Ad) GetPid() string
- func (x *BidResponse_Ad) GetPrice() int64
- func (x *BidResponse_Ad) GetReqId() string
- func (x *BidResponse_Ad) GetTitle() string
- func (*BidResponse_Ad) ProtoMessage()
- func (x *BidResponse_Ad) ProtoReflect() protoreflect.Message
- func (x *BidResponse_Ad) Reset()
- func (x *BidResponse_Ad) String() string
- type BidResponse_Ad_ImageUrls
- func (*BidResponse_Ad_ImageUrls) Descriptor() ([]byte, []int)deprecated
- func (x *BidResponse_Ad_ImageUrls) GetUrl() string
- func (*BidResponse_Ad_ImageUrls) ProtoMessage()
- func (x *BidResponse_Ad_ImageUrls) ProtoReflect() protoreflect.Message
- func (x *BidResponse_Ad_ImageUrls) Reset()
- func (x *BidResponse_Ad_ImageUrls) String() string
- type Device
- func (*Device) Descriptor() ([]byte, []int)deprecated
- func (x *Device) GetAge() int32
- func (x *Device) GetAndroidId() string
- func (x *Device) GetAndroidIdMd5() string
- func (x *Device) GetBootMark() string
- func (x *Device) GetBrand() string
- func (x *Device) GetCarrier() string
- func (x *Device) GetCity() string
- func (x *Device) GetConnectType() int32
- func (x *Device) GetDensity() float32
- func (x *Device) GetDevH() int32
- func (x *Device) GetDevW() int32
- func (x *Device) GetDpi() int32
- func (x *Device) GetGender() int32
- func (x *Device) GetInstallApps() []string
- func (x *Device) GetIp() string
- func (x *Device) GetLat() string
- func (x *Device) GetLon() string
- func (x *Device) GetMac() string
- func (x *Device) GetModel() string
- func (x *Device) GetOaid() string
- func (x *Device) GetOaidMd5() string
- func (x *Device) GetOs() string
- func (x *Device) GetOsv() string
- func (x *Device) GetProvince() string
- func (x *Device) GetUa() string
- func (x *Device) GetUpdateMark() string
- func (*Device) ProtoMessage()
- func (x *Device) ProtoReflect() protoreflect.Message
- func (x *Device) Reset()
- func (x *Device) String() string
- type Diagnosis
- type Filter
- type ProgrammaticRR
- type Rank
- type Recall
- type TrackRequest
- type TrackingRR
Constants ¶
This section is empty.
Variables ¶
View Source
var File_api_dsp_ad_request_proto protoreflect.FileDescriptor
View Source
var File_api_dsp_response_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type App ¶ added in v1.2.1
type App struct { AppName string `protobuf:"bytes,1,opt,name=app_name,json=appName,proto3" json:"app_name,omitempty"` PkgName string `protobuf:"bytes,2,opt,name=pkg_name,json=pkgName,proto3" json:"pkg_name,omitempty"` Appv string `protobuf:"bytes,3,opt,name=appv,proto3" json:"appv,omitempty"` // contains filtered or unexported fields }
func (*App) Descriptor
deprecated
added in
v1.2.1
func (*App) GetAppName ¶ added in v1.2.1
func (*App) GetPkgName ¶ added in v1.2.1
func (*App) ProtoMessage ¶ added in v1.2.1
func (*App) ProtoMessage()
func (*App) ProtoReflect ¶ added in v1.2.1
func (x *App) ProtoReflect() protoreflect.Message
type BidRequest ¶
type BidRequest struct { ReqId string `protobuf:"bytes,1,opt,name=req_id,json=reqId,proto3" json:"req_id,omitempty"` MediaId string `protobuf:"bytes,2,opt,name=media_id,json=mediaId,proto3" json:"media_id,omitempty"` PositionId string `protobuf:"bytes,3,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"` AdType int32 `protobuf:"varint,4,opt,name=ad_type,json=adType,proto3" json:"ad_type,omitempty"` AdStyle int32 `protobuf:"varint,5,opt,name=ad_style,json=adStyle,proto3" json:"ad_style,omitempty"` W int32 `protobuf:"varint,6,opt,name=w,proto3" json:"w,omitempty"` H int32 `protobuf:"varint,7,opt,name=h,proto3" json:"h,omitempty"` BidFloor int64 `protobuf:"varint,8,opt,name=bid_floor,json=bidFloor,proto3" json:"bid_floor,omitempty"` App *App `protobuf:"bytes,9,opt,name=app,proto3" json:"app,omitempty"` Device *Device `protobuf:"bytes,10,opt,name=device,proto3" json:"device,omitempty"` // contains filtered or unexported fields }
func (*BidRequest) Descriptor
deprecated
added in
v1.2.1
func (*BidRequest) Descriptor() ([]byte, []int)
Deprecated: Use BidRequest.ProtoReflect.Descriptor instead.
func (*BidRequest) GetAdStyle ¶ added in v1.2.1
func (x *BidRequest) GetAdStyle() int32
func (*BidRequest) GetAdType ¶ added in v1.2.1
func (x *BidRequest) GetAdType() int32
func (*BidRequest) GetApp ¶ added in v1.2.1
func (x *BidRequest) GetApp() *App
func (*BidRequest) GetBidFloor ¶ added in v1.2.1
func (x *BidRequest) GetBidFloor() int64
func (*BidRequest) GetDevice ¶ added in v1.2.1
func (x *BidRequest) GetDevice() *Device
func (*BidRequest) GetH ¶ added in v1.2.1
func (x *BidRequest) GetH() int32
func (*BidRequest) GetMediaId ¶ added in v1.2.1
func (x *BidRequest) GetMediaId() string
func (*BidRequest) GetPositionId ¶ added in v1.2.1
func (x *BidRequest) GetPositionId() string
func (*BidRequest) GetReqId ¶ added in v1.2.1
func (x *BidRequest) GetReqId() string
func (*BidRequest) GetW ¶ added in v1.2.1
func (x *BidRequest) GetW() int32
func (*BidRequest) ProtoMessage ¶ added in v1.2.1
func (*BidRequest) ProtoMessage()
func (*BidRequest) ProtoReflect ¶ added in v1.2.1
func (x *BidRequest) ProtoReflect() protoreflect.Message
func (*BidRequest) Reset ¶ added in v1.2.1
func (x *BidRequest) Reset()
func (*BidRequest) String ¶ added in v1.2.1
func (x *BidRequest) String() string
type BidResponse ¶
type BidResponse struct { StatusCode int64 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` // 200: success Ad *BidResponse_Ad `protobuf:"bytes,2,opt,name=ad,proto3" json:"ad,omitempty"` // contains filtered or unexported fields }
func (*BidResponse) Descriptor
deprecated
added in
v1.2.1
func (*BidResponse) Descriptor() ([]byte, []int)
Deprecated: Use BidResponse.ProtoReflect.Descriptor instead.
func (*BidResponse) GetAd ¶ added in v1.2.1
func (x *BidResponse) GetAd() *BidResponse_Ad
func (*BidResponse) GetStatusCode ¶ added in v1.2.1
func (x *BidResponse) GetStatusCode() int64
func (*BidResponse) ProtoMessage ¶ added in v1.2.1
func (*BidResponse) ProtoMessage()
func (*BidResponse) ProtoReflect ¶ added in v1.2.1
func (x *BidResponse) ProtoReflect() protoreflect.Message
func (*BidResponse) Reset ¶ added in v1.2.1
func (x *BidResponse) Reset()
func (*BidResponse) String ¶ added in v1.2.1
func (x *BidResponse) String() string
type BidResponse_Ad ¶ added in v1.2.1
type BidResponse_Ad struct { ReqId string `protobuf:"bytes,1,opt,name=req_id,json=reqId,proto3" json:"req_id,omitempty"` Price int64 `protobuf:"varint,2,opt,name=price,proto3" json:"price,omitempty"` Adid int64 `protobuf:"varint,3,opt,name=adid,proto3" json:"adid,omitempty"` Pid string `protobuf:"bytes,4,opt,name=pid,proto3" json:"pid,omitempty"` Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"` Desc string `protobuf:"bytes,6,opt,name=desc,proto3" json:"desc,omitempty"` ClickUrl string `protobuf:"bytes,7,opt,name=click_url,json=clickUrl,proto3" json:"click_url,omitempty"` DeeplinkUrl string `protobuf:"bytes,8,opt,name=deeplink_url,json=deeplinkUrl,proto3" json:"deeplink_url,omitempty"` AdType int32 `protobuf:"varint,9,opt,name=ad_type,json=adType,proto3" json:"ad_type,omitempty"` AdStyle int32 `protobuf:"varint,10,opt,name=ad_style,json=adStyle,proto3" json:"ad_style,omitempty"` CheckimpUrls []string `protobuf:"bytes,11,rep,name=checkimp_urls,json=checkimpUrls,proto3" json:"checkimp_urls,omitempty"` CheckclickUrls []string `protobuf:"bytes,12,rep,name=checkclick_urls,json=checkclickUrls,proto3" json:"checkclick_urls,omitempty"` CheckdplinkUrls []string `protobuf:"bytes,13,rep,name=checkdplink_urls,json=checkdplinkUrls,proto3" json:"checkdplink_urls,omitempty"` ImageUrls []*BidResponse_Ad_ImageUrls `protobuf:"bytes,14,rep,name=image_urls,json=imageUrls,proto3" json:"image_urls,omitempty"` // contains filtered or unexported fields }
func (*BidResponse_Ad) Descriptor
deprecated
added in
v1.2.1
func (*BidResponse_Ad) Descriptor() ([]byte, []int)
Deprecated: Use BidResponse_Ad.ProtoReflect.Descriptor instead.
func (*BidResponse_Ad) GetAdStyle ¶ added in v1.2.1
func (x *BidResponse_Ad) GetAdStyle() int32
func (*BidResponse_Ad) GetAdType ¶ added in v1.2.1
func (x *BidResponse_Ad) GetAdType() int32
func (*BidResponse_Ad) GetAdid ¶ added in v1.2.1
func (x *BidResponse_Ad) GetAdid() int64
func (*BidResponse_Ad) GetCheckclickUrls ¶ added in v1.2.1
func (x *BidResponse_Ad) GetCheckclickUrls() []string
func (*BidResponse_Ad) GetCheckdplinkUrls ¶ added in v1.2.1
func (x *BidResponse_Ad) GetCheckdplinkUrls() []string
func (*BidResponse_Ad) GetCheckimpUrls ¶ added in v1.2.1
func (x *BidResponse_Ad) GetCheckimpUrls() []string
func (*BidResponse_Ad) GetClickUrl ¶ added in v1.2.1
func (x *BidResponse_Ad) GetClickUrl() string
func (*BidResponse_Ad) GetDeeplinkUrl ¶ added in v1.2.1
func (x *BidResponse_Ad) GetDeeplinkUrl() string
func (*BidResponse_Ad) GetDesc ¶ added in v1.2.1
func (x *BidResponse_Ad) GetDesc() string
func (*BidResponse_Ad) GetImageUrls ¶ added in v1.2.1
func (x *BidResponse_Ad) GetImageUrls() []*BidResponse_Ad_ImageUrls
func (*BidResponse_Ad) GetPid ¶ added in v1.2.1
func (x *BidResponse_Ad) GetPid() string
func (*BidResponse_Ad) GetPrice ¶ added in v1.2.1
func (x *BidResponse_Ad) GetPrice() int64
func (*BidResponse_Ad) GetReqId ¶ added in v1.2.1
func (x *BidResponse_Ad) GetReqId() string
func (*BidResponse_Ad) GetTitle ¶ added in v1.2.1
func (x *BidResponse_Ad) GetTitle() string
func (*BidResponse_Ad) ProtoMessage ¶ added in v1.2.1
func (*BidResponse_Ad) ProtoMessage()
func (*BidResponse_Ad) ProtoReflect ¶ added in v1.2.1
func (x *BidResponse_Ad) ProtoReflect() protoreflect.Message
func (*BidResponse_Ad) Reset ¶ added in v1.2.1
func (x *BidResponse_Ad) Reset()
func (*BidResponse_Ad) String ¶ added in v1.2.1
func (x *BidResponse_Ad) String() string
type BidResponse_Ad_ImageUrls ¶ added in v1.2.1
type BidResponse_Ad_ImageUrls struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*BidResponse_Ad_ImageUrls) Descriptor
deprecated
added in
v1.2.1
func (*BidResponse_Ad_ImageUrls) Descriptor() ([]byte, []int)
Deprecated: Use BidResponse_Ad_ImageUrls.ProtoReflect.Descriptor instead.
func (*BidResponse_Ad_ImageUrls) GetUrl ¶ added in v1.2.1
func (x *BidResponse_Ad_ImageUrls) GetUrl() string
func (*BidResponse_Ad_ImageUrls) ProtoMessage ¶ added in v1.2.1
func (*BidResponse_Ad_ImageUrls) ProtoMessage()
func (*BidResponse_Ad_ImageUrls) ProtoReflect ¶ added in v1.2.1
func (x *BidResponse_Ad_ImageUrls) ProtoReflect() protoreflect.Message
func (*BidResponse_Ad_ImageUrls) Reset ¶ added in v1.2.1
func (x *BidResponse_Ad_ImageUrls) Reset()
func (*BidResponse_Ad_ImageUrls) String ¶ added in v1.2.1
func (x *BidResponse_Ad_ImageUrls) String() string
type Device ¶ added in v1.2.1
type Device struct { Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` Province string `protobuf:"bytes,2,opt,name=province,proto3" json:"province,omitempty"` City string `protobuf:"bytes,3,opt,name=city,proto3" json:"city,omitempty"` Gender int32 `protobuf:"varint,4,opt,name=gender,proto3" json:"gender,omitempty"` Age int32 `protobuf:"varint,5,opt,name=age,proto3" json:"age,omitempty"` Mac string `protobuf:"bytes,6,opt,name=mac,proto3" json:"mac,omitempty"` Os string `protobuf:"bytes,7,opt,name=os,proto3" json:"os,omitempty"` Oaid string `protobuf:"bytes,8,opt,name=oaid,proto3" json:"oaid,omitempty"` OaidMd5 string `protobuf:"bytes,9,opt,name=oaid_md5,json=oaidMd5,proto3" json:"oaid_md5,omitempty"` AndroidId string `protobuf:"bytes,10,opt,name=android_id,json=androidId,proto3" json:"android_id,omitempty"` AndroidIdMd5 string `protobuf:"bytes,11,opt,name=android_id_md5,json=androidIdMd5,proto3" json:"android_id_md5,omitempty"` BootMark string `protobuf:"bytes,12,opt,name=boot_mark,json=bootMark,proto3" json:"boot_mark,omitempty"` UpdateMark string `protobuf:"bytes,13,opt,name=update_mark,json=updateMark,proto3" json:"update_mark,omitempty"` Ua string `protobuf:"bytes,14,opt,name=ua,proto3" json:"ua,omitempty"` Model string `protobuf:"bytes,15,opt,name=model,proto3" json:"model,omitempty"` Brand string `protobuf:"bytes,16,opt,name=brand,proto3" json:"brand,omitempty"` Osv string `protobuf:"bytes,17,opt,name=osv,proto3" json:"osv,omitempty"` DevW int32 `protobuf:"varint,18,opt,name=dev_w,json=devW,proto3" json:"dev_w,omitempty"` DevH int32 `protobuf:"varint,19,opt,name=dev_h,json=devH,proto3" json:"dev_h,omitempty"` Dpi int32 `protobuf:"varint,20,opt,name=dpi,proto3" json:"dpi,omitempty"` Density float32 `protobuf:"fixed32,21,opt,name=density,proto3" json:"density,omitempty"` Carrier string `protobuf:"bytes,22,opt,name=carrier,proto3" json:"carrier,omitempty"` ConnectType int32 `protobuf:"varint,23,opt,name=connect_type,json=connectType,proto3" json:"connect_type,omitempty"` Lat string `protobuf:"bytes,24,opt,name=lat,proto3" json:"lat,omitempty"` Lon string `protobuf:"bytes,25,opt,name=lon,proto3" json:"lon,omitempty"` InstallApps []string `protobuf:"bytes,26,rep,name=install_apps,json=installApps,proto3" json:"install_apps,omitempty"` // contains filtered or unexported fields }
func (*Device) Descriptor
deprecated
added in
v1.2.1
func (*Device) GetAndroidId ¶ added in v1.2.1
func (*Device) GetAndroidIdMd5 ¶ added in v1.2.1
func (*Device) GetBootMark ¶ added in v1.2.1
func (*Device) GetCarrier ¶ added in v1.2.1
func (*Device) GetConnectType ¶ added in v1.2.1
func (*Device) GetDensity ¶ added in v1.2.1
func (*Device) GetInstallApps ¶ added in v1.2.6
func (*Device) GetOaidMd5 ¶ added in v1.2.1
func (*Device) GetProvince ¶ added in v1.2.1
func (*Device) GetUpdateMark ¶ added in v1.2.1
func (*Device) ProtoMessage ¶ added in v1.2.1
func (*Device) ProtoMessage()
func (*Device) ProtoReflect ¶ added in v1.2.1
func (x *Device) ProtoReflect() protoreflect.Message
type Diagnosis ¶ added in v1.0.8
type Diagnosis struct { TimeInfoMs map[string]int64 `json:"time_info_ms"` Recall *Recall `json:"recall"` Filter *Filter `json:"filter"` Rank *Rank `json:"rank"` }
* *@authoer:singham<chenxiao.zhao> *@createDate:2023/6/20 *@description:
type ProgrammaticRR ¶
type ProgrammaticRR struct { RequestId string `json:"request_id"` // 唯一id UserId int64 `json:"user_id"` //用户id Timestamp int64 `json:"timestamp"` // 毫秒。自1970年1月1日0时起的毫秒数 Request *BidRequest `json:"request"` Response *BidResponse `json:"response"` Diagnosis *Diagnosis `json:"diagnosis"` //事件 Event int64 `json:"event"` //结算价格 SettlementPrice int64 `json:"settlement_price"` }
* *@authoer:singham<chenxiao.zhao> *@createDate:2023/6/20 *@description:
type TrackRequest ¶ added in v1.1.2
type TrackRequest struct { P string `json:"p" form:"p"` //加密后pb内容 Price int64 `json:"price" form:"price"` //结算价格 }
* *@authoer:singham<chenxiao.zhao> *@createDate:2023/7/4 *@description:
type TrackingRR ¶ added in v1.3.1
type TrackingRR struct { RequestId string `json:"request_id"` // 唯一id UserId int64 `json:"user_id"` //用户id Timestamp int64 `json:"timestamp"` // 毫秒。自1970年1月1日0时起的毫秒数 MediaId string `json:"media_id"` Adid int64 `json:"adid"` //事件 Event int64 `json:"event"` //结算价格 SettlementPrice int64 `json:"settlement_price"` }
Click to show internal directories.
Click to hide internal directories.