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.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Identifier. The resource name of the |
↳ display_name |
string
Required. Display name of the |
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
| 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:
~directfor directly licensed third-party segments~globalfor 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 |
|