|
3986 | 3986 | } |
3987 | 3987 | } |
3988 | 3988 | }, |
3989 | | - "revision": "20260304", |
| 3989 | + "revision": "20260511", |
3990 | 3990 | "rootUrl": "https://tagmanager.googleapis.com/", |
3991 | 3991 | "schemas": { |
3992 | 3992 | "Account": { |
|
4405 | 4405 | }, |
4406 | 4406 | "type": "object" |
4407 | 4407 | }, |
| 4408 | + "CompilerErrorLite": { |
| 4409 | + "id": "CompilerErrorLite", |
| 4410 | + "properties": { |
| 4411 | + "errorMessage": { |
| 4412 | + "type": "string" |
| 4413 | + }, |
| 4414 | + "errorType": { |
| 4415 | + "enum": [ |
| 4416 | + "unknownErrorType", |
| 4417 | + "duplicateAutoEventName", |
| 4418 | + "duplicateConditionId", |
| 4419 | + "duplicateDefaultMacro", |
| 4420 | + "duplicateTagName", |
| 4421 | + "internalCompilerError", |
| 4422 | + "invalidMacroKey", |
| 4423 | + "invalidNumberPredicateArgs", |
| 4424 | + "invalidMacroFormat", |
| 4425 | + "invalidMacroNameReference", |
| 4426 | + "invalidMacroParameter", |
| 4427 | + "invalidUsageContext", |
| 4428 | + "invalidRegex", |
| 4429 | + "macroCycle", |
| 4430 | + "unknownConditionId", |
| 4431 | + "unknownMacroInstance", |
| 4432 | + "invalidManualEscaping", |
| 4433 | + "invalidHtmlCssJs", |
| 4434 | + "macroInCommentsError", |
| 4435 | + "jsCompilerError", |
| 4436 | + "jsonError", |
| 4437 | + "invalidTagParameter", |
| 4438 | + "javascriptTooLong", |
| 4439 | + "unknownTagInstance", |
| 4440 | + "invalidTagReference", |
| 4441 | + "unknownTriggerId", |
| 4442 | + "customTriggerMissingEventFilter", |
| 4443 | + "duplicateTriggerId", |
| 4444 | + "unsupportedTriggerType", |
| 4445 | + "invalidTriggerParameter", |
| 4446 | + "duplicateExperimentId", |
| 4447 | + "pixieCompilerError", |
| 4448 | + "macroNotServerSideResolvable", |
| 4449 | + "invalidBlockingTrigger", |
| 4450 | + "lineTooLong", |
| 4451 | + "invalidTypeInSelect", |
| 4452 | + "gaExperimentMacroIsDeprecated", |
| 4453 | + "unsafeHtmlContent", |
| 4454 | + "unsafeHtmlAttributeValue", |
| 4455 | + "unsafeCssContent", |
| 4456 | + "parameterReferenceNotFound", |
| 4457 | + "invalidCustomTemplateRuntimeCode", |
| 4458 | + "conflictingDestinationRouting", |
| 4459 | + "missingRequiredActivity", |
| 4460 | + "unresolvableDestinationTag", |
| 4461 | + "invalidDestinationTag", |
| 4462 | + "tosRequiredForThirdPartyTags" |
| 4463 | + ], |
| 4464 | + "enumDescriptions": [ |
| 4465 | + "Unknown error type. Place holder for the enum's default value; not valid.", |
| 4466 | + "There are multiple auto-event instances with the same name. parent - N EntityKeys each with their auto_event_key populated.", |
| 4467 | + "There are multiple conditions with the same id. parent - N EntityKeys each with their condition_key populated.", |
| 4468 | + "There are multiple default macros with the same name. parent - N EntityKeys each with their macro_key populated. context - The macro name.", |
| 4469 | + "There are multiple tag instances with the same name. parent - N EntityKeys each with their tag_key populated.", |
| 4470 | + "An internal compiler invariant was broken. parent - 1 EntityKey which may have macro_key, condition_key, or tag_key populated. It's also possible that no keys are populated. context - An internal string (shouldn't be shown to the user) describing the problem.", |
| 4471 | + "An macro instance key was invalid e.g. foo#bar parent - 1 EntityKey with one of the following populated: macro_key, condition_key, tag_key. context - The string of the invalid name.", |
| 4472 | + "Wrong number of args passed to a predicate. parent - 1 EntityKey with its condition_key populated.", |
| 4473 | + "Macro format was invalid e.g. foo#bar parent - 1 EntityKey with one of the following populated: condition_key, tag_key. context - The full string of the invalid macro and surrounding literals.", |
| 4474 | + "A macro name was referenced instead of a macro key. parent - 1 EntityKey with one of the following populated: condition_key, tag_key. context - The name of the invalid macro name.", |
| 4475 | + "Macro had an invalid parameter. This could be anything from a parameter being a complex type or a macro parameter containing a macro reference. parent - 1 EntityKey with its macro_key populated. context - The value of the offending parameter if it is string-able.", |
| 4476 | + "Usage context of a container was invalid. Currently, this error can occur when a container context specifies both web and mobile. The UI shouldn't allowed creating such a mixed container. parent - not set context - The description of the context", |
| 4477 | + "Contents of an Regex predicate had an invalid pattern. parent - 1 EntityKey with one of the following populated: condition_key. context - The offending pattern.", |
| 4478 | + "There was a macro whose resolution would depend on itself. parent - N EntityKeys each with their macro_key, trigger_key, or condition_key populated. This represents the macro cycle. context - Empty.", |
| 4479 | + "A condition id was used which doesn't exist in the conditions list. parent - 1 EntityKey with its tag_key populated. context - The integer id of the missing conditional.", |
| 4480 | + "A macro name was used which doesn't exist in the macro list. parent - 1 EntityKey with one of the following populated: condition_key, tag_key. context - The name of the missing macro instance.", |
| 4481 | + "User-provided escaping inappropriate for the context in which it is used. parent - 1 EntityKey with one of the following populated: macro_key, condition_key, tag_key. context - Empty.", |
| 4482 | + "Auto-escaped content is not valid HTML, CSS or JavaScript. parent - 1 EntityKey with one of the following populated: tag_key. context - Empty.", |
| 4483 | + "Macro reference found inside an HTML, CSS or JavaScript comment. parent - 1 EntityKey with one of the following populated: tag_key. context - Empty.", |
| 4484 | + "Contents of an HTML script tag could not be compiled by JsCompiler. parent - 1 EntityKey with one of the following populated: tag_key. context - Empty.", |
| 4485 | + "Contents of a ConfigurationValue script tag could not be parsed by the JSON parser. parent - 1 EntityKey with one of the following populated: tag_key. context - Empty.", |
| 4486 | + "Tag had an invalid parameter. This could be anything from a parameter being a complex type or a macro parameter containing a macro reference. parent - 1 EntityKey with its tag_key populated. context - The value of the offending parameter if it is string-able.", |
| 4487 | + "An arbitrary HTML tag contains a piece of javascript with too many contiguous non-whitespace characters (e.g. a long array with no spaces between elements or an extremely long variable name).", |
| 4488 | + "A tag name was used which doesn't exist in the input tag list. parent - 1 EntityKey with tag_key populated. context - The name of the missing tag instance.", |
| 4489 | + "A tag name was used which doesn't exist in the compiled tag list. This happens if a tag is dependent on another tag, but the other tag has no rules attached to it and is pruned in the compiler. parent - 1 EntityKey with tag_key populated. context - The name of the missing tag instance.", |
| 4490 | + "A trigger id was used which doesn't exist in the triggers list. parent - 1 EntityKey parent of the unknown trigger. context - The id of the missing trigger instance.", |
| 4491 | + "A trigger of type custom trigger was created that doesn't include a custom event filter. parent - 1 EntityKey with its trigger_key populated. context - Empty.", |
| 4492 | + "There are multiple triggers with the same id. parent - N EntityKeys each with their trigger_key populated. context - Empty.", |
| 4493 | + "There is an unknown or unsupported trigger type. parent - 1 EntityKey with its trigger_key populated. context - The trigger type.", |
| 4494 | + "A trigger has an invalid parameter. parent - 1 EntityKey with its trigger_key populated. context - The invalid field.", |
| 4495 | + "There are multiple experiments with the same id. parent - N EntityKeys each with their experiment_key populated. context - Empty.", |
| 4496 | + "Contents of a pixie tag/macro could not be compiled by Pixie Parser. parent - 1 EntityKey with one of the following populated: tag_key, macro_key. context - Empty.", |
| 4497 | + "The macro cannot be resolved at server side. parent - 1 EntityKey indicating the entity in which this macro is used. context - The macro name.", |
| 4498 | + "The trigger cannot be used in blocking predicates (i.e. only All/Some pages triggers work for AMP, NS etc.) parent - 1 EntityKey indicating the tag in which this trigger is used. context - The trigger name.", |
| 4499 | + "A line in the input text is too long.", |
| 4500 | + "The value of a SELECT parameter in a vendor template instance does not point to an allowed vendor template instance. For details, see the documentation of the typesInSelect property in a vendor template. parent - 1 EntityKey indicating the tag/macro with this parameter. context - The parameter name.", |
| 4501 | + "The input container version contains a deprecated GA content experiment macro that needs to be removed.", |
| 4502 | + "Reminder: new error types will be treated as internal errors and trigger alerts unless they are handled in j/c/g/analytics/containertag/compiler/ErrorReporter.java&l=104 Please also remember to add new error types to CTUI at j/c/g/analytics/containertag/ui/app/components/container/compilererror/ HTML is not sanitized and contains unsafe content.", |
| 4503 | + "HTML attribute is not sanitized and the value is unsafe.", |
| 4504 | + "CSS is not sanitized and contains unsafe content.", |
| 4505 | + "The specified parameter was not found in the referenced entity. parent - 1 EntityKey with tag_key populated. context - The missing parameter in the form of \".\".", |
| 4506 | + "The custom template has invalid runtime code. parent - Entity key for the custom template. context - The error message.", |
| 4507 | + "The container version contains a Google tag tag and a destination tag that use the same destination ID. parent - Entity key for the conflicting Google tag. context - The Google tag tag name.", |
| 4508 | + "The container version has routing destinations, but is missing required activity instances. parent - Empty. context - Empty. proposed_change - The proposed change to add the missing activities.", |
| 4509 | + "The container version contains a product destination tag with a destination ID value that cannot be resolved statically. parent - Entity key of the destination tag. context - The name of the variable that could not be resolved. If the destination ID was a template value, then this will be the serialized value.", |
| 4510 | + "The container version contains a product destination tag with a destination ID value that is in an invalid format. parent - Entity key of the destination tag. context - The invalid destination ID.", |
| 4511 | + "GTM ToS is required for publishing versions with 3P tags. parent - not set context - Empty." |
| 4512 | + ], |
| 4513 | + "type": "string" |
| 4514 | + } |
| 4515 | + }, |
| 4516 | + "type": "object" |
| 4517 | + }, |
4408 | 4518 | "Condition": { |
4409 | 4519 | "description": "Represents a predicate.", |
4410 | 4520 | "id": "Condition", |
|
4851 | 4961 | "description": "Compiler errors or not.", |
4852 | 4962 | "type": "boolean" |
4853 | 4963 | }, |
| 4964 | + "compilerErrors": { |
| 4965 | + "description": "Compiler error details.", |
| 4966 | + "items": { |
| 4967 | + "$ref": "CompilerErrorLite" |
| 4968 | + }, |
| 4969 | + "type": "array" |
| 4970 | + }, |
4854 | 4971 | "containerVersion": { |
4855 | 4972 | "$ref": "ContainerVersion", |
4856 | 4973 | "description": "The container version created." |
|
5685 | 5802 | "description": "Compiler errors or not.", |
5686 | 5803 | "type": "boolean" |
5687 | 5804 | }, |
| 5805 | + "compilerErrors": { |
| 5806 | + "description": "Compiler error details.", |
| 5807 | + "items": { |
| 5808 | + "$ref": "CompilerErrorLite" |
| 5809 | + }, |
| 5810 | + "type": "array" |
| 5811 | + }, |
5688 | 5812 | "containerVersion": { |
5689 | 5813 | "$ref": "ContainerVersion", |
5690 | 5814 | "description": "The container version created." |
|
5700 | 5824 | "description": "Were there compiler errors or not.", |
5701 | 5825 | "type": "boolean" |
5702 | 5826 | }, |
| 5827 | + "compilerErrors": { |
| 5828 | + "description": "Compiler error details.", |
| 5829 | + "items": { |
| 5830 | + "$ref": "CompilerErrorLite" |
| 5831 | + }, |
| 5832 | + "type": "array" |
| 5833 | + }, |
5703 | 5834 | "containerVersion": { |
5704 | 5835 | "$ref": "ContainerVersion", |
5705 | 5836 | "description": "The quick previewed container version." |
|
0 commit comments