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

Represents a single value in a report.

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

## Namespace

Google \\ Ads \\ AdManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ int_value` | `int|string` For integer values. |
| `↳ double_value` | `float` For double values. |
| `↳ string_value` | `string` For string values. |
| `↳ bool_value` | `bool` For boolean values. |
| `↳ int_list_value` | `ReportValue\IntList` For lists of integer values. |
| `↳ string_list_value` | `ReportValue\StringList` For lists of string values. |
| `↳ double_list_value` | `ReportValue\DoubleList` For lists of double values. |
| `↳ bytes_value` | `string` For bytes values. |

### getIntValue

For integer values.

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

### hasIntValue

### setIntValue

For integer values.

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

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

### getDoubleValue

For double values.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `float` |   |

### hasDoubleValue

### setDoubleValue

For double values.

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

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

### getStringValue

For string values.

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

### hasStringValue

### setStringValue

For string values.

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

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

### getBoolValue

For boolean values.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### hasBoolValue

### setBoolValue

For boolean values.

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

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

### getIntListValue

For lists of integer values.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ReportValue\IntList|null` |   |

### hasIntListValue

### setIntListValue

For lists of integer values.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `ReportValue\IntList` |

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

### getStringListValue

For lists of string values.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ReportValue\StringList|null` |   |

### hasStringListValue

### setStringListValue

For lists of string values.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `ReportValue\StringList` |

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

### getDoubleListValue

For lists of double values.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ReportValue\DoubleList|null` |   |

### hasDoubleListValue

### setDoubleListValue

For lists of double values.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `ReportValue\DoubleList` |

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

### getBytesValue

For bytes values.

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

### hasBytesValue

### setBytesValue

For bytes values.

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

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

### getValue

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