0.16.0 (latest) 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 CustomPacingCurve.

A curve consisting of CustomPacingGoal objects that is used to pace line item
delivery.

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

## Namespace

Google \\ Ads \\ AdManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ custom_pacing_goal_unit` | `int` Required. The unit of the [CustomPacingGoal.amount](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.CustomPacingGoal#_Google_Ads_AdManager_V1_CustomPacingGoal__getAmount__) values. |
| `↳ custom_pacing_goals` | `array<https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.CustomPacingGoal>` Required. The list of goals that make up the custom pacing curve. |

### getCustomPacingGoalUnit

Required. The unit of the
[CustomPacingGoal.amount](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.CustomPacingGoal#_Google_Ads_AdManager_V1_CustomPacingGoal__getAmount__)
values.

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

### hasCustomPacingGoalUnit

### clearCustomPacingGoalUnit

### setCustomPacingGoalUnit

Required. The unit of the
[CustomPacingGoal.amount](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.CustomPacingGoal#_Google_Ads_AdManager_V1_CustomPacingGoal__getAmount__)
values.

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

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

### getCustomPacingGoals

Required. The list of goals that make up the custom pacing curve.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.CustomPacingGoal>` |   |

### setCustomPacingGoals

Required. The list of goals that make up the custom pacing curve.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.CustomPacingGoal>` |

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