type AdCategoryDto (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
A canonical ad category.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
Field
|
id
|
xsd:long
Canonical ID of the ad category.
|
displayName
|
xsd:string
Localized name of the category.
|
parentId
|
xsd:long
ID of the category's parent, or 0 if it has no parent.
|
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\u003eAdCategoryDto represents a standard ad category within the system.\u003c/p\u003e\n"],["\u003cp\u003eIt's uniquely identified by an ID and has a localized name for display.\u003c/p\u003e\n"],["\u003cp\u003eAdCategoryDto can be organized hierarchically, with a parentId indicating its parent category.\u003c/p\u003e\n"]]],["The core content describes the `AdCategoryDto` within the `LabelService` of the `v202408` API. It defines an ad category with three key fields: `id` (a unique long integer), `displayName` (a localized string name), and `parentId` (the long integer ID of the parent category, or 0 if none). It belongs to the `https://www.google.com/apis/ads/publisher/v202408` namespace. The label service depends on the `Label` type.\n"],null,["# type AdCategoryDto (v202408)\n\n**Service** \n**LabelService** **Dependencies** \n[Label](/ad-manager/api/reference/v202408/LabelService.Label) \n▼\n**AdCategoryDto**\n\nA canonical ad category.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Field ----- ||\n|-------------------|----------------------------------------------------------------------|\n| ### `id` | ` `xsd:`long` Canonical ID of the ad category. |\n| ### `displayName` | ` `xsd:`string` Localized name of the category. |\n| ### `parentId` | ` `xsd:`long` ID of the category's parent, or 0 if it has no parent. |"]]