type AdCategoryDto (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
A canonical ad category.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
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\u003eLabelService utilizes AdCategoryDto to represent a canonical ad category.\u003c/p\u003e\n"],["\u003cp\u003eAdCategoryDto objects contain an ID, a localized display name, and a parent ID to define the category's structure.\u003c/p\u003e\n"],["\u003cp\u003eThis object's data is structured within the namespace \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202411\u003c/code\u003e.\u003c/p\u003e\n"]]],["The core content defines the `AdCategoryDto` within the `LabelService` dependency. It details the structure of an ad category, including its canonical `id` (a long integer), localized `displayName` (a string), and the `parentId` (a long integer, 0 if none). The namespace for this service is `https://www.google.com/apis/ads/publisher/v202411`. This structure provides a framework for identifying and categorizing ads within the system.\n"],null,["# type AdCategoryDto (v202411)\n\n**Service** \n**LabelService** **Dependencies** \n[Label](/ad-manager/api/reference/v202411/LabelService.Label) \n▼\n**AdCategoryDto**\n\nA canonical ad category.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\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. |"]]