- [JSON representation](https://developers.google.com/doubleclick-advertisers/rest/v5/EncryptionInfo#SCHEMA_REPRESENTATION)
- [EncryptionEntityType](https://developers.google.com/doubleclick-advertisers/rest/v5/EncryptionInfo#EncryptionEntityType)
- [EncryptionSource](https://developers.google.com/doubleclick-advertisers/rest/v5/EncryptionInfo#EncryptionSource)

A description of how user IDs are encrypted.

| JSON representation |
|---|
| ``` { "encryptionEntityType": enum (`https://developers.google.com/doubleclick-advertisers/rest/v5/EncryptionInfo#EncryptionEntityType`), "encryptionEntityId": string, "encryptionSource": enum (`https://developers.google.com/doubleclick-advertisers/rest/v5/EncryptionInfo#EncryptionSource`), "kind": string } ``` |

| Fields ||
|---|---|
| `encryptionEntityType` | ``enum (`https://developers.google.com/doubleclick-advertisers/rest/v5/EncryptionInfo#EncryptionEntityType`)`` The encryption entity type. This should match the encryption configuration for ad serving or Data Transfer. |
| `encryptionEntityId` | `string (https://developers.google.com/discovery/v1/type-format format)` The encryption entity ID. This should match the encryption configuration for ad serving or Data Transfer. |
| `encryptionSource` | ``enum (`https://developers.google.com/doubleclick-advertisers/rest/v5/EncryptionInfo#EncryptionSource`)`` Describes whether the encrypted cookie was received from ad serving (the %m macro) or from Data Transfer. |
| `kind` | `string` Identifies what kind of resource this is. Value: the fixed string `"dfareporting#encryptionInfo"`. |

## EncryptionEntityType

| Enums ||
|---|---|
| `ENCRYPTION_ENTITY_TYPE_UNKNOWN` |   |
| `DCM_ACCOUNT` |   |
| `DCM_ADVERTISER` |   |
| `DBM_PARTNER` |   |
| `DBM_ADVERTISER` |   |
| `ADWORDS_CUSTOMER` |   |
| `DFP_NETWORK_CODE` |   |

## EncryptionSource

| Enums ||
|---|---|
| `ENCRYPTION_SCOPE_UNKNOWN` |   |
| `AD_SERVING` |   |
| `DATA_TRANSFER` |   |