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

Reference documentation and code samples for the Google Ads Ad Manager V1 Client class AudienceSegmentCategory.

The category of an audience segment.

Generated from protobuf message google.ads.admanager.v1.AudienceSegmentCategory

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 AudienceSegmentCategory. Format: networks/{network_code}/audienceSegmentCategories/{audience_segment_category_id}

↳ display_name string

Output only. The display name of the audience segment category.

↳ parent string

Output only. The audience segment category's parent. Format: networks/{network_code}/audienceSegmentCategories/{audience_segment_category}

getName

Identifier. The resource name of the AudienceSegmentCategory.

Format: networks/{network_code}/audienceSegmentCategories/{audience_segment_category_id}

Returns
Type Description
string

setName

Identifier. The resource name of the AudienceSegmentCategory.

Format: networks/{network_code}/audienceSegmentCategories/{audience_segment_category_id}

Parameter
Name Description
var string
Returns
Type Description
$this

getDisplayName

Output only. The display name of the audience segment category.

Returns
Type Description
string

hasDisplayName

clearDisplayName

setDisplayName

Output only. The display name of the audience segment category.

Parameter
Name Description
var string
Returns
Type Description
$this

getParent

Output only. The audience segment category's parent.

Format: networks/{network_code}/audienceSegmentCategories/{audience_segment_category}

Returns
Type Description
string

hasParent

clearParent

setParent

Output only. The audience segment category's parent.

Format: networks/{network_code}/audienceSegmentCategories/{audience_segment_category}

Parameter
Name Description
var string
Returns
Type Description
$this