Class CreativeTemplateVariable.Types.ListStringCreativeTemplateVariable.Types.VariableChoice
Stores variable choices selectable by users.
Inheritance
CreativeTemplateVariable.Types.ListStringCreativeTemplateVariable.Types.VariableChoice
Implements
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class CreativeTemplateVariable.Types.ListStringCreativeTemplateVariable.Types.VariableChoice : IMessage<CreativeTemplateVariable.Types.ListStringCreativeTemplateVariable.Types.VariableChoice>, IEquatable<CreativeTemplateVariable.Types.ListStringCreativeTemplateVariable.Types.VariableChoice>, IDeepCloneable<CreativeTemplateVariable.Types.ListStringCreativeTemplateVariable.Types.VariableChoice>, IBufferMessage, IMessage
Constructors
VariableChoice()
Declaration
public VariableChoice()
VariableChoice(VariableChoice)
Declaration
public VariableChoice(CreativeTemplateVariable.Types.ListStringCreativeTemplateVariable.Types.VariableChoice other)
Parameters
| Type | Name | Description |
|---|---|---|
| CreativeTemplateVariable.Types.ListStringCreativeTemplateVariable.Types.VariableChoice | other |
Properties
HasLabel
Gets whether the "label" field is set
Declaration
public bool HasLabel { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasValue
Gets whether the "value" field is set
Declaration
public bool HasValue { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Label
Required. A label is displayed to users when creating a [TemplateCreative][]. This attribute is intended to be more descriptive than value. This attribute has a maximum length of 255 characters.
Declaration
public string Label { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Value
Required. When creating a [TemplateCreative][], the value in [StringCreativeTemplateVariableValue][] should match this value, if you intend to select this value. This attribute has a maximum length of 255 characters.
Declaration
public string Value { get; set; }
Property Value
| Type | Description |
|---|---|
| string |