type ListStringCreativeTemplateVariable.VariableChoice (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
Service
CreativeTemplateService
Stores variable choices that users can select from
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
Field
|
label
|
xsd:string
Label that users can select from. This is displayed to users when creating a
TemplateCreative. This attribute is intended to be more descriptive than
value. This attribute is required and has a maximum length of 255 characters.
|
value
|
xsd:string
Value that users can select from. When creating a TemplateCreative, the value in
StringCreativeTemplateVariableValue should match this value, if you intend to
select this value. This attribute is required and has a maximum length of 255
characters.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eListStringCreativeTemplateVariable\u003c/code\u003e object stores variable choices for users to select when creating TemplateCreatives.\u003c/p\u003e\n"],["\u003cp\u003eIt includes a \u003ccode\u003elabel\u003c/code\u003e field for display and a \u003ccode\u003evalue\u003c/code\u003e field used when creating TemplateCreatives, both with a maximum length of 255 characters.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003elabel\u003c/code\u003e provides a user-friendly description, while the \u003ccode\u003evalue\u003c/code\u003e is used for actual selection during TemplateCreative creation.\u003c/p\u003e\n"]]],["The `ListStringCreativeTemplateVariable` stores selectable variable choices for users. It contains two key fields: `label`, a user-facing descriptive string (max 255 characters) displayed when creating a `TemplateCreative`; and `value`, an associated string (max 255 characters) used to match with `StringCreativeTemplateVariableValue` when creating a `TemplateCreative`. Both `label` and `value` are required attributes. The variables will be found on `CreativeTemplateService`.\n"],null,["# type ListStringCreativeTemplateVariable.VariableChoice (v202408)\n\n**Service** \n**CreativeTemplateService** **Dependencies** \n[ListStringCreativeTemplateV...](/ad-manager/api/reference/v202408/CreativeTemplateService.ListStringCreativeTemplateVariable \"ListStringCreativeTemplateVariable\") \n▼\n**ListStringCreativeTemplateV...**\n\nStores variable choices that users can select from\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Field ----- ||\n|-------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### `label` | ` `xsd:`string` Label that users can select from. This is displayed to users when creating a [TemplateCreative](/ad-manager/api/reference/v202408/CreativeService.TemplateCreative). This attribute is intended to be more descriptive than [value](#value). This attribute is required and has a maximum length of 255 characters. |\n| ### `value` | ` `xsd:`string` Value that users can select from. When creating a [TemplateCreative](/ad-manager/api/reference/v202408/CreativeService.TemplateCreative), the value in [StringCreativeTemplateVariableValue](/ad-manager/api/reference/v202408/CreativeService.StringCreativeTemplateVariableValue) should match this value, if you intend to select this value. This attribute is required and has a maximum length of 255 characters. |"]]