- [JSON representation](https://developers.google.com/ad-manager/api/beta/reference/rest/v1/ThirdPartyDataDeclaration.md.txt#SCHEMA_REPRESENTATION)
- [ThirdPartyDataDeclarationType](https://developers.google.com/ad-manager/api/beta/reference/rest/v1/ThirdPartyDataDeclaration.md.txt#ThirdPartyDataDeclarationType)

Represents a set of declarations about what (if any) third party companies are associated with a given creative. This can also be set on the Network to serve as a default for those creatives that don't have such field set.

| JSON representation |
|---|
| ``` { "declarationType": enum (`ThirdPartyDataDeclarationType`), "thirdPartyCompanies": [ string ], "richMediaAdsCompanies": [ string ] } ``` |

| Fields ||
|---|---|
| `declarationType` | ``enum (`ThirdPartyDataDeclarationType`)`` Optional. The declaration about third party data usage on the associated entity. |
| `thirdPartyCompanies[] (deprecated)` | `string` > [!WARNING] > This item is deprecated! Optional. Deprecated: Use `richMediaAdsCompanies` instead. This field is populated with the same companies as `richMediaAdsCompanies`. If both fields are set in a request, `richMediaAdsCompanies` takes precedence. A list of ThirdPartyCompanies associated with this entity. Format: "networks/{networkCode}/thirdPartyCompanies/{thirdPartyCompany}" |
| `richMediaAdsCompanies[]` | `string` Optional. A list of `RichMediaAdsCompany` resources associated with this entity. Format: `networks/{networkCode}/richMediaAdsCompanies/{rich_media_ads_company}` |

## ThirdPartyDataDeclarationType

The declaration about third party data usage on the associated entity.

| Enums ||
|---|---|
| `THIRD_PARTY_DATA_DECLARATION_TYPE_UNSPECIFIED` | Default value. This value is unused. |
| `DECLARED` | There is a set of ThirdPartyCompanies associated with this entity. |
| `NONE` | There are no companies associated. Functionally the same as DECLARED, combined with an empty company list. |