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

Frequency cap using a label.

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

## Namespace

Google \\ Ads \\ AdManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ label` | `string` Required. The label to used for frequency capping. Format: "networks/{network_code}/labels/{label_id}" |
| `↳ frequency_cap` | `FrequencyCap` The frequency cap. |

### getLabel

Required. The label to used for frequency capping.

Format: "networks/{network_code}/labels/{label_id}"

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

### hasLabel

### clearLabel

### setLabel

Required. The label to used for frequency capping.

Format: "networks/{network_code}/labels/{label_id}"

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

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

### getFrequencyCap

The frequency cap.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `FrequencyCap|null` |   |

### hasFrequencyCap

### clearFrequencyCap

### setFrequencyCap

The frequency cap.

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

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