# campaign.proto

## CampaignPackagesProto

| label | name | type | number |
| ----- | ---- | ---- | ------ |
| repeated | list | CampaignPackageProto | 1 |
| optional | loadedAt | int64 | 15 |


## CampaignPackageProto

| label | name | type | number |
| ----- | ---- | ---- | ------ |
| optional | id | string | 1 |
| optional | author | CampaignAuthorProto | 2 |
| optional | name | string | 3 |
| optional | trigger | CampaignTriggerProto | 4 |
| repeated | contents | CampaignContentProto | 5 |
| optional | errorInfo | CampaignErrorProto | 6 |
| optional | isAvailable | bool | 11 |
| optional | isDeleted | bool | 12 |
| optional | startAt | int64 | 13 |
| optional | endAt | int64 | 14 |
| optional | updatedAt | int64 | 15 |


## CampaignTriggerProto

| label | name | type | number |
| ----- | ---- | ---- | ------ |
| optional | id | string | 1 |
| optional | type | string | 2 |
| optional | name | string | 3 |
| optional | network | CampaignTriggerNetworkProto | 4 |
| optional | code | CampaignTriggerCodeProto | 5 |
| optional | offlineEnabled | bool | 6 |
| optional | isDeleted | bool | 13 |
| optional | updatedAt | int64 | 14 |
| optional | createdAt | int64 | 15 |


## CampaignTriggerNetworkProto

| label | name | type | number |
| ----- | ---- | ---- | ------ |
| repeated | ips | string | 1 |


## CampaignTriggerCodeProto

| label | name | type | number |
| ----- | ---- | ---- | ------ |
| optional | id | string | 1 |


## CampaignContentProto

| label | name | type | number |
| ----- | ---- | ---- | ------ |
| optional | id | string | 1 |
| optional | type | string | 2 |
| optional | name | string | 3 |
| optional | trial | CampaignContentTrialTimeProto | 4 |
| optional | exclusive | CampaignContentExclusivesProto | 5 |
| optional | browsing | CampaignContentBrowsingProto | 6 |
| optional | isDeleted | bool | 13 |
| optional | updatedAt | int64 | 14 |
| optional | createdAt | int64 | 15 |


## CampaignContentTrialTimeProto

| label | name | type | number |
| ----- | ---- | ---- | ------ |
| optional | second | int64 | 1 |


## CampaignContentBrowsingProto

| label | name | type | number |
| ----- | ---- | ---- | ------ |
| optional | userId | string | 1 |


## CampaignContentExclusivesProto

| label | name | type | number |
| ----- | ---- | ---- | ------ |
| repeated | tracks | CampaignContentExclusiveProto | 1 |
| repeated | albums | CampaignContentExclusiveProto | 2 |
| repeated | artists | CampaignContentExclusiveProto | 3 |
| repeated | playlists | CampaignContentExclusiveProto | 4 |
| repeated | users | CampaignContentExclusiveProto | 5 |


## CampaignContentExclusiveProto

| label | name | type | number |
| ----- | ---- | ---- | ------ |
| optional | id | string | 1 |


## CampaignAuthorProto

| label | name | type | number |
| ----- | ---- | ---- | ------ |
| optional | id | string | 1 |
| optional | name | string | 2 |
| optional | userId | string | 3 |
| optional | isDeleted | bool | 14 |
| optional | updatedAt | int64 | 15 |


## CampaignErrorProto

| label | name | type | number |
| ----- | ---- | ---- | ------ |
| optional | ja | CampaignErrorLangProto | 1 |
| optional | en | CampaignErrorLangProto | 2 |


## CampaignErrorLangProto

| label | name | type | number |
| ----- | ---- | ---- | ------ |
| optional | author | string | 1 |
| optional | deepLink | string | 2 |


