[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Google Ads Ad Manager V1 Client - Class TaxonomyCategory (0.3.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.3.1 (latest)](/php/docs/reference/ad-manager/latest/V1.TaxonomyCategory)\n- [0.3.0](/php/docs/reference/ad-manager/0.3.0/V1.TaxonomyCategory)\n- [0.2.0](/php/docs/reference/ad-manager/0.2.0/V1.TaxonomyCategory)\n- [0.1.3](/php/docs/reference/ad-manager/0.1.3/V1.TaxonomyCategory) \nReference documentation and code samples for the Google Ads Ad Manager V1 Client class TaxonomyCategory.\n\nThe `TaxonomyCategory` resource.\n\nGenerated from protobuf message `google.ads.admanager.v1.TaxonomyCategory`\n\nNamespace\n---------\n\nGoogle \\\\ Ads \\\\ AdManager \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nIdentifier. The resource name of the `TaxonomyCategory`.\n\nFormat: `networks/{network_code}/taxonomyCategories/{taxonomy_category_id}`\n\n### setName\n\nIdentifier. The resource name of the `TaxonomyCategory`.\n\nFormat: `networks/{network_code}/taxonomyCategories/{taxonomy_category_id}`\n\n### getTaxonomyCategoryId\n\nOutput only. `TaxonomyCategory` ID.\n\n### hasTaxonomyCategoryId\n\n### clearTaxonomyCategoryId\n\n### setTaxonomyCategoryId\n\nOutput only. `TaxonomyCategory` ID.\n\n### getDisplayName\n\nOutput only. Display name of the `TaxonomyCategory`.\n\n### hasDisplayName\n\n### clearDisplayName\n\n### setDisplayName\n\nOutput only. Display name of the `TaxonomyCategory`.\n\n### getGroupingOnly\n\nOutput only. Whether this `TaxonomyCategory` only serves to group its\nchildren.\n\n### hasGroupingOnly\n\n### clearGroupingOnly\n\n### setGroupingOnly\n\nOutput only. Whether this `TaxonomyCategory` only serves to group its\nchildren.\n\n### getParentTaxonomyCategoryId\n\nOutput only. The ID of the parent category this `TaxonomyCategory` descends\nfrom.\n\n### hasParentTaxonomyCategoryId\n\n### clearParentTaxonomyCategoryId\n\n### setParentTaxonomyCategoryId\n\nOutput only. The ID of the parent category this `TaxonomyCategory` descends\nfrom.\n\n### getTaxonomyType\n\nOutput only. The taxonomy that this `TaxonomyCategory` belongs to.\n\n### hasTaxonomyType\n\n### clearTaxonomyType\n\n### setTaxonomyType\n\nOutput only. The taxonomy that this `TaxonomyCategory` belongs to.\n\n### getAncestorNames\n\nOutput only. The list of names of the ancestors of this `TaxonomyCategory`.\n\n### setAncestorNames\n\nOutput only. The list of names of the ancestors of this `TaxonomyCategory`.\n\n### getAncestorTaxonomyCategoryIds\n\nOutput only. The list of IDs of the ancestors of this `TaxonomyCategory`.\n\n### setAncestorTaxonomyCategoryIds\n\nOutput only. The list of IDs of the ancestors of this `TaxonomyCategory`."]]