Reference documentation and code samples for the Google Ads Ad Manager V1 Client class AdCategory.
An AdCategory is a read-only classification defined canonically by Google.
Generated from protobuf message google.ads.admanager.v1.AdCategory
Namespace
Google \ Ads \ AdManager \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Identifier. The resource name of the |
getName
Identifier. The resource name of the AdCategory.
Format: networks/{network_code}/adCategories/{ad_category_id}
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Identifier. The resource name of the AdCategory.
Format: networks/{network_code}/adCategories/{ad_category_id}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|