AdRequestEvent

io.bidmachine.protobuf.vectorid.v1.AdRequestEvent
See theAdRequestEvent companion object
final case class AdRequestEvent(osv: String, hwv: String, model: String, timestamp: Long, os: DeviceOS, connectionType: ConnectionType, ipv4: Int, ipv6: ByteString, region: String, ifa: ByteString, ifv: ByteString, lastBootup: Double, totalMem: Long, freeMem: Long, volumeLevel: Float, darkMode: Int, timezone: String, batteryLevel: Float, batterySaver: Int, screenBright: Float, charging: Int, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[AdRequestEvent]

Value parameters

batteryLevel

Battery level (0.0 to 1.0)

batterySaver

Battery saver mode enabled (0=off, 1=on)

charging

Device charging status (0=not charging, 1=charging)

connectionType

Connection type (WiFi, cellular, etc.) - small enum

darkMode

MEDIUM priority signals Dark mode enabled (0=off, 1=on)

freeMem

Free device memory in bytes

hwv

Device hardware version (e.g., "iPhone14,2") - common field

ifa

IFA (iOS) or GAID (Android) - UUID as bytes (16 bytes)

ifv

IFV (iOS identifier for vendor) - UUID as bytes (16 bytes)

ipv4

IP address

lastBootup

Last bootup time - double for timestamp

model

Device model (e.g., "iphone") - common field

os

Device OS (e.g., "android", "ios") - small enum saves bytes

osv

Device OS version (e.g., "16.6.1") - most common field

region

Region code (e.g., "ny", "ca") - short string

screenBright

Screen brightness (0.0 to 1.0)

timezone

Device timezone (e.g., "America/New_York", "Europe/London")

totalMem

===== New device signals for improved vector ID calculation ===== HIGH priority signals Total device memory in bytes

volumeLevel

Volume level (0.0 to 1.0)

Attributes

Companion
object
Graph
Supertypes
trait Updatable[AdRequestEvent]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def getField(`__field`: FieldDescriptor): PValue
def getFieldByNumber(`__fieldNumber`: Int): Any
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
def toProtoString: String

Returns a human-readable ASCII format representation of this message.

Returns a human-readable ASCII format representation of this message.

The original message can be decoded from this format by using fromAscii on the companion object.

Attributes

Returns

human-readable representation of this message.

def withBatteryLevel(`__v`: Float): AdRequestEvent
def withBatterySaver(`__v`: Int): AdRequestEvent
def withCharging(`__v`: Int): AdRequestEvent
def withDarkMode(`__v`: Int): AdRequestEvent
def withFreeMem(`__v`: Long): AdRequestEvent
def withHwv(`__v`: String): AdRequestEvent
def withIfa(`__v`: ByteString): AdRequestEvent
def withIfv(`__v`: ByteString): AdRequestEvent
def withIpv4(`__v`: Int): AdRequestEvent
def withIpv6(`__v`: ByteString): AdRequestEvent
def withLastBootup(`__v`: Double): AdRequestEvent
def withModel(`__v`: String): AdRequestEvent
def withOsv(`__v`: String): AdRequestEvent
def withRegion(`__v`: String): AdRequestEvent
def withScreenBright(`__v`: Float): AdRequestEvent
def withTimestamp(`__v`: Long): AdRequestEvent
def withTimezone(`__v`: String): AdRequestEvent
def withTotalMem(`__v`: Long): AdRequestEvent
def withUnknownFields(`__v`: UnknownFieldSet): AdRequestEvent
def withVolumeLevel(`__v`: Float): AdRequestEvent
def writeTo(`_output__`: CodedOutputStream): Unit

Serializes the message into the given coded output stream

Serializes the message into the given coded output stream

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
final def toByteArray: Array[Byte]

Serializes the message and returns a byte array containing its raw bytes

Serializes the message and returns a byte array containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
final def toByteString: ByteString

Serializes the message and returns a ByteString containing its raw bytes

Serializes the message and returns a ByteString containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
final def toPMessage: PMessage

Attributes

Inherited from:
GeneratedMessage

Attributes

Inherited from:
Updatable
final def writeDelimitedTo(output: OutputStream): Unit

Attributes

Inherited from:
GeneratedMessage
final def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Attributes

Inherited from:
GeneratedMessage