CategoryGroup
Ads may be grouped into one or more categories, such as Dining, and these categories can form a hierarchy. For example, a Dining category could be a parent of the Italian Dining category.
A CategoryGroup models a category along with its associated subcategories. Ads can appear in multiple category groups but are guaranteed to appear in at least one.
Property | Type | Description |
---|---|---|
name | string | The human-readable name of this ad category |
id | string | A unique identifier for this category |
subcategories | CategoryGroup[] | Nested subcategories of this category group. If there are no subcategories this field is undefined or empty |