- [Resource: Company](https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.companies#Company)
  - [JSON representation](https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.companies#Company.SCHEMA_REPRESENTATION)
- [CompanyType](https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.companies#CompanyType)
- [Methods](https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.companies#METHODS_SUMMARY)

## Resource: Company

The `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.companies#Company` resource.

| JSON representation |
|---|
| ``` { "name": string, "appliedLabels": [ { object (`https://developers.google.com/ad-manager/api/beta/reference/rest/v1/AppliedLabel`) } ], "appliedTeams": [ string ], "companyId": string, "displayName": string, "type": enum (`https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.companies#CompanyType`), "address": string, "email": string, "fax": string, "phone": string, "externalId": string, "comment": string, "creditStatus": enum (`https://developers.google.com/ad-manager/api/beta/reference/rest/v1/CompanyCreditStatus`), "primaryContact": string, "thirdPartyCompanyId": string, "updateTime": string } ``` |

| Fields ||
|---|---|
| `name` | `string` Identifier. The resource name of the `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.companies#Company`. Format: `networks/{networkCode}/companies/{companyId}` |
| `appliedLabels[]` | ``object (`https://developers.google.com/ad-manager/api/beta/reference/rest/v1/AppliedLabel`)`` Optional. The labels that are directly applied to the `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.companies#Company`. |
| `appliedTeams[]` | `string` Optional. The resource names of Teams that are directly associated with the `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.companies#Company`. Format: "networks/{networkCode}/teams/{team_id}" |
| `companyId (deprecated)` | `string (https://developers.google.com/discovery/v1/type-format format)` > [!WARNING] > Output only. Parse the ID from the `name` field instead. Output only. Deprecated: `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.companies#Company` ID. |
| `displayName` | `string` Required. The display name of the `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.companies#Company`. This value has a maximum length of 127 characters. |
| `type` | ``enum (`https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.companies#CompanyType`)`` Required. The type of the `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.companies#Company`. |
| `address` | `string` Optional. The address for the `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.companies#Company`. This value has a maximum length of 1024 characters. |
| `email` | `string` Optional. The email for the `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.companies#Company`. This value has a maximum length of 128 characters. |
| `fax` | `string` Optional. The fax number for the `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.companies#Company`. This value has a maximum length of 63 characters. |
| `phone` | `string` Optional. The phone number for the `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.companies#Company`. This value has a maximum length of 63 characters. |
| `externalId` | `string` Optional. The external ID for the `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.companies#Company`. This value has a maximum length of 255 characters. |
| `comment` | `string` Optional. Comments about the `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.companies#Company`. This value has a maximum length of 1024 characters. |
| `creditStatus` | ``enum (`https://developers.google.com/ad-manager/api/beta/reference/rest/v1/CompanyCreditStatus`)`` Optional. The credit status of the `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.companies#Company`. This attribute defaults to `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/CompanyCreditStatus#ENUM_VALUES.ACTIVE` if basic settings are enabled and `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/CompanyCreditStatus#ENUM_VALUES.ON_HOLD` if advance settings are enabled. |
| `primaryContact` | `string` Optional. The resource names of primary `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.contacts#Contact` of the `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.companies#Company`. Format: "networks/{networkCode}/contacts/{contactId}" |
| `thirdPartyCompanyId` | `string (https://developers.google.com/discovery/v1/type-format format)` Optional. The ID of the Google-recognized canonicalized form of the `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.companies#Company`. |
| `updateTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. The time the `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.companies#Company` was last modified. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |

## CompanyType

The type of a company.

| Enums ||
|---|---|
| `COMPANY_TYPE_UNSPECIFIED` | No value specified |
| `ADVERTISER` | A business entity that purchases ad inventory. |
| `HOUSE_ADVERTISER` | A company representing the publisher's own advertiser for house ads. |
| `AGENCY` | An organization that manages ad accounts and offers services, such as ad creation, placement, and management to advertisers. |
| `HOUSE_AGENCY` | A company representing the publisher's own agency. |
| `AD_NETWORK` | A company representing multiple advertisers and agencies. |

| ## Methods ||
|---|---|
| ### `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.companies/batchCreate` | Creates `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.companies#Company` objects. |
| ### `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.companies/batchUpdate` | Batch updates `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.companies#Company` objects. |
| ### `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.companies/create` | Creates a `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.companies#Company` object. |
| ### `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.companies/get` | Retrieves a `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.companies#Company` object. |
| ### `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.companies/list` | Lists `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.companies#Company` objects. |
| ### `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.companies/patch` | Updates a `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.companies#Company` object. |