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

Represents an error associated with a Dynamic Ad Insertion (DAI) `Content`'s
status.

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

## Namespace

Google \\ Ads \\ AdManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ reason` | `int` The error associated with the content. |
| `↳ trigger` | `string` Output only. The field, if any, that triggered the error. |

### getReason

The error associated with the content.

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

### hasReason

### clearReason

### setReason

The error associated with the content.

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

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

### getTrigger

Output only. The field, if any, that triggered the error.

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

### hasTrigger

### clearTrigger

### setTrigger

Output only. The field, if any, that triggered the error.

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

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