Skip to content

Commit cfb5ee9

Browse files
feat(tagmanager)!: update the API
BREAKING CHANGE: This release has breaking changes. #### tagmanager:v1 The following keys were deleted: - schemas.ContainerVersion.properties.macro.deprecated - schemas.ContainerVersion.properties.macro.description - schemas.ContainerVersion.properties.macro.items.$ref - schemas.ContainerVersion.properties.macro.type - schemas.ContainerVersion.properties.rule.deprecated - schemas.ContainerVersion.properties.rule.description - schemas.ContainerVersion.properties.rule.items.$ref - schemas.ContainerVersion.properties.rule.type - schemas.ContainerVersionHeader.properties.numMacros.deprecated - schemas.ContainerVersionHeader.properties.numMacros.description - schemas.ContainerVersionHeader.properties.numMacros.type - schemas.ContainerVersionHeader.properties.numRules.deprecated - schemas.ContainerVersionHeader.properties.numRules.description - schemas.ContainerVersionHeader.properties.numRules.type - schemas.Macro.description - schemas.Macro.id - schemas.Macro.properties.accountId.description - schemas.Macro.properties.accountId.type - schemas.Macro.properties.containerId.description - schemas.Macro.properties.containerId.type - schemas.Macro.properties.disablingRuleId.description - schemas.Macro.properties.disablingRuleId.items.type - schemas.Macro.properties.disablingRuleId.type - schemas.Macro.properties.enablingRuleId.description - schemas.Macro.properties.enablingRuleId.items.type - schemas.Macro.properties.enablingRuleId.type - schemas.Macro.properties.fingerprint.description - schemas.Macro.properties.fingerprint.type - schemas.Macro.properties.macroId.description - schemas.Macro.properties.macroId.type - schemas.Macro.properties.name.description - schemas.Macro.properties.name.type - schemas.Macro.properties.notes.description - schemas.Macro.properties.notes.type - schemas.Macro.properties.parameter.description - schemas.Macro.properties.parameter.items.$ref - schemas.Macro.properties.parameter.type - schemas.Macro.properties.parentFolderId.description - schemas.Macro.properties.parentFolderId.type - schemas.Macro.properties.scheduleEndMs.description - schemas.Macro.properties.scheduleEndMs.format - schemas.Macro.properties.scheduleEndMs.type - schemas.Macro.properties.scheduleStartMs.description - schemas.Macro.properties.scheduleStartMs.format - schemas.Macro.properties.scheduleStartMs.type - schemas.Macro.properties.type.description - schemas.Macro.properties.type.type - schemas.Macro.type - schemas.Rule.description - schemas.Rule.id - schemas.Rule.properties.accountId.description - schemas.Rule.properties.accountId.type - schemas.Rule.properties.condition.description - schemas.Rule.properties.condition.items.$ref - schemas.Rule.properties.condition.type - schemas.Rule.properties.containerId.description - schemas.Rule.properties.containerId.type - schemas.Rule.properties.fingerprint.description - schemas.Rule.properties.fingerprint.type - schemas.Rule.properties.name.description - schemas.Rule.properties.name.type - schemas.Rule.properties.notes.description - schemas.Rule.properties.notes.type - schemas.Rule.properties.ruleId.description - schemas.Rule.properties.ruleId.type - schemas.Rule.type - schemas.Tag.properties.blockingRuleId.deprecated - schemas.Tag.properties.blockingRuleId.description - schemas.Tag.properties.blockingRuleId.items.type - schemas.Tag.properties.blockingRuleId.type - schemas.Tag.properties.firingRuleId.deprecated - schemas.Tag.properties.firingRuleId.description - schemas.Tag.properties.firingRuleId.items.type - schemas.Tag.properties.firingRuleId.type #### tagmanager:v2 The following keys were deleted: - schemas.ContainerVersionHeader.properties.numMacros.deprecated - schemas.ContainerVersionHeader.properties.numMacros.description - schemas.ContainerVersionHeader.properties.numMacros.type - schemas.ContainerVersionHeader.properties.numRules.deprecated - schemas.ContainerVersionHeader.properties.numRules.description - schemas.ContainerVersionHeader.properties.numRules.type - schemas.Tag.properties.blockingRuleId.deprecated - schemas.Tag.properties.blockingRuleId.description - schemas.Tag.properties.blockingRuleId.items.type - schemas.Tag.properties.blockingRuleId.type - schemas.Tag.properties.firingRuleId.deprecated - schemas.Tag.properties.firingRuleId.description - schemas.Tag.properties.firingRuleId.items.type - schemas.Tag.properties.firingRuleId.type
1 parent 6df2a38 commit cfb5ee9

