Class Macro
Represents a Google Tag Manager Macro.
Implements
Inherited Members
Namespace: Google.Apis.TagManager.v1.Data
Assembly: Google.Apis.TagManager.v1.dll
Syntax
public class Macro : IDirectResponseSchema
Properties
AccountId
GTM Account ID.
Declaration
[JsonProperty("accountId")]
public virtual string AccountId { get; set; }
Property Value
Type | Description |
---|---|
string |
ContainerId
GTM Container ID.
Declaration
[JsonProperty("containerId")]
public virtual string ContainerId { get; set; }
Property Value
Type | Description |
---|---|
string |
DisablingRuleId
For mobile containers only: A list of rule IDs for disabling conditional macros; the macro is enabled if one of the enabling rules is true while all the disabling rules are false. Treated as an unordered set. @mutable tagmanager.accounts.containers.macros.create @mutable tagmanager.accounts.containers.macros.update
Declaration
[JsonProperty("disablingRuleId")]
public virtual IList<string> DisablingRuleId { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EnablingRuleId
For mobile containers only: A list of rule IDs for enabling conditional macros; the macro is enabled if one of the enabling rules is true while all the disabling rules are false. Treated as an unordered set. @mutable tagmanager.accounts.containers.macros.create @mutable tagmanager.accounts.containers.macros.update
Declaration
[JsonProperty("enablingRuleId")]
public virtual IList<string> EnablingRuleId { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
Fingerprint
The fingerprint of the GTM Macro as computed at storage time. This value is recomputed whenever the macro is modified.
Declaration
[JsonProperty("fingerprint")]
public virtual string Fingerprint { get; set; }
Property Value
Type | Description |
---|---|
string |
MacroId
The Macro ID uniquely identifies the GTM Macro.
Declaration
[JsonProperty("macroId")]
public virtual string MacroId { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Macro display name. @mutable tagmanager.accounts.containers.macros.create @mutable tagmanager.accounts.containers.macros.update
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Notes
User notes on how to apply this macro in the container. @mutable tagmanager.accounts.containers.macros.create @mutable tagmanager.accounts.containers.macros.update
Declaration
[JsonProperty("notes")]
public virtual string Notes { get; set; }
Property Value
Type | Description |
---|---|
string |
Parameter
The macro's parameters. @mutable tagmanager.accounts.containers.macros.create @mutable tagmanager.accounts.containers.macros.update
Declaration
[JsonProperty("parameter")]
public virtual IList<Parameter> Parameter { get; set; }
Property Value
Type | Description |
---|---|
IList<Parameter> |
ParentFolderId
Parent folder id.
Declaration
[JsonProperty("parentFolderId")]
public virtual string ParentFolderId { get; set; }
Property Value
Type | Description |
---|---|
string |
ScheduleEndMs
The end timestamp in milliseconds to schedule a macro. @mutable tagmanager.accounts.containers.macros.create @mutable tagmanager.accounts.containers.macros.update
Declaration
[JsonProperty("scheduleEndMs")]
public virtual long? ScheduleEndMs { get; set; }
Property Value
Type | Description |
---|---|
long? |
ScheduleStartMs
The start timestamp in milliseconds to schedule a macro. @mutable tagmanager.accounts.containers.macros.create @mutable tagmanager.accounts.containers.macros.update
Declaration
[JsonProperty("scheduleStartMs")]
public virtual long? ScheduleStartMs { get; set; }
Property Value
Type | Description |
---|---|
long? |
Type
GTM Macro Type. @mutable tagmanager.accounts.containers.macros.create @mutable tagmanager.accounts.containers.macros.update
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type | Description |
---|---|
string |