Created
February 7, 2012 21:02
-
-
Save pbogunovich/1761930 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
message UserRecord { | |
required uint32 version = 1 [default = 1]; | |
required uint64 timestamp = 2; | |
optional string user_id = 3; | |
repeated Interaction interactions = 4; | |
repeated Segment rapleaf_segments = 5 [deprecated=true]; | |
repeated SegmentsPerProvider segments = 6; | |
message Interaction { | |
enum InteractionType { | |
IMPRESSION = 1; | |
CLICK = 2; | |
CONVERSION = 3; | |
} | |
required uint64 line_item_id = 1; | |
required uint64 timestamp = 2; | |
required InteractionType type = 3; | |
} | |
message Segment { | |
required uint64 segment_id = 1; | |
} | |
} | |
enum Provider { | |
RAPLEAF = 1; | |
} | |
//Used by USER | |
message SegmentsPerProvider { | |
required Provider provider = 1; | |
repeated uint64 segment_ids = 2; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment