OfferTag
Stay organized with collections
Save and categorize content based on your preferences.
Represents a custom tag specified for a product offer.
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-05-21 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-21 UTC."],[[["\u003cp\u003eCustom tags for base plans and subscription offers are represented using JSON.\u003c/p\u003e\n"],["\u003cp\u003eThe JSON representation consists of a single field, "tag", which contains a string value.\u003c/p\u003e\n"],["\u003cp\u003eThe "tag" value must adhere to RFC-1034 guidelines, limiting it to lowercase letters, numbers, hyphens, and a maximum length of 20 characters.\u003c/p\u003e\n"]]],["The provided JSON schema defines a custom tag with a single field: `tag`. This `string` field must adhere to RFC-1034, allowing only lowercase letters, numbers, and hyphens. The `tag` is also limited to a maximum length of 20 characters. This tag is used for base plans and subscription offers, enabling custom labeling or categorization.\n"],null,["# OfferTag\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nRepresents a custom tag specified for a product offer.\n\n| JSON representation |\n|---------------------------|\n| ``` { \"tag\": string } ``` |\n\n| Fields ||\n|-------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `tag` | `string` Must conform with RFC-1034. That is, this string can only contain lower-case letters (a-z), numbers (0-9), and hyphens (-), and be at most 20 characters. |"]]