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 YieldPartner.

Represents a third-party ad network or exchange, configured within the
context of a Company, that publishers partner with to monetize their ad
inventory.

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

## Namespace

Google \\ Ads \\ AdManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Identifier. The resource name of the `YieldPartner`. Format: `networks/{network_code}/yieldPartners/{yieldPartnerId}` |
| `↳ display_name` | `string` Optional. The name of the yield partner. This refers to the name of the company associated with the partner, if there is one. |
| `↳ company` | `string` Output only. The company associated with this yield partner. |
| `↳ settings` | `array<YieldPartnerSettings>` Optional. The settings of the partner, representing its capabilities. |

### getName

Identifier. The resource name of the `YieldPartner`.

Format: `networks/{network_code}/yieldPartners/{yieldPartnerId}`

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

### setName

Identifier. The resource name of the `YieldPartner`.

Format: `networks/{network_code}/yieldPartners/{yieldPartnerId}`

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

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

### getDisplayName

Optional. The name of the yield partner. This refers to the name of the
company associated with the partner, if there is one.

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

### hasDisplayName

### clearDisplayName

### setDisplayName

Optional. The name of the yield partner. This refers to the name of the
company associated with the partner, if there is one.

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

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

### getCompany

Output only. The company associated with this yield partner.

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

### hasCompany

### clearCompany

### setCompany

Output only. The company associated with this yield partner.

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

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

### getSettings

Optional. The settings of the partner, representing its capabilities.

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

### setSettings

Optional. The settings of the partner, representing its capabilities.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<YieldPartnerSettings>` |

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