io.bidmachine.protobuf.sessionmetrics.v1

Members list

Type members

Classlikes

final case class AdDomainTimestamps(adDomains: Map[String, Timestamps], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[AdDomainTimestamps]

Value parameters

adDomains

ad_domain -> timestamps

Attributes

Companion
object
Supertypes
trait Updatable[AdDomainTimestamps]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object AdDomainTimestamps extends GeneratedMessageCompanion[AdDomainTimestamps]

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[AdDomainTimestamps]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
final case class AdRequestMetrics(adType: AdType, windowMetrics: Option[WindowMetrics], lastTimestamps: Seq[Long], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[AdRequestMetrics]

Value parameters

lastTimestamps

timestamps of last 10 observed ad requests

Attributes

Companion
object
Supertypes
trait Updatable[AdRequestMetrics]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object AdRequestMetrics extends GeneratedMessageCompanion[AdRequestMetrics]

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[AdRequestMetrics]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
sealed abstract class AdType(val value: Int) extends GeneratedEnum

Attributes

Companion
object
Supertypes
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object BANNER
object INTERSTITIAL
object REWARDED
trait Recognized
class Unrecognized
Show all
object AdType extends GeneratedEnumCompanion[AdType]

Attributes

Companion
class
Supertypes
trait Sum
trait Mirror
trait GeneratedEnumCompanion[AdType]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
AdType.type
object AdTypeProto extends GeneratedFileObject

Attributes

Supertypes
class GeneratedFileObject
class Object
trait Matchable
class Any
Self type
final case class GetSessionMetricsRequest(userId: String, timestamp: Long, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[GetSessionMetricsRequest]

Attributes

Companion
object
Supertypes
trait Updatable[GetSessionMetricsRequest]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object GetSessionMetricsRequest extends GeneratedMessageCompanion[GetSessionMetricsRequest]

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[GetSessionMetricsRequest]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
final case class ImpressionMetrics(adType: AdType, domains: Seq[DomainMetrics], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[ImpressionMetrics]

Attributes

Companion
object
Supertypes
trait Updatable[ImpressionMetrics]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object ImpressionMetrics extends GeneratedMessageCompanion[ImpressionMetrics]

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[ImpressionMetrics]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
final case class IvtTaxonomy(taxonomy: ByteString, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[IvtTaxonomy]

Attributes

Companion
object
Supertypes
trait Updatable[IvtTaxonomy]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object IvtTaxonomy extends GeneratedMessageCompanion[IvtTaxonomy]

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[IvtTaxonomy]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
object LostUrlsProto extends GeneratedFileObject

Attributes

Supertypes
class GeneratedFileObject
class Object
trait Matchable
class Any
Self type
final case class LurlMetrics(lurlMetrics: Seq[LurlMetricsForAdType], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[LurlMetrics]

Attributes

Companion
object
Supertypes
trait Updatable[LurlMetrics]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object LurlMetrics extends GeneratedMessageCompanion[LurlMetrics]

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[LurlMetrics]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
final case class LurlMetricsForAdType(adType: AdType, lossPriceMean7D: Option[Float], lossPriceMin7D: Option[Float], lossPriceMax7D: Option[Float], lossPriceKurtosis7D: Option[Float], lossPriceQuantile207D: Option[Float], lossPriceQuantile507D: Option[Float], lossPriceQuantile807D: Option[Float], lossPriceStddev7D: Option[Float], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[LurlMetricsForAdType]

Attributes

Companion
object
Supertypes
trait Updatable[LurlMetricsForAdType]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object LurlMetricsForAdType extends GeneratedMessageCompanion[LurlMetricsForAdType]

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[LurlMetricsForAdType]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
object MetricsProto extends GeneratedFileObject

Attributes

Supertypes
class GeneratedFileObject
class Object
trait Matchable
class Any
Self type
final case class RegisterAdRequestRequest(userId: String, adType: AdType, timestamp: Long, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[RegisterAdRequestRequest]

Value parameters

timestamp

timestamp is in milliseconds

Attributes

Companion
object
Supertypes
trait Updatable[RegisterAdRequestRequest]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object RegisterAdRequestRequest extends GeneratedMessageCompanion[RegisterAdRequestRequest]

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[RegisterAdRequestRequest]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
final case class SegmentMetrics(isPurchaser: Boolean, segments: Seq[Int], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[SegmentMetrics]

Attributes

Companion
object
Supertypes
trait Updatable[SegmentMetrics]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object SegmentMetrics extends GeneratedMessageCompanion[SegmentMetrics]

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[SegmentMetrics]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
final case class SessionMetrics(impressions: Seq[ImpressionMetrics], adRequests: Seq[AdRequestMetrics], currentSession: Option[UserSession], segmentMetrics: Option[SegmentMetrics], lurlMetrics: Option[LurlMetrics], ivtTaxonomy: Option[IvtTaxonomy], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[SessionMetrics]

Value parameters

currentSession

Session-based metrics

Attributes

Companion
object
Supertypes
trait Updatable[SessionMetrics]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object SessionMetrics extends GeneratedMessageCompanion[SessionMetrics]

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[SessionMetrics]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
final case class Timestamps(lastTimestamp: Long, deltas: Seq[Int], dayBuckets: Seq[DayBucket], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[Timestamps]

Value parameters

deltas

Deltas from the last timestamp (in reverse chronological order). Stores data only for the last 24 hours.

lastTimestamp

Stores the most recent timestamp timestamp is in milliseconds

Attributes

Companion
object
Supertypes
trait Updatable[Timestamps]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Timestamps extends GeneratedMessageCompanion[Timestamps]

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[Timestamps]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
Timestamps.type
final case class UserLongTermData(isPurchaser: Boolean, segments: Seq[Int], lurlMetrics: Option[LurlMetrics], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[UserLongTermData]

Attributes

Companion
object
Supertypes
trait Updatable[UserLongTermData]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object UserLongTermData extends GeneratedMessageCompanion[UserLongTermData]

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[UserLongTermData]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
final case class UserSession(lastActivity: Long, metricsByAdType: Seq[AdTypeMetrics], sessionStart: Long, lastRequestRejectionReason: String, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[UserSession]

New message for tracking user session metrics

New message for tracking user session metrics

Value parameters

lastActivity

Last activity timestamp (unix milliseconds)

lastRequestRejectionReason

The reason why ad request was not registered Resides in SessionState since single proto definition is reused for session metrics and auction-tracker level caching Not stored in session metrics, stored in tracker context cache

sessionStart

Session start timestamp

Attributes

Companion
object
Supertypes
trait Updatable[UserSession]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object UserSession extends GeneratedMessageCompanion[UserSession]

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[UserSession]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
final case class UserState(lastProcessedTimestamp: Long, impressions: Map[Int, AdDomainTimestamps], adRequests: Map[Int, Timestamps], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[UserState]

Value parameters

adRequests

Timestamps of ad requests for the user. AdType (as int32) -> Timestamps

impressions

Timestamps of impressions for the user. AdType (as int32) -> AdDomainTimestamps

lastProcessedTimestamp

Last processed timestamp timestamp is in milliseconds

Attributes

Companion
object
Supertypes
trait Updatable[UserState]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object UserState extends GeneratedMessageCompanion[UserState]

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[UserState]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
UserState.type
final case class WindowMetrics(last1H: Int, last1D: Int, last7D: Int, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[WindowMetrics]

Attributes

Companion
object
Supertypes
trait Updatable[WindowMetrics]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object WindowMetrics extends GeneratedMessageCompanion[WindowMetrics]

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[WindowMetrics]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type