Skip to content

@pbogunovich /gist:1761930
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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
Something went wrong with that request. Please try again.