Documentation
¶
Index ¶
- Constants
- Variables
- type Account
- type AccountMember
- type AccountSocial
- type AccountSocialSession
- type ActiveStatus
- type Application
- type ApplicationType
- type ApproveStatus
- type AuctionType
- type AuthClient
- type AuthSession
- type AvailableStatus
- type BlazeApproveStatus
- type Browser
- type Category
- type DeviceMaker
- type DeviceModel
- type DeviceType
- type DirectAccessToken
- type Format
- type HistoryAction
- type M2MAccountMemberRole
- type M2MRole
- type OS
- type Option
- type OptionType
- type Order
- type PlatformType
- type PricingModel
- type PrivateStatus
- type RTBRequestType
- type RTBSource
- type RTBSourceFlags
- type Role
- type StatisticAdItem
- type StatisticAdItemKey
- type TrafficRouter
- type TypeSex
- type User
- type UserPasswordReset
- type Zone
- type ZoneType
Constants ¶
View Source
const ( PricingModelUndefined = types.PricingModelUndefined PricingModelCPM = types.PricingModelCPM PricingModelCPC = types.PricingModelCPC PricingModelCPA = types.PricingModelCPA )
PricingModel set of types
View Source
const ( StatusPending = types.StatusPending StatusApproved = types.StatusApproved StatusRejected = types.StatusRejected StatusPendingName = types.StatusPendingName StatusApprovedName = types.StatusApprovedName StatusRejectedName = types.StatusRejectedName StatusActive = types.StatusActive StatusPause = types.StatusPause StatusPublic = types.StatusPublic StatusPrivate = types.StatusPrivate )
ActiveStatus set of types
View Source
const ( PlatformUndefined = types.PlatformUndefined PlatformWeb = types.PlatformWeb PlatformDesktop = types.PlatformDesktop PlatformMobile = types.PlatformMobile PlatformSmartPhone = types.PlatformSmartPhone PlatformTablet = types.PlatformTablet PlatformSmartTV = types.PlatformSmartTV PlatformGameStation = types.PlatformGameStation PlatformSmartWatch = types.PlatformSmartWatch PlatformVR = types.PlatformVR PlatformSmartGlasses = types.PlatformSmartGlasses PlatformSmartBillboard = types.PlatformSmartBillboard )
PlatformType set of types
View Source
const ( PlatformUndefinedName = types.PlatformUndefinedName PlatformWebName = types.PlatformWebName PlatformDesktopName = types.PlatformDesktopName PlatformMobileName = types.PlatformMobileName PlatformSmartPhoneName = types.PlatformSmartPhoneName PlatformTabletName = types.PlatformTabletName PlatformSmartTVName = types.PlatformSmartTVName PlatformGameStationName = types.PlatformGameStationName PlatformSmartWatchName = types.PlatformSmartWatchName PlatformVRName = types.PlatformVRName PlatformSmartGlassesName = types.PlatformSmartGlassesName PlatformSmartBillboardName = types.PlatformSmartBillboardName )
PlatformName set of names
View Source
const ( UserSexUndefined = adtype.UserSexUndefined UserSexMale = adtype.UserSexMale UserSexFemale = adtype.UserSexFemale )
UserSex set of types
View Source
const ( ZoneTypeDefault = types.ZoneTypeDefault ZoneTypeSmartlink = types.ZoneTypeSmartlink )
ZoneType set of types
View Source
const ( RTBRequestTypeUndefined = types.RTBRequestTypeUndefined RTBRequestTypeJSON = types.RTBRequestTypeJSON RTBRequestTypeXML = types.RTBRequestTypeXML RTBRequestTypeProtoBUFF = types.RTBRequestTypeProtoBUFF RTBRequestTypePOSTFormEncoded = types.RTBRequestTypePOSTFormEncoded RTBRequestTypePLAINTEXT = types.RTBRequestTypePLAINTEXT )
RTBRequestType set of types
View Source
const ( AuctionTypeUndefined = types.UndefinedAuctionType AuctionTypeFirstPrice = types.FirstPriceAuctionType AuctionTypeSecondPrice = types.SecondPriceAuctionType )
AuctionType set of types
View Source
const ( ApplicationUndefined = types.ApplicationUndefined ApplicationSite = types.ApplicationSite ApplicationApp = types.ApplicationApp ApplicationGame = types.ApplicationGame )
ApplicationType set of types
View Source
const ( UndefinedOptionType = blzmodel.UndefinedOptionType UserOptionType = blzmodel.UserOptionType AccountOptionType = blzmodel.AccountOptionType SystemOptionType = blzmodel.SystemOptionType )
View Source
const ( OrderUndefined = blzmodel.OrderUndefined OrderAsc = blzmodel.OrderAsc OrderDesc = blzmodel.OrderDesc )
View Source
const ( UndefinedAvailableStatus = blzmodel.UndefinedAvailableStatus AvailableAvailableStatus = blzmodel.AvailableAvailableStatus )
AvailableStatus option constants...
View Source
const ( UndefinedApproveStatus = blzmodel.UndefinedApproveStatus ApprovedApproveStatus = blzmodel.ApprovedApproveStatus DisapprovedApproveStatus = blzmodel.DisapprovedApproveStatus BannedApproveStatus = blzmodel.BannedApproveStatus )
ApproveStatus option constants...
Variables ¶
View Source
var DeviceTypeList = models.DeviceTypeList
Functions ¶
This section is empty.
Types ¶
type AccountSocialSession ¶
type AccountSocialSession = blzmodel.AccountSocialSession
API basic types
type BlazeApproveStatus ¶
type BlazeApproveStatus = blzmodel.ApproveStatus
BlazeApproveStatus of the model
type M2MAccountMemberRole ¶
type M2MAccountMemberRole = blzmodel.M2MAccountMemberRole
API basic types
type Order ¶
Order type casting
func OrderFromStr ¶
PrepareQuery returns the query with applied order
type RTBSourceFlags ¶
type RTBSourceFlags = models.RTBSourceFlags
type StatisticAdItem ¶
type StatisticAdItem struct {
Keys []StatisticAdItemKey `json:"keys"`
// Money counters
Profit float64 `json:"profit"`
BidPrice float64 `json:"bid_price"`
// Counters
Requests uint64 `json:"requests"`
Impressions uint64 `json:"impressions"`
Views uint64 `json:"views"`
Directs uint64 `json:"directs"`
Clicks uint64 `json:"clicks"`
Wins uint64 `json:"wins"`
Bids uint64 `json:"bids"`
Skips uint64 `json:"skips"`
Nobids uint64 `json:"nobids"`
Errors uint64 `json:"errors"`
}
func (*StatisticAdItem) CTR ¶
func (it *StatisticAdItem) CTR() float64
func (*StatisticAdItem) ECPC ¶
func (it *StatisticAdItem) ECPC() float64
func (*StatisticAdItem) ECPM ¶
func (it *StatisticAdItem) ECPM() float64
type StatisticAdItemKey ¶
Click to show internal directories.
Click to hide internal directories.