Reference documentation and code samples for the Google Ads Ad Manager V1 Client class Label.
A Label is additional information that can be added to an entity.
Generated from protobuf message google.ads.admanager.v1.Label
Namespace
Google \ Ads \ AdManager \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The resource name of the Label
. Format: networks/{network_code}/labels/{label_id}
↳ display_name
string
Required. Display name of the Label. This attribute has a maximum length of 127 characters.
↳ description
string
Optional. A description of the label. This attribute has a maximum length of 255 characters.
↳ active
bool
Output only. Specifies whether or not the label is active.
↳ types
int[]
Required. Unordered list. The types of the Label.
getName
Identifier. The resource name of the Label
.
Format: networks/{network_code}/labels/{label_id}
string
setName
Identifier. The resource name of the Label
.
Format: networks/{network_code}/labels/{label_id}
var
string
$this
getDisplayName
Required. Display name of the Label. This attribute has a maximum length of 127 characters.
string
hasDisplayName
clearDisplayName
setDisplayName
Required. Display name of the Label. This attribute has a maximum length of 127 characters.
var
string
$this
getDescription
Optional. A description of the label. This attribute has a maximum length of 255 characters.
string
hasDescription
clearDescription
setDescription
Optional. A description of the label. This attribute has a maximum length of 255 characters.
var
string
$this
getActive
Output only. Specifies whether or not the label is active.
bool
hasActive
clearActive
setActive
Output only. Specifies whether or not the label is active.
var
bool
$this
getTypes
Required. Unordered list. The types of the Label.
setTypes
Required. Unordered list. The types of the Label.
var
int[]
$this

