Class CreativeTemplateVariable.Types.LongCreativeTemplateVariable
Represents a long variable defined in a creative template.
Use [LongCreativeTemplateVariableValue][] to specify the value for this variable when creating [TemplateCreative][] from a [CreativeTemplate][google.ads.admanager.v1.CreativeTemplate].
Implements
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class CreativeTemplateVariable.Types.LongCreativeTemplateVariable : IMessage<CreativeTemplateVariable.Types.LongCreativeTemplateVariable>, IEquatable<CreativeTemplateVariable.Types.LongCreativeTemplateVariable>, IDeepCloneable<CreativeTemplateVariable.Types.LongCreativeTemplateVariable>, IBufferMessage, IMessage
Constructors
LongCreativeTemplateVariable()
Declaration
public LongCreativeTemplateVariable()
LongCreativeTemplateVariable(LongCreativeTemplateVariable)
Declaration
public LongCreativeTemplateVariable(CreativeTemplateVariable.Types.LongCreativeTemplateVariable other)
Parameters
| Type | Name | Description |
|---|---|---|
| CreativeTemplateVariable.Types.LongCreativeTemplateVariable | other |
Properties
DefaultValue
Optional. Default value to be filled in when creating creatives from the creative template.
Declaration
public long DefaultValue { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
HasDefaultValue
Gets whether the "default_value" field is set
Declaration
public bool HasDefaultValue { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasSampleValue
Gets whether the "sample_value" field is set
Declaration
public bool HasSampleValue { get; }
Property Value
| Type | Description |
|---|---|
| bool |
SampleValue
Optional. Sample value that is used when previewing the template in the UI.
Declaration
public long SampleValue { get; set; }
Property Value
| Type | Description |
|---|---|
| long |