Reference documentation and code samples for the Google Ads Ad Manager V1 Client class TaxonomyCategory.
The TaxonomyCategory
resource.
Generated from protobuf message google.ads.admanager.v1.TaxonomyCategory
Namespace
Google \ Ads \ AdManager \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The resource name of the TaxonomyCategory
. Format: networks/{network_code}/taxonomyCategories/{taxonomy_category_id}
↳ taxonomy_category_id
int|string
Output only. TaxonomyCategory
ID.
↳ display_name
string
Output only. Display name of the TaxonomyCategory
.
↳ grouping_only
bool
Output only. Whether this TaxonomyCategory
only serves to group its children.
↳ parent_taxonomy_category_id
int|string
Output only. The ID of the parent category this TaxonomyCategory
descends from.
↳ taxonomy_type
int
Output only. The taxonomy that this TaxonomyCategory
belongs to.
↳ ancestor_names
array
Output only. The list of names of the ancestors of this TaxonomyCategory
.
↳ ancestor_taxonomy_category_ids
array
Output only. The list of IDs of the ancestors of this TaxonomyCategory
.
getName
Identifier. The resource name of the TaxonomyCategory
.
Format: networks/{network_code}/taxonomyCategories/{taxonomy_category_id}
string
setName
Identifier. The resource name of the TaxonomyCategory
.
Format: networks/{network_code}/taxonomyCategories/{taxonomy_category_id}
var
string
$this
getTaxonomyCategoryId
Output only. TaxonomyCategory
ID.
int|string
hasTaxonomyCategoryId
clearTaxonomyCategoryId
setTaxonomyCategoryId
Output only. TaxonomyCategory
ID.
var
int|string
$this
getDisplayName
Output only. Display name of the TaxonomyCategory
.
string
hasDisplayName
clearDisplayName
setDisplayName
Output only. Display name of the TaxonomyCategory
.
var
string
$this
getGroupingOnly
Output only. Whether this TaxonomyCategory
only serves to group its
children.
bool
hasGroupingOnly
clearGroupingOnly
setGroupingOnly
Output only. Whether this TaxonomyCategory
only serves to group its
children.
var
bool
$this
getParentTaxonomyCategoryId
Output only. The ID of the parent category this TaxonomyCategory
descends
from.
int|string
hasParentTaxonomyCategoryId
clearParentTaxonomyCategoryId
setParentTaxonomyCategoryId
Output only. The ID of the parent category this TaxonomyCategory
descends
from.
var
int|string
$this
getTaxonomyType
Output only. The taxonomy that this TaxonomyCategory
belongs to.
int
hasTaxonomyType
clearTaxonomyType
setTaxonomyType
Output only. The taxonomy that this TaxonomyCategory
belongs to.
var
int
$this
getAncestorNames
Output only. The list of names of the ancestors of this TaxonomyCategory
.
setAncestorNames
Output only. The list of names of the ancestors of this TaxonomyCategory
.
var
string[]
$this
getAncestorTaxonomyCategoryIds
Output only. The list of IDs of the ancestors of this TaxonomyCategory
.
setAncestorTaxonomyCategoryIds
Output only. The list of IDs of the ancestors of this TaxonomyCategory
.
$this