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.
Generated from protobuf message google.ads.admanager.v1.CreativeTemplateVariable.AssetCreativeTemplateVariable
Namespace
Google \ Ads \ AdManager \ V1 \ CreativeTemplateVariableMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ mime_types |
array
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\Internal\RepeatedField |
|
setMimeTypes
Optional. The set of allowed MIME types. If unspecified, all MIME types are allowed.
| Parameter | |
|---|---|
| Name | Description |
var |
int[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|