Skip to content

Commit

Permalink
Create message to hold non-labeling, non-measurement event info (#58)
Browse files Browse the repository at this point in the history
- Add a space for event collections in the labeler input. These can be data provider campaign ids, some meta identifier, etc.
- Intended to identify a specific set of events that the model provider knows for model building.
  • Loading branch information
jonmolle authored Apr 18, 2023
1 parent 00df476 commit 55fc7a9
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/main/proto/wfa/virtual_people/common/event.proto
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,15 @@ message UserInfo {
optional uint64 user_id_fingerprint = 6;
}

// Represents information about the parent event that is not used in labeling or
// measurement. These are not intended to be unique across all EDPs.
message TrafficInfo {
// Identifies a collection of events. A model provider can use this to group
// events during VID model training. This could be something like a campaign
// id.
optional string event_collection_id = 1;
}

// Represents info for all user ids associated with a specific event.
message ProfileInfo {
// Information for email id.
Expand Down Expand Up @@ -126,6 +135,10 @@ message LabelerInput {
// Device type string. Computed from user agent string using a library
// function.
optional string device_type = 6;

// Event information not intended to be used during labeling or in the
// measurement system.
optional TrafficInfo traffic_info = 7;
}

// LogEvent contains all attributes in LabelerInput, as well as other
Expand Down

0 comments on commit 55fc7a9

Please sign in to comment.