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, ipv4: Int, ipv6: ByteString, ifa: ByteString, ifv: ByteString, lastBootup: Double, totalMem: Long, appBundle: String, sdk: String, sdkver: String, sellerId: Long, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[AdRequestEvent]

Value parameters

appBundle

App bundle from request.context.app.bundle (e.g., "com.example.game")

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

sdk

SDK name from request.placement.sdk (e.g., "BidMachine")

sdkver

SDK version from request.placement.sdkver (e.g., "3.2.1")

sellerId

Seller id from seller.id

totalMem

Total device memory in bytes

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 withAppBundle(`__v`: String): 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 withSdk(`__v`: String): AdRequestEvent
def withSdkver(`__v`: String): AdRequestEvent
def withSellerId(`__v`: Long): AdRequestEvent
def withTimestamp(`__v`: Long): AdRequestEvent
def withTotalMem(`__v`: Long): AdRequestEvent
def withUnknownFields(`__v`: UnknownFieldSet): 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