The age groups of the audience. Strongly encouraged to use the standard
values: "newborn" (up to 3 months old), "infant" (3–12 months old),
"toddler" (1–5 years old), "kids" (5–13 years old), "adult" (typically
teens or older).
At most 5 values are allowed. Each value must be a UTF-8 encoded string
with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error
is returned.
The genders of the audience. Strongly encouraged to use the standard
values: "male", "female", "unisex".
At most 5 values are allowed. Each value must be a UTF-8 encoded string
with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error
is returned.
[[["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-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eAudience\u003c/code\u003e class in the Retail v2 API represents the intended audience of a product, detailing the target demographic for whom the product is intended.\u003c/p\u003e\n"],["\u003cp\u003eVersion 2.12.0 is the latest available version of the Google Cloud Retail v2 API, with numerous versions going back to 1.0.0 also available.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAudience\u003c/code\u003e class includes properties for defining audience characteristics such as \u003ccode\u003eAgeGroups\u003c/code\u003e and \u003ccode\u003eGenders\u003c/code\u003e, allowing for specifying target demographics with up to 5 values each, and is associated with properties in Google Merchant Center and Schema.org.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eAudience\u003c/code\u003e implements multiple interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing a detailed and robust implementation.\u003c/p\u003e\n"],["\u003cp\u003eThe Audience class has two constructors, one empty and one accepting another \u003ccode\u003eAudience\u003c/code\u003e object as parameter, to allow different use cases when initiating the class.\u003c/p\u003e\n"]]],[],null,[]]