type ListStringCreativeTemplateVariable.VariableChoice (v202411)
Service
CreativeTemplateService
Stores variable choices that users can select from
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
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 2024-11-19 UTC.
[null,null,["Last updated 2024-11-19 UTC."],[[["ListStringCreativeTemplateVariable stores choices for users to select when creating TemplateCreatives."],["It includes a user-friendly label and a corresponding value for programmatic selection."],["Both label and value are required and have a maximum length of 255 characters."],["The label is for display and should be more descriptive, while the value is used for internal matching when creating TemplateCreatives."]]],["The `ListStringCreativeTemplateVariable` allows users to choose from predefined options. It contains two key fields: `label` and `value`. The `label`, a user-facing string up to 255 characters, is displayed during TemplateCreative creation. The `value`, also a string with a 255-character limit, is the internal representation and must match the `StringCreativeTemplateVariableValue` when selected in a `TemplateCreative`. Both fields are mandatory for each variable choice.\n"]]