Google Ads Ad Manager V1 Client - Class AdCategory (0.17.0)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Identifier. The resource name of the AdCategory. Format: networks/{network_code}/adCategories/{ad_category_id}

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