0.15.1 (latest) 0.15.0 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 AssetCreativeTemplateVariable.

Represents a file asset variable defined in a creative template.

Use AssetCreativeTemplateVariableValue to specify the value for this
variable when creating a TemplateCreative from a
[CreativeTemplate](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.CreativeTemplate).

Generated from protobuf message `google.ads.admanager.v1.CreativeTemplateVariable.AssetCreativeTemplateVariable`

## Namespace

Google \\ Ads \\ AdManager \\ V1 \\ CreativeTemplateVariable

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ mime_types` | `int[]` Optional. The set of allowed MIME types. If unspecified, all MIME types are allowed. |

### getMimeTypes

Optional. The set of allowed MIME types. If unspecified, all MIME types
are allowed.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<int>` |   |

### setMimeTypes

Optional. The set of allowed MIME types. If unspecified, all MIME types
are allowed.

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

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