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 \ V1Methods
__construct
Constructor.
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:
-
~directfor directly licensed third-party segments -
~globalfor globally licensed third-party segments
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:
-
~directfor directly licensed third-party segments -
~globalfor globally licensed third-party segments
var
string
$this
getDisplayName
Required. Display name of the AudienceSegment
. The attribute has a
maximum length of 255 characters.
string
hasDisplayName
clearDisplayName
setDisplayName
Required. Display name of the AudienceSegment
. The attribute has a
maximum length of 255 characters.
var
string
$this

