type AdCategoryDto (v202411)

  • LabelService uses AdCategoryDto to represent canonical ad categories.

  • AdCategoryDto has fields for a unique id, a localized displayName, and a parentId to indicate hierarchy.

  • The namespace for AdCategoryDto is https://www.google.com/apis/ads/publisher/v202411.

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.