models

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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
	UnavailableAvailableStatus = blzmodel.UnavailableAvailableStatus
)

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 Account

type Account = blzmodel.Account

API basic types

type AccountMember

type AccountMember = blzmodel.AccountMember

API basic types

type AccountSocial

type AccountSocial = blzmodel.AccountSocial

API basic types

type AccountSocialSession

type AccountSocialSession = blzmodel.AccountSocialSession

API basic types

type ActiveStatus

type ActiveStatus = types.ActiveStatus

AdType set of types

type Application

type Application = models.Application

Models set of types

type ApplicationType

type ApplicationType = types.ApplicationType

AdType set of types

type ApproveStatus

type ApproveStatus = types.ApproveStatus

AdType set of types

type AuctionType

type AuctionType = types.AuctionType

AdType set of types

type AuthClient

type AuthClient = blzmodel.AuthClient

API basic types

type AuthSession

type AuthSession = blzmodel.AuthSession

API basic types

type AvailableStatus

type AvailableStatus = blzmodel.AvailableStatus

AvailableStatus type

type BlazeApproveStatus

type BlazeApproveStatus = blzmodel.ApproveStatus

BlazeApproveStatus of the model

type Browser

type Browser = models.Browser

Models set of types

type Category

type Category = models.Category

Models set of types

type DeviceMaker

type DeviceMaker = models.DeviceMaker

Models set of types

type DeviceModel

type DeviceModel = models.DeviceModel

Models set of types

type DeviceType

type DeviceType = models.DeviceType

Models set of types

type DirectAccessToken

type DirectAccessToken = blzmodel.DirectAccessToken

API basic types

type Format

type Format = models.Format

Models set of types

type HistoryAction

type HistoryAction = blzmodel.HistoryAction

API basic types

type M2MAccountMemberRole

type M2MAccountMemberRole = blzmodel.M2MAccountMemberRole

API basic types

type M2MRole

type M2MRole = blzmodel.M2MRole

API basic types

type OS

type OS = models.OS

Models set of types

type Option

type Option = blzmodel.Option

API basic types

type OptionType

type OptionType = blzmodel.OptionType

OptionType type casting

type Order

type Order = blzmodel.Order

Order type casting

func OrderFromStr

func OrderFromStr(s string) Order

PrepareQuery returns the query with applied order

type PlatformType

type PlatformType = types.PlatformType

AdType set of types

type PricingModel

type PricingModel = types.PricingModel

AdType set of types

type PrivateStatus

type PrivateStatus = types.PrivateStatus

AdType set of types

type RTBRequestType

type RTBRequestType = types.RTBRequestType

AdType set of types

type RTBSource

type RTBSource = models.RTBSource

Models set of types

type RTBSourceFlags

type RTBSourceFlags = models.RTBSourceFlags

type Role

type Role = blzmodel.Role

API basic types

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

type StatisticAdItemKey struct {
	Key   string `json:"key,omitempty"`
	Value any    `json:"value,omitempty"`
	Text  string `json:"text,omitempty"`
}

type TrafficRouter

type TrafficRouter = models.TrafficRouter

Models set of types

type TypeSex

type TypeSex = adtype.TypeSex

AdType set of types

type User

type User = blzmodel.User

API basic types

type UserPasswordReset

type UserPasswordReset = blzmodel.UserPasswordReset

API basic types

type Zone

type Zone = models.Zone

Models set of types

type ZoneType

type ZoneType = types.ZoneType

AdType set of types

Jump to

Keyboard shortcuts

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