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

Represents a child asset in RichMediaStudioCreative.

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

## Namespace

Google \\ Ads \\ AdManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ display_name` | `string` Output only. The name of the asset as known by Rich Media Studio. |
| `↳ type` | `int` Output only. Required file type of the asset. |
| `↳ total_file_size` | `int|string` Output only. The total size of the asset in bytes. |
| `↳ width` | `int` Output only. Width of the widget in pixels. |
| `↳ height` | `int` Output only. Height of the widget in pixels. |
| `↳ url` | `string` Output only. The URL of the asset. |

### getDisplayName

Output only. The name of the asset as known by Rich Media Studio.

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

### hasDisplayName

### clearDisplayName

### setDisplayName

Output only. The name of the asset as known by Rich Media Studio.

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

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

### getType

Output only. Required file type of the asset.

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

### hasType

### clearType

### setType

Output only. Required file type of the asset.

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

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

### getTotalFileSize

Output only. The total size of the asset in bytes.

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

### hasTotalFileSize

### clearTotalFileSize

### setTotalFileSize

Output only. The total size of the asset in bytes.

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

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

### getWidth

Output only. Width of the widget in pixels.

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

### hasWidth

### clearWidth

### setWidth

Output only. Width of the widget in pixels.

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

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

### getHeight

Output only. Height of the widget in pixels.

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

### hasHeight

### clearHeight

### setHeight

Output only. Height of the widget in pixels.

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

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

### getUrl

Output only. The URL of the asset.

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

### hasUrl

### clearUrl

### setUrl

Output only. The URL of the asset.

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

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