Google Ads Ad Manager V1 Client - Class AudienceSegment (0.6.0)

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

The AudienceSegment resource.

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

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 AudienceSegment . Format: networks/{network_code}/audienceSegments/{audience_segment_id} The audience_segment_id may have up to 1 of the following suffixes: - ~direct for directly licensed third-party segments - ~global for globally licensed third-party segments

↳ display_name
string

Required. Display name of the AudienceSegment . The attribute has a maximum length of 255 characters.

getName

Identifier. The resource name of the AudienceSegment .

Format: networks/{network_code}/audienceSegments/{audience_segment_id} The audience_segment_id may have up to 1 of the following suffixes:

  • ~direct for directly licensed third-party segments
  • ~global for globally licensed third-party segments
Returns
Type
Description
string

setName

Identifier. The resource name of the AudienceSegment .

Format: networks/{network_code}/audienceSegments/{audience_segment_id} The audience_segment_id may have up to 1 of the following suffixes:

  • ~direct for directly licensed third-party segments
  • ~global for globally licensed third-party segments
Parameter
Name
Description
var
string
Returns
Type
Description
$this

getDisplayName

Required. Display name of the AudienceSegment . The attribute has a maximum length of 255 characters.

Returns
Type
Description
string

hasDisplayName

clearDisplayName

setDisplayName

Required. Display name of the AudienceSegment . The attribute has a maximum length of 255 characters.

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: