0.17.0 (latest) 0.16.0 0.15.1 0.14.1 0.8.0 0.7.0 0.6.2 0.5.0 0.4.1 0.3.1 0.2.0 0.1.3 Reference documentation and code samples for the Google Ads Ad Manager V1 Client class ProposalCompanyAssociation.

A ProposalCompanyAssociation represents a
[Company](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.Company.md.txt) associated with the Proposal and a
set of [Contacts](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.Contact.md.txt) belonging to the company.

Generated from protobuf message `google.ads.admanager.v1.ProposalCompanyAssociation`

## Namespace

Google \\ Ads \\ AdManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ company` | `string` Required. The resource name of the [Company](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.Company.md.txt) associated with the Proposal. Format: `networks/{network_code}/companies/{company_id}` |
| `↳ type` | `int` Required. The association type between the [Company](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.Company.md.txt) and the Proposal. |
| `↳ seller_contacts` | `string[]` Optional. The resource names of the [Contacts](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.Contact.md.txt) associated with the [Company](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.Company.md.txt). Format: `networks/{network_code}/contacts/{contact_id}` |

### getCompany

Required. The resource name of the
[Company](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.Company.md.txt) associated with the Proposal.

Format: `networks/{network_code}/companies/{company_id}`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasCompany

### clearCompany

### setCompany

Required. The resource name of the
[Company](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.Company.md.txt) associated with the Proposal.

Format: `networks/{network_code}/companies/{company_id}`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getType

Required. The association type between the
[Company](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.Company.md.txt) and the Proposal.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### hasType

### clearType

### setType

Required. The association type between the
[Company](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.Company.md.txt) and the Proposal.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getSellerContacts

Optional. The resource names of the
[Contacts](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.Contact.md.txt) associated with the
[Company](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.Company.md.txt).

Format: `networks/{network_code}/contacts/{contact_id}`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<string>` |   |

### setSellerContacts

Optional. The resource names of the
[Contacts](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.Contact.md.txt) associated with the
[Company](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.Company.md.txt).

Format: `networks/{network_code}/contacts/{contact_id}`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |