| 1 |
syntax = "proto3"; |
| 2 |
|
| 3 |
package Criteo.Glup; |
| 4 |
option java_package = "com.criteo.glup"; |
| 5 |
|
| 6 |
import "tests/integration/schema_registry/data/proto/metadata_proto.proto"; |
| 7 |
|
| 8 |
/* Describes if an event or campaign is an appinstall or normal |
| 9 |
* retargeting one |
| 10 |
*/ |
| 11 |
enum MarketingObjectiveType { |
| 12 |
Sale = 0; |
| 13 |
Install = 1; |
| 14 |
} |
| 15 |
|
| 16 |
/* Enumerate reasons of opt-out |
| 17 |
* sorted by check order |
| 18 |
*/ |
| 19 |
enum IdentificationForbiddenReason { |
| 20 |
NoReason = 0; |
| 21 |
ExplicitConsentRequired = 1; |
| 22 |
OptoutCookie = 2; |
| 23 |
CtoOptoutCookie = 3; |
| 24 |
LimitedAdTracking = 4; |
| 25 |
HstsOptout = 5; |
| 26 |
DoNotTrackHeader = 6; |
| 27 |
OoOCookie = 7; |
| 28 |
PendingOptout = 8; |
| 29 |
} |
| 30 |
|
| 31 |
/* Describes the consent status and the reasons |
| 32 |
* of consent refusal |
| 33 |
*/ |
| 34 |
message Consent { |
| 35 |
option (contains_nullable_fields) = true; |
| 36 |
bool identification_forbidden = 1; //Value of IdentificationForbidden for user identity |
| 37 |
IdentificationForbiddenReason reason = 2; //Reason for identification forbidden, NoReason if identification not forbidden |
| 38 |
map<int32, bool> set_fields = 50010; // nullable tracking special field |
| 39 |
} |