# CreativeTemplateVariable > Type in domain **Creative Templates** - HTML: [CreativeTemplateVariable.html](CreativeTemplateVariable.html) - Raw SDL: [CreativeTemplateVariable.sdl](CreativeTemplateVariable.sdl) - Covered by: [llms.txt](../llms.txt) ## Fields - `key`: `String!` — Key of the `CreativeTemplateVariable`. - `name`: `String!` — Name of the `CreativeTemplateVariable`. - `description`: `String` — Description of the `CreativeTemplateVariable`. - `type`: `CreativeTemplateVariableType!` — Type of the `CreativeTemplateVariable`. - `value`: `Any` — Value of the `CreativeTemplateVariable`. See `CreativeTemplateVariableType` for valid formats. - `allowedColorValues`: `[CreativeColor!]!` — Allowed values for `CreativeTemplateVariable` value of type color. - `connectionCount`: `Int!` — Number of template items connected to the `CreativeTemplateVariable`. ## Reach via Example queries that can return this type from the root `Query`. ### `creativeTemplate › variable` ```graphql query CreativeTemplateVariable { creativeTemplate(id: "…") { variable(key: "…") { __typename allowedColorValues { name id paletteName color { alpha blue green red } } connectionCount description key name type value } } } ``` Raw: [`CreativeTemplateVariable.sdl`](../examples/CreativeTemplateVariable.sdl) ### `creativeTemplate › variables` ```graphql query CreativeTemplateVariables { creativeTemplate(id: "…") { variables { __typename allowedColorValues { name id paletteName color { alpha blue green red } } connectionCount description key name type value } } } ``` Raw: [`CreativeTemplateVariables.sdl`](../examples/CreativeTemplateVariables.sdl) ### `brand › creativeTemplates › variable` ```graphql query BrandCreativeTemplatesVariable { brand(id: "…") { creativeTemplates(limit: 25, page: 1) { items { variable(key: "…") { __typename allowedColorValues { name id paletteName color { alpha blue green red } } connectionCount description key name type value } } } } } ``` Raw: [`BrandCreativeTemplatesVariable.sdl`](../examples/BrandCreativeTemplatesVariable.sdl) ### `brand › creativeTemplates › variables` ```graphql query BrandCreativeTemplatesVariables { brand(id: "…") { creativeTemplates(limit: 25, page: 1) { items { variables { __typename allowedColorValues { name id paletteName color { alpha blue green red } } connectionCount description key name type value } } } } } ``` Raw: [`BrandCreativeTemplatesVariables.sdl`](../examples/BrandCreativeTemplatesVariables.sdl) ### `brands › creativeTemplates › variable` ```graphql query BrandsCreativeTemplatesVariable { brands { creativeTemplates(limit: 25, page: 1) { items { variable(key: "…") { __typename allowedColorValues { name id paletteName color { alpha blue green red } } connectionCount description key name type value } } } } } ``` Raw: [`BrandsCreativeTemplatesVariable.sdl`](../examples/BrandsCreativeTemplatesVariable.sdl) ### `brands › creativeTemplates › variables` ```graphql query BrandsCreativeTemplatesVariables { brands { creativeTemplates(limit: 25, page: 1) { items { variables { __typename allowedColorValues { name id paletteName color { alpha blue green red } } connectionCount description key name type value } } } } } ``` Raw: [`BrandsCreativeTemplatesVariables.sdl`](../examples/BrandsCreativeTemplatesVariables.sdl)