File tree

4 files changed

+2
-308
lines changed

4 files changed

+2
-308
lines changed

‎discovery/tagmanager-v1.json

Lines changed: 1 addition & 151 deletions
Original file line numberDiff line numberDiff line change
@@ -1932,7 +1932,7 @@
19321932
}
19331933
}
19341934
},
1935-
"revision": "20250310",
1935+
"revision": "20250409",
19361936
"rootUrl": "https://tagmanager.googleapis.com/",
19371937
"schemas": {
19381938
"Account": {
@@ -2391,14 +2391,6 @@
23912391
},
23922392
"type": "array"
23932393
},
2394-
"macro": {
2395-
"deprecated": true,
2396-
"description": "The macros in the container that this version was taken from.",
2397-
"items": {
2398-
"$ref": "Macro"
2399-
},
2400-
"type": "array"
2401-
},
24022394
"name": {
24032395
"description": "Container version display name.",
24042396
"type": "string"
@@ -2407,14 +2399,6 @@
24072399
"description": "User notes on how to apply this container version in the container.",
24082400
"type": "string"
24092401
},
2410-
"rule": {
2411-
"deprecated": true,
2412-
"description": "The rules in the container that this version was taken from.",
2413-
"items": {
2414-
"$ref": "Rule"
2415-
},
2416-
"type": "array"
2417-
},
24182402
"tag": {
24192403
"description": "The tags in the container that this version was taken from.",
24202404
"items": {
@@ -2463,16 +2447,6 @@
24632447
"description": "Container version display name.",
24642448
"type": "string"
24652449
},
2466-
"numMacros": {
2467-
"deprecated": true,
2468-
"description": "Number of macros in the container version.",
2469-
"type": "string"
2470-
},
2471-
"numRules": {
2472-
"deprecated": true,
2473-
"description": "Number of rules in the container version.",
2474-
"type": "string"
2475-
},
24762450
"numTags": {
24772451
"description": "Number of tags in the container version.",
24782452
"type": "string"
@@ -2777,76 +2751,6 @@
27772751
},
27782752
"type": "object"
27792753
},
2780-
"Macro": {
2781-
"description": "Represents a Google Tag Manager Macro.",
2782-
"id": "Macro",
2783-
"properties": {
2784-
"accountId": {
2785-
"description": "GTM Account ID.",
2786-
"type": "string"
2787-
},
2788-
"containerId": {
2789-
"description": "GTM Container ID.",
2790-
"type": "string"
2791-
},
2792-
"disablingRuleId": {
2793-
"description": "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.",
2794-
"items": {
2795-
"type": "string"
2796-
},
2797-
"type": "array"
2798-
},
2799-
"enablingRuleId": {
2800-
"description": "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.",
2801-
"items": {
2802-
"type": "string"
2803-
},
2804-
"type": "array"
2805-
},
2806-
"fingerprint": {
2807-
"description": "The fingerprint of the GTM Macro as computed at storage time. This value is recomputed whenever the macro is modified.",
2808-
"type": "string"
2809-
},
2810-
"macroId": {
2811-
"description": "The Macro ID uniquely identifies the GTM Macro.",
2812-
"type": "string"
2813-
},
2814-
"name": {
2815-
"description": "Macro display name.",
2816-
"type": "string"
2817-
},
2818-
"notes": {
2819-
"description": "User notes on how to apply this macro in the container.",
2820-
"type": "string"
2821-
},
2822-
"parameter": {
2823-
"description": "The macro's parameters.",
2824-
"items": {
2825-
"$ref": "Parameter"
2826-
},
2827-
"type": "array"
2828-
},
2829-
"parentFolderId": {
2830-
"description": "Parent folder id.",
2831-
"type": "string"
2832-
},
2833-
"scheduleEndMs": {
2834-
"description": "The end timestamp in milliseconds to schedule a macro.",
2835-
"format": "int64",
2836-
"type": "string"
2837-
},
2838-
"scheduleStartMs": {
2839-
"description": "The start timestamp in milliseconds to schedule a macro.",
2840-
"format": "int64",
2841-
"type": "string"
2842-
},
2843-
"type": {
2844-
"description": "GTM Macro Type.",
2845-
"type": "string"
2846-
}
2847-
},
2848-
"type": "object"
2849-
},
28502754
"Parameter": {
28512755
"description": "Represents a Google Tag Manager Parameter.",
28522756
"id": "Parameter",
@@ -2913,44 +2817,6 @@
29132817
},
29142818
"type": "object"
29152819
},
2916-
"Rule": {
2917-
"description": "Represents a Google Tag Manager Rule.",
2918-
"id": "Rule",
2919-
"properties": {
2920-
"accountId": {
2921-
"description": "GTM Account ID.",
2922-
"type": "string"
2923-
},
2924-
"condition": {
2925-
"description": "The list of conditions that make up this rule (implicit AND between them).",
2926-
"items": {
2927-
"$ref": "Condition"
2928-
},
2929-
"type": "array"
2930-
},
2931-
"containerId": {
2932-
"description": "GTM Container ID.",
2933-
"type": "string"
2934-
},
2935-
"fingerprint": {
2936-
"description": "The fingerprint of the GTM Rule as computed at storage time. This value is recomputed whenever the rule is modified.",
2937-
"type": "string"
2938-
},
2939-
"name": {
2940-
"description": "Rule display name.",
2941-
"type": "string"
2942-
},
2943-
"notes": {
2944-
"description": "User notes on how to apply this rule in the container.",
2945-
"type": "string"
2946-
},
2947-
"ruleId": {
2948-
"description": "The Rule ID uniquely identifies the GTM Rule.",
2949-
"type": "string"
2950-
}
2951-
},
2952-
"type": "object"
2953-
},
29542820
"SetupTag": {
29552821
"id": "SetupTag",
29562822
"properties": {
@@ -2973,14 +2839,6 @@
29732839
"description": "GTM Account ID.",
29742840
"type": "string"
29752841
},
2976-
"blockingRuleId": {
2977-
"deprecated": true,
2978-
"description": "Blocking rule IDs. If any of the listed rules evaluate to true, the tag will not fire.",
2979-
"items": {
2980-
"type": "string"
2981-
},
2982-
"type": "array"
2983-
},
29842842
"blockingTriggerId": {
29852843
"description": "Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire.",
29862844
"items": {
@@ -2996,14 +2854,6 @@
29962854
"description": "The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified.",
29972855
"type": "string"
29982856
},
2999-
"firingRuleId": {
3000-
"deprecated": true,
3001-
"description": "Firing rule IDs. A tag will fire when any of the listed rules are true and all of its blockingRuleIds (if any specified) are false.",
3002-
"items": {
3003-
"type": "string"
3004-
},
3005-
"type": "array"
3006-
},
30072857
"firingTriggerId": {
30082858
"description": "Firing trigger IDs. A tag will fire when any of the listed triggers are true and all of its blockingTriggerIds (if any specified) are false.",
30092859
"items": {

‎discovery/tagmanager-v2.json

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -3940,7 +3940,7 @@
39403940
}
39413941
}
39423942
},
3943-
"revision": "20250310",
3943+
"revision": "20250409",
39443944
"rootUrl": "https://tagmanager.googleapis.com/",
39453945
"schemas": {
39463946
"Account": {
@@ -4723,16 +4723,6 @@
47234723
"description": "Number of Google tag configs in the container version.",
47244724
"type": "string"
47254725
},
4726-
"numMacros": {
4727-
"deprecated": true,
4728-
"description": "Number of macros in the container version.",
4729-
"type": "string"
4730-
},
4731-
"numRules": {
4732-
"deprecated": true,
4733-
"description": "Number of rules in the container version.",
4734-
"type": "string"
4735-
},
47364726
"numTags": {
47374727
"description": "Number of tags in the container version.",
47384728
"type": "string"
@@ -5798,14 +5788,6 @@
57985788
"description": "GTM Account ID.",
57995789
"type": "string"
58005790
},
5801-
"blockingRuleId": {
5802-
"deprecated": true,
5803-
"description": "Blocking rule IDs. If any of the listed rules evaluate to true, the tag will not fire.",
5804-
"items": {
5805-
"type": "string"
5806-
},
5807-
"type": "array"
5808-
},
58095791
"blockingTriggerId": {
58105792
"description": "Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire.",
58115793
"items": {
@@ -5825,14 +5807,6 @@
58255807
"description": "The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified.",
58265808
"type": "string"
58275809
},
5828-
"firingRuleId": {
5829-
"deprecated": true,
5830-
"description": "Firing rule IDs. A tag will fire when any of the listed rules are true and all of its blockingRuleIds (if any specified) are false.",
5831-
"items": {
5832-
"type": "string"
5833-
},
5834-
"type": "array"
5835-
},
58365810
"firingTriggerId": {
58375811
"description": "Firing trigger IDs. A tag will fire when any of the listed triggers are true and all of its blockingTriggerIds (if any specified) are false.",
58385812
"items": {

0 commit comments

Comments
 (0)