Class CreativeTemplateVariable.Types.UrlCreativeTemplateVariable
Represents a url variable defined in a creative template.
Use [UrlCreativeTemplateVariableValue][] to specify the value for this variable when creating a [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.UrlCreativeTemplateVariable : IMessage<CreativeTemplateVariable.Types.UrlCreativeTemplateVariable>, IEquatable<CreativeTemplateVariable.Types.UrlCreativeTemplateVariable>, IDeepCloneable<CreativeTemplateVariable.Types.UrlCreativeTemplateVariable>, IBufferMessage, IMessage
Constructors
UrlCreativeTemplateVariable()
Declaration
public UrlCreativeTemplateVariable()
UrlCreativeTemplateVariable(UrlCreativeTemplateVariable)
Declaration
public UrlCreativeTemplateVariable(CreativeTemplateVariable.Types.UrlCreativeTemplateVariable other)
Parameters
| Type | Name | Description |
|---|---|---|
| CreativeTemplateVariable.Types.UrlCreativeTemplateVariable | other |
Properties
DefaultValue
Optional. Default value to be filled in when creating creatives from the creative template.
Declaration
public string DefaultValue { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
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 |
HasUrlType
Gets whether the "url_type" field is set
Declaration
public bool HasUrlType { get; }
Property Value
| Type | Description |
|---|---|
| bool |
SampleValue
Optional. Sample value that is used when previewing the template in the UI.
Declaration
public string SampleValue { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UrlType
Optional. The type of URL that this variable represents. Different types of URLs may be handled differently at rendering time.
Declaration
public CreativeTemplateVariableUrlTypeEnum.Types.CreativeTemplateVariableUrlType UrlType { get; set; }
Property Value
| Type | Description |
|---|---|
| CreativeTemplateVariableUrlTypeEnum.Types.CreativeTemplateVariableUrlType